Modified:
development/4.0/textpattern/include/txp_article.php
Log:
write tab: add labels for the 'title' and 'body' field.
Modified: development/4.0/textpattern/include/txp_article.php
==============================================================================
--- development/4.0/textpattern/include/txp_article.php (original)
+++ development/4.0/textpattern/include/txp_article.php Tue Sep 30 18:30:34
2008
@@ -451,7 +451,8 @@
elseif ($view == 'text')
{
- echo '<p><input type="text" id="title" name="Title"
value="'.escape_title($Title).'" class="edit" size="40" tabindex="1" />';
+ echo n.'<p><label
for="title">'.gTxt('title').'</label>'.sp.popHelp('title').br.
+ '<input type="text" id="title" name="Title"
value="'.escape_title($Title).'" class="edit" size="40" tabindex="1" />';
if ($step != 'create')
{
@@ -511,7 +512,8 @@
else
{
- echo n.graf('<textarea id="body" name="Body" cols="55" rows="31"
tabindex="2">'.htmlspecialchars($Body).'</textarea>');
+ echo n.graf('<label
for="body">'.gTxt('body').'</label>'.sp.popHelp('body').br.
+ '<textarea id="body" name="Body" cols="55" rows="31"
tabindex="2">'.htmlspecialchars($Body).'</textarea>');
}
//-- excerpt --------------------