Code

Updated FAI
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Jul 2008 11:53:10 +0000 (11:53 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Jul 2008 11:53:10 +0000 (11:53 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11823 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_divListFai.inc
gosa-plugins/fai/admin/fai/class_faiProfile.inc
gosa-plugins/fai/admin/fai/class_faiProfileEntry.inc
gosa-plugins/fai/admin/fai/class_faiSummaryTab.inc
gosa-plugins/fai/admin/fai/faiPackage.tpl
gosa-plugins/fai/admin/fai/faiPartitionTable.tpl
gosa-plugins/fai/admin/fai/faiPartitionTableEntry.tpl
gosa-plugins/fai/html/images/fai_new_variable.png [new file with mode: 0644]
gosa-plugins/fai/html/images/fai_packages.png [new file with mode: 0644]
gosa-plugins/fai/html/images/fai_partitionTable.png [new file with mode: 0644]

index 916a95e6e7d111973b37c3378e38b7459f2b4cc9..3f71abcce9a5b083c7646cab2bae3c0fa3d3ed11 100644 (file)
@@ -182,8 +182,8 @@ class divListFai extends MultiSelectWindow
      ********************/
 
      $objects = array(
-           "FAIpartitionTable"  => array("IMG"=> "images/fai_partitionTable.png", "NAME"=>_("Partition table"),"KZL"=> "PT", "VAR"=>"ShowPartitions"),
-           "FAIpackageList"     => array("IMG"=> "images/fai_packages.png",       "NAME"=>_("Package list") ,  "KZL"=> "PL", "VAR"=>"ShowPackages"),
+           "FAIpartitionTable"  => array("IMG"=> "plugins/fai/images/fai_partitionTable.png", "NAME"=>_("Partition table"),"KZL"=> "PT", "VAR"=>"ShowPartitions"),
+           "FAIpackageList"     => array("IMG"=> "plugins/fai/images/fai_packages.png",       "NAME"=>_("Package list") ,  "KZL"=> "PL", "VAR"=>"ShowPackages"),
            "FAIscript"          => array("IMG"=> "images/fai_script.png",         "NAME"=>_("Scripts") ,       "KZL"=> "S",  "VAR"=>"ShowScripts"),
            "FAIvariable"        => array("IMG"=> "images/fai_variable.png",       "NAME"=>_("Variables") ,     "KZL"=> "V",  "VAR"=>"ShowVariables"),
            "FAIhook"            => array("IMG"=> "plugins/fai/images/fai_hook.png",           "NAME"=>_("Hooks"),          "KZL"=> "H",  "VAR"=>"ShowHooks"),
index 20786515b14977183b083fb36fe018ba5b11d4a1..3d18f7c2c0e6c1e4c2b0dcf89236758339c79024 100644 (file)
@@ -293,8 +293,8 @@ class faiProfile extends plugin
     $objTypes['FAItemplate']        = "<img src='images/fai_template.png' title='"._("Template bundle")."' alt=''>";
     $objTypes['FAIscript']          = "<img src='images/fai_script.png' title='"._("Script bundle")."' alt=''>";
     $objTypes['FAIvariable']        = "<img src='images/fai_variable.png' title='"._("Variable bundle")."' alt=''>";
-    $objTypes['FAIpackageList']        = "<img src='images/fai_packages.png' title='"._("Package bundle")."' alt=''>";
-    $objTypes['FAIpartitionTable']  = "<img src='images/fai_partitionTable.png' title='"._("Partition table")."' alt=''>";
+    $objTypes['FAIpackageList']        = "<img src='plugins/fai/images/fai_packages.png' title='"._("Package bundle")."' alt=''>";
+    $objTypes['FAIpartitionTable']  = "<img src='plugins/fai/images/fai_partitionTable.png' title='"._("Partition table")."' alt=''>";
 
     /* Delete button */
     $actions = "<input type='image' src='images/lists/trash.png' title='"._("Remove class from profile")."' name='DEL_%KEY%'>"; 
index 13013f224930e26ebbfa782f65a5a459c0b5d46e..946a77952211efd71577f67d4a68d0c3d6368952 100644 (file)
@@ -139,8 +139,8 @@ class faiProfileEntry extends plugin
     $objTypes['FAItemplate']        = "<img src='images/fai_template.png' title='"._("Template bundle")."' alt=''>&nbsp;";
     $objTypes['FAIscript']          = "<img src='images/fai_script.png' title='"._("Script bundle")."' alt=''>&nbsp;";
     $objTypes['FAIvariable']        = "<img src='images/fai_variable.png' title='"._("Variable bundle")."' alt=''>&nbsp;";
-    $objTypes['FAIpackageList']     = "<img src='images/fai_packages.png' title='"._("Package bundle")."' alt=''>&nbsp;";
-    $objTypes['FAIpartitionTable']  = "<img src='images/fai_partitionTable.png' title='"._("Partition table")."' alt=''>&nbsp;";
+    $objTypes['FAIpackageList']     = "<img src='plugins/fai/images/fai_packages.png' title='"._("Package bundle")."' alt=''>&nbsp;";
+    $objTypes['FAIpartitionTable']  = "<img src='plugins/fai/images/fai_partitionTable.png' title='"._("Partition table")."' alt=''>&nbsp;";
 
     /* Magic quotes GPC, escapes every ' " \, to solve some security risks
      * If we post the escaped strings they will be escaped again
index fc4474d8ece15a383fdbf1673b4305389adb8bd3..ef0edd4e78652ec071259f0a0f05c34b7fe32ce6 100644 (file)
@@ -45,8 +45,8 @@ class faiSummaryTab extends plugin{
         "FAIhook"                          => array(   "Image" =>"plugins/fai/images/fai_hook.png" ,         "Name"=>_("Hooks")        ,"Tree" =>get_ou('faihookou')),
         "FAIvariable"            => array(     "Image" =>"images/fai_variable.png",      "Name"=>_("Variables")    ,"Tree"     =>get_ou('faivariableou')) ,
         "FAItemplate"            => array(     "Image" =>"images/fai_template.png",      "Name"=>_("Templates")    ,"Tree"     =>get_ou('faitemplateou')) ,
-        "FAIpartitionTable" => array(  "Image" =>"images/fai_partitionTable.png","Name"=>_("Partition table")  ,"Tree" =>get_ou('faipartitionou')) ,
-        "FAIpackageList"         => array(     "Image" =>"images/fai_packages.png",      "Name"=>_("Package list") ,"Tree"     =>get_ou('faipackageou')) ,
+        "FAIpartitionTable" => array(  "Image" =>"plugins/fai/images/fai_partitionTable.png","Name"=>_("Partition table")  ,"Tree"     =>get_ou('faipartitionou')) ,
+        "FAIpackageList"         => array(     "Image" =>"plugins/fai/images/fai_packages.png",      "Name"=>_("Package list") ,"Tree" =>get_ou('faipackageou')) ,
         "FAIprofile"               => array(   "Image" =>"images/fai_profile.png",       "Name"=>_("Profiles")     ,"Tree"     =>get_ou('faiprofileou')));
   }
 
index c5bcd2d13947dc7fac78e9ddd0457e9adc9718fe..00fdb6ae2818066d7e29d12cc911f8a11c77bdca 100644 (file)
@@ -68,7 +68,7 @@
 <table width="99%" summary="">
        <tr>
                <td> 
-                       <h2><img class="center" alt="" src="images/fai_packages.png" align="middle" title="{t}Used packages{/t}">&nbsp;{t}Used packages{/t}</h2>
+                       <h2><img class="center" alt="" src="plugins/fai/images/fai_packages.png" align="middle" title="{t}Used packages{/t}">&nbsp;{t}Used packages{/t}</h2>
                        {$divlist}
                        <br>
 {render acl=$FAIpackageACL}
index b5f1e2eae1ad43673d92e832b3c144439bd84bf8..b92dd47dddcfcfb15101ab14b267297451d73a1a 100644 (file)
@@ -33,7 +33,7 @@
                   &nbsp;
                </td>
                <td>
-                               <h2><img class="center" alt="" src="images/fai_partitionTable.png" align="middle" title="{t}Objects{/t}">&nbsp;
+                               <h2><img class="center" alt="" src="plugins/fai/images/fai_partitionTable.png" align="middle" title="{t}Objects{/t}">&nbsp;
                                        <LABEL for="SubObject">
                                                {t}Discs{/t}
                                        </LABEL>
index d535b3e17c503c85c462020979a07a87c9ad5778..f6c107550cee61b8f7a13f6f6e2a0d3a14c64ace 100644 (file)
@@ -1,5 +1,5 @@
 <input type="hidden" name="TableEntryFrameSubmitted" value="1">
-<h2><img class="center" alt="" src="images/fai_partitionTable.png" align="middle" title="{t}Generic{/t}">&nbsp;{t}Device{/t}</h2>
+<h2><img class="center" alt="" src="plugins/fai/images/fai_partitionTable.png" align="middle" title="{t}Generic{/t}">&nbsp;{t}Device{/t}</h2>
 <table style='width:100%' summary="">
        <tr>
                <td style='width:50%;border-right:1px solid #909090;'><LABEL for="DISKcn">
diff --git a/gosa-plugins/fai/html/images/fai_new_variable.png b/gosa-plugins/fai/html/images/fai_new_variable.png
new file mode 100644 (file)
index 0000000..d915c53
Binary files /dev/null and b/gosa-plugins/fai/html/images/fai_new_variable.png differ
diff --git a/gosa-plugins/fai/html/images/fai_packages.png b/gosa-plugins/fai/html/images/fai_packages.png
new file mode 100644 (file)
index 0000000..dd6de2f
Binary files /dev/null and b/gosa-plugins/fai/html/images/fai_packages.png differ
diff --git a/gosa-plugins/fai/html/images/fai_partitionTable.png b/gosa-plugins/fai/html/images/fai_partitionTable.png
new file mode 100644 (file)
index 0000000..7e8d701
Binary files /dev/null and b/gosa-plugins/fai/html/images/fai_partitionTable.png differ