2012-04-19 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* extensions/update_license_info.php: Delete innecesary extension. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6042 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
a2d28290a6
commit
bfae770761
|
@ -1,3 +1,7 @@
|
|||
2012-04-19 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* extensions/update_license_info.php: Delete innecesary extension.
|
||||
|
||||
2012-04-19 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* images/skin/skin_default/include/styles/pandora.css: Modified
|
||||
|
|
|
@ -1,44 +0,0 @@
|
|||
<?php
|
||||
|
||||
// Pandora FMS - http://pandorafms.com
|
||||
// ==================================================
|
||||
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas
|
||||
// Please see http://pandorafms.org for full contribution list
|
||||
|
||||
// This program is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU General Public License
|
||||
// as published by the Free Software Foundation; version 2
|
||||
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
|
||||
|
||||
if (! check_acl ($config['id_user'], 0, 'PM')) {
|
||||
db_pandora_audit("ACL Violation", "Trying to use Open Update Manager extension");
|
||||
include ("general/noaccess.php");
|
||||
return;
|
||||
}
|
||||
|
||||
function update_manage_license_info_main() {
|
||||
update_manage_license_info();
|
||||
}
|
||||
|
||||
function update_manage_license_info(){
|
||||
|
||||
ui_print_page_header (__('Update manager').' - '. __('License info'), "images/extensions.png", false, "", true, "" );
|
||||
|
||||
global $config;
|
||||
include_once("include/functions_db.php");
|
||||
|
||||
$is_enterprise = enterprise_include_once('include/functions_license.php');
|
||||
|
||||
enterprise_hook('license_show_info');
|
||||
}
|
||||
|
||||
if (defined('PANDORA_ENTERPRISE')) {
|
||||
extensions_add_godmode_menu_option (__('Update manager license info'), 'PM');
|
||||
extensions_add_godmode_function ('update_manage_license_info_main');
|
||||
}
|
Loading…
Reference in New Issue