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

verzia 1.21, 2006/06/29 20:57:18 verzia 1.22, 2006/07/07 09:15:44
Riadok 72  function ezin_get_special_tags_flags($st
Riadok 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;
 } /* }}} */  } /* }}} */
Riadok 198  function ezin_handle_special_tags(&$str,
Riadok 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:
Odstranené z verzie1.21  
zmenené riadky
  Pridané vo verzii1.22

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