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

Diff for Metafox/functions.inc.php between version 1.6 and 1.7

version 1.6, 2005/11/26 12:37:58 version 1.7, 2005/11/28 15:14:10
Line 362  function ezin_get_link($type = 'S', $id
Line 362  function ezin_get_link($type = 'S', $id
                         case 'U': $script = 'author';  break;                          case 'U': $script = 'author';  break;
                         case 'P': $script = 'print';   break;                          case 'P': $script = 'print';   break;
                         case 'M': $script = 'message'; break;                          case 'M': $script = 'message'; break;
                           case 'PA': $script = 'poll_answer'; break;
                 }                  }
                 if ($ezin_cfg['link_file_type']) {                  if ($ezin_cfg['link_file_type'] && $type != 'PA') {
                         return $url_prefix.$ezin_cfg['url']                          return $url_prefix.$ezin_cfg['url']
                                 .$script.'.php'                                  .$script.'.php'
                                 .'?'.htmlspecialchars($id)                                  .'?'.htmlspecialchars($id)
Line 1198  function ezin_cgi_parse() /* {{{ */
Line 1199  function ezin_cgi_parse() /* {{{ */
                 $ezin_cgi['output'] = 'author';                  $ezin_cgi['output'] = 'author';
         }          }
   
           $poll_answer_id = Platon::parse_id_param('ezin_poll_answer_id', 0);
           if ($poll_answer_id > 0) {
                   $poll_id     = ezin_is_valid_poll($poll_answer_id);
                   $poll_cookie = 'ezin_poll_'.$poll_id;
                   if (! isset($_COOKIE[$poll_cookie])) {
                           ezin_poll_answer_vote($poll_answer_id);
                           ezin_cache_clear("P$poll_id");
                           setcookie($poll_cookie, $poll_answer_id);
                   }
                   header('Location: '.$_SERVER['HTTP_REFERER']);
                   exit;
           }
   
         /* This part creates $ezin_cgi['lang_bind'] array, which will be used          /* This part creates $ezin_cgi['lang_bind'] array, which will be used
            for template language variables substitution. */             for template language variables substitution. */
         if (is_array($ezin_cfg['languages'])) {          if (is_array($ezin_cfg['languages'])) {

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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