[geeklog-cvs] geeklog-1.3/public_html/admin poll.php,1.32,1.33

geeklog-cvs-admin at lists.geeklog.net geeklog-cvs-admin at lists.geeklog.net
Mon Jul 14 13:02:47 EDT 2003


Update of /usr/cvs/geeklog/geeklog-1.3/public_html/admin
In directory internal.geeklog.net:/tmp/cvs-serv7393/public_html/admin

Modified Files:
	poll.php 
Log Message:
Fix for a problem with Japanese characters when editing polls, provided by Tatsumi Imai.


Index: poll.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/poll.php,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** poll.php	28 Jun 2003 08:31:46 -0000	1.32
--- poll.php	14 Jul 2003 17:02:42 -0000	1.33
***************
*** 248,252 ****
      $poll_templates->set_var('lang_donotusespaces', $LANG25[7]);
      $poll_templates->set_var('lang_question', $LANG25[9]);
!     $poll_templates->set_var('poll_question', htmlentities ($Q['question']));
      $poll_templates->set_var('lang_mode', $LANG25[1]);
      $poll_templates->set_var('status_options', COM_optionList($_TABLES['statuscodes'],'code,name',$Q['statuscode'])); 
--- 248,252 ----
      $poll_templates->set_var('lang_donotusespaces', $LANG25[7]);
      $poll_templates->set_var('lang_question', $LANG25[9]);
!     $poll_templates->set_var('poll_question', htmlspecialchars ($Q['question']));
      $poll_templates->set_var('lang_mode', $LANG25[1]);
      $poll_templates->set_var('status_options', COM_optionList($_TABLES['statuscodes'],'code,name',$Q['statuscode'])); 
***************
*** 294,298 ****
      for ($i = 1; $i <= $_CONF['maxanswers']; $i++) {
          $A = DB_fetchArray($answers);
!         $poll_templates->set_var('answer_text', htmlentities ($A['answer']));
          $poll_templates->set_var('answer_votes', $A['votes']);
          if ($i < $_CONF['maxanswers']) {
--- 294,298 ----
      for ($i = 1; $i <= $_CONF['maxanswers']; $i++) {
          $A = DB_fetchArray($answers);
!         $poll_templates->set_var('answer_text', htmlspecialchars ($A['answer']));
          $poll_templates->set_var('answer_votes', $A['votes']);
          if ($i < $_CONF['maxanswers']) {





More information about the geeklog-cvs mailing list