From 339b8ef25b01ecdd50d2d02f9bda1656f9a75d9d Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 19 Sep 2005 11:15:08 +0000 Subject: [PATCH] Updated hook dialog git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1393 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiManagement.inc | 19 ++++++++++--------- plugins/admin/fai/faiHook.tpl | 8 ++++---- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/plugins/admin/fai/class_faiManagement.inc b/plugins/admin/fai/class_faiManagement.inc index b5d697f13..87046b498 100644 --- a/plugins/admin/fai/class_faiManagement.inc +++ b/plugins/admin/fai/class_faiManagement.inc @@ -28,7 +28,7 @@ require "tabsPackage.inc"; class faiManagement extends plugin { /* Definitions */ - var $plHeadline = "FAI management"; + var $plHeadline = "FAI"; var $plDescription = "Fully Automatic Installation - management"; /* CLI vars */ @@ -413,55 +413,56 @@ class faiManagement extends plugin if(!$faifilter['ShowPartitions']){ $abort = true; } - $img="PT"; + $img="PT"; $info = _("Partition table"); break; case "FAIpackageList" : if(!$faifilter['ShowPackages']){ $abort = true; } - $img="PL"; + $img="PL"; $info = _("Package list"); break; case "FAIscript" : if(!$faifilter['ShowScripts']){ $abort = true; } - $img="S"; + $img="S"; $info = _("Scripts"); break; case "FAIvariable" : if(!$faifilter['ShowVariables']){ $abort = true; } - $img="V"; + $img="V"; $info = _("Variables"); break; case "FAIhook" : if(!$faifilter['ShowHooks']){ $abort = true; } - $img="H"; + $img="H"; $info = _("Hooks"); break; case "FAIprofile" : if(!$faifilter['ShowProfiles']){ $abort = true; } - $img="P"; - $info = _("Profile")." (".$value['FAIclass']." )"; + $img="P"; + $info = _("Profile"); break; case "FAItemplate" : if(!$faifilter['ShowTemplates']){ $abort = true; } - $img="T"; + $img="T"; $info = _("Templates"); break; default : $img="";$info = "";break; } + if(!$abort) { if((isset($value['description']))&&(!empty($value['description']))){ $desc= " [".$value['description']."]"; diff --git a/plugins/admin/fai/faiHook.tpl b/plugins/admin/fai/faiHook.tpl index 0a3d8e6aa..ab2fcc35b 100644 --- a/plugins/admin/fai/faiHook.tpl +++ b/plugins/admin/fai/faiHook.tpl @@ -1,7 +1,7 @@
-

 {t}Generic{/t}


+

 {t}Generic{/t}

@@ -31,13 +31,13 @@

  -


+
- {html_options values=$SubObjectKeys output=$SubObjects}
-- 2.30.2