summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2013-05-15 14:44:13 -0400
committerspiderr <spider@viovio.com>2013-05-15 14:44:13 -0400
commit325c0d1971cada51d2971856c0413c2741965c24 (patch)
tree87dd9b7ccaff06a8fcf63b589354ba7a83ad1511
parenta69d0204818dac165daa432a83d9a3594ce964b7 (diff)
downloadusers-325c0d1971cada51d2971856c0413c2741965c24.tar.gz
users-325c0d1971cada51d2971856c0413c2741965c24.tar.bz2
users-325c0d1971cada51d2971856c0413c2741965c24.zip
update baseUrl in register form
-rw-r--r--templates/register.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/register.tpl b/templates/register.tpl
index 24cea1f..077aea2 100644
--- a/templates/register.tpl
+++ b/templates/register.tpl
@@ -62,7 +62,7 @@
var loginEle = document.getElementById('login');
stripUsername = loginEle.value.replace( /[^_a-zA-Z0-9]/g, '' );
if( stripUsername ) {
- var baseUrl = "{/literal}{$gBitUser->getDisplayUri('')}{literal}";
+ var baseUrl = "{/literal}{$smarty.const.BIT_ROOT_URI}{literal}";
document.getElementById('loginurl').innerHTML = baseUrl + stripUsername;
}
}