[geeklog-cvs] Geeklog-1.x/public_html/admin/plugins/polls index.php, 1.51, 1.52

Dirk Haun dhaun at qs1489.pair.com
Tue May 13 15:42:19 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin/plugins/polls
In directory qs1489.pair.com:/tmp/cvs-serv72284/public_html/admin/plugins/polls

Modified Files:
	index.php 
Log Message:
A few more places where the 'open' column had to be renamed to 'is_open'


Index: index.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/plugins/polls/index.php,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -d -r1.51 -r1.52
*** index.php	26 Jan 2008 20:43:15 -0000	1.51
--- index.php	13 May 2008 19:42:16 -0000	1.52
***************
*** 88,92 ****
          array('text' => $LANG_ACCESS['access'], 'field' => 'access', 'sort' => false),
          array('text' => $LANG25[3], 'field' => 'unixdate', 'sort' => true),
!         array('text' => $LANG25[33], 'field' => 'open', 'sort' => true)
      );
  
--- 88,92 ----
          array('text' => $LANG_ACCESS['access'], 'field' => 'access', 'sort' => false),
          array('text' => $LANG25[3], 'field' => 'unixdate', 'sort' => true),
!         array('text' => $LANG25[33], 'field' => 'is_open', 'sort' => true)
      );
  
***************
*** 255,259 ****
      // Save poll topic
      DB_save($_TABLES['polltopics'],"pid, topic, voters, questions, date, display, "
!            . "open, hideresults, statuscode, commentcode, owner_id, group_id, "
             . "perm_owner, perm_group, perm_members, perm_anon",$sql);
  
--- 255,259 ----
      // Save poll topic
      DB_save($_TABLES['polltopics'],"pid, topic, voters, questions, date, display, "
!            . "is_open, hideresults, statuscode, commentcode, owner_id, group_id, "
             . "perm_owner, perm_group, perm_members, perm_anon",$sql);
  
***************
*** 347,351 ****
          $T['voters'] = 0;
          $T['display'] = 1;
!         $T['open'] = 1;
          $T['owner_id'] = $_USER['uid'];
          if (isset ($_GROUPS['Polls Admin'])) {
--- 347,351 ----
          $T['voters'] = 0;
          $T['display'] = 1;
!         $T['is_open'] = 1;
          $T['owner_id'] = $_USER['uid'];
          if (isset ($_GROUPS['Polls Admin'])) {
***************
*** 380,384 ****
      }
  
!     if ($T['open'] == 1) {
          $poll_templates->set_var('poll_open', 'checked="checked"');
      }
--- 380,384 ----
      }
  
!     if ($T['is_open'] == 1) {
          $poll_templates->set_var('poll_open', 'checked="checked"');
      }




More information about the geeklog-cvs mailing list