Unstack list control icons.

This commit is contained in:
Nate Jones
2014-02-26 02:47:09 +00:00
parent 41ec997255
commit 074e9e189b
2 changed files with 13 additions and 12 deletions
+2 -2
View File
@@ -134,7 +134,7 @@ function hide_advanced_config() {
<tr> <tr>
<td width="30%" valign="top" class="vncell"><?php echo $text['label-advanced']?></td> <td width="30%" valign="top" class="vncell"><?php echo $text['label-advanced']?></td>
<td width="70%" class="vtable"> <td width="70%" class="vtable">
<input type="button" onClick="show_advanced_config()" value="<?php echo $text['button-advanced']?>"></input> <input type="button" class="btn" onClick="show_advanced_config()" value="<?php echo $text['button-advanced']?>"></input>
</td> </td>
</tr> </tr>
</table> </table>
@@ -143,7 +143,7 @@ function hide_advanced_config() {
<table width="100%" border="0" cellpadding="6" cellspacing="0"> <table width="100%" border="0" cellpadding="6" cellspacing="0">
<tr> <tr>
<?php if (if_group("superadmin")) { ?> <?php if (if_group("superadmin")) { ?>
<td class='vncellreq' valign='top' align='left' nowrap='nowrap'> <td width='30%' class='vncellreq' valign='top' align='left' nowrap='nowrap'>
<?php echo $text['label-context']?>: <?php echo $text['label-context']?>:
</td> </td>
<td class='vtable' align='left'> <td class='vtable' align='left'>
+11 -10
View File
@@ -16,7 +16,7 @@
<th><?php echo $text['label-status']?></th> <th><?php echo $text['label-status']?></th>
<th><?php echo $text['label-enabled']?></th> <th><?php echo $text['label-enabled']?></th>
<th><?php echo $text['label-description']?></th> <th><?php echo $text['label-description']?></th>
<td align='right' width='42'> <td class='list_control_icons'>
<?php if (permission_exists('xmpp_add')) { ?> <?php if (permission_exists('xmpp_add')) { ?>
<a href='xmpp_profile_edit.php' alt='<?php echo $text['button-add']?>'><?php echo $v_link_label_add; ?></a> <a href='xmpp_profile_edit.php' alt='<?php echo $text['button-add']?>'><?php echo $v_link_label_add; ?></a>
<?php } ?> <?php } ?>
@@ -36,14 +36,15 @@ foreach($profiles_array as $profile){
<td class='<?php echo $row_style[$c]; ?>'><?php echo $profile['status']; ?>&nbsp;</td> <td class='<?php echo $row_style[$c]; ?>'><?php echo $profile['status']; ?>&nbsp;</td>
<td class='<?php echo $row_style[$c]; ?>'><?php echo $profile['enabled']; ?>&nbsp;</td> <td class='<?php echo $row_style[$c]; ?>'><?php echo $profile['enabled']; ?>&nbsp;</td>
<td class='<?php echo $row_style[$c]; ?>'><?php echo $profile['description']; ?>&nbsp;</td> <td class='<?php echo $row_style[$c]; ?>'><?php echo $profile['description']; ?>&nbsp;</td>
<td align='right' width='42'> <td class='list_control_icons'>
<?php if (permission_exists('xmpp_edit')) { ?> <?php
<a href='xmpp_profile_edit.php?id=<?php echo $profile['xmpp_profile_uuid']; ?>' alt='<?php echo $text['button-edit']?>'><?php echo $v_link_label_edit; ?></a> if (permission_exists('xmpp_edit')) {
<?php } ?> ?><a href='xmpp_profile_edit.php?id=<?php echo $profile['xmpp_profile_uuid']; ?>' alt='<?php echo $text['button-edit']?>'><?php echo $v_link_label_edit; ?></a><?php
<?php if (permission_exists('xmpp_delete')) { ?> }
<a href='profile_delete.php?id=<?php echo $profile['xmpp_profile_uuid']; ?>' onclick="return confirm('<?php echo $text['confirm-delete']?>')" if (permission_exists('xmpp_delete')) {
alt='<?php echo $text['button-delete']?>'><?php echo $v_link_label_delete; ?></a> ?><a href='profile_delete.php?id=<?php echo $profile['xmpp_profile_uuid']; ?>' onclick="return confirm('<?php echo $text['confirm-delete']?>')" alt='<?php echo $text['button-delete']?>'><?php echo $v_link_label_delete; ?></a><?php
<?php } ?> }
?>
</td> </td>
</tr> </tr>
<?php <?php
@@ -51,7 +52,7 @@ if ($c==0) { $c=1; } else { $c=0; }
} }
?> ?>
<tr> <tr>
<td colspan='6' align='right' width='42'> <td colspan='6' class='list_control_icons'>
<?php if (permission_exists('xmpp_add')) { ?> <?php if (permission_exists('xmpp_add')) { ?>
<a href='xmpp_profile_edit.php' alt='<?php echo $text['button-add']?>'><?php echo $v_link_label_add; ?></a> <a href='xmpp_profile_edit.php' alt='<?php echo $text['button-add']?>'><?php echo $v_link_label_add; ?></a>
<?php } ?> <?php } ?>