Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Piatok, 13. november 2026

Rozdiely pre Metafox/functions.inc.php medzi verziami 1.32 a 1.33

verzia 1.32, 2006/09/03 14:07:58 verzia 1.33, 2006/09/12 16:31:01
Riadok 17 
Riadok 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/functions.inc.php,v 1.31 2006-09-03 14:03:24 nepto Exp $ */  /* $Platon: Metafox/functions.inc.php,v 1.32 2006-09-03 14:07:58 nepto Exp $ */
   
 function ezin_eval($evalcode) /* {{{ */  function ezin_eval($evalcode) /* {{{ */
 {  {
Riadok 725  function ezin_load_template($template_ke
Riadok 725  function ezin_load_template($template_ke
         if (isset($ezin_cgi['lang']) && $ezin_cgi['lang'] != '') {          if (isset($ezin_cgi['lang']) && $ezin_cgi['lang'] != '') {
                 $template_key .= $ezin_sys['tmpl']['delim'].$ezin_cgi['lang'];                  $template_key .= $ezin_sys['tmpl']['delim'].$ezin_cgi['lang'];
         }          }
           $additional_append_lang = true;
         while (1) {          while (1) {
                 $filename = $theme_dir . $template_key . $ezin_sys['tmpl']['delimext'];                  $filename = $theme_dir . $template_key . $ezin_sys['tmpl']['delimext'];
                 if (@file_exists($filename) && $f = @fopen($filename, 'r')) {                  if (@file_exists($filename) && $f = @fopen($filename, 'r')) {
Riadok 743  function ezin_load_template($template_ke
Riadok 744  function ezin_load_template($template_ke
                         break;                          break;
                 }                  }
                 $template_key = substr($template_key, 0, $pos);                  $template_key = substr($template_key, 0, $pos);
                   if (($pos = strrpos($template_key, '.')) === false && $additional_append_lang == true) {
                           $template_key .= $ezin_sys['tmpl']['delim'].$ezin_cgi['lang'];
                           $additional_append_lang = false;
                   }
         }          }
         return false;          return false;
 } /* }}} */  } /* }}} */

Legend:
Odstranené z verzie1.32  
zmenené riadky
  Pridané vo verzii1.33

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok