diff options
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/account/prefs/settings.html.tmpl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/template/en/default/account/prefs/settings.html.tmpl b/template/en/default/account/prefs/settings.html.tmpl index f8b6ba487..65e31359b 100644 --- a/template/en/default/account/prefs/settings.html.tmpl +++ b/template/en/default/account/prefs/settings.html.tmpl @@ -42,7 +42,7 @@ [% FOREACH name = setting_names %] [% default_name = name _ '-isdefault' %] [% default_val = settings.${name}.default_value %] - <tr> + <tr id="[% name FILTER html %]_row"> <td align="right"> [% setting_descs.$name OR name FILTER html %] </td> @@ -75,3 +75,10 @@ </table> [% END %] <br> + +<script> +YAHOO.util.Event.onDOMReady(function() { + var id = document.location.hash.substring(1) + '_row'; + YAHOO.util.Dom.addClass(id, 'highlighted'); +}); +</script> |