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.21 and 1.22

version 1.21, 2006/06/29 20:57:18 version 1.22, 2006/07/07 09:15:44
Line 72  function ezin_get_special_tags_flags($st
Line 72  function ezin_get_special_tags_flags($st
         preg_match('|<author-link\s[^>]+>|i', $str)     && $ret .= 'U';          preg_match('|<author-link\s[^>]+>|i', $str)     && $ret .= 'U';
         preg_match('|<section-link\s[^>]+>|i', $str)    && $ret .= 'S';          preg_match('|<section-link\s[^>]+>|i', $str)    && $ret .= 'S';
         preg_match('|<article-link\s[^>]+>|i', $str)    && $ret .= 'A';          preg_match('|<article-link\s[^>]+>|i', $str)    && $ret .= 'A';
           preg_match('|<page-link\s[^>]+>|i', $str)       && $ret .= 'A'; // same as articles
         preg_match('|<include\s[^>]+>|i', $str)         && $ret .= 'I';          preg_match('|<include\s[^>]+>|i', $str)         && $ret .= 'I';
         return $ret;          return $ret;
 } /* }}} */  } /* }}} */
Line 198  function ezin_handle_special_tags(&$str,
Line 199  function ezin_handle_special_tags(&$str,
                 $pattern[] = '|<article-link\s+([^>\s]+)([^>]*)>|i';                  $pattern[] = '|<article-link\s+([^>\s]+)([^>]*)>|i';
                 $replacement[] = '<a href="'.$ezin_url.$sub_url.'\\1"\\2>\\3</a>';                  $replacement[] = '<a href="'.$ezin_url.$sub_url.'\\1"\\2>\\3</a>';
                 $replacement[] = '<a href="'.$ezin_url.$sub_url.'\\1"\\2>\\1</a>';                  $replacement[] = '<a href="'.$ezin_url.$sub_url.'\\1"\\2>\\1</a>';
                   $pattern[] = '|<page-link\s+([^>\s]+)([^>]*)>((?:(?!<page-link).){0,499}?)</page-link>|si';
                   $pattern[] = '|<page-link\s+([^>\s]+)([^>]*)>|i';
                   $replacement[] = '<a href="'.$ezin_url.$sub_url.'\\1"\\2>\\3</a>';
                   $replacement[] = '<a href="'.$ezin_url.$sub_url.'\\1"\\2>\\1</a>';
         } /* }}} */          } /* }}} */
         if (strpos($mask, 'U') !== false) { /* {{{ */          if (strpos($mask, 'U') !== false) { /* {{{ */
                 $sub_url = $link_file_type ? 'author.php?' : '?ezin_author_id=';                  $sub_url = $link_file_type ? 'author.php?' : '?ezin_author_id=';

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

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