From: Sylvie G. <sgr...@at...> - 2004-05-07 10:50:11
|
"MakeIt optional" http://tikiwiki.org/tiki-index.php?page=3Rules when you add a new feature. I noticed that even if you don't activate some feature, you have smarty/php variables about this feature. I propose to follow this principe in tiki-setup.php .... $feature_xx = 'n'; // or 'y $smarty->assign('feature_xx',$feature_xx); ..... $prefs = $tikilib->get_all_preferences(); ..... if ($feature_xx == 'y') { your additonal variable, smarty } .... if no objection will be added to the 3Rules page sylvie |