[geeklog-cvs] geeklog-1.3/public_html/admin topic.php,1.45,1.46

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Tue Sep 28 04:28:51 EDT 2004


Update of /var/cvs/geeklog-1.3/public_html/admin
In directory www:/tmp/cvs-serv17704/admin

Modified Files:
	topic.php 
Log Message:
Fixed bug #190: Properly pick up number of stories per page from the topic settings; allow user to set stories/page to 0 to get the default number; fixed hard-coded default value in admin template.


Index: topic.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/admin/topic.php,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** topic.php	25 Sep 2004 18:38:17 -0000	1.45
--- topic.php	28 Sep 2004 08:28:49 -0000	1.46
***************
*** 151,154 ****
--- 151,155 ----
      $topic_templates->set_var('lang_storiesperpage', $LANG27[11]);
      $topic_templates->set_var('story_limit', $A['limitnews']);
+     $topic_templates->set_var('default_limit', $_CONF['limitnews']);
      $topic_templates->set_var('lang_defaultis', $LANG27[16]);
      $topic_templates->set_var('lang_topicname', $LANG27[3]);




More information about the geeklog-cvs mailing list