2013-06-25 Miguel de Dios <miguel.dedios@artica.es>
* operation/users/user_edit.php: merge the code for made more easy the merges from the branch. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8398 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
c855e455cf
commit
3ce3bb7921
|
@ -1,3 +1,8 @@
|
||||||
|
2013-06-25 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* operation/users/user_edit.php: merge the code for made more
|
||||||
|
easy the merges from the branch.
|
||||||
|
|
||||||
2013-06-25 Miguel de Dios <miguel.dedios@artica.es>
|
2013-06-25 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* extensions/vnc_view.php: added the changes from the branch of
|
* extensions/vnc_view.php: added the changes from the branch of
|
||||||
|
|
|
@ -116,6 +116,7 @@ if (isset ($_GET["modified"]) && !$view_mode) {
|
||||||
$is_admin = db_get_value('is_admin', 'tusuario', 'id_user', $id);
|
$is_admin = db_get_value('is_admin', 'tusuario', 'id_user', $id);
|
||||||
|
|
||||||
$section = io_safe_output($upd_info["section"]);
|
$section = io_safe_output($upd_info["section"]);
|
||||||
|
|
||||||
if (($section == 'Event list') || ($section == 'Group view') || ($section == 'Alert detail') || ($section == 'Tactical view') || ($section == 'Default')) {
|
if (($section == 'Event list') || ($section == 'Group view') || ($section == 'Alert detail') || ($section == 'Tactical view') || ($section == 'Default')) {
|
||||||
$upd_info["data_section"] = '';
|
$upd_info["data_section"] = '';
|
||||||
}
|
}
|
||||||
|
@ -259,6 +260,7 @@ $data[1] .= '<br>' . html_print_select($values, 'flash_charts', $user_info["flas
|
||||||
$data[2] = __('Language');
|
$data[2] = __('Language');
|
||||||
$data[2] .= '<br>' . html_print_select_from_sql ('SELECT id_language, name FROM tlanguage',
|
$data[2] .= '<br>' . html_print_select_from_sql ('SELECT id_language, name FROM tlanguage',
|
||||||
'language', $user_info["language"], '', __('Default'), 'default', true);
|
'language', $user_info["language"], '', __('Default'), 'default', true);
|
||||||
|
|
||||||
$table->rowclass[] = '';
|
$table->rowclass[] = '';
|
||||||
$table->rowstyle[] = 'font-weight: bold;';
|
$table->rowstyle[] = 'font-weight: bold;';
|
||||||
$table->data[] = $data;
|
$table->data[] = $data;
|
||||||
|
@ -386,11 +388,13 @@ $(document).ready (function () {
|
||||||
$("#text-block_size").removeAttr('disabled');
|
$("#text-block_size").removeAttr('disabled');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
show_data_section();
|
show_data_section();
|
||||||
});
|
});
|
||||||
|
|
||||||
function show_data_section () {
|
function show_data_section () {
|
||||||
section = $("#section").val();
|
section = $("#section").val();
|
||||||
|
|
||||||
switch (section) {
|
switch (section) {
|
||||||
case <?php echo "'" . __('Dashboard') . "'"; ?>:
|
case <?php echo "'" . __('Dashboard') . "'"; ?>:
|
||||||
$("#text-data_section").css("display", "none");
|
$("#text-data_section").css("display", "none");
|
||||||
|
|
Loading…
Reference in New Issue