diff options
author | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2021-12-30 18:26:58 +0000 |
---|---|---|
committer | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2021-12-30 18:26:58 +0000 |
commit | 745720b450e7dd196df4a8e62b18c7defa3a9368 (patch) | |
tree | 925412addb974984efd1fea7843c9d16e165df76 /scripts/forms.php | |
parent | 5fbe4d70f6e6713d639a789dd32602bf77935cbe (diff) | |
download | pmwiki.svn-745720b450e7dd196df4a8e62b18c7defa3a9368.tar.bz2 |
Add placeholders to e_changesummary and e_author. Add $IncludedPages variable usable in the edit form.
git-svn-id: svn://pmwiki.org/pmwiki/trunk@3914 524c5546-5005-0410-9a3e-e25e191bd360
Diffstat (limited to 'scripts/forms.php')
-rw-r--r-- | scripts/forms.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/forms.php b/scripts/forms.php index b7fc46b4..cc58de98 100644 --- a/scripts/forms.php +++ b/scripts/forms.php @@ -379,10 +379,12 @@ SDVA($InputTags['e_textarea'], array( 'rows' => XL('e_rows'), 'cols' => XL('e_cols'))); SDVA($InputTags['e_author'], array( ':html' => "<input type='text' \$InputFormArgs />", + 'placeholder' => XL('Author'), 'name' => 'author', 'value' => $Author)); SDVA($InputTags['e_changesummary'], array( ':html' => "<input type='text' \$InputFormArgs />", 'name' => 'csum', 'size' => '60', 'maxlength' => '100', + 'placeholder' => XL('Summary'), 'value' => PHSC(stripmagic(@$_POST['csum']), ENT_QUOTES))); SDVA($InputTags['e_minorcheckbox'], array( ':html' => "<input type='checkbox' \$InputFormArgs />", |