diff options
author | Andrew Dolgov <[email protected]> | 2010-11-11 18:59:21 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-11 18:59:21 +0300 |
commit | a998dbef95bb6ac94a0f4b401e94e4c932c855a0 (patch) | |
tree | 24593ab69bcdbc72838ed79ce824331c26d0764c /modules/pref-users.php | |
parent | b0d32d324ceedd5134861dee9af2e3f251ed0b6a (diff) |
misc code cleanup, allow ctrl-key selection in prefs
Diffstat (limited to 'modules/pref-users.php')
-rw-r--r-- | modules/pref-users.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/pref-users.php b/modules/pref-users.php index a4531c45f..dcca9a936 100644 --- a/modules/pref-users.php +++ b/modules/pref-users.php @@ -417,16 +417,16 @@ print "<tr><td class=\"selectPrompt\" colspan=\"8\"> ".__('Select:')." - <a href=\"javascript:selectPrefRows('user', true)\">".__('All')."</a>, - <a href=\"javascript:selectPrefRows('user', false)\">".__('None')."</a> + <a href=\"#\" onclick=\"selectPrefRows('user', true)\">".__('All')."</a>, + <a href=\"#\" onclick=\"selectPrefRows('user', false)\">".__('None')."</a> </td</tr>"; print "<tr class=\"title\"> <td align='center' width=\"5%\"> </td> - <td width=''><a href=\"javascript:updateUsersList('login')\">".__('Login')."</a></td> - <td width='20%'><a href=\"javascript:updateUsersList('access_level')\">".__('Access Level')."</a></td> - <td width='20%'><a href=\"javascript:updateUsersList('created')\">".__('Registered')."</a></td> - <td width='20%'><a href=\"javascript:updateUsersList('last_login')\">".__('Last login')."</a></td></tr>"; + <td width=''><a href=\"#\" onclick=\"updateUsersList('login')\">".__('Login')."</a></td> + <td width='20%'><a href=\"#\" onclick=\"updateUsersList('access_level')\">".__('Access Level')."</a></td> + <td width='20%'><a href=\"#\" onclick=\"updateUsersList('created')\">".__('Registered')."</a></td> + <td width='20%'><a href=\"#\" onclick=\"updateUsersList('last_login')\">".__('Last login')."</a></td></tr>"; $lnum = 0; @@ -451,10 +451,10 @@ $line["created"] = make_local_datetime($link, $line["created"], false); $line["last_login"] = make_local_datetime($link, $line["last_login"], false); - print "<td align='center'><input onclick='toggleSelectPrefRow(this, \"user\");' + print "<td align='center'><input onclick='toggleSelectRow(this);' type=\"checkbox\" id=\"UMCHK-$uid\"></td>"; - $onclick = "onclick='editUser($uid)' title='".__('Click to edit')."'"; + $onclick = "onclick='editUser($uid, event)' title='".__('Click to edit')."'"; print "<td $onclick>" . $line["login"] . "</td>"; |