[geeklog-cvs] Geeklog-1.x/public_html submit.php,1.117,1.118
Dirk Haun
dhaun at qs1489.pair.com
Sat Sep 22 14:37:48 EDT 2007
Update of /cvsroot/geeklog/Geeklog-1.x/public_html
In directory qs1489.pair.com:/tmp/cvs-serv91944/public_html
Modified Files:
submit.php
Log Message:
Hide "create account" link when new user registration has been disabled
Index: submit.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/submit.php,v
retrieving revision 1.117
retrieving revision 1.118
diff -C2 -d -r1.117 -r1.118
*** submit.php 2 Mar 2007 07:39:47 -0000 1.117
--- submit.php 22 Sep 2007 18:37:46 -0000 1.118
***************
*** 173,186 ****
$storyform->set_var('status_url', $_CONF['site_url'] . '/users.php');
$storyform->set_var('lang_loginout', $LANG12[2]);
! $storyform->set_var('separator', ' | ');
! $storyform->set_var('seperator', ' | ');
! $storyform->set_var(
! 'create_account',
! COM_createLink(
! $LANG12[53],
! $_CONF['site_url'] . '/users.php?mode=new',
! array('rel'=>"nofollow")
! )
! );
}
--- 173,188 ----
$storyform->set_var('status_url', $_CONF['site_url'] . '/users.php');
$storyform->set_var('lang_loginout', $LANG12[2]);
! if (!$_CONF['disable_new_user_registration']) {
! $storyform->set_var('separator', ' | ');
! $storyform->set_var('seperator', ' | ');
! $storyform->set_var(
! 'create_account',
! COM_createLink(
! $LANG12[53],
! $_CONF['site_url'] . '/users.php?mode=new',
! array('rel'=>"nofollow")
! )
! );
! }
}
More information about the geeklog-cvs
mailing list