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:
commit
749a19eec5
|
@ -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;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -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>";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue