2012-06-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: added lost lines for the text sizes into the function "config_process_config". * include/config_process.php: cleaned source code style. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6724 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
b3a6e0b669
commit
3c238903e9
|
@ -1,3 +1,10 @@
|
|||
2012-06-28 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_config.php: added lost lines for the text sizes
|
||||
into the function "config_process_config".
|
||||
|
||||
* include/config_process.php: cleaned source code style.
|
||||
|
||||
2012-06-28 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions.php: fixed into the function "copy_dir" when
|
||||
|
|
|
@ -673,6 +673,30 @@ function config_process_config () {
|
|||
config_update_value ('refr', '');
|
||||
}
|
||||
|
||||
if (!isset($config['agent_size_text_small'])) {
|
||||
config_update_value ('agent_size_text_small', 18);
|
||||
}
|
||||
|
||||
if (!isset($config['agent_size_text_medium'])) {
|
||||
config_update_value ('agent_size_text_medium', 50);
|
||||
}
|
||||
|
||||
if (!isset($config['module_size_text_small'])) {
|
||||
config_update_value ('module_size_text_small', 25);
|
||||
}
|
||||
|
||||
if (!isset($config['module_size_text_medium'])) {
|
||||
config_update_value ('module_size_text_medium', 50);
|
||||
}
|
||||
|
||||
if (!isset($config['description_size_text'])) {
|
||||
config_update_value ('description_size_text', 60);
|
||||
}
|
||||
|
||||
if (!isset($config['item_title_size_text'])) {
|
||||
config_update_value ('item_title_size_text', 45);
|
||||
}
|
||||
|
||||
/* Finally, check if any value was overwritten in a form */
|
||||
config_update_config();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue