summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f606ab8)
raw | patch | inline | side by side (parent: f606ab8)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 9 Mar 2010 07:09:01 +0000 (07:09 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 9 Mar 2010 07:09:01 +0000 (07:09 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16353 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_filter.inc | patch | blob | history |
index e8b65ac78b4810013f8d70ef4973834fe57d57ac..5f2d94ec64750d0cc840e3196c0dd76e033d5d05 100644 (file)
$characters= $element['autocomplete']['characters'];
}
$result.= "<div id='autocomplete$tag' class='autocomplete'></div>".
- "<script type='text/javascript'>".
- "new Ajax.Autocompleter('$tag', 'autocomplete$tag', 'autocomplete.php', { minChars: $characters, frequency: $frequency });".
- "</script>";
+ "<script type='text/javascript'>".
+ "new Ajax.Autocompleter('$tag', 'autocomplete$tag', 'autocomplete.php', { minChars: $characters, frequency: $frequency });".
+ "</script>";
- $this->autocompleters[$tag]= $element['autocomplete'];
+ $this->autocompleters[$tag]= $element['autocomplete'];
}
return $result;
}
{
$content= "<table class='filter-wrapper'><tr><td>".$this->renderFilterMenu()."</td><td>";
$content.= "<div class='search-filter'><input type='text' name='search_filter' value='".$this->value."'></div>".
- " <button class='search-filter' type='submit' title='"._("Search")."'>".image("images/find.png")."</button></td></tr></table>";
+ " <button class='search-filter' type='submit' title='"._("Search")."'>".image("images/find.png")."</button></td></tr></table>";
// Return meta data
return ("<input type='hidden' name='FILTER_PID' value='".$this->pid."'>".$content);
$result= array_merge($result, call_user_func(array($backend, 'query'), $this->base, $this->scope, $filter, $attributes, $this->category, $this->objectStorage));
}
-
+
return ($result);
}
$filter= preg_replace("/\\$/", normalizeLdap($value), $filter);
if (isset($config['base']) && isset($config['scope']) && isset($config['category'])) {
$result= call_user_func(array($backend, 'query'), $config['base'], $config['scope'], $filter, $attributes,
- $config["category"], $config["objectStorage"]);
+ $config["category"], $config["objectStorage"]);
} else {
$result= call_user_func(array($backend, 'query'), $this->base, $this->scope, $filter, $attributes,
- $this->category, $this->objectStorage);
+ $this->category, $this->objectStorage);
}
foreach ($result as $entry) {
{
// Load shortcut
$result= "<input type='hidden' name='act' id='filter' value=''><div style='display:none'><input type='submit' name='exec_filter' id='exec_filter' value=''></div>".
- "<ul class='level1' id='filter-root'><li><a href='#'>".image("images/filter.png")._("...")." ".image("images/lists/sort-down.png")."</a>";
+ "<ul class='level1' id='filter-root'><li><a href='#'>".image("images/filter.png")._("...")." ".image("images/lists/sort-down.png")."</a>";
// Build ul/li list
$result.= "<ul class='level2'>";
$result.= "<li><a href='#'>Dummy placeholder</a></li>";
- #$result.= "<li$separator><a href='#' onClick='document.getElementById(\"actionmenu\").value= \"".$action['name']."\";mainform.submit();'>$img"._($action['label'])."</a></li>";
+#$result.= "<li$separator><a href='#' onClick='document.getElementById(\"actionmenu\").value= \"".$action['name']."\";mainform.submit();'>$img"._($action['label'])."</a></li>";
- # AUTOCOMPLETER and getTextbox
+# AUTOCOMPLETER and getTextbox
$result.= "</ul>";
}
+// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>