From f8498ca9492df45c5d28d95c1a1742474491b2e2 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 28 Mar 2012 16:29:14 +0000 Subject: [PATCH] an other little fix to have old etemplate editor work with etemplate2 --- etemplate/inc/class.editor.inc.php | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/etemplate/inc/class.editor.inc.php b/etemplate/inc/class.editor.inc.php index 05079b7676..cf9d38d0a9 100644 --- a/etemplate/inc/class.editor.inc.php +++ b/etemplate/inc/class.editor.inc.php @@ -11,13 +11,6 @@ * @version $Id$ */ -// to be able to run with new etemplate enabled or not -require_once EGW_INCLUDE_ROOT.'/etemplate/inc/class.etemplate.inc.php'; -if (!class_exists('etemplate_old')) -{ - class etemplate_old extends etemplate {} -} - /** * template editor of the eTemplate package */ @@ -1158,7 +1151,7 @@ class editor /** * edit dialog for a widget * - * @param array $content the submitted content of the etemplate::exec function, default null + * @param array $content the submitted content of the etemplate_old::exec function, default null * @param string $msg msg to display, default '' */ function widget($content=null,$msg='') @@ -1325,7 +1318,7 @@ class editor $this->fix_set_onclick($widget,$content['cell'],true); $this->fix_set_onchange($widget,$content['cell'],true); - foreach(etemplate::$db_key_cols as $var) + foreach(boetemplate::$db_key_cols as $var) { if (isset($_GET[$var])) { @@ -1445,7 +1438,7 @@ class editor /** * edit dialog for the styles of a templat or app * - * @param array $content the submitted content of the etemplate::exec function, default null + * @param array $content the submitted content of the etemplate_old::exec function, default null * @param string $msg msg to display, default '' */ function styles($content=null,$msg='')