Skip to content

Commit

Permalink
Testing new arrays in finput()
Browse files Browse the repository at this point in the history
  • Loading branch information
philwareham committed Oct 11, 2018
1 parent 013e671 commit d2acc0a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions textpattern/vendors/Textpattern/Skin/Skin.php
Expand Up @@ -1547,8 +1547,11 @@ protected function getEditForm($message = '')

if ($field === 'description') {
$input = text_area($field, 0, 0, $current, $event.'_'.$field);
} elseif ($field === 'name') {
$input = '<input type="text" value="'.$current.'" id="'.$event.'_'.$field.'" name="'.$field.'" size="'.INPUT_REGULAR.'" maxlength="63" required />';
} elseif ($field === 'text') {
$input = fInput('text', array(
'name' => $field,
'maxlength' => '63',
), $current, '', '', '', INPUT_REGULAR, '', $event.'_'.$field, '', true);
} elseif ($field === 'author_uri') {
$input = fInput('url', $field, $current, '', '', '', INPUT_REGULAR, '', $event.'_'.$field, '', '', 'http(s)://');
} else {
Expand Down

0 comments on commit d2acc0a

Please sign in to comment.