From 7d7f3727ff0a2271c4314c9a6a3f2fac674ed644 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 29 Jul 2010 14:23:07 +0000 Subject: [PATCH] Updated mysql connection and query handling, ensure that strings are save.wq git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19280 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../class_phoneConferenceManagment.inc | 70 +++++++++---------- 1 file changed, 35 insertions(+), 35 deletions(-) diff --git a/gosa-plugins/gofon/gofon/conference/class_phoneConferenceManagment.inc b/gosa-plugins/gofon/gofon/conference/class_phoneConferenceManagment.inc index 29867ddae..792660e5b 100644 --- a/gosa-plugins/gofon/gofon/conference/class_phoneConferenceManagment.inc +++ b/gosa-plugins/gofon/gofon/conference/class_phoneConferenceManagment.inc @@ -22,46 +22,46 @@ class phoneConferenceManagment extends management { - var $plHeadline = "Phone Conferences"; - var $plDescription = "Manage phone conference rooms in setups using the Asterisk VoIP service"; - var $plIcon = "plugins/gofon/images/conference.png"; + var $plHeadline = "Phone Conferences"; + var $plDescription = "Manage phone conference rooms in setups using the Asterisk VoIP service"; + var $plIcon = "plugins/gofon/images/conference.png"; - // Tab definition - protected $tabClass = "conferencetabs"; - protected $tabType = "CONFERENCETABS"; - protected $aclCategory = "gofonconference"; - protected $aclPlugin = "conference"; - protected $objectName = "phone conference"; + // Tab definition + protected $tabClass = "conferencetabs"; + protected $tabType = "CONFERENCETABS"; + protected $aclCategory = "gofonconference"; + protected $aclPlugin = "conference"; + protected $objectName = "phone conference"; - function __construct($config,$ui) - { - $this->config = $config; - $this->ui = $ui; - - $this->storagePoints = array(get_ou("conference", "phoneConferenceRDN")); - - // Build filter - if (session::global_is_set(get_class($this)."_filter")){ - $filter= session::global_get(get_class($this)."_filter"); - } else { - $filter = new filter(get_template_path("conf-filter.xml", true)); - $filter->setObjectStorage($this->storagePoints); - } - $this->setFilter($filter); + function __construct($config,$ui) + { + $this->config = $config; + $this->ui = $ui; - // Build headpage - $headpage = new listing(get_template_path("conf-list.xml", true)); - $headpage->setFilter($filter); + $this->storagePoints = array(get_ou("conference", "phoneConferenceRDN")); - // Add copy&paste and snapshot handler. - if ($this->config->boolValueIsTrue("core", "copyPaste")){ - $this->cpHandler = new CopyPasteHandler($this->config); - } - if($this->config->get_cfg_value("core","enableSnapshots") == "true"){ - $this->snapHandler = new SnapshotHandler($this->config); + // Build filter + if (session::global_is_set(get_class($this)."_filter")){ + $filter= session::global_get(get_class($this)."_filter"); + } else { + $filter = new filter(get_template_path("conf-filter.xml", true)); + $filter->setObjectStorage($this->storagePoints); + } + $this->setFilter($filter); + + // Build headpage + $headpage = new listing(get_template_path("conf-list.xml", true)); + $headpage->setFilter($filter); + + // Add copy&paste and snapshot handler. + if ($this->config->boolValueIsTrue("core", "copyPaste")){ + $this->cpHandler = new CopyPasteHandler($this->config); + } + if($this->config->get_cfg_value("core","enableSnapshots") == "true"){ + $this->snapHandler = new SnapshotHandler($this->config); + } + parent::__construct($config, $ui, "conferences", $headpage); } - parent::__construct($config, $ui, "conferences", $headpage); - } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?> -- 2.30.2