+++ /dev/null
-<?php
-/**
- * Extension of Horde's variable renderer that support Ingo's folders variable
- * type.
- *
- * Copyright 2006-2010 The Horde Project (http://www.horde.org/)
- *
- * See the enclosed file LICENSE for license information (ASL). If you
- * did not receive this file, see http://www.horde.org/licenses/asl.php.
- *
- * @author Jan Schneider <jan@horde.org>
- * @package Ingo
- */
-class Horde_Ui_VarRenderer_Ingo extends Horde_Ui_VarRenderer_Html
-{
- protected function _renderVarInput_ingo_folders(&$form, &$var, &$vars)
- {
- return Ingo::flistSelect($var->type->getFolder(), 'horde_form', 'folder');
- }
-}
--- /dev/null
+<?php
+/**
+ * Extension of Horde's variable renderer that support Ingo's folders variable
+ * type.
+ *
+ * Copyright 2006-2010 The Horde Project (http://www.horde.org/)
+ *
+ * See the enclosed file LICENSE for license information (ASL). If you
+ * did not receive this file, see http://www.horde.org/licenses/asl.php.
+ *
+ * @author Jan Schneider <jan@horde.org>
+ * @package Ingo
+ */
+class Horde_Ui_VarRenderer_Ingo extends Horde_Ui_VarRenderer_Html
+{
+ protected function _renderVarInput_ingo_folders(&$form, &$var, &$vars)
+ {
+ return Ingo::flistSelect($var->type->getFolder(), 'horde_form', 'folder');
+ }
+}
* @author Jan Schneider <jan@horde.org>
*/
+require_once dirname(__FILE__) . '/lib/Application.php';
+Horde_Registry::appInit('ingo');
+
/**
* Dummy class to hold the select box created by {@link Ingo::flistSelect()}.
*
}
-require_once dirname(__FILE__) . '/lib/Application.php';
-Horde_Registry::appInit('ingo');
-
if (!in_array(Ingo_Storage::ACTION_SPAM, $_SESSION['ingo']['script_categories'])) {
$notification->push(_("Simple spam filtering is not supported in the current filtering driver."), 'horde.error');
header('Location: ' . Horde::applicationUrl('filters.php', true));