users.php
changeset 110 455405c757e1
parent 105 df46fd74c2ee
child 119 f74e4f88b680
equal deleted inserted replaced
109:34b2d49f52c6 110:455405c757e1
    34 		update_user_details($user);
    34 		update_user_details($user);
    35 	}
    35 	}
    36 }
    36 }
    37 
    37 
    38 $users = get_user_detail_list("");
    38 $users = get_user_detail_list("");
    39 echo "    <h2>" . _('User admin') . "</h2>\n";
    39 echo "    <h2>" . _('User administration') . "</h2>\n";
    40 echo "    <form method=\"post\">\n";
    40 echo "    <form method=\"post\">\n";
    41 echo "     <table>\n";
    41 echo "     <table>\n";
    42 echo "      <tr>\n";
    42 echo "      <tr>\n";
    43 echo "       <th>&nbsp;</th>\n";
    43 echo "       <th>&nbsp;</th>\n";
    44 echo "       <th>" . _('Username') . "</th>\n";
    44 echo "       <th>" . _('Username') . "</th>\n";
   105 }
   105 }
   106 echo "    </form>\n";
   106 echo "    </form>\n";
   107 
   107 
   108 echo "    <ul>\n";
   108 echo "    <ul>\n";
   109 if ($perm_templ_perm_edit == "1") {
   109 if ($perm_templ_perm_edit == "1") {
   110 	echo "<li><a href=\"list_perm_templ.php\">" . _('Edit permission templates') . "</a>.</li>\n";
   110 	echo "<li><a href=\"list_perm_templ.php\">" . _('Edit permission template') . "</a>.</li>\n";
   111 }
   111 }
   112 
   112 
   113 if (verify_permission(user_add_new)) {
   113 if (verify_permission(user_add_new)) {
   114 	echo "<li><a href=\"add_user.php\">" . _('Add user') . "</a>.</li>\n";
   114 	echo "<li><a href=\"add_user.php\">" . _('Add user') . "</a>.</li>\n";
   115 }
   115 }