[xoops-cvslog 4033] CVS update: xoops2jp/html/class/smarty/plugins

Back to archive index

Tom Hayakawa tom_g3x****@users*****
2006年 8月 8日 (火) 17:28:32 JST


Index: xoops2jp/html/class/smarty/plugins/function.xoops_optionsArray.php
diff -u xoops2jp/html/class/smarty/plugins/function.xoops_optionsArray.php:1.1.2.2 xoops2jp/html/class/smarty/plugins/function.xoops_optionsArray.php:1.1.2.3
--- xoops2jp/html/class/smarty/plugins/function.xoops_optionsArray.php:1.1.2.2	Thu Apr  6 13:20:53 2006
+++ xoops2jp/html/class/smarty/plugins/function.xoops_optionsArray.php	Tue Aug  8 17:28:32 2006
@@ -32,10 +32,10 @@
 		
 		$selected = "";
 		if (is_array($default) && in_array($object->get($params['value']), $default)) {
-			$selected = " selected";
+			$selected = " selected='selected'";
 		}
 		elseif (!is_array($default) && $object->get($params['value']) == $default) {
-			$selected = " selected";
+			$selected = " selected='selected'";
 		}
 		
 		$tags .= "<option value=\"${value}\"${selected}>${label}</option>\n";


xoops-cvslog メーリングリストの案内
Back to archive index