Code

Updated hook dialog
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 19 Sep 2005 11:15:08 +0000 (11:15 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 19 Sep 2005 11:15:08 +0000 (11:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1393 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiManagement.inc
plugins/admin/fai/faiHook.tpl

index b5d697f138c3bcb9873314fdb5df9828194ff6c6..87046b49854f3ef2de0a974b5a586be3c71f6b28 100644 (file)
@@ -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="<img src='images/fai_partitionTable.png' title='Partition table' alt='PT'>";
+                                       $img="<img src='images/fai_partitionTable.png' title='"._("Partition table")."' alt='PT'>";
                                        $info = _("Partition table");
                                        break;
                                        case "FAIpackageList"           : 
                                                if(!$faifilter['ShowPackages']){ 
                                                        $abort = true;
                                                }
-                                       $img="<img src='images/fai_packages.png' title='Package list' alt='PL'>";
+                                       $img="<img src='images/fai_packages.png' title='"._("Package list")."' alt='PL'>";
                                        $info = _("Package list");
                                        break;
                                        case "FAIscript"                        : 
                                                if(!$faifilter['ShowScripts']){ 
                                                        $abort = true;
                                                }
-                                       $img="<img src='images/fai_script' title='Set of scripts' alt='S'>";
+                                       $img="<img src='images/fai_script' title='"._("Scripts")."' alt='S'>";
                                        $info = _("Scripts");
                                        break;
                                        case "FAIvariable"                      : 
                                                if(!$faifilter['ShowVariables']){ 
                                                        $abort = true;
                                                }
-                                       $img="<img src='images/fai_variable.png' title='Variable set' alt='V'>";
+                                       $img="<img src='images/fai_variable.png' title='"._("Variables")."' alt='V'>";
                                        $info = _("Variables");
                                        break;
                                        case "FAIhook"                          :
                                                if(!$faifilter['ShowHooks']){ 
                                                        $abort = true;
                                                }
-                                       $img="<img src='images/fai_hook.png' title='Hooks' alt='H'>";
+                                       $img="<img src='images/fai_hook.png' title='"._("Hooks")."' alt='H'>";
                                        $info = _("Hooks");
                                        break;
                                        case "FAIprofile"                       : 
                                                if(!$faifilter['ShowProfiles']){ 
                                                        $abort = true;
                                                }
-                                       $img="<img src='images/fai_profile.png' title='Profile' alt='P'>";
-                                       $info = _("Profile")." (".$value['FAIclass']." )";
+                                       $img="<img src='images/fai_profile.png' title='"._("Profile")."' alt='P'>";
+                                       $info = _("Profile");
                                        break;
                                        case "FAItemplate"                      : 
                                                if(!$faifilter['ShowTemplates']){ 
                                                        $abort = true;
                                                }
-                                       $img="<img src='images/fai_template.png' title='Template' alt='T'>";
+                                       $img="<img src='images/fai_template.png' title='"._("Templates")."' alt='T'>";
                                        $info = _("Templates");
                                        break;
                                        default                                         : 
                                        $img="<img src='images/empty.png' >";$info = "";break;
 
                                }
+                               
                                if(!$abort)     {
                                        if((isset($value['description']))&&(!empty($value['description']))){
                                                $desc= " [".$value['description']."]";
index 0a3d8e6aab243562a912fc78362f1125846b991e..ab2fcc35bb15e75ff951b536fbed908033952871 100644 (file)
@@ -1,7 +1,7 @@
 <table width="100%">
        <tr>
                <td width="50%" valign="top">
-                               <h2><img alt="" src="images/house.png" align="middle" title="{t}Generic{/t}">&nbsp;{t}Generic{/t}</h2><br>
+                               <h2><img alt="" src="images/house.png" align="middle" title="{t}Generic{/t}">&nbsp;{t}Generic{/t}</h2>
                                <table summary="" cellspacing="4">
                                        <tr>
                                                <td>
                <td>
                                <h2><img alt="" src="images/fai_hook.png" align="middle" title="{t}Objects{/t}">&nbsp;
                                        <LABEL for="SubObject">
-                                               {t}This bundle contains the following objects{/t}
+                                               {t}List of hook scripts{/t}
                                        </LABEL>
-                               </h2><br>
+                               </h2>
                                <table width="100%">
                                <tr>
                                        <td>
-                                               <select name="SubObject" title="{t}Choose a hook to delete or edit{/t}" style="width:350px;height:120px;" size=10 id="SubObject">
+                                               <select name="SubObject" title="{t}Choose a hook to delete or edit{/t}" style="width:100%" size=15 id="SubObject">
                                                        {html_options values=$SubObjectKeys output=$SubObjects}
                                                </select><br>
                                                <input type="submit" name="AddSubObject"     value="{t}Add{/t}"         title="{t}Add{/t}">