New style for update manager online - #3608

Former-commit-id: ea7a378d1c4092b3b0540fe2a94ae7415e7a200e
This commit is contained in:
Tatiana Llorente 2019-04-22 15:45:57 +02:00
parent 518a9a1eed
commit 2ca68daf9a

View File

@ -1,16 +1,22 @@
<?php <?php
// Pandora FMS - http://pandorafms.com /**
// ================================================== Pandora FMS - http://pandorafms.com
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas * ==================================================
// Please see http://pandorafms.org for full contribution list * Copyright (c) 2005-2019 Artica Soluciones Tecnologicas
// This program is free software; you can redistribute it and/or * Please see http://pandorafms.org for full contribution list
// modify it under the terms of the GNU General Public License * This program is free software; you can redistribute it and/or
// as published by the Free Software Foundation; version 2 * modify it under the terms of the GNU General Public License
// This program is distributed in the hope that it will be useful, * as published by the Free Software Foundation; version 2
// but WITHOUT ANY WARRANTY; without even the implied warranty of * This program is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * but WITHOUT ANY WARRANTY; without even the implied warranty of
// GNU General Public License for more details. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* @package category
* @subpackage category
*/
global $config; global $config;
check_login(); check_login();
@ -61,7 +67,7 @@ if ($memory_limit < 100) {
); );
} }
// Translators: Do not translade Update Manager, it's the name of the program // Translators: Do not translade Update Manager, it's the name of the program.
if (is_metaconsole()) { if (is_metaconsole()) {
echo "<style type='text/css' media='screen'> echo "<style type='text/css' media='screen'>
@import 'styles/meta_pandora.css'; @import 'styles/meta_pandora.css';
@ -119,7 +125,8 @@ echo "<div id='pkg_version' style='color:#82b92e;font-size:75pt;font-weight:bold
let you know this does not reflect any change in our opensource mentality of let you know this does not reflect any change in our opensource mentality of
does the last 14 years. does the last 14 years.
------------------------------------------------------------------------- */ -------------------------------------------------------------------------
*/
if ($open) { if ($open) {
echo " echo "
@ -134,7 +141,7 @@ if ($open) {
$enterprise = enterprise_hook('update_manager_enterprise_main'); $enterprise = enterprise_hook('update_manager_enterprise_main');
if ($enterprise == ENTERPRISE_NOT_HOOK) { if ($enterprise == ENTERPRISE_NOT_HOOK) {
// Open view // Open view.
update_manager_main(); update_manager_main();
} }
?> ?>