Changeset 3825:b09d7ce99c2f for plugins/widgets/class.widgets.php
- Timestamp:
- 08/26/18 18:19:14 (7 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/widgets/class.widgets.php
r3731 r3825 274 274 return false; 275 275 } 276 } elseif ($type == 'textarea') { 277 // If any, the 4th argument should be an array (key → value) 278 $options = @func_get_arg(4); 276 279 } 277 280 … … 316 319 break; 317 320 case 'textarea': 321 $class = (isset($s['options']) && isset($s['options']['class']) ? ' ' . $s['options']['class'] : ''); 318 322 $res .= 319 323 '<p><label for="' . $wfid . '">' . $s['title'] . '</label> ' . 320 form::textarea(array($iname, $wfid), 30, 8, html::escapeHTML($s['value']), 'maximal' ) .324 form::textarea(array($iname, $wfid), 30, 8, html::escapeHTML($s['value']), 'maximal' . $class) . 321 325 '</p>'; 322 326 break;
Note: See TracChangeset
for help on using the changeset viewer.