Merge branch 'ent-2076-ue-mejoras-en-gestion-de-politicas-desde-metaconsola' into 'develop'

Fixed question mark hel header meta

See merge request artica/pandorafms!1625
This commit is contained in:
vgilc 2018-07-20 14:43:42 +02:00
commit 749a19eec5
2 changed files with 16 additions and 1 deletions

View File

@ -2291,4 +2291,19 @@ function config_prepare_session() {
ini_set("post_max_size", $config["max_file_size"]);
ini_set("upload_max_filesize", $config["max_file_size"]);
}
function config_update_value_in_db ($token, $value) {
$inserted_value = db_get_value('value', 'tconfig', '`token`', $token);
if ($inserted_value === false) {
return db_process_sql_insert(
'tconfig',
array('value' => $value, 'token' => $token)
) !== false;
}
else {
return db_process_sql_update(
'tconfig', array('value' => $value), array('token' => $token)
) !== false;
}
}
?>

View File

@ -2515,7 +2515,7 @@ function ui_print_page_header ($title, $icon = "", $return = false,
if(is_metaconsole()){
if ($help != ""){
$buffer .= "<div class='head_help'>" . ui_print_help_icon ($help, true) . "</div>";
$buffer .= "<div class='head_help'>" . ui_print_help_icon ($help, true, '', 'images/help_30.png') . "</div>";
}
}