From: cajus Date: Thu, 12 Jan 2006 16:38:16 +0000 (+0000) Subject: First layout adaptions X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ebe34f80d5b2bce47c338a6a1ecb07236e910454;p=gosa.git First layout adaptions git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2472 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiManagement.inc b/plugins/admin/fai/class_faiManagement.inc index 16bc0e516..636c115ca 100644 --- a/plugins/admin/fai/class_faiManagement.inc +++ b/plugins/admin/fai/class_faiManagement.inc @@ -786,7 +786,7 @@ class faiManagement extends plugin $smarty->assign("failist" , $divlist->DrawList()); $smarty->assign("regex" , $faifilter['regex']); $smarty->assign("infoimage" , get_template_path('images/info.png')); - $smarty->assign("branchimage" , get_template_path('images/action.png')); + $smarty->assign("branchimage" , get_template_path('images/branch.png')); $smarty->assign("launchimage" , get_template_path('images/launch.png')); $smarty->assign("alphabet" , generate_alphabet()); $smarty->assign("apply" , apply_filter()); @@ -799,7 +799,7 @@ class faiManagement extends plugin function getBranches($base = false,$prefix = "") { - $ret = array("main"=>_("main")); + $ret = array("main"=>"/"); $ldap = $this->config->get_ldap_link(); $ldap->cd($this->config->current['BASE']); @@ -817,7 +817,7 @@ class faiManagement extends plugin if((isset($attrs['ou']))&&($attrs['dn']!=$base)){ $ret[$attrs['dn']]= $prefix.$attrs['ou'][0]; - $ret = array_merge($ret,$this->getBranches($attrs['dn'],$prefix.$attrs['ou'][0]."/")); + $ret = array_merge($ret,$this->getBranches($attrs['dn'],"".$prefix.$attrs['ou'][0]."/")); } } return($ret); diff --git a/plugins/admin/fai/headpage.tpl b/plugins/admin/fai/headpage.tpl index 8b1614703..5e3d2e8cc 100644 --- a/plugins/admin/fai/headpage.tpl +++ b/plugins/admin/fai/headpage.tpl @@ -28,25 +28,36 @@

[F]{t}Branches{/t}

-
- {t}Selected branch{/t}  +
+ + + + +
+ {t}Current release{/t}  - {if $select_branch != "main"} -
- {t}Delete this branch.{/t} +
+ + + + +
+   - - {/if} + {t}Create new branch using the current release{/t}
- {t}Create a new branch{/t} +   - + {t}Create a locked version of the current release{/t} + {if $select_branch != "main"}
- {t}Freeze this{/t} +   - + {t}Delete current release{/t} + {/if} +