menu_user.html 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. if (!empty($_SESSION['error_msg'])) {
  3. ?>
  4. <script type="text/javascript">
  5. $(function() {
  6. $( "#dialog:ui-dialog" ).dialog( "destroy" );
  7. $( "#dialog-message" ).dialog({
  8. modal: true,
  9. buttons: {
  10. Ok: function() {
  11. $( this ).dialog( "close" );
  12. }
  13. }
  14. });
  15. });
  16. </script>
  17. <div id="dialog-message" title="Error">
  18. <p><?php echo $_SESSION['error_msg'] ?>.</p>
  19. </div>
  20. <?php
  21. unset($_SESSION['error_msg']);
  22. }
  23. ?>
  24. <table class="sub-menu">
  25. <tr>
  26. <td width="142px" style="padding: 16px 0 16px 6px">
  27. <button style="width:120px; padding: 2px 0px 2px 0px;" onclick="location.href='/add/user/'">Add User</button>
  28. <td><a style="padding: 0 4px 0 12px" class="select-controls" href='javascript:checkedAll("vstobjects");'> toggle all </a>
  29. <select style="margin:0 0 0 0px">
  30. <option>apply to selected</option>
  31. <option>rebuild</option>
  32. <option>update counters</option>
  33. <option>suspend</option>
  34. <option>unsuspend</option>
  35. <option>delete</option>
  36. </select> <button> > </button></td>
  37. </td>
  38. <td style="text-align: right;"><input type="text" size="30" style="padding: 3px 80px 3px 0;"> <button> Search </button></td>
  39. </tr><tr>
  40. </tr>
  41. </table>
  42. <form id="vstobjects">