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

Diff for Metafox/functions.inc.php between version 1.75 and 1.76

version 1.75, 2008/03/06 11:03:33 version 1.76, 2008/03/06 11:07:47
Line 17 
Line 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/functions.inc.php,v 1.74 2007-12-31 13:45:40 nepto Exp $ */  /* $Platon: Metafox/functions.inc.php,v 1.75 2008-03-06 11:03:33 nepto Exp $ */
   
 function ezin_eval($evalcode) /* {{{ */  function ezin_eval($evalcode) /* {{{ */
 {  {
Line 148  function ezin_handle_special_tags(&$str,
Line 148  function ezin_handle_special_tags(&$str,
                                 continue;                                  continue;
                         }                          }
                         $handler = opendir($full_path);                          $handler = opendir($full_path);
                           $img_ar  = array();
                         while ($file = readdir($handler)) {                          while ($file = readdir($handler)) {
                                   $img_ar[] = $file;
                           }
                           sort($img_ar);
                           foreach ($img_ar as $file) {
                                 // if $file isn't this directory or its parent,                                  // if $file isn't this directory or its parent,
                                 // add it to the replacement                                  // add it to the replacement
                                 if ($file{0} != '.') {                                  if ($file{0} != '.') {
                                         $g_replace .= "<image-link $directory$file $attrs>$file</image-link>\n";                                          $g_replace .= "<image-link $directory$file $attrs>$file</image-link>\n";
                                 }                                  }
                         }                          }
                           unset($img_ar);
                         closedir($handler);                          closedir($handler);
                         $str = preg_replace($g_pattern, $g_replace, $str);                          $str = preg_replace($g_pattern, $g_replace, $str);
                 }                  }

Legend:
Removed from v.1.75  
changed lines
  Added in v.1.76

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