diff options
author | Michal Čihař <michal@cihar.com> | 2006-12-05 13:24:03 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2006-12-05 13:24:03 +0300 |
commit | dda0db43d0f1384b7c8c7d231d37f518b88b9140 (patch) | |
tree | 479d8a06142042432e5701b6fc7ee0ff1bcbde03 /server_privileges.php | |
parent | a247be5fc0fc941a51e336980ae4be2ccfb86d91 (diff) |
Use correct links (patch #1607236).
Diffstat (limited to 'server_privileges.php')
-rw-r--r-- | server_privileges.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server_privileges.php b/server_privileges.php index a1613dde5d..3d8362dd3f 100644 --- a/server_privileges.php +++ b/server_privileges.php @@ -470,8 +470,8 @@ function PMA_displayPrivTable($db = '*', $table = '*', $submit = TRUE, $indent = . $spaces . '<fieldset id="fieldset_user_global_rights">' . "\n" . $spaces . ' <legend>' . "\n" . $spaces . ' ' . ($db == '*' ? $GLOBALS['strGlobalPrivileges'] : ($table == '*' ? $GLOBALS['strDbPrivileges'] : $GLOBALS['strTblPrivileges'])) . "\n" - . $spaces . ' ( <a href="./server_privileges.php?' . $GLOBALS['url_query'] . '&checkall=1" onclick="setCheckboxes(\'usersForm\', true); return false;">' . $GLOBALS['strCheckAll'] . '</a> /' . "\n" - . $spaces . ' <a href="./server_privileges.php?' . $GLOBALS['url_query'] . '" onclick="setCheckboxes(\'usersForm\', false); return false;">' . $GLOBALS['strUncheckAll'] . '</a> )' . "\n" + . $spaces . ' ( <a href="server_privileges.php?' . $GLOBALS['url_query'] . '&checkall=1" onclick="setCheckboxes(\'usersForm\', true); return false;">' . $GLOBALS['strCheckAll'] . '</a> /' . "\n" + . $spaces . ' <a href="server_privileges.php?' . $GLOBALS['url_query'] . '" onclick="setCheckboxes(\'usersForm\', false); return false;">' . $GLOBALS['strUncheckAll'] . '</a> )' . "\n" . $spaces . ' </legend>' . "\n" . $spaces . ' <p><small><i>' . $GLOBALS['strEnglishPrivileges'] . '</i></small></p>' . "\n" . $spaces . ' <fieldset>' . "\n" @@ -1419,12 +1419,12 @@ if ( empty( $adduser ) && ( ! isset( $checkprivs ) || ! strlen($checkprivs) ) ) echo '<table cellspacing="5"><tr>'; foreach ($array_initials as $tmp_initial => $initial_was_found) { if ($initial_was_found) { - echo '<td><a href="' . $PHP_SELF . '?' . $GLOBALS['url_query'] . '&initial=' . urlencode($tmp_initial) . '">' . $tmp_initial . '</a></td>' . "\n"; + echo '<td><a href="server_privileges.php?' . $GLOBALS['url_query'] . '&initial=' . urlencode($tmp_initial) . '">' . $tmp_initial . '</a></td>' . "\n"; } else { echo '<td>' . $tmp_initial . '</td>'; } } - echo '<td><a href="' . $PHP_SELF . '?' . $GLOBALS['url_query'] . '&showall=1">[' . $GLOBALS['strShowAll'] . ']</a></td>' . "\n"; + echo '<td><a href="server_privileges.php?' . $GLOBALS['url_query'] . '&showall=1">[' . $GLOBALS['strShowAll'] . ']</a></td>' . "\n"; echo '</tr></table>'; /** @@ -1500,7 +1500,7 @@ if ( empty( $adduser ) && ( ! isset( $checkprivs ) || ! strlen($checkprivs) ) ) .' src="' . $pmaThemeImage . 'arrow_' . $text_dir . '.png"' .' width="38" height="22"' .' alt="' . $GLOBALS['strWithChecked'] . '" />' . "\n" - .'<a href="./server_privileges.php?' . $GLOBALS['url_query'] . '&checkall=1"' + .'<a href="server_privileges.php?' . $GLOBALS['url_query'] . '&checkall=1"' .' onclick="if ( markAllRows(\'usersForm\') ) return false;">' . $GLOBALS['strCheckAll'] . '</a>' . "\n" .'/' . "\n" |