Code

Grey out, don't hide
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 9 Jul 2007 13:10:56 +0000 (13:10 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 9 Jul 2007 13:10:56 +0000 (13:10 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6780 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 3eb677070fc2a737d20bf65f66c6e6a4273b62bf..11859f9cf4f2462f1e945d05f06a879b8317bb63 100644 (file)
                &nbsp;
                {t}Create new branch{/t}
                <br>
-               <input type="image" align="middle" value="freeze" name="freeze_branch" src="images/closedlock.png">
+               <input type="image" align="middle" value="freeze" name="freeze_branch" src="images/freeze.png">
+       {else}
+               <img src="images/branch_small_grey.png" alt='{t}Branch{/t}' class='center'>
                &nbsp;
-               {t}Create new locked branch{/t}
+               {t}Create new branch{/t}
+               <br>
+               <img src="images/freeze_grey.png" alt='{t}Freeze{/t}' class='center'>
        {/if}
+       &nbsp;
+       {t}Create new locked branch{/t}
+
     {if $selectedBranch != "main" && $allow_remove}
     <br>
            <input type="image" align="middle" value="delete" name="remove_branch" src="images/edittrash.png">
index 67967c383e3307e397cd187f9b23393c688471b8..dbb18dc453ea74e0dcf24323e2203819415fbb6d 100644 (file)
@@ -318,7 +318,7 @@ class faiManagement extends plugin
         $this->postremove();
       }
     }
-  }
+  
 
 
     /****************