mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
Removed old deprecated and commented/disabled code
This commit is contained in:
parent
81ad47e751
commit
3c4cc38c90
@ -212,17 +212,6 @@ $table->data[26][1] = html_print_select($sounds, 'sound_warning', $config['sound
|
|||||||
$table->data[26][1] .= ' <a href="javascript: toggleButton(\'warning\');">' . html_print_image("images/control_play_col.png", true, array("id" => "button_sound_warning", "style" => "vertical-align: middle;", "width" => "16", "title" => __('Play sound'))) . '</a>';
|
$table->data[26][1] .= ' <a href="javascript: toggleButton(\'warning\');">' . html_print_image("images/control_play_col.png", true, array("id" => "button_sound_warning", "style" => "vertical-align: middle;", "width" => "16", "title" => __('Play sound'))) . '</a>';
|
||||||
$table->data[26][1] .= '<div id="layer_sound_warning"></div>';
|
$table->data[26][1] .= '<div id="layer_sound_warning"></div>';
|
||||||
|
|
||||||
/*
|
|
||||||
$table->data[27][0] = __('License information');
|
|
||||||
$license_info = db_get_value ('value', 'tupdate_settings', '`key`', 'customer_key');
|
|
||||||
if ($license_info === false)
|
|
||||||
$license_info = '';
|
|
||||||
|
|
||||||
$table->data[27][1] = html_print_input_text ('license_info_key', $license_info, '', 40, 255, true);
|
|
||||||
$table->data[27][1] .= ' <a id="dialog_license_info" title="'.__("License Info").'" href="#">'.html_print_image('images/lock.png', true, array('class' => 'bot', 'title' => __('License info'))).'</a>';
|
|
||||||
$table->data[27][1] .= '<div id="dialog_show_license" style="display:none"></div>';
|
|
||||||
*/
|
|
||||||
|
|
||||||
$table->data[28][0] = __('Public URL');
|
$table->data[28][0] = __('Public URL');
|
||||||
$table->data[28][0] .= ui_print_help_tip(__('Set this value when your PandoraFMS across inverse proxy or for example with mod_proxy of Apache.'), true);
|
$table->data[28][0] .= ui_print_help_tip(__('Set this value when your PandoraFMS across inverse proxy or for example with mod_proxy of Apache.'), true);
|
||||||
$table->data[28][1] = html_print_input_text ('public_url', $config['public_url'], '', 40, 255, true);
|
$table->data[28][1] = html_print_input_text ('public_url', $config['public_url'], '', 40, 255, true);
|
||||||
|
@ -123,50 +123,18 @@ $(document).ready (function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
$("a#dialog_license_info").click (function () {
|
if ($('#msg_change_password').length) {
|
||||||
var ajax_doc = "ajax.php";
|
|
||||||
if($('#hidden-metaconsole_activated').val() == 1) {
|
|
||||||
ajax_doc = "../../" + ajax_doc;
|
|
||||||
}
|
|
||||||
|
|
||||||
jQuery.get (ajax_doc,
|
|
||||||
{"page": "extensions/update_manager",
|
|
||||||
"get_license_info": "1"},
|
|
||||||
function (data, status) {
|
|
||||||
$("#dialog_show_license").hide ()
|
|
||||||
.empty ()
|
|
||||||
.append (data)
|
|
||||||
.dialog ({
|
|
||||||
title: $("a#dialog_license_info").attr ("title"),
|
|
||||||
resizable: false,
|
|
||||||
draggable: true,
|
|
||||||
modal: true,
|
|
||||||
overlay: {
|
|
||||||
opacity: 0.5,
|
|
||||||
background: "black"
|
|
||||||
},
|
|
||||||
width: 500,
|
|
||||||
height: 250
|
|
||||||
})
|
|
||||||
.show ();
|
|
||||||
},
|
|
||||||
"html"
|
|
||||||
);
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
|
|
||||||
if ($('#msg_change_password').length) {
|
|
||||||
|
|
||||||
$( "#msg_change_password" ).dialog({
|
$( "#msg_change_password" ).dialog({
|
||||||
resizable: true,
|
resizable: true,
|
||||||
draggable: true,
|
draggable: true,
|
||||||
modal: true,
|
modal: true,
|
||||||
height: 260,
|
height: 260,
|
||||||
width: 590,
|
width: 590,
|
||||||
overlay: {
|
overlay: {
|
||||||
opacity: 0.5,
|
opacity: 0.5,
|
||||||
background: "black"
|
background: "black"
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user