12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <div align='center'>
- <table width="100%" border="0" cellpadding="6" cellspacing="0">
- <tr>
- <td align='left'><b>XMPP Manager</b><br>
- Utilizes the Jingle protocol. Jingle is an extension to the Jabber/XMPP protocol.
- </td>
- </tr>
- </table>
- <br />
- <table width='100%' border='0' cellpadding='0' cellspacing='0'>
- <tr>
- <th>Profile</th>
- <th>Context</th>
- <th>State</th>
- <th>Enabled</th>
- <th>Description</th>
- <td align='right' width='42'>
- <?php if (permission_exists('xmpp_add')) { ?>
- <a href='v_profile_edit.php' alt='add'><?php echo $v_link_label_add; ?></a>
- <?php } ?>
- </td>
- </tr>
- <?php
- foreach($profiles_array as $profile){
- ?>
- <tr>
- <td><?php echo $profile['profile_name']; ?></td>
- <td><?php echo $profile['context']; ?></td>
- <td><?php echo $profile['status']; ?></td>
- <td><?php echo $profile['enabled']; ?></td>
- <td><?php echo $profile['description']; ?></td>
- <td align='right' width='42'>
- <?php if (permission_exists('xmpp_edit')) { ?>
- <a href='v_profile_edit.php?id=<?php echo $profile['xmpp_profile_uuid']; ?>' alt='edit'><?php echo $v_link_label_edit; ?></a>
- <?php } ?>
- <?php if (permission_exists('xmpp_delete')) { ?>
- <a href='v_profile_delete.php?id=<?php echo $profile['xmpp_profile_uuid']; ?>' onclick="return confirm('Do you really want to delete this?')"
- alt='delete'><?php echo $v_link_label_delete; ?></a>
- <?php } ?>
- </td>
- </tr>
- <?php
- }
- ?>
- <tr>
- <td colspan='6' align='right' width='42'>
- <?php if (permission_exists('xmpp_add')) { ?>
- <a href='v_profile_edit.php' alt='add'><?php echo $v_link_label_add; ?></a>
- <?php } ?>
- </td>
- </tr>
- </table>
- </div>
|