1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 05:07:27 +02:00

possibility to use lang string in placeholder

This commit is contained in:
Jimmi08
2016-04-23 16:59:29 +02:00
parent 3c0f501e43
commit 3e0f7d4540

View File

@@ -2626,7 +2626,10 @@ class e_form
break;
case 'placeholder':
if($optval) $ret .= " placeholder='{$optval}'";
if($optval) {
$optval = deftrue($optval, $optval);
$ret .= " placeholder='{$optval}'";
}
break;
case 'wrap':