aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/overall_header.html
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-09-22 18:31:50 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-09-22 18:31:50 +0000
commite3882844ec985a62ae573bbcf618c08343afc717 (patch)
treef980f059ded6f06bee2bb3597269209be32cdb3a /phpBB/styles/prosilver/template/overall_header.html
parentcbb286420fe5cd82687df99a7f146ffc39408dc7 (diff)
downloadforums-e3882844ec985a62ae573bbcf618c08343afc717.tar
forums-e3882844ec985a62ae573bbcf618c08343afc717.tar.gz
forums-e3882844ec985a62ae573bbcf618c08343afc717.tar.bz2
forums-e3882844ec985a62ae573bbcf618c08343afc717.tar.xz
forums-e3882844ec985a62ae573bbcf618c08343afc717.zip
#i62 - #i65
gone through every javascript invocation and making sure we adhere to our coding guidelines. git-svn-id: file:///svn/phpbb/trunk@8099 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/styles/prosilver/template/overall_header.html')
-rw-r--r--phpBB/styles/prosilver/template/overall_header.html12
1 files changed, 5 insertions, 7 deletions
diff --git a/phpBB/styles/prosilver/template/overall_header.html b/phpBB/styles/prosilver/template/overall_header.html
index 202b50fe5d..754f92ab0c 100644
--- a/phpBB/styles/prosilver/template/overall_header.html
+++ b/phpBB/styles/prosilver/template/overall_header.html
@@ -27,10 +27,10 @@
<script type="text/javascript">
// <![CDATA[
- var jump_page = '{L_JUMP_PAGE}:';
+ var jump_page = '{LA_JUMP_PAGE}:';
var on_page = '{ON_PAGE}';
var per_page = '{PER_PAGE}';
- var base_url = '{BASE_URL}';
+ var base_url = '{A_BASE_URL}';
var style_cookie = 'phpBBstyle';
var onload_functions = new Array();
var onunload_functions = new Array();
@@ -38,18 +38,16 @@
<!-- IF S_USER_PM_POPUP -->
if ({S_NEW_PM})
{
- window.open('{UA_POPUP_PM}', '_phpbbprivmsg', 'height=225,resizable=yes,width=400');
+ popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
}
<!-- ENDIF -->
/**
* Find a member
*/
- function find_username()
+ function find_username(url)
{
- <!-- IF UA_FIND_USERNAME -->
- window.open('{UA_FIND_USERNAME}', '_usersearch', 'height=500, resizable=yes, scrollbars=yes, width=740');
- <!-- ENDIF -->
+ popup(url, 760, 570, '_usersearch');
return false;
}