diff options
Diffstat (limited to 'phpBB/styles/subSilver/template/overall_header.html')
| -rw-r--r-- | phpBB/styles/subSilver/template/overall_header.html | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/phpBB/styles/subSilver/template/overall_header.html b/phpBB/styles/subSilver/template/overall_header.html index 3035cb61b2..22833f0ab2 100644 --- a/phpBB/styles/subSilver/template/overall_header.html +++ b/phpBB/styles/subSilver/template/overall_header.html @@ -22,18 +22,18 @@ </style> <!-- ENDIF --> -<script language="Javascript" type="text/javascript"> +<script type="text/javascript"> <!-- <!-- IF S_USER_PM_POPUP --> if ({S_NEW_PM}) { - window.open('{UA_POPUP_PM}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400'); + window.open('{UA_POPUP_PM}', '_phpbbprivmsg', 'height=225,resizable=yes,width=400'); } <!-- ENDIF --> function popup(url, width, height) { - window.open(url, '_popup', 'HEIGHT=' + height + ',resizable=yes,scrollbars=yes, WIDTH=' + width); + window.open(url.replace(/&/g, '&'), '_popup', 'HEIGHT=' + height + ',resizable=yes,scrollbars=yes, WIDTH=' + width); return false; } @@ -49,6 +49,17 @@ function jumpto() } } +/** +* 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; +} + // Mark/unmark checkboxes // id = ID of parent container, name = name prefix, state = state [true/false] function marklist(id, name, state) |
