|
From: FlorinCB <ory...@us...> - 2010-01-01 17:39:38
|
Update of /cvsroot/mxbb/core/includes In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv5408 Modified Files: mx_functions_style.php Log Message: ver 2 template search Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.114 retrieving revision 1.115 diff -C2 -d -r1.114 -r1.115 *** mx_functions_style.php 8 Oct 2009 17:01:06 -0000 1.114 --- mx_functions_style.php 1 Jan 2010 17:39:20 -0000 1.115 *************** *** 1189,1192 **** --- 1189,1209 ---- } } + + // + // If old version 2 module search for subSilver template intead + // + if (!$mx_template_config) + { + $template_name2 = 'subSilver'; + + $current_template_path = $module_root_path . $this->default_current_template_path; + $template_name = $this->default_template_name; + + @include($mx_root_path . $module_root_path . $this->default_current_template_path . '/' . $template_name2 . '.cfg'); + if (!$mx_template_config) + { + @include($mx_root_path . $module_root_path . $this->default_current_template_path . '/' . $moduleCfgFile . '.cfg'); + } + } // |