summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4c94f7b)
raw | patch | inline | side by side (parent: 4c94f7b)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 6 Oct 2005 13:21:57 +0000 (13:21 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 6 Oct 2005 13:21:57 +0000 (13:21 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1514 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiManagement.inc | patch | blob | history |
index 900d1bd2b838fba4d94b53c7ad900e996edb71fb..c6663ea20c5875974ec5068a8a9fcc0dfc7ea398 100644 (file)
* Assign all reguired vars to template engine
*/
+ /* Prepare departments */
+ $options= "";
+ foreach ($this->config->idepartments as $key => $value){
+ if ($faifilter['base'] == $key){
+ $options.= "<option selected value='$key'>$value</option>";
+ } else {
+ $options.= "<option value='$key'>$value</option>";
+ }
+ }
+
/* Create listhead, it will be shown on top of the divlist.
* It provides general navigation and object creation
*/
" <input type='image' src='images/fai_new_packages.png' align='middle'
title='"._("New package list")."' name='Create_package' alt='"._("PK")."'> ".
+
+ " <img src='images/list_seperator.png' align='middle' alt='' height='16' width='1'> ".
+
+ _("Current base")." <select name='base' onChange='mainform.submit()'>$options</select>".
+ " <input type='image' src='images/list_submit.png' align='middle' title='"._("Submit department")."' name='submit_department' alt='"._("Submit")."'> ".
"</div>";