[geeklog-cvs] geeklog-1.3/public_html/admin story.php,1.101,1.102

geeklog-cvs-admin at lists.geeklog.net geeklog-cvs-admin at lists.geeklog.net
Wed Sep 3 23:58:40 EDT 2003


Update of /usr/cvs/geeklog/geeklog-1.3/public_html/admin
In directory geeklog_prod:/tmp/cvs-serv647/public_html/admin

Modified Files:
	story.php 
Log Message:
Removed hardcode language for the word "ALL" that was being used in the storylist Topic Filter.

Index: story.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/story.php,v
retrieving revision 1.101
retrieving revision 1.102
diff -C2 -d -r1.101 -r1.102
*** story.php	31 Aug 2003 18:58:54 -0000	1.101
--- story.php	4 Sep 2003 03:58:38 -0000	1.102
***************
*** 413,417 ****
  function liststories($page = 1) 
  {
!     global $_TABLES, $LANG24, $_CONF, $LANG_ACCESS, $_USER, $_GROUPS,$HTTP_POST_VARS,$HTTP_GET_VARS;
  
      $display = '';
--- 413,417 ----
  function liststories($page = 1) 
  {
!     global $_TABLES, $LANG24, $_CONF, $LANG_ACCESS, $LANG09, $_USER, $_GROUPS,$HTTP_POST_VARS,$HTTP_GET_VARS;
  
      $display = '';
***************
*** 443,447 ****
          $current_topic = $HTTP_POST_VARS['tid'];
      } else {
!         $current_topic = 'all';
      }
      if (empty($page)) {
--- 443,447 ----
          $current_topic = $HTTP_POST_VARS['tid'];
      } else {
!         $current_topic = $LANG09['9'];
      }
      if (empty($page)) {
***************
*** 449,453 ****
      }
  
!     if ($current_topic == 'all') {
          $excludetopics = '';
          $topicsql = "SELECT tid FROM {$_TABLES['topics']}" . COM_getPermSQL ();
--- 449,453 ----
      }
  
!     if ($current_topic == $LANG09['9']) {
          $excludetopics = '';
          $topicsql = "SELECT tid FROM {$_TABLES['topics']}" . COM_getPermSQL ();
***************
*** 477,485 ****
      }
  
!     $alltopics = '<option value="all"';
!     if ($current_topic == 'all') {
          $alltopics .= ' selected="selected"';
      }
!     $alltopics .= '>' . "All" . '</option>' . LB;
      $story_templates->set_var ('topic_selection', '<select name="tid" style="width: 125px" onchange="this.form.submit()">' . $alltopics . $seltopics . '</select>');
  
--- 477,485 ----
      }
  
!     $alltopics = '<option value="' .$LANG09['9']. '"';
!     if ($current_topic == $LANG09['9']) {
          $alltopics .= ' selected="selected"';
      }
!     $alltopics .= '>' .$LANG09['9']. '</option>' . LB;
      $story_templates->set_var ('topic_selection', '<select name="tid" style="width: 125px" onchange="this.form.submit()">' . $alltopics . $seltopics . '</select>');
  
***************
*** 1050,1052 ****
  }
  
! ?>
--- 1050,1052 ----
  }
  
! ?>
\ No newline at end of file





More information about the geeklog-cvs mailing list