Code

Added branches for apps
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 21 Mar 2006 13:47:37 +0000 (13:47 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 21 Mar 2006 13:47:37 +0000 (13:47 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2880 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/applications/class_applicationManagement.inc
plugins/admin/applications/headpage.tpl

index 36f3ddd66657fa3c50387dee5e2cf1f778dd078b..90f044b34c753d581d44350bde06711be7f5a5b2 100644 (file)
@@ -500,6 +500,7 @@ class applicationManagement extends plugin
         $smarty->assign("tree_image", get_template_path('images/tree.png'));
         $smarty->assign("infoimage", get_template_path('images/info.png'));
         $smarty->assign("launchimage", get_template_path('images/launch.png'));
+        $smarty->assign("branchimage"   , get_template_path('images/branch.png'));
         $smarty->assign("deplist", $this->config->idepartments);
         $smarty->assign("regex", $appfilter['regex']);
 
index 768f7f1976c70eaff716293c9236cdc41007fef4..376f19bee15329d59631303675934925576c7862 100644 (file)
    </p>
    </div>
    <br>
+   <div class="contentboxh" style="border-bottom:1px solid #B0B0B0;">
+    <p class="contentboxh"><img src="{$branchimage}" align="right" alt="[F]">{t}Branches{/t}</p>
+   </div>
+   <div class="contentboxb">
+        <table summary="" style="width:100%;">
+         <tr>
+          <td>
+        {t}Current release{/t}&nbsp;
+        <select name="select_branch" onChange="document.mainform.submit();">
+                {*{html_options values=$branchKeys output=$branches selected=$select_branch}*}
+        </select>
+          </td>
+         </tr>
+        </table>
+   </div>
+   <br>
    <div class="contentboxh">
     <p class="contentboxh"><img src="{$launchimage}" align="right" alt="[F]">{t}Filters{/t}</p>
    </div>