Add restore default permissions to the permissions page.

This commit is contained in:
Mark Crane
2013-01-23 15:49:02 +00:00
parent 6e7b056d63
commit 9d5d4d01eb
7 changed files with 150 additions and 7 deletions
+5 -2
View File
@@ -196,9 +196,12 @@ require_once "includes/paging.php";
echo "<table width='100%' border='0'>\n";
echo "<tr>\n";
echo "<td width='50%' align=\"left\" nowrap=\"nowrap\"><b>Group Permission List for $group_name</b></td>\n";
echo "<td width='50%' align=\"left\" nowrap=\"nowrap\"><b>Group Permissions for $group_name</b></td>\n";
echo "<td width='50%' align=\"right\">\n";
echo " <input type='button' class='btn' name='' alt='back' onclick=\"window.location='grouplist.php'\" value='Back'> ";
if (permission_exists('group_edit')) {
echo " <input type='button' class='btn' alt='Restore Default Permissions' onclick=\"window.location='permissions_default.php'\" value='Restore Default'>";
}
echo " <input type='button' class='btn' name='' alt='back' onclick=\"window.location='groups.php'\" value='Back'> ";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";