Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Saturday, November 14, 2026

Diff for Metafox/subst.inc.php between version 1.8 and 1.9

version 1.8, 2005/11/28 12:06:22 version 1.9, 2005/11/28 15:14:10
Line 304  if ($ezin_tmpl_main->isVar('article_item
Line 304  if ($ezin_tmpl_main->isVar('article_item
         }          }
 } /* }}} */  } /* }}} */
   
   /*
    * Creating poll
    */
   
 if ($ezin_tmpl_main->isVar('poll_question')) { /* {{{ */  if ($ezin_tmpl_main->isVar('poll_question')) { /* {{{ */
         $ezin_db_poll = ezin_get_poll($ezin_db_section['section_id'], $ezin_cgi['lang']);          $ezin_db_poll = ezin_get_poll($ezin_db_section['section_id'], $ezin_cgi['lang']);
         if ($ezin_db_poll != '') {          if ($ezin_db_poll != '') {
Line 324  if ($ezin_tmpl_main->isVar('poll_questio
Line 328  if ($ezin_tmpl_main->isVar('poll_questio
   
                         for ($k = 0; $k < count($answers); $k++) {                          for ($k = 0; $k < count($answers); $k++) {
                                 $item->reload();                                  $item->reload();
                                 //ezin_section_link_process($answers[$k]);                                  $answers[$k]['poll_answer_link'] = ezin_get_link('PA', $answers[$k]['poll_answer_id']);
                                 //ezin_section_counts_process($answers[$k]);  
                                 if ($cache_ar['var_var']) {                                  if ($cache_ar['var_var']) {
                                         $id = $answers[$k]['poll_answer_id'];                                          $id = $answers[$k]['poll_answer_id'];
                                         $item->setVar('poll_answer_votes', 'poll_answer_votes_'.$id);                                          $item->setVar('poll_answer_votes', 'poll_answer_votes_'.$id);

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top