From e85d49c343143edfb0c8f53f9df62d49e4a26da8 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 18 Jul 2012 17:39:15 +0000 Subject: [PATCH] fixed class attribute of box-widgets got not imported --- etemplate/inc/class.xul_io.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etemplate/inc/class.xul_io.inc.php b/etemplate/inc/class.xul_io.inc.php index e211f52ec6..390fb0ac59 100644 --- a/etemplate/inc/class.xul_io.inc.php +++ b/etemplate/inc/class.xul_io.inc.php @@ -659,6 +659,8 @@ class xul_io { $attr['size'] = '0'.($attr['orient'] || $attr['size'] ? ','.$attr['orient']. ($attr['size'] ? ','.$attr['size'] : '') : ''); + $attr['span'] .= $attr['class'] ? ','.$attr['class'] : ''; + unset($attr['class']); soetemplate::add_child($parent,$attr); $parents[count($parents)] = &$parent; // $parents[] does not always the same - strange $parent = &$attr;