summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d4aff25)
raw | patch | inline | side by side (parent: d4aff25)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 29 Jan 2010 15:43:56 +0000 (15:43 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 29 Jan 2010 15:43:56 +0000 (15:43 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15459 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/autocomplete.php | patch | blob | history | |
gosa-core/include/class_baseSelector.inc | patch | blob | history |
index fe3da73b8d599e326c8ab4fe0106357f35ac3fc6..7db6f25736b178d5b0abb932edf584c0fc38441c 100644 (file)
if (session::is_set("pathMapping") && count($_POST) == 1) {
$res= "";
$pathMapping= session::get("pathMapping");
- $search= current($_POST);
+ $search= preg_replace('/"/', '"', current($_POST));
foreach ($pathMapping as $key => $value) {
if (mb_stristr($value, $search) !== false) {
$res.= "<li>$value</li>";
index 01750129fc844b538790203cde9f68a23888965d..fa9ad7ddb2397d87611d9300233d6f75ce025153 100644 (file)
}
$link= "href='?plug=".$_GET['plug']."&PID=".$this->pid."&REBASE=".base64_encode($config->current['BASE'])."'";
- $this->tree= "<input type='text' size='35' name='bs_input_".$this->pid."' id='bs_input_".$this->pid."' onkeydown=\"\$('bs_".$this->pid."').hide()\" onfocus=\"\$('bs_".$this->pid."').hide()\" onmouseover=\"Element.clonePosition(\$('bs_".$this->pid."'), 'bs_input_".$this->pid."', {setHeight: false, setWidth: false, offsetTop:(Element.getHeight('bs_input_".$this->pid."'))});\$('bs_".$this->pid."').show();\" onmouseout=\"rtimer= Element.hide.delay(0.25, 'bs_".$this->pid."')\" value=\"".htmlentities($this->pathMapping[$this->base])."\">";
+ $this->tree= "<input type='text' size='35' name='bs_input_".$this->pid."' id='bs_input_".$this->pid."' onkeydown=\"\$('bs_".$this->pid."').hide()\" onfocus=\"\$('bs_".$this->pid."').hide()\" onmouseover=\"Element.clonePosition(\$('bs_".$this->pid."'), 'bs_input_".$this->pid."', {setHeight: false, setWidth: false, offsetTop:(Element.getHeight('bs_input_".$this->pid."'))});\$('bs_".$this->pid."').show();\" onmouseout=\"rtimer= Element.hide.delay(0.25, 'bs_".$this->pid."')\" value=\"".preg_replace('/"/', '"',$this->pathMapping[$this->base])."\">";
// Autocompleter