XHTML fixes
This commit is contained in:
parent
7dddcd837c
commit
1c457194fa
@ -201,7 +201,7 @@ $(document).ready(function() {
|
||||
if ($('#fieldset_add_user a.ajax').attr('name') == 'db_specific') {
|
||||
|
||||
/*process the fieldset_add_user attribute and get the val of privileges*/
|
||||
var url = $('#fieldset_add_user a.ajax').attr('val');
|
||||
var url = $('#fieldset_add_user a.ajax').attr('rel');
|
||||
|
||||
if (url.substring(url.length - 23, url.length) == "&goto=db_operations.php") {
|
||||
url = url.substring(0, url.length - 23);
|
||||
|
||||
@ -2240,7 +2240,7 @@ if (empty($_REQUEST['adduser']) && (! isset($checkprivs) || ! strlen($checkprivs
|
||||
. '</form>' . "\n";
|
||||
} else {
|
||||
// check the privileges for a particular database.
|
||||
$user_form = '<form id="usersForm"><fieldset>' . "\n"
|
||||
$user_form = '<form id="usersForm" action="server_privileges.php"><fieldset>' . "\n"
|
||||
. '<legend>' . "\n"
|
||||
. PMA_getIcon('b_usrcheck.png')
|
||||
. ' ' . sprintf(__('Users having access to "%s"'), '<a href="' . $GLOBALS['cfg']['DefaultTabDatabase'] . '?' . PMA_generate_common_url($checkprivs) . '">' . htmlspecialchars($checkprivs) . '</a>') . "\n"
|
||||
@ -2401,7 +2401,7 @@ if (empty($_REQUEST['adduser']) && (! isset($checkprivs) || ! strlen($checkprivs
|
||||
// Offer to create a new user for the current database
|
||||
$user_form .= '<fieldset id="fieldset_add_user">' . "\n"
|
||||
. '<legend>' . __('New') . '</legend>' . "\n"
|
||||
. ' <a href="server_privileges.php?' . $GLOBALS['url_query'] . '&adduser=1&dbname=' . htmlspecialchars($checkprivs) .'" val="'.'checkprivs='.htmlspecialchars($checkprivs). '&'.$GLOBALS['url_query'] . '" class="'.$conditional_class.'" name="db_specific">' . "\n"
|
||||
. ' <a href="server_privileges.php?' . $GLOBALS['url_query'] . '&adduser=1&dbname=' . htmlspecialchars($checkprivs) .'" rel="'.'checkprivs='.htmlspecialchars($checkprivs). '&'.$GLOBALS['url_query'] . '" class="'.$conditional_class.'" name="db_specific">' . "\n"
|
||||
. PMA_getIcon('b_usradd.png')
|
||||
. ' ' . __('Add user') . '</a>' . "\n"
|
||||
. '</fieldset>' . "\n";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user