summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6c61bca)
raw | patch | inline | side by side (parent: 6c61bca)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Aug 2005 07:39:06 +0000 (07:39 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Aug 2005 07:39:06 +0000 (07:39 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1163 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/gofon/conference/class_phoneConferenceGeneric.inc | patch | blob | history |
diff --git a/plugins/gofon/conference/class_phoneConferenceGeneric.inc b/plugins/gofon/conference/class_phoneConferenceGeneric.inc
index 5fd4c0f5da28f77951d28d24a1c6d84615786a0e..604bb7a7646ab3914bf9e8503dc2019b1abde84b 100644 (file)
var $goFonConferenceOption_c = ""; // Count User
var $goFonConferenceOption_D = ""; // Conference Type, no PIN/PIN
+ var $goFonConferenceOwner = "";
+
var $goFonConferenceOptionFormat = "";
var $goFonConferenceOptionLifetime = "";
var $telephoneNumber = "";
/* attribute list for save action */
var $attributes= array("cn","base", "description", "goFonPIN","goFonConferenceOption_P","goFonConferenceOption_r",
"goFonConferenceOption_M","goFonConferenceOption_s","goFonConferenceOption_i","goFonConferenceOption_c",
- "goFonConferenceOption_D","goFonConferenceOptionFormat","goFonConferenceOptionLifetime","telephoneNumber");
+ "goFonConferenceOption_D","goFonConferenceOptionFormat","goFonConferenceOptionLifetime","telephoneNumber","goFonConferenceOwner");
var $objectclasses= array("top", "goFonConference");
$this->base= preg_replace ("/^[^,]+,/", "", $this->dn);
}
+ $this->goFonConferenceOwner=$this->ui->dn;
/* Parse Options ...
* Parameter|Lifetime|number
$smarty->assign($val."CHK", " checked ");
}
}
-
- if($this->goFonConferenceOption_P != "P"){
- $smarty->assign("goFonPINACL"," disabled ");
- $smarty->assign("goFonPIN","");
- }
- if($this->goFonConferenceOption_r != "r"){
- $smarty->assign("goFonConferenceOptionFormatACL"," disabled ");
- }
+ if($_SESSION['js']==1){
+ if($this->goFonConferenceOption_P != "P"){
+ $smarty->assign("goFonPINACL"," disabled ");
+ $smarty->assign("goFonPIN","");
+ }
+ if($this->goFonConferenceOption_r != "r"){
+ $smarty->assign("goFonConferenceOptionFormatACL"," disabled ");
+ }
+ }
return($smarty->fetch (get_template_path('generic.tpl', TRUE)));
}