From 70791dd489e854309bbde1cf4907be441bee0849 Mon Sep 17 00:00:00 2001 From: Ben Klang Date: Fri, 27 Jan 2006 17:34:02 +0000 Subject: [PATCH] Removing old files git-svn-id: https://svn.alkaloid.net/gpl/shout/trunk@269 06cd67b6-e706-0410-b29e-9de616bca6e9 --- lib/System.php | 65 ---------------------------------------------------------- 1 file changed, 65 deletions(-) delete mode 100644 lib/System.php diff --git a/lib/System.php b/lib/System.php deleted file mode 100644 index 6346462f6..000000000 --- a/lib/System.php +++ /dev/null @@ -1,65 +0,0 @@ - - * - * See the enclosed file LICENSE for license information (BSD). If you - * did not receive this file, see http://www.horde.org/licenses/bsdl.php. - * - * @author Ben Klang - * @package Shout - */ -class ContextForm extends Horde_Form { - - var $_useFormToken = false; - - function ContextForm(&$vars) - { - global $shout; - - parent::Horde_Form($vars, _("Select System Context")); - - $contextfilter = SHOUT_CONTEXT_CUSTOMERS | SHOUT_CONTEXT_EXTENSIONS| - SHOUT_CONTEXT_MOH | SHOUT_CONTEXT_CONFERENCE; - $contexts = &$shout->getContexts($contextfilter); - foreach ($contexts as $context) { - $tmpcontexts[$context] = $context; - } - if (count($contexts)) { - $contexts = &$this->addVariable(_("System Context: "), 'syscontext', - 'enum', true, false, null, array($tmpcontexts, _("Choose:"))); - - require_once 'Horde/Form/Action.php'; - $contexts->setAction(Horde_Form_Action::factory('submit')); - } else { - $this->addVariable(_("System Context: "), 'syscontext', 'invalid', - true, false, null, - array(_("There are no system contexts which you can view."))); - } - } -} - -class SettingsForm extends Horde_Form { - - var $_useFormToken = false; - - function SettingsForm(&$vars) - { - global $shout, $syscontext; - - parent::Horde_Form($vars, _("Edit System Settings")); - - $cols = Shout::getContextTypes(); - $rows = array($syscontext); - $matrix = array(); - $matrix[0] = - Shout::integerToArray($shout->getContextProperties($syscontext)); - - $this->addVariable(_("Context Properties"), 'properties', 'matrix', - false, false, null, array($cols, $rows, $matrix, false)); - } - -} -- 2.11.0