| version 1.27, 2007/02/18 21:30:29 |
version 1.28, 2007/02/24 19:27:03 |
|
|
| * http://platon.sk/projects/Metafox/ |
* http://platon.sk/projects/Metafox/ |
| */ |
*/ |
| |
|
| /* $Platon: Metafox/subst.inc.php,v 1.26 2007-02-10 22:04:48 nepto Exp $ */ |
/* $Platon: Metafox/subst.inc.php,v 1.27 2007-02-18 21:30:29 nepto Exp $ */ |
| |
|
| require_once 'cfgldr.inc.php'; |
require_once 'cfgldr.inc.php'; |
| require_once 'error.inc.php'; |
require_once 'error.inc.php'; |
| Line 145 if ($ezin_cgi['author_id'] > 0 || $ezin_ |
|
| Line 145 if ($ezin_cgi['author_id'] > 0 || $ezin_ |
|
| $ezin_db_author['search'] = $matches[1]; |
$ezin_db_author['search'] = $matches[1]; |
| } |
} |
| } |
} |
| |
$ezin_tmpl_key .= $ezin_sys['tmpl']['delim'].'author'; |
| } /* }}} */ |
} /* }}} */ |
| else if ($ezin_cgi['section_id'] > 0 || $ezin_cgi['output'] == 'section') { /* {{{ */ |
else if ($ezin_cgi['section_id'] > 0 || $ezin_cgi['output'] == 'section') { /* {{{ */ |
| $ezin_db_section = ezin_get_section($ezin_cgi['section_id']); |
$ezin_db_section = ezin_get_section($ezin_cgi['section_id']); |
| Line 153 else if ($ezin_cgi['section_id'] > 0 || |
|
| Line 154 else if ($ezin_cgi['section_id'] > 0 || |
|
| } |
} |
| $ezin_db_section['section_editorial_text'] = Platon::tilde_replace($ezin_db_section['section_editorial_text']); |
$ezin_db_section['section_editorial_text'] = Platon::tilde_replace($ezin_db_section['section_editorial_text']); |
| $ezin_db_section['section_editorial_title'] = Platon::tilde_replace($ezin_db_section['section_editorial_title']); |
$ezin_db_section['section_editorial_title'] = Platon::tilde_replace($ezin_db_section['section_editorial_title']); |
| |
} /* }}} */ |
| if (! empty($ezin_cgi['article_id'])) { |
if (! empty($ezin_cgi['article_id'])) { /* {{{ */ |
| $ezin_db_article = ezin_get_article($ezin_cgi['article_id']); |
$ezin_db_article = ezin_get_article($ezin_cgi['article_id']); |
| if (! empty($ezin_db_article['article_template_key'])) { |
if (! empty($ezin_db_article['article_template_key'])) { |
| $ezin_tmpl_key = $ezin_sys['tmpl']['delim'].$ezin_db_article['article_template_key']; |
$ezin_tmpl_key .= $ezin_sys['tmpl']['delim'].$ezin_db_article['article_template_key']; |
| } |
|
| } |
} |
| } /* }}} */ |
} /* }}} */ |
| |
|
| Line 349 if ($ezin_tmpl_main->isVar('article_item |
|
| Line 349 if ($ezin_tmpl_main->isVar('article_item |
|
| $item->reload(); |
$item->reload(); |
| ezin_section_link_process($articles[$k], 'article_'); |
ezin_section_link_process($articles[$k], 'article_'); |
| ezin_author_link_process($articles[$k], 'article_'); |
ezin_author_link_process($articles[$k], 'article_'); |
| ezin_article_link_process($articles[$k]); |
ezin_article_link_process($articles[$k], $ezin_db_author != ''); |
| ezin_article_counts_process($articles[$k]); |
ezin_article_counts_process($articles[$k]); |
| ezin_handle_special_tags($articles[$k]['article_hometext'], $articles[$k]['article_hometext_flags']); |
ezin_handle_special_tags($articles[$k]['article_hometext'], $articles[$k]['article_hometext_flags']); |
| ezin_process_text_flags($articles[$k]['article_hometext'], 'article_hometext'); |
ezin_process_text_flags($articles[$k]['article_hometext'], 'article_hometext'); |