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.89 and 1.90

version 1.89, 2010/11/02 17:32:26 version 1.90, 2010/12/10 12:53:18
Line 17 
Line 17 
  * http://platon.sk/projects/Metafox/   * http://platon.sk/projects/Metafox/
  */   */
   
 /* $Platon: Metafox/functions.inc.php,v 1.88 2010-10-08 09:12:24 igor Exp $ */  /* $Platon: Metafox/functions.inc.php,v 1.89 2010-11-02 17:32:26 igor Exp $ */
   
 function ezin_eval($evalcode) /* {{{ */  function ezin_eval($evalcode) /* {{{ */
 {  {
Line 133  function ezin_handle_special_tags(&$str,
Line 133  function ezin_handle_special_tags(&$str,
         static $ezin_url       = null;          static $ezin_url       = null;
         static $repository_url = null;          static $repository_url = null;
         static $link_file_type = null;          static $link_file_type = null;
           global $ezin_cgi;
         if ($ezin_url == null) {          if ($ezin_url == null) {
                 global $ezin_cfg, $ezin_sys;                  global $ezin_sys;
                 $ezin_url       = Platon::append_slash($ezin_cfg['url']);                  $ezin_url       = Platon::append_slash($ezin_cfg['url']);
                 $repository_url = Platon::append_slash($ezin_url.$ezin_sys['dir']['upload']);                  $repository_url = Platon::append_slash($ezin_url.$ezin_sys['dir']['upload']);
                 $link_file_type = $ezin_cfg['link_file_type'];                  $link_file_type = $ezin_cfg['link_file_type'];
Line 147  function ezin_handle_special_tags(&$str,
Line 148  function ezin_handle_special_tags(&$str,
         $included_jquery = false;          $included_jquery = false;
         $jquery = '<script type="text/javascript" src="libpub/jquery.js"></script>'."\n";          $jquery = '<script type="text/javascript" src="libpub/jquery.js"></script>'."\n";
         $included_lightbox = false;          $included_lightbox = false;
         $lightbox = '<script type="text/javascript" src="libpub/lightbox/jquery.lightbox-0.5.js"></script>'."\n"          $lightbox = '<script type="text/javascript"> var ezin_lang = "'.$ezin_cgi['lang'].'"; </script>'."\n"
                                   .'<script type="text/javascript" src="libpub/lightbox/jquery.lightbox-0.5.js"></script>'."\n"
                                 .'<link type="text/css" rel="stylesheet" href="libpub/lightbox/jquery.lightbox-0.5.css">'."\n";                                  .'<link type="text/css" rel="stylesheet" href="libpub/lightbox/jquery.lightbox-0.5.css">'."\n";
   
         if (strpos($mask, 'G') !== false) { /* {{{ */          if (strpos($mask, 'G') !== false) { /* {{{ */

Legend:
Removed from v.1.89  
changed lines
  Added in v.1.90

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