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.126 and 1.127

version 1.126, 2013/12/03 09:40:09 version 1.127, 2014/01/02 11:02:26
Line 17 
Line 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/functions.inc.php,v 1.125 2013-11-21 14:41:34 igor Exp $ */  /* $Platon: Metafox/functions.inc.php,v 1.126 2013-12-03 09:40:09 igor Exp $ */
   
 function ezin_eval($evalcode) /* {{{ */  function ezin_eval($evalcode) /* {{{ */
 {  {
Line 2070  function ezin_get_antispam() {
Line 2070  function ezin_get_antispam() {
         }          }
         $submit_name = 'ezin_save_feedback';          $submit_name = 'ezin_save_feedback';
         if (strlen(Platon::parse_id_param('ezin_save_message', false)) > 0          if (strlen(Platon::parse_id_param('ezin_save_message', false)) > 0
                 || strlen(Platon::parse_id_param('ezin_add_new', false)) > 0)                  || strlen(Platon::parse_id_param('ezin_add_new', false)) > 0
                   || in_array($ezin_cgi['input'], array('message', 'message_edit', 'message_full_list', 'message_selected_list')))
         {          {
                 $submit_name = 'ezin_save_message';                  $submit_name = 'ezin_save_message';
         }          }
         if (strlen(Platon::parse_id_param('ezin_save_author', false)) > 0) {          if (strlen(Platon::parse_id_param('ezin_save_author', false)) > 0
                   || in_array($ezin_cgi['input'], array('author', 'author_edit')))
           {
                 $submit_name = 'ezin_save_author';                  $submit_name = 'ezin_save_author';
         }          }
         $ret = array();          $ret = array();
Line 2355  function ezin_redirect_print($article_id
Line 2358  function ezin_redirect_print($article_id
                         break;                          break;
         }          }
         ezin_redirect_special($redirect);          ezin_redirect_special($redirect);
   }
   
   function ezin_redirect_message($message_id, $type = null) {
           global $ezin_cfg;
           if ($type == null) {
                   $type = $ezin_cfg['link_file_type'];
           }
           switch($type) {
                   case 0:
                           $redirect = $ezin_cfg['url'].'index.php?ezin_message_id='.$message_id;
                           break;
                   case 1:
                           $redirect = $ezin_cfg['url'].'message.php?'.$message_id;
                           break;
                   case 2:
                           $redirect = $ezin_cfg['url'].ezin_get_rewrite_action('message').'/'.$message_key;
                           break;
           }
           ezin_redirect_special($redirect);
 }  }
   
 function ezin_redirect_auto($ar) {  function ezin_redirect_auto($ar) {

Legend:
Removed from v.1.126  
changed lines
  Added in v.1.127

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