From eb3178426a4c3d1a9fd5e97fd32a70f69517fd75 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 17 Mar 2003 20:58:54 +0000 Subject: [PATCH] included the db-tools messages on createing the lang-file --- etemplate/inc/class.editor.inc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/etemplate/inc/class.editor.inc.php b/etemplate/inc/class.editor.inc.php index 1cb399b9da..1e7d8b1398 100644 --- a/etemplate/inc/class.editor.inc.php +++ b/etemplate/inc/class.editor.inc.php @@ -165,6 +165,7 @@ { case 'vbox': case 'hbox': + case 'stack': $cell['cell_tpl'] = '.vbox'; break; } @@ -242,6 +243,7 @@ { case 'vbox': case 'hbox': + case 'stack': if ($cell['size'] < 2) { $cell['size'] = 2; @@ -462,7 +464,8 @@ if ($name == 'etemplate') { $m = new editor(False); - $additional = $m->messages + $this->etemplate->types + $this->extensions + $this->aligns; + $db_tools = CreateObject('etemplate.db_tools',False); + $additional = $m->messages + $db_tools->messages + $this->etemplate->types + $this->extensions + $this->aligns; } else // try to call the writeLangFile function of the app's ui-layer {