2012-06-18 Sergio Martin <sergio.martin@artica.es>
* include/ajax/menu.ajax.php: Added an ajax file to the functions of menu category Merged from 4.0.2 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6576 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
bfe6fb2504
commit
a9637c201f
|
@ -1,3 +1,9 @@
|
|||
2012-06-18 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/ajax/menu.ajax.php: Added an ajax file to the functions
|
||||
of menu category
|
||||
Merged from 4.0.2
|
||||
|
||||
2012-06-18 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions_menu.php
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
// Pandora FMS - http://pandorafms.com
|
||||
// ==================================================
|
||||
// Copyright (c) 2005-2012 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 for 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.
|
||||
$get_sec_pages = get_parameter('get_sec_pages');
|
||||
include_once("include/functions_menu.php");
|
||||
|
||||
if ($get_sec_pages) {
|
||||
$sec = get_parameter('sec');
|
||||
$menu_hash = get_parameter('menu_hash');
|
||||
|
||||
$pages = menu_get_sec_pages($sec,$menu_hash);
|
||||
|
||||
echo json_encode($pages);
|
||||
return;
|
||||
}
|
||||
|
||||
?>
|
Loading…
Reference in New Issue