mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-06-28 06:58:43 +02:00
gettext for plugin example + tools
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@179 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
@ -40,21 +40,21 @@ if (isset($_GET["popup"])) {
|
||||
if (isset($_SESSION["glpipopup"]["name"])) {
|
||||
switch ($_SESSION["glpipopup"]["name"]) {
|
||||
case "test_rule" :
|
||||
Html::popHeader($LANG['buttons'][50],$_SERVER['PHP_SELF']);
|
||||
Html::popHeader(__('Test'),$_SERVER['PHP_SELF']);
|
||||
include "../../../front/rule.test.php";
|
||||
break;
|
||||
|
||||
case "test_all_rules" :
|
||||
Html::popHeader($LANG['rulesengine'][84],$_SERVER['PHP_SELF']);
|
||||
Html::popHeader(__('Test rules engine'),$_SERVER['PHP_SELF']);
|
||||
include "../../../front/rulesengine.test.php";
|
||||
break;
|
||||
|
||||
case "show_cache" :
|
||||
Html::popHeader($LANG['rulesengine'][100],$_SERVER['PHP_SELF']);
|
||||
Html::popHeader(__('Cache informations'),$_SERVER['PHP_SELF']);
|
||||
include "../../../front/rule.cache.php";
|
||||
break;
|
||||
}
|
||||
echo "<div class='center'><br><a href='javascript:window.close()'>".$LANG['buttons'][13]."</a>";
|
||||
echo "<div class='center'><br><a href='javascript:window.close()'>".__('Back')."</a>";
|
||||
echo "</div>";
|
||||
Html::popFooter();
|
||||
}
|
||||
|
Reference in New Issue
Block a user