From 835bf3050de2d2aafe1a0da8433f0aba8158b67b Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 9 Jan 2008 20:54:10 +0000 Subject: [PATCH] Patches from John Trudel to make Ajax Select Widget work in Internet Explorer --- etemplate/setup/etemplates.inc.php | 31 ++++++++++++------------------ 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/etemplate/setup/etemplates.inc.php b/etemplate/setup/etemplates.inc.php index fa734d919b..58d179fb99 100644 --- a/etemplate/setup/etemplates.inc.php +++ b/etemplate/setup/etemplates.inc.php @@ -2,7 +2,7 @@ /** * eGroupWare - eTemplates for Application etemplate * http://www.egroupware.org - * generated by soetemplate::dump4setup() 2007-10-15 11:44 + * generated by soetemplate::dump4setup() 2008-01-09 12:03 * * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License * @package etemplate @@ -30,33 +30,26 @@ $templ_data[] = array('name' => 'etemplate.ajax_select_widget','template' => '', background-color: #D3DCE3; }','modified' => '1160681773',); -$templ_data[] = array('name' => 'etemplate.ajax_select_widget','template' => '','lang' => '','group' => '0','version' => '0.1','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:0:{}i:1;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"image";s:4:"name";s:4:"icon";s:4:"span";s:12:",select_icon";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"name";s:6:"search";s:4:"span";s:14:",select_search";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"name";s:5:"value";s:4:"span";s:13:",select_value";}}}s:4:"rows";i:1;s:4:"cols";i:3;}}','size' => '','style' => 'td.select_icon { - display: inline; - float: left; +$templ_data[] = array('name' => 'etemplate.ajax_select_widget','template' => '','lang' => '','group' => '0','version' => '0.1','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:0:{}i:1;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"image";s:4:"name";s:4:"icon";s:4:"span";s:12:",select_icon";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"name";s:6:"search";s:4:"span";s:14:",select_search";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"name";s:5:"value";s:4:"span";s:13:",select_value";}}}s:4:"rows";i:1;s:4:"cols";i:3;}}','size' => '','style' => 'td.select_icon img, td.select_icon span { + margin-left:-25px; + position: absolute; + margin-top: -10px; + float:left; + height:16px; + width:16px; + border: 1px; } - -.select_icon img { - margin-left: -22px; - height: 16px; - widht: 16px; -} - .select_value { display: none; } - td.select_search { - display: block; + display: inline; +margin-left: -7px; } - -.select_search input { - border: 2px groove #D3DCE3; -} - .resultBox { + clear: both; background-color: white; } - .resultBox div:hover { background-color: #D3DCE3; }','modified' => '1176831076',);