mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-06-28 15:08:42 +02:00
Feature GLP11
This commit is contained in:
@ -28,32 +28,32 @@
|
||||
* -------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
include ('../../../inc/includes.php');
|
||||
include('../../../inc/includes.php');
|
||||
|
||||
Session::checkLoginUser();
|
||||
|
||||
if (isset($_GET["popup"])) {
|
||||
$_SESSION["glpipopup"]["name"] = $_GET["popup"];
|
||||
$_SESSION["glpipopup"]["name"] = $_GET["popup"];
|
||||
}
|
||||
|
||||
if (isset($_SESSION["glpipopup"]["name"])) {
|
||||
switch ($_SESSION["glpipopup"]["name"]) {
|
||||
case "test_rule" :
|
||||
Html::popHeader(__('Test'), $_SERVER['PHP_SELF']);
|
||||
include "../../../front/rule.test.php";
|
||||
break;
|
||||
switch ($_SESSION["glpipopup"]["name"]) {
|
||||
case "test_rule":
|
||||
Html::popHeader(__('Test'), $_SERVER['PHP_SELF']);
|
||||
include "../../../front/rule.test.php";
|
||||
break;
|
||||
|
||||
case "test_all_rules" :
|
||||
Html::popHeader(__('Test rules engine'), $_SERVER['PHP_SELF']);
|
||||
include "../../../front/rulesengine.test.php";
|
||||
break;
|
||||
case "test_all_rules":
|
||||
Html::popHeader(__('Test rules engine'), $_SERVER['PHP_SELF']);
|
||||
include "../../../front/rulesengine.test.php";
|
||||
break;
|
||||
|
||||
case "show_cache" :
|
||||
Html::popHeader(__('Cache information'), $_SERVER['PHP_SELF']);
|
||||
include "../../../front/rule.cache.php";
|
||||
break;
|
||||
}
|
||||
echo "<div class='center'><br><a href='javascript:window.close()'>".__('Back')."</a>";
|
||||
echo "</div>";
|
||||
Html::popFooter();
|
||||
case "show_cache":
|
||||
Html::popHeader(__('Cache information'), $_SERVER['PHP_SELF']);
|
||||
include "../../../front/rule.cache.php";
|
||||
break;
|
||||
}
|
||||
echo "<div class='center'><br><a href='javascript:window.close()'>" . __('Back') . "</a>";
|
||||
echo "</div>";
|
||||
Html::popFooter();
|
||||
}
|
||||
|
Reference in New Issue
Block a user