From 5e8667577b2aa89e88db16b121f26324da4eaa7a Mon Sep 17 00:00:00 2001 From: rainbowsoft Date: Tue, 10 Dec 2024 13:47:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9Bzbpform=EF=BC=8C=E5=8A=A0?= =?UTF-8?q?=E5=85=A5=E4=BA=86placeholder;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zb_system/function/lib/zbpform.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zb_system/function/lib/zbpform.php b/zb_system/function/lib/zbpform.php index d1e2b9285..231acf111 100644 --- a/zb_system/function/lib/zbpform.php +++ b/zb_system/function/lib/zbpform.php @@ -92,10 +92,10 @@ public static function checkbox($name, $array) echo $s; } - public static function text($name, $value, $width = '150px') + public static function text($name, $value, $width = '150px', $placeholder = '') { $style = $width ? ' style="width: ' . $width . ';"' : ''; - $s = "\r\n"; + $s = "\r\n"; if (self::$setreturn) { return $s; } @@ -108,10 +108,10 @@ public static function hidden($name, $value) echo $s; } - public static function textarea($name, $value, $width = '250px', $height = '100px') + public static function textarea($name, $value, $width = '250px', $height = '100px', $placeholder = '') { $style = $width ? ' style="width: ' . $width . '; height: ' . $height . '"' : ''; - $s = "\r\n"; + $s = "\r\n"; if (self::$setreturn) { return $s; }