2009-04-02 Esteban Sanchez <estebans@artica.es>

* include/functions_config.php: Fixed a bug when the theme was not
	given on update_config().

	* godmode/setup/setup.php: Removed unneccesary include of
	functions_themes.php



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1591 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
esanchezm 2009-04-02 14:31:10 +00:00
parent 2009f1c1b0
commit e99ff4c0ba
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2009-04-02 Esteban Sanchez <estebans@artica.es>
* include/functions_config.php: Fixed a bug when the theme was not
given on update_config().
* godmode/setup/setup.php: Removed unneccesary include of
functions_themes.php
2009-04-02 Esteban Sanchez <estebans@artica.es>
* include/functions_reporting.php: Added alert API on

View File

@ -39,9 +39,7 @@ enterprise_include ('godmode/setup/setup.php');
to add it there.
*/
require_once ('include/functions_themes.php');
echo "<h2>".__('Setup')." &gt; ";
echo "<h2>".__('Setup')." &raquo; ";
echo __('General configuration')."</h2>";
$table->width = '90%';

View File

@ -78,7 +78,8 @@ function update_config () {
return;
$style = (string) get_parameter ('style', $config["style"]);
$style = substr ($style, 0, strlen ($style) - 4);
if ($style != $config['style'])
$style = substr ($style, 0, strlen ($style) - 4);
/* Workaround for ugly language and language_code missmatch */
$config['language_code'] = (string) get_parameter ('language', $config["language"]);