summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e114c9c)
raw | patch | inline | side by side (parent: e114c9c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 14 Jul 2010 08:52:44 +0000 (08:52 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 14 Jul 2010 08:52:44 +0000 (08:52 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19009 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/gofon/gofon/conference/class_phoneConferenceGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/gofon/gofon/conference/class_phoneConferenceGeneric.inc b/gosa-plugins/gofon/gofon/conference/class_phoneConferenceGeneric.inc
index 22f096eb9f5dcc5f2a6deeaa6e01ee3b8f25cb39..f23d5982b2f2249eb120d3800a0258bf1b5a7b00 100644 (file)
foreach ($this->attributes as $val){
- $smarty->assign("$val", $this->$val);
+ $smarty->assign("$val", set_post($this->$val));
if(!$this->$val){
$smarty->assign($val."CHK", "");
}else{
$tmp[$dn] = $val['SERVER'];
}
}
- $smarty->assign("language",$this->language);
+ $smarty->assign("language", $this->language);
$smarty->assign("languages",$this->languages);
- $smarty->assign("goFonHomeServers",$tmp);
+ $smarty->assign("goFonHomeServers",set_post($tmp));
$smarty->assign("goFonConferenceOptions", array("D"=>"Conference ","d"=>"Conference without PIN"));
$smarty->assign("goFonConferenceOptionFormats", array("WAV"=>"Wave","GSM"=>"GSM","WAV49"=>"Wave49"));
$smarty->assign("goFonConferenceOption", $this->goFonConferenceOption_D);
if($this->acl_is_writeable($acl_name)){
if(isset($_POST[$attrs])){
- $this->$attrs = $_POST[$attrs];
+ $this->$attrs = get_post($attrs);
}else{
$this->$attrs = false;
}
function getCopyDialog()
{
$smarty = get_smarty();
- $smarty->assign("cn" ,$this->cn);
- $smarty->assign("telephoneNumber" ,$this->telephoneNumber);
+ $smarty->assign("cn" ,set_post($this->cn));
+ $smarty->assign("telephoneNumber" ,set_post($this->telephoneNumber));
$str = $smarty->fetch(get_template_path("paste_generic.tpl",TRUE));
$ret = array();
$ret['string'] = $str;
function saveCopyDialog()
{
if(isset($_POST['cn'])){
- $this->cn = $_POST['cn'];
+ $this->cn = get_post('cn');
}
if(isset($_POST['telephoneNumber'])){
- $this->telephoneNumber = $_POST['telephoneNumber'];
+ $this->telephoneNumber = get_post('telephoneNumber');
}
}