Changeset 509 for trunk/themes/air/comments.php
- Timestamp:
- 02/26/08 03:37:26 (11 months ago)
- Files:
-
- 1 modified
-
trunk/themes/air/comments.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/themes/air/comments.php
r488 r509 1 1 <?php 2 2 if (plogger_comments_on()) { 3 print '<a name="comments"></a><h2 class="comment-heading"> Comments:</h2>';3 print '<a name="comments"></a><h2 class="comment-heading">' . plog_tr('Comments') . ':</h2>'; 4 4 5 5 if (plogger_picture_has_comments()) { … … 26 26 print "\n</ol>"; 27 27 } else { 28 print "<p> No comments yet.</p>";28 print "<p>" . plog_tr('No comments yet') . ".</p>"; 29 29 }; 30 30 31 31 if (plogger_picture_allows_comments()) { 32 32 if (plogger_comment_post_error()) { 33 print "<p class='errors'> Comment did not post! Please fill in required fields.</p>";33 print "<p class='errors'>" . plog_tr('Comment did not post! Please fill in required fields.') . "</p>"; 34 34 }; 35 35 36 36 global $config; 37 37 38 print '<a name="comment-post"></a><h2 class="comment-heading"> Post a comment:</h2>38 print '<a name="comment-post"></a><h2 class="comment-heading">' . plog_tr('Post a comment') . '</h2> 39 39 <form action="' . $config["gallery_url"] . 'plog-comment.php" method="post" id="commentform"> 40 40 <p> 41 41 <input type="text" name="author" id="author" class="textarea" value="" size="28" tabindex="1" /> 42 <label for="author">Name</label> (required) <input type="hidden" name="comment_post_ID" value="40" />42 <label for="author">Name</label> (required) <input type="hidden" name="comment_post_ID" value="40"/> 43 43 <input type="hidden" name="parent" value="'.plogger_get_picture_id().'" /> 44 44 </p> 45 45 <p> 46 46 <input type="text" name="email" id="email" value="" size="28" tabindex="2" /> 47 <label for="email"> E-mail</label> (required, but not publicly displayed)47 <label for="email">' . plog_tr('E-mail') . '</label> (' . plog_tr('required, but not publicly displayed') . ') 48 48 </p> 49 49 <p> 50 50 <input type="text" name="url" id="url" value="" size="28" tabindex="3" /> 51 <label for="url"> Your Website (optional)</label>51 <label for="url">' . plog_tr('Your Website (optional)') . '</label> 52 52 </p> 53 53 <p> 54 <label for="comment"> Your Comment</label>54 <label for="comment">' . plog_tr('Your Comment') . '</label> 55 55 <br /><textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea> 56 56 </p> 57 57 <p class="comment-input-button"> 58 <input class="submit" name="submit" type="submit" tabindex="5" value=" Post Comment" />58 <input class="submit" name="submit" type="submit" tabindex="5" value="' . plog_tr('Post Comment') . '" /> 59 59 </p> 60 60 </form>'; 61 61 62 62 } else { 63 print '<p class="comments-closed"> Comments for this entry are closed</p>';63 print '<p class="comments-closed">' .plog_tr('Comments for this entry are closed') . '</p>'; 64 64 } 65 65 };
