summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2010-02-10 19:33:07 +0000
committerChristian Fowler <spider@viovio.com>2010-02-10 19:33:07 +0000
commitfc5e8b93b8494a8fc28e1e90ff17da19e23cd9ea (patch)
tree213159289eadfacde53596b78b955a98a6000a66
parentc18162ab5375da174e938cae5c8b0223531608e4 (diff)
downloadusers-fc5e8b93b8494a8fc28e1e90ff17da19e23cd9ea.tar.gz
users-fc5e8b93b8494a8fc28e1e90ff17da19e23cd9ea.tar.bz2
users-fc5e8b93b8494a8fc28e1e90ff17da19e23cd9ea.zip
update javascript to use BitBase namespace
-rw-r--r--templates/center_user_wiki_page.tpl2
-rw-r--r--templates/register.tpl2
-rw-r--r--templates/users_admin.tpl4
3 files changed, 4 insertions, 4 deletions
diff --git a/templates/center_user_wiki_page.tpl b/templates/center_user_wiki_page.tpl
index 60bb97c..1976be2 100644
--- a/templates/center_user_wiki_page.tpl
+++ b/templates/center_user_wiki_page.tpl
@@ -14,7 +14,7 @@
{/if}
{/if}
- <a href="" onclick="toggle('userinformation');return false;">{biticon iname="contact-new" iforce="icon" ipackage="icons" iexplain="User Information"}</a>
+ <a href="" onclick="BitBase.toggleElementDisplay('userinformation','block',true);return false;">{biticon iname="contact-new" iforce="icon" ipackage="icons" iexplain="User Information"}</a>
{if $gBitUser->isRegistered() && $gBitUser->mUserId eq $gQueryUser->mUserId}
{if $gBitSystem->isFeatureActive('users_preferences')}
diff --git a/templates/register.tpl b/templates/register.tpl
index dd8ab39..0074bce 100644
--- a/templates/register.tpl
+++ b/templates/register.tpl
@@ -94,7 +94,7 @@
{if $gBitSystem->isFeatureActive( 'user_password_generator' )}
<div class="row">
- {formlabel label="<a href=\"javascript:genPass('genepass','pass1','pass2');\">{tr}Generate a password{/tr}</a>" for="email"}
+ {formlabel label="<a href=\"javascript:BitBase.genPass('genepass','pass1','pass2');\">{tr}Generate a password{/tr}</a>" for="email"}
{forminput}
<input id="genepass" type="text" />
{formhelp note="You can use this link to create a random password. Make sure you make a note of it somewhere to log in to this site in the future."}
diff --git a/templates/users_admin.tpl b/templates/users_admin.tpl
index 5494b02..a9d59d8 100644
--- a/templates/users_admin.tpl
+++ b/templates/users_admin.tpl
@@ -1,4 +1,4 @@
-{* $Header: /cvsroot/bitweaver/_bit_users/templates/users_admin.tpl,v 1.11 2009/01/20 22:18:07 dansut Exp $ *}
+{* $Header: /cvsroot/bitweaver/_bit_users/templates/users_admin.tpl,v 1.12 2010/02/10 19:33:07 spiderr Exp $ *}
{strip}
<div class="floaticon">{bithelp}</div>
@@ -67,7 +67,7 @@
</div>
<div class="row">
- {formlabel label="<a href=\"javascript:genPass('genepass','password','password2');\">{tr}Generate a password{/tr}</a>" for="email"}
+ {formlabel label="<a href=\"javascript:BitBase.genPass('genepass','password','password2');\">{tr}Generate a password{/tr}</a>" for="email"}
{forminput}
<input id="genepass" type="text" />
{formhelp note="You can use this link to create a random password. Make sure you pass the information on to the user."}