2014-07-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php, include/functions_extensions.php: fixed the show old update manager and set the correct link in the header warning message to update manager. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10315 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
5083b64e5b
commit
6a7d3ba7ed
|
@ -1,3 +1,9 @@
|
|||
2014-07-04 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_config.php, include/functions_extensions.php:
|
||||
fixed the show old update manager and set the correct link in the
|
||||
header warning message to update manager.
|
||||
|
||||
2014-06-30 Koichiro KIKUCHI <koichiro@rworks.jp>
|
||||
|
||||
* operation/agentes/estado_monitores.php,
|
||||
|
|
|
@ -1312,7 +1312,7 @@ function config_check () {
|
|||
$config["alert_cnt"]++;
|
||||
$_SESSION["alert_msg"] .= ui_print_info_message(
|
||||
array('title' => __("New update of Pandora Console"),
|
||||
'message' => __('There is a new update please go to menu Administration and into extensions <a style="font-weight:bold;" href="index.php?sec=gsetup&sec2=godmode/update_manager_xxx/update_manager_xxx&tab=online">go to Update Manager</a> for more details.'),
|
||||
'message' => __('There is a new update please go to menu Administration and into extensions <a style="font-weight:bold;" href="index.php?sec=gsetup&sec2=godmode/update_manager/update_manager&tab=online">go to Update Manager</a> for more details.'),
|
||||
'no_close' => true, 'force_style' => 'color: #000000 !important'), '', true);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -99,11 +99,11 @@ function extensions_get_extensions ($enterprise = false) {
|
|||
$dir = ENTERPRISE_DIR.'/'.EXTENSIONS_DIR;
|
||||
|
||||
if (file_exists ($dir))
|
||||
$handle = @opendir ($dir);
|
||||
$handle = @opendir ($dir);
|
||||
|
||||
if (empty ($handle))
|
||||
return;
|
||||
|
||||
|
||||
$file = readdir ($handle);
|
||||
$extensions = array ();
|
||||
$ignores = array ('.', '..');
|
||||
|
@ -117,6 +117,10 @@ function extensions_get_extensions ($enterprise = false) {
|
|||
$file = readdir ($handle);
|
||||
continue;
|
||||
}
|
||||
|
||||
if ($file == "update_manager.php")
|
||||
continue;
|
||||
|
||||
$extension['file'] = $file;
|
||||
$extension['operation_menu'] = '';
|
||||
$extension['godmode_menu'] = '';
|
||||
|
|
Loading…
Reference in New Issue