summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 79dd1ec)
raw | patch | inline | side by side (parent: 79dd1ec)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 17 Apr 2007 09:00:00 +0000 (09:00 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 17 Apr 2007 09:00:00 +0000 (09:00 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6064 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_MultiSelectWindow.inc | patch | blob | history |
index 2dac54752192607d99238d9c39206413c59f828c..5f23bdeb131dda8e164665ca7815e46b5f906284 100644 (file)
</label>
</td>
<td width=\"99%\">
- <input type=\"text\" style='width:99%' name=\"".$regex['name']."\" maxlength='20'
+ <input id=\"".$regex['name']."\" type=\"text\" style='width:99%' name=\"".$regex['name']."\" maxlength='20'
value=\"".htmlentities($regex['value'])."\" title=\"".htmlentities($regex['string'])."\">
</td>
</tr>
/* this function adds the sub-departments of the current tree to the list */
- function AddDepartments($base = false,$numtabs = 3)
+ function AddDepartments($base = false,$numtabs = 3,$empty_tabs_in_front = 0)
{
$this->DepartmentsAdded = true;
/* Add to divlist */
$row = array();
+
+ if($empty_tabs_in_front){
+ for($i = 0; $i < $empty_tabs_in_front ; $i ++){
+ $row[] = array("string"=>" ", "attach" => "style='text-align:center;width:20px;'");
+ }
+ $numtabs -= $empty_tabs_in_front;
+ }
+
$row[]=$field1=array("string"=>"<img src='images/".$non_empty."folder.png' alt='department'>","attach"=>"style='text-align:center;width:20px;'");
$row[]=$field2=array("string"=>sprintf($linkopen,base64_encode($key),$val), "attach" => "style=''");