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

Back to archive index

Tom Hayakawa tom_g3x****@users*****
2006年 8月 25日 (金) 20:03:32 JST


Index: xoops2jp/html/class/smarty/plugins/function.xoops_input.php
diff -u xoops2jp/html/class/smarty/plugins/function.xoops_input.php:1.1.2.8 xoops2jp/html/class/smarty/plugins/function.xoops_input.php:1.1.2.9
--- xoops2jp/html/class/smarty/plugins/function.xoops_input.php:1.1.2.8	Sat Jul  1 13:20:24 2006
+++ xoops2jp/html/class/smarty/plugins/function.xoops_input.php	Fri Aug 25 20:03:32 2006
@@ -8,7 +8,7 @@
  *    $params['script']... This function have not impletented that yet. At
  *    implementing, we will have to define the rule about sanitizing.
  *
- * @version $Id: function.xoops_input.php,v 1.1.2.8 2006/07/01 04:20:24 minahito Exp $
+ * @version $Id: function.xoops_input.php,v 1.1.2.9 2006/08/25 11:03:32 tom_g3x Exp $
  */
 
 /*
@@ -92,13 +92,13 @@
 			$default = trim($params['default']);
 			if ($value == $default) {
 				if ($type = "checkbox" || $type == "radio") {
-					$string .= " checked";
+					$string .= " checked=\"checked\"";
 				}
 			}
 		}
 		
 		if ($disabled) {
-			$string .= " disabled";
+			$string .= " disabled=\"disabled\"";
 		}
 
 		$string .= " />";


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