Code

* Modified filter to match on a single "." in the begining of a string for
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Apr 2006 06:44:34 +0000 (06:44 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 Apr 2006 06:44:34 +0000 (06:44 +0000)
  kiosk profiles.
* Fixed display of kernels

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3032 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/terminalStartup.tpl
plugins/admin/systems/workstationStartup.tpl
plugins/personal/environment/class_kioskManagementDialog.inc

index 9d3897710cd2bf8d9d2aa9c5460f171a7a738857..6f332c1b66e026a16267d61acd5fac72017d38c5 100644 (file)
@@ -13,7 +13,7 @@
      <td style="width:30%"><LABEL for="gotoBootKernel">{t}Boot kernel{/t}</LABEL></td>
      <td>
        <select id="gotoBootKernel" name="gotoBootKernel" {$gotoBootKernelACL} onchange='document.mainform.submit()'>
-       {html_options options=$gotoBootKernels selected=$gotoBootKernel}
+       {html_options values=$gotoBootKernels output=$gotoBootKernels selected=$gotoBootKernel}
        <option disabled>&nbsp;</option>
        </select>
      </td>
index cfb1112dad947fc11520520574af24202e914f01..98c709cca9cc3808fa988aa96456465485a4f277 100644 (file)
@@ -13,7 +13,7 @@
      <td><LABEL for="gotoBootKernel">{t}Boot kernel{/t}</LABEL></td>
      <td style="width:70%">
         <select id="gotoBootKernel" name="gotoBootKernel" {$gotoBootKernelACL} onchange='document.mainform.submit()'>
-         {html_options options=$gotoBootKernels selected=$gotoBootKernel}
+         {html_options values=$gotoBootKernels output=$gotoBootKernels selected=$gotoBootKernel}
          <option disabled>&nbsp;</option>
        </select>
       </td>
index 107af006611388d184d48eb4300bf908aaa543cf..33d577c289a840d0b2b8d2e5fe0bb2bd84d10927 100644 (file)
@@ -137,7 +137,7 @@ class kioskManagementDialog extends plugin
     }else{
       $a_return = array();
       while($file = readdir($dir)){
-        if(!(($file==".")||($file==".."))){
+        if(!preg_match("/^\./", $file)){
           $name = $file;
           $a_return[$name] = $name;
         }