[textpattern commit] r2978 - development/4.0/textpattern/include

0 views
Skip to first unread message

codesite...@google.com

unread,
Sep 30, 2008, 9:30:56 PM9/30/08
to txp...@googlegroups.com
Author: r.wetzlmayr
Date: Tue Sep 30 18:30:34 2008
New Revision: 2978

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 --------------------

Reply all
Reply to author
Forward
0 new messages