[geeklog-cvs] Geeklog-1.x/public_html submit.php, 1.113.2.1, 1.113.2.2

Dirk Haun dhaun at qs1489.pair.com
Sat Sep 22 14:41:19 EDT 2007


Update of /cvsroot/geeklog/Geeklog-1.x/public_html
In directory qs1489.pair.com:/tmp/cvs-serv92062/public_html

Modified Files:
      Tag: geeklog_1_4_1_1
	submit.php 
Log Message:
Hide "Create Account" link in the story submission form when new account registration has been disabled (ported over from the trunk)


Index: submit.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/submit.php,v
retrieving revision 1.113.2.1
retrieving revision 1.113.2.2
diff -C2 -d -r1.113.2.1 -r1.113.2.2
*** submit.php	3 Mar 2007 19:09:31 -0000	1.113.2.1
--- submit.php	22 Sep 2007 18:41:17 -0000	1.113.2.2
***************
*** 235,241 ****
          $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','<a href="' . $_CONF['site_url'] . '/users.php?mode=new" rel="nofollow">' . $LANG12[53] . '</a>');
      }
      
--- 235,243 ----
          $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','<a href="' . $_CONF['site_url'] . '/users.php?mode=new" rel="nofollow">' . $LANG12[53] . '</a>');
!         }
      }
      




More information about the geeklog-cvs mailing list