From: <sy...@us...> - 2007-10-05 17:05:15
|
Update of /cvsroot/tikiwiki/tiki/modules In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv17723/modules Modified Files: mod-switch_lang.php mod-switch_theme.php Log Message: [FIX]language: serialize/unserialize avaialble language just when save in the database Index: mod-switch_lang.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/modules/mod-switch_lang.php,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- mod-switch_lang.php 18 May 2005 11:02:28 -0000 1.8 +++ mod-switch_lang.php 5 Oct 2007 17:05:17 -0000 1.9 @@ -11,5 +11,4 @@ $languages = array(); $languages = $tikilib->list_languages(false, 'y'); $smarty->assign_by_ref('languages', $languages); -$smarty->assign("available_languages", unserialize($tikilib->get_preference("available_languages"))); ?> Index: mod-switch_theme.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/modules/mod-switch_theme.php,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- mod-switch_theme.php 5 Jan 2006 17:16:38 -0000 1.11 +++ mod-switch_theme.php 5 Oct 2007 17:05:17 -0000 1.12 @@ -12,7 +12,6 @@ } $smarty->assign('styleslist',$tikilib->list_styles()); -$smarty->assign("available_styles", unserialize($tikilib->get_preference("available_styles"))); if(isset($style)){ $smarty->assign('styleName', ereg_replace($tikidomain."/", "", $style)); |