mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
fixed styles
This commit is contained in:
parent
a5e6e569e8
commit
ad33accfda
@ -36,10 +36,6 @@ enterprise_include_once('meta/include/functions_alerts_meta.php');
|
|||||||
|
|
||||||
check_login();
|
check_login();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
enterprise_hook('open_meta_frame');
|
|
||||||
|
|
||||||
if (! check_acl($config['id_user'], 0, 'LM')) {
|
if (! check_acl($config['id_user'], 0, 'LM')) {
|
||||||
db_pandora_audit(
|
db_pandora_audit(
|
||||||
AUDIT_LOG_ACL_VIOLATION,
|
AUDIT_LOG_ACL_VIOLATION,
|
||||||
@ -473,5 +469,3 @@ if (is_management_allowed() === true) {
|
|||||||
echo '</form>';
|
echo '</form>';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
enterprise_hook('close_meta_frame');
|
|
||||||
|
@ -566,8 +566,6 @@ tyle='display:none;'>";
|
|||||||
echo '</div>';
|
echo '</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
enterprise_hook('open_meta_frame');
|
|
||||||
|
|
||||||
if ($update_command) {
|
if ($update_command) {
|
||||||
include_once 'configure_alert_command.php';
|
include_once 'configure_alert_command.php';
|
||||||
return;
|
return;
|
||||||
@ -836,8 +834,6 @@ if (users_is_admin() === true) {
|
|||||||
echo '</div>';
|
echo '</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
enterprise_hook('close_meta_frame');
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
@ -21,8 +21,6 @@ enterprise_include_once('meta/include/functions_alerts_meta.php');
|
|||||||
|
|
||||||
check_login();
|
check_login();
|
||||||
|
|
||||||
enterprise_hook('open_meta_frame');
|
|
||||||
|
|
||||||
if (is_ajax()) {
|
if (is_ajax()) {
|
||||||
$get_template_tooltip = (bool) get_parameter('get_template_tooltip');
|
$get_template_tooltip = (bool) get_parameter('get_template_tooltip');
|
||||||
|
|
||||||
@ -124,7 +122,7 @@ $sec = (is_metaconsole() === true) ? 'advanced' : 'galertas';
|
|||||||
// case delete_templete action is performed.
|
// case delete_templete action is performed.
|
||||||
if (!$delete_template) {
|
if (!$delete_template) {
|
||||||
// Header.
|
// Header.
|
||||||
if (defined('METACONSOLE')) {
|
if (is_metaconsole() === true) {
|
||||||
alerts_meta_print_header();
|
alerts_meta_print_header();
|
||||||
} else {
|
} else {
|
||||||
ui_print_page_header(
|
ui_print_page_header(
|
||||||
@ -485,5 +483,3 @@ if (is_management_allowed() === true) {
|
|||||||
echo '</form>';
|
echo '</form>';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
enterprise_hook('close_meta_frame');
|
|
||||||
|
@ -48,8 +48,6 @@ if (is_ajax()) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
enterprise_hook('open_meta_frame');
|
|
||||||
|
|
||||||
if (defined('METACONSOLE')) {
|
if (defined('METACONSOLE')) {
|
||||||
$sec = 'advanced';
|
$sec = 'advanced';
|
||||||
} else {
|
} else {
|
||||||
@ -412,8 +410,6 @@ if ($is_management_allowed === true) {
|
|||||||
|
|
||||||
echo '</form>';
|
echo '</form>';
|
||||||
|
|
||||||
enterprise_hook('close_meta_frame');
|
|
||||||
|
|
||||||
ui_require_javascript_file('pandora_alerts');
|
ui_require_javascript_file('pandora_alerts');
|
||||||
ui_require_javascript_file('tiny_mce', 'include/javascript/tiny_mce/');
|
ui_require_javascript_file('tiny_mce', 'include/javascript/tiny_mce/');
|
||||||
?>
|
?>
|
||||||
|
@ -36,8 +36,6 @@ enterprise_include_once('meta/include/functions_alerts_meta.php');
|
|||||||
|
|
||||||
check_login();
|
check_login();
|
||||||
|
|
||||||
enterprise_hook('open_meta_frame');
|
|
||||||
|
|
||||||
if (! check_acl($config['id_user'], 0, 'PM')) {
|
if (! check_acl($config['id_user'], 0, 'PM')) {
|
||||||
db_pandora_audit(
|
db_pandora_audit(
|
||||||
AUDIT_LOG_ACL_VIOLATION,
|
AUDIT_LOG_ACL_VIOLATION,
|
||||||
@ -392,7 +390,6 @@ if ($is_management_allowed === true) {
|
|||||||
|
|
||||||
echo '</form>';
|
echo '</form>';
|
||||||
|
|
||||||
enterprise_hook('close_meta_frame');
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
@ -32,8 +32,6 @@ global $config;
|
|||||||
// Check login and ACLs.
|
// Check login and ACLs.
|
||||||
check_login();
|
check_login();
|
||||||
|
|
||||||
enterprise_hook('open_meta_frame');
|
|
||||||
|
|
||||||
if (!check_acl($config['id_user'], 0, 'PM') && !is_user_admin($config['id_user'])) {
|
if (!check_acl($config['id_user'], 0, 'PM') && !is_user_admin($config['id_user'])) {
|
||||||
db_pandora_audit(
|
db_pandora_audit(
|
||||||
AUDIT_LOG_ACL_VIOLATION,
|
AUDIT_LOG_ACL_VIOLATION,
|
||||||
@ -70,30 +68,24 @@ $buttons = [
|
|||||||
|
|
||||||
$buttons[$tab]['active'] = true;
|
$buttons[$tab]['active'] = true;
|
||||||
|
|
||||||
// Header.
|
ui_print_standard_header(
|
||||||
if (is_metaconsole() === true) {
|
__('Categories configuration'),
|
||||||
ui_meta_print_header(__('Categories configuration'), __('List'), $buttons);
|
'images/gm_modules.png',
|
||||||
} else {
|
false,
|
||||||
ui_print_standard_header(
|
'',
|
||||||
__('Categories configuration'),
|
true,
|
||||||
'images/gm_modules.png',
|
$buttons,
|
||||||
false,
|
[
|
||||||
'',
|
|
||||||
true,
|
|
||||||
$buttons,
|
|
||||||
[
|
[
|
||||||
[
|
'link' => '',
|
||||||
'link' => '',
|
'label' => __('Resources'),
|
||||||
'label' => __('Resources'),
|
],
|
||||||
],
|
[
|
||||||
[
|
'link' => '',
|
||||||
'link' => '',
|
'label' => __('Module categories'),
|
||||||
'label' => __('Module categories'),
|
],
|
||||||
],
|
]
|
||||||
]
|
);
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
$is_management_allowed = true;
|
$is_management_allowed = true;
|
||||||
if (is_management_allowed() === false) {
|
if (is_management_allowed() === false) {
|
||||||
@ -277,6 +269,4 @@ if ($is_management_allowed === true) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
echo '</form>';
|
echo '</form>';
|
||||||
|
|
||||||
enterprise_hook('close_meta_frame');
|
|
||||||
}
|
}
|
||||||
|
@ -274,8 +274,6 @@ if (is_ajax() === true) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
enterprise_hook('open_meta_frame');
|
|
||||||
|
|
||||||
$tab = (string) get_parameter('tab', 'groups');
|
$tab = (string) get_parameter('tab', 'groups');
|
||||||
|
|
||||||
if ($tab !== 'credbox'
|
if ($tab !== 'credbox'
|
||||||
@ -990,7 +988,6 @@ if ($is_management_allowed === true
|
|||||||
|
|
||||||
ui_require_javascript_file('TreeController', 'include/javascript/tree/');
|
ui_require_javascript_file('TreeController', 'include/javascript/tree/');
|
||||||
|
|
||||||
enterprise_hook('close_meta_frame');
|
|
||||||
$tab = 'group_edition';
|
$tab = 'group_edition';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
@ -33,7 +33,6 @@ $management_allowed = is_management_allowed();
|
|||||||
if (is_metaconsole() === true) {
|
if (is_metaconsole() === true) {
|
||||||
$sec = 'advanced';
|
$sec = 'advanced';
|
||||||
enterprise_include_once('meta/include/functions_components_meta.php');
|
enterprise_include_once('meta/include/functions_components_meta.php');
|
||||||
enterprise_hook('open_meta_frame');
|
|
||||||
components_meta_print_header();
|
components_meta_print_header();
|
||||||
|
|
||||||
if ($management_allowed === false) {
|
if ($management_allowed === false) {
|
||||||
@ -375,7 +374,6 @@ if ($result === false) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (is_metaconsole() === true) {
|
if (is_metaconsole() === true) {
|
||||||
enterprise_hook('close_meta_frame');
|
|
||||||
echo '<div id="deploy_messages" class="invisible">';
|
echo '<div id="deploy_messages" class="invisible">';
|
||||||
echo '<span>'.__(
|
echo '<span>'.__(
|
||||||
'The configurations of inventory modules from the nodes have been unified.
|
'The configurations of inventory modules from the nodes have been unified.
|
||||||
|
@ -31,8 +31,6 @@ global $config;
|
|||||||
|
|
||||||
check_login();
|
check_login();
|
||||||
|
|
||||||
enterprise_hook('open_meta_frame');
|
|
||||||
|
|
||||||
if (! check_acl($config['id_user'], 0, 'PM') && ! check_acl($config['id_user'], 0, 'AW')) {
|
if (! check_acl($config['id_user'], 0, 'PM') && ! check_acl($config['id_user'], 0, 'AW')) {
|
||||||
db_pandora_audit(
|
db_pandora_audit(
|
||||||
AUDIT_LOG_ACL_VIOLATION,
|
AUDIT_LOG_ACL_VIOLATION,
|
||||||
@ -380,8 +378,6 @@ html_print_action_buttons(
|
|||||||
['type' => 'form_action']
|
['type' => 'form_action']
|
||||||
);
|
);
|
||||||
|
|
||||||
enterprise_hook('close_meta_frame');
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$( document ).ready(function() {
|
$( document ).ready(function() {
|
||||||
|
@ -30,8 +30,6 @@ global $config;
|
|||||||
|
|
||||||
check_login();
|
check_login();
|
||||||
|
|
||||||
enterprise_hook('open_meta_frame');
|
|
||||||
|
|
||||||
if (! check_acl($config['id_user'], 0, 'PM') && ! check_acl($config['id_user'], 0, 'AW')) {
|
if (! check_acl($config['id_user'], 0, 'PM') && ! check_acl($config['id_user'], 0, 'AW')) {
|
||||||
db_pandora_audit(
|
db_pandora_audit(
|
||||||
AUDIT_LOG_ACL_VIOLATION,
|
AUDIT_LOG_ACL_VIOLATION,
|
||||||
@ -934,8 +932,6 @@ html_print_action_buttons(
|
|||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
enterprise_hook('close_meta_frame');
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$( document ).ready(function() {
|
$( document ).ready(function() {
|
||||||
|
@ -332,8 +332,6 @@ if ($filemanager) {
|
|||||||
$sec = 'gservers';
|
$sec = 'gservers';
|
||||||
|
|
||||||
if (empty($create) === false || empty($view) === false) {
|
if (empty($create) === false || empty($view) === false) {
|
||||||
enterprise_hook('open_meta_frame');
|
|
||||||
|
|
||||||
$management_allowed = is_management_allowed();
|
$management_allowed = is_management_allowed();
|
||||||
|
|
||||||
if (is_metaconsole() === true) {
|
if (is_metaconsole() === true) {
|
||||||
@ -708,11 +706,7 @@ if (empty($create) === false || empty($view) === false) {
|
|||||||
if (defined('METACONSOLE')) {
|
if (defined('METACONSOLE')) {
|
||||||
echo '</td></tr>';
|
echo '</td></tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
enterprise_hook('close_meta_frame');
|
|
||||||
} else {
|
} else {
|
||||||
enterprise_hook('open_meta_frame');
|
|
||||||
|
|
||||||
if (defined('METACONSOLE')) {
|
if (defined('METACONSOLE')) {
|
||||||
components_meta_print_header();
|
components_meta_print_header();
|
||||||
$sec = 'advanced';
|
$sec = 'advanced';
|
||||||
@ -1087,8 +1081,6 @@ if (empty($create) === false || empty($view) === false) {
|
|||||||
// The '%s' will be replaced in the javascript code of the function 'show_locked_dialog'.
|
// The '%s' will be replaced in the javascript code of the function 'show_locked_dialog'.
|
||||||
echo "<div id='dialog_locked' title='".__('List of modules and components created by "%s" ')."' class='invisible left'>";
|
echo "<div id='dialog_locked' title='".__('List of modules and components created by "%s" ')."' class='invisible left'>";
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
||||||
enterprise_hook('close_meta_frame');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ui_require_javascript_file('pandora_modules');
|
ui_require_javascript_file('pandora_modules');
|
||||||
|
@ -50,7 +50,6 @@ ui_require_css_file('first_task');
|
|||||||
|
|
||||||
if (is_metaconsole() === true) {
|
if (is_metaconsole() === true) {
|
||||||
enterprise_include_once('meta/include/functions_components_meta.php');
|
enterprise_include_once('meta/include/functions_components_meta.php');
|
||||||
enterprise_hook('open_meta_frame');
|
|
||||||
components_meta_print_header();
|
components_meta_print_header();
|
||||||
$sec = 'advanced';
|
$sec = 'advanced';
|
||||||
$management_allowed = is_management_allowed();
|
$management_allowed = is_management_allowed();
|
||||||
@ -565,7 +564,3 @@ if ($error !== null && $error !== '') {
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_metaconsole() === true) {
|
|
||||||
enterprise_hook('close_meta_frame');
|
|
||||||
}
|
|
||||||
|
@ -27,8 +27,6 @@ global $config;
|
|||||||
|
|
||||||
check_login();
|
check_login();
|
||||||
|
|
||||||
enterprise_hook('open_meta_frame');
|
|
||||||
|
|
||||||
if (! check_acl($config['id_user'], 0, 'UM')) {
|
if (! check_acl($config['id_user'], 0, 'UM')) {
|
||||||
db_pandora_audit(
|
db_pandora_audit(
|
||||||
AUDIT_LOG_ACL_VIOLATION,
|
AUDIT_LOG_ACL_VIOLATION,
|
||||||
@ -437,8 +435,6 @@ if ($id_profile || $new_profile) {
|
|||||||
echo '</form>';
|
echo '</form>';
|
||||||
}
|
}
|
||||||
|
|
||||||
enterprise_hook('close_meta_frame');
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<script type="text/javascript" language="javascript">
|
<script type="text/javascript" language="javascript">
|
||||||
|
@ -222,8 +222,6 @@ if (is_ajax() === true) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
enterprise_hook('open_meta_frame');
|
|
||||||
|
|
||||||
$tab = get_parameter('tab', 'user');
|
$tab = get_parameter('tab', 'user');
|
||||||
|
|
||||||
// Save autorefresh list.
|
// Save autorefresh list.
|
||||||
@ -1886,8 +1884,6 @@ html_print_action_buttons(implode('', $actionButtons), ['type' => 'form_action']
|
|||||||
|
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
||||||
enterprise_hook('close_meta_frame');
|
|
||||||
|
|
||||||
// This is an image generated for JS.
|
// This is an image generated for JS.
|
||||||
$delete_image = html_print_input_image(
|
$delete_image = html_print_input_image(
|
||||||
'del',
|
'del',
|
||||||
|
@ -31,8 +31,6 @@ global $config;
|
|||||||
|
|
||||||
check_login();
|
check_login();
|
||||||
|
|
||||||
enterprise_hook('open_meta_frame');
|
|
||||||
|
|
||||||
require_once $config['homedir'].'/include/functions_profile.php';
|
require_once $config['homedir'].'/include/functions_profile.php';
|
||||||
require_once $config['homedir'].'/include/functions_users.php';
|
require_once $config['homedir'].'/include/functions_users.php';
|
||||||
require_once $config['homedir'].'/include/functions_groups.php';
|
require_once $config['homedir'].'/include/functions_groups.php';
|
||||||
@ -495,5 +493,3 @@ if ($is_management_allowed === true) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
unset($table);
|
unset($table);
|
||||||
|
|
||||||
enterprise_hook('close_meta_frame');
|
|
||||||
|
@ -132,8 +132,6 @@ if (is_ajax()) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
enterprise_hook('open_meta_frame');
|
|
||||||
|
|
||||||
$sortField = get_parameter('sort_field');
|
$sortField = get_parameter('sort_field');
|
||||||
$sort = get_parameter('sort', 'none');
|
$sort = get_parameter('sort', 'none');
|
||||||
$tab = get_parameter('tab', 'user');
|
$tab = get_parameter('tab', 'user');
|
||||||
@ -1051,8 +1049,6 @@ if ($is_management_allowed === true) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
enterprise_hook('close_meta_frame');
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function showGroups(id_user) {
|
function showGroups(id_user) {
|
||||||
|
@ -1052,8 +1052,6 @@ if (!empty($table->data)) {
|
|||||||
// Close edit_user_profiles.
|
// Close edit_user_profiles.
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
|
||||||
enterprise_hook('close_meta_frame');
|
|
||||||
|
|
||||||
if (is_metaconsole() === false) {
|
if (is_metaconsole() === false) {
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
@ -29,7 +29,6 @@
|
|||||||
// Extras required.
|
// Extras required.
|
||||||
\ui_require_css_file('wizard');
|
\ui_require_css_file('wizard');
|
||||||
\enterprise_include_once('meta/include/functions_alerts_meta.php');
|
\enterprise_include_once('meta/include/functions_alerts_meta.php');
|
||||||
\enterprise_hook('open_meta_frame');
|
|
||||||
|
|
||||||
if (\is_metaconsole() === true) {
|
if (\is_metaconsole() === true) {
|
||||||
\alerts_meta_print_header($tabs);
|
\alerts_meta_print_header($tabs);
|
||||||
@ -142,5 +141,3 @@ HTML::printForm(
|
|||||||
false,
|
false,
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
|
||||||
\enterprise_hook('close_meta_frame');
|
|
||||||
|
@ -28,7 +28,6 @@
|
|||||||
|
|
||||||
\ui_require_css_file('wizard');
|
\ui_require_css_file('wizard');
|
||||||
\enterprise_include_once('meta/include/functions_alerts_meta.php');
|
\enterprise_include_once('meta/include/functions_alerts_meta.php');
|
||||||
\enterprise_hook('open_meta_frame');
|
|
||||||
|
|
||||||
if (\is_metaconsole() === true) {
|
if (\is_metaconsole() === true) {
|
||||||
\alerts_meta_print_header($tabs);
|
\alerts_meta_print_header($tabs);
|
||||||
@ -150,5 +149,3 @@ if ((bool) check_acl($config['id_user'], 0, 'LM') === true) {
|
|||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
\enterprise_hook('close_meta_frame');
|
|
||||||
|
@ -30,7 +30,6 @@ global $config;
|
|||||||
|
|
||||||
\ui_require_css_file('wizard');
|
\ui_require_css_file('wizard');
|
||||||
\enterprise_include_once('meta/include/functions_alerts_meta.php');
|
\enterprise_include_once('meta/include/functions_alerts_meta.php');
|
||||||
\enterprise_hook('open_meta_frame');
|
|
||||||
|
|
||||||
if (\is_metaconsole() === true) {
|
if (\is_metaconsole() === true) {
|
||||||
\alerts_meta_print_header($tabs);
|
\alerts_meta_print_header($tabs);
|
||||||
@ -491,7 +490,6 @@ if ((bool) check_acl($config['id_user'], 0, 'LM') === true) {
|
|||||||
echo '<div id="modal-alert-templates" class="invisible"></div>';
|
echo '<div id="modal-alert-templates" class="invisible"></div>';
|
||||||
ui_require_javascript_file('pandora_alerts');
|
ui_require_javascript_file('pandora_alerts');
|
||||||
|
|
||||||
\enterprise_hook('close_meta_frame');
|
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready (function () {
|
$(document).ready (function () {
|
||||||
|
@ -29,7 +29,6 @@
|
|||||||
// Extras required.
|
// Extras required.
|
||||||
\ui_require_css_file('wizard');
|
\ui_require_css_file('wizard');
|
||||||
\enterprise_include_once('meta/include/functions_alerts_meta.php');
|
\enterprise_include_once('meta/include/functions_alerts_meta.php');
|
||||||
\enterprise_hook('open_meta_frame');
|
|
||||||
|
|
||||||
if (\is_metaconsole() === true) {
|
if (\is_metaconsole() === true) {
|
||||||
\alerts_meta_print_header($tabs);
|
\alerts_meta_print_header($tabs);
|
||||||
@ -186,7 +185,6 @@ echo '<div id="modal-alert-templates" class="invisible"></div>';
|
|||||||
ui_require_javascript_file('calendar');
|
ui_require_javascript_file('calendar');
|
||||||
ui_require_javascript_file('pandora_alerts');
|
ui_require_javascript_file('pandora_alerts');
|
||||||
|
|
||||||
\enterprise_hook('close_meta_frame');
|
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready (function () {
|
$(document).ready (function () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user