From: <sy...@us...> - 2007-09-05 15:09:56
|
Update of /cvsroot/tikiwiki/tiki In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv30797 Modified Files: Tag: BRANCH-1-9 tiki-index.php Log Message: [FIX]theme control: to have the tpl plugin depending on the theme, the theme control must be done before the parsing-need also the categ Index: tiki-index.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/tiki-index.php,v retrieving revision 1.113.2.58 retrieving revision 1.113.2.59 diff -u -d -r1.113.2.58 -r1.113.2.59 --- tiki-index.php 5 Sep 2007 14:32:52 -0000 1.113.2.58 +++ tiki-index.php 5 Sep 2007 15:09:58 -0000 1.113.2.59 @@ -391,6 +391,8 @@ if(!isset($info["is_html"])) { $info["is_html"]=false; } +$cat_type='wiki page'; +$cat_objid = $page; include_once('tiki-section_options.php'); $smarty->assign('cached_page','n'); @@ -516,9 +518,6 @@ $smarty->assign('atts_count',count($atts["data"])); } -$cat_type='wiki page'; -$cat_objid = $page; - $smarty->assign('footnote',''); $smarty->assign('has_footnote','n'); if($feature_wiki_footnotes == 'y') { |