diff options
Diffstat (limited to 'phpBB/adm/style/overall_header.html')
| -rw-r--r-- | phpBB/adm/style/overall_header.html | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/phpBB/adm/style/overall_header.html b/phpBB/adm/style/overall_header.html index 0cdf9636e8..d5b3ff5f7e 100644 --- a/phpBB/adm/style/overall_header.html +++ b/phpBB/adm/style/overall_header.html @@ -83,20 +83,31 @@ function marklist(id, name, state) */ function trace(link) { - window.open(link, '_trace', 'height=515, resizable=yes, scrollbars=yes, width=680'); + window.open(link.replace(/&/g, '&'), '_trace', 'height=515, resizable=yes, scrollbars=yes, width=680'); return false; } -<!-- IF S_INCLUDE_SWATCH --> - /** - * Color swatch - */ - function swatch() - { - window.open('{UA_SWATCH}', '_swatch', 'height=150, resizable=yes, scrollbars=no, width=636'); - return false; - } -<!-- ENDIF --> +/** +* Find a member +*/ +function find_username() +{ + <!-- IF UA_FIND_USERNAME --> + window.open('{UA_FIND_USERNAME}', '_usersearch', 'height=500, resizable=yes, scrollbars=yes, width=740'); + <!-- ENDIF --> + return false; +} + +/** +* Color swatch +*/ +function swatch(field) +{ + <!-- IF UA_SWATCH --> + window.open('{UA_SWATCH}' + field, '_swatch', 'height=150, resizable=yes, scrollbars=no, width=636'); + <!-- ENDIF --> + return false; +} //--> </script> |
