summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1dc3eb6)
raw | patch | inline | side by side (parent: 1dc3eb6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 12 Aug 2005 14:20:51 +0000 (14:20 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 12 Aug 2005 14:20:51 +0000 (14:20 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1128 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/gofon/macro/class_gofonMacroParameters.inc | patch | blob | history | |
plugins/gofon/phoneaccount/class_phoneAccount.inc | patch | blob | history |
diff --git a/plugins/gofon/macro/class_gofonMacroParameters.inc b/plugins/gofon/macro/class_gofonMacroParameters.inc
index 928f3227b627a537cb93d2513103ecef8a95f71e..ed7cf2abaccf70f968f2611f51ed9a4de583fec7 100755 (executable)
foreach($this->goFonMacroParameter as $para){
$tmp = split("!",$para);
$num = $tmp[0];
- $tmp2[$num]['name'] = $tmp[1];
+ $tmp2[$num]['name'] = base64_decode($tmp[1]);
$tmp2[$num]['type'] = $tmp[2];
$tmp2[$num]['default'] = $tmp[3];
$tmp2[$num]['var'] = "var".$num;
$this->attrs['goFonMacroParameter']=array();
foreach($this->goFonMacroParameter as $key=>$fonpara){
- $this->attrs['goFonMacroParameter'][]=$key."!".$fonpara['name']."!".$fonpara['type']."!".$fonpara['default'];
+ $this->attrs['goFonMacroParameter'][]=$key."!".base64_encode($fonpara['name'])."!".$fonpara['type']."!".$fonpara['default'];
}
if($this->para_count != count($this->attrs['goFonMacroParameter'])){
diff --git a/plugins/gofon/phoneaccount/class_phoneAccount.inc b/plugins/gofon/phoneaccount/class_phoneAccount.inc
index 2232b09839f0166a4329ba7e72de10d0b0d47c50..9741b68aff921b6560e555c843b3ed2707a7f570 100644 (file)
$macrotab="";
}else{
- $macrotab ="<table summary=\""._("Parameter")."\" width='100%'>";
+ $macrotab ="<table summary=\""._("Parameter")."\">";
/* for every single parameter-> display textfile,combo, or true false switch*/
}else{
$str="\n<input type='checkbox' name='".$var."' value='1' checked ".chkacl($this->acl, "goFonMacro").">";
}
- $macrotab.= "<td colspan='2'>$str $name";
+ $macrotab.= "<td colspan='2'>$str ".base64_decode($name)."";
break;
case "string":
$str="<input name='".$var."' value='".$choosen."' ".chkacl($this->acl, "goFonMacro")." style='width:340px;'>";
- $macrotab.= "<td colspan='2'>$name</td></tr><tr><td colspan='2' style='width:350px'>$str";
+ $macrotab.= "<td>".base64_decode($name)."</td><td>$str";
break;
}
- $macrotab.= "</td></tr><tr><td colspan='2'> </td></tr>";
+ $macrotab.= "</td></tr>";
}
$macrotab.="</table><input name='post_success' type='hidden' value='1'>";