cosmetic: title for Edit privileges

This commit is contained in:
Marc Delisle
2004-10-15 19:53:59 +00:00
parent fdad655074
commit b40d6f15ab
2 changed files with 3 additions and 2 deletions

View File

@@ -15,6 +15,7 @@ $Source$
SELECT DISTINCT x AS foo, y AS bar FROM sometable
and count rows correctly (in MySQL 3),
thanks to Matthias Pigulla (mp@webfactory.de)
* server_privileges.php: cosmetic: title for Edit privileges
2004-10-13 Michal Čihař <michal@cihar.com>
* libraries/fpdf/fpdf.php: Updated to 1.52.

View File

@@ -969,9 +969,9 @@ if (empty($adduser) && empty($checkprivs)) {
. ' <td bgcolor="' . ($useBgcolorOne ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo']) . '">' . ($row['Grant_priv'] == 'Y' ? $strYes : $strNo) . '</td>' . "\n"
. ' <td bgcolor="' . ($useBgcolorOne ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo']) . '" align="center"><a href="server_privileges.php?' . $url_query . '&amp;username=' . urlencode($row['User']) . '&amp;hostname=' . urlencode($row['Host']) . '">';
if ($GLOBALS['cfg']['PropertiesIconic']) {
echo '<img src="' . $GLOBALS['pmaThemeImage'] . 'b_usredit.png" width="16" height="16" border="0" hspace="2" align="middle" alt="' . $strEdit . '" />';
echo '<img src="' . $GLOBALS['pmaThemeImage'] . 'b_usredit.png" width="16" height="16" border="0" hspace="2" align="middle" alt="' . $strEditPrivileges . '" title="' . $strEditPrivileges . '" />';
} else {
echo $strEdit;
echo $strEditPrivileges;
}
echo '</a></td>' . "\n"
. ' </tr>' . "\n";