[pLog-svn] r6992 - plog/branches/lifetype-1.2/templates/default

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Fri Apr 9 14:04:26 EDT 2010


Author: jondaley
Date: 2010-04-09 14:04:26 -0400 (Fri, 09 Apr 2010)
New Revision: 6992

Modified:
   plog/branches/lifetype-1.2/templates/default/commentform.template
Log:
allow styling of all items, for easier template inclusion

Modified: plog/branches/lifetype-1.2/templates/default/commentform.template
===================================================================
--- plog/branches/lifetype-1.2/templates/default/commentform.template	2010-04-09 15:49:43 UTC (rev 6991)
+++ plog/branches/lifetype-1.2/templates/default/commentform.template	2010-04-09 18:04:26 UTC (rev 6992)
@@ -2,23 +2,25 @@
 <div id="CommentForm">
 <form id="NewComment" action="{$url->getIndexUrl()}" method="post">
 <fieldset>
-<legend class="add_comment_title">{$locale->tr("add_comment")}</legend>
+<legend id="add_comment_title">{$locale->tr("add_comment")}</legend>
 <table border="0">
-<tr>
+<tr id="add_comment_topic">
  <td><label for="commentTopic">{$locale->pr("comment_topic")}</label></td>
  <td><input type="text" name="commentTopic" id="commentTopic" value="{$topic}" /></td>
 </tr>
-<tr>
+<tr id="add_comment_text">
   <td><label for="commentText">{$locale->pr("comment_text")}<sup class="required">*</sup></label></td>
   <td><textarea rows="10" cols="50" name="commentText" id="commentText"></textarea></td>
  </tr>
 
 {if $smileys && $smileys->isEnabled()}
   <script type="text/javascript" src="{$url->getBaseUrl()}/plugins/smileys/js/smileys/smileys.js"></script>
-  <tr><td>&nbsp;</td><td>{$smileys->generateSmileysBar()}</td></tr>
+  <tr id="add_comment_smileys">
+    <td>&nbsp;</td><td>{$smileys->generateSmileysBar()}</td>
+  </tr>
 {/if}
 
-<tr>
+<tr id="add_comment_username">
   <td><label for="userName">{$locale->pr("comment_username")}<sup class="required">*</sup></label></td>
   <td>
    {dynamic}
@@ -32,29 +34,33 @@
   </td>
 </tr>
 
-<tr>
+<tr id="add_comment_useremail">
   <td><label for="userEmail">{$locale->tr("comment_email")}</label></td>
   <td><input type="text" name="userEmail" id="userEmail" value="" /></td>
 </tr>
-<tr>
+<tr id="add_comment_userurl">
   <td><label for="userUrl">{$locale->tr("comment_url")}</label></td>
   <td><input type="text" name="userUrl" id="userUrl" value="" /></td>
 </tr>
 
   {if $authimage && $authimage->isEnabled()}
-   <tr>
+   <tr id="add_comment_authimage">
      <td><label for="authImage">{$locale->tr("authimage_type_code")}</label></td>
      <td><input type="text" name="authImage" id="authImage" value="" />&nbsp;{$authimage->show()}</td>
    </tr>
   {/if}
   {if $subscribe && $subscribe->isEnabled()}
-   <tr><td colspan="2"><input type="checkbox" name="subscribe" /> E-mail me when comments occur on this article</td></tr>
+   <tr id="add_comment_subscribe">
+     <td colspan="2"><input type="checkbox" name="subscribe" /> E-mail me when comments occur on this article</td>
+   </tr>
   {/if}
   {if $hiddeninput && $hiddeninput->isEnabled()}
-   <tr><td>{$hiddeninput->printHiddenFields()}</td></tr>
+   <tr id="add_comment_hiddeninput">
+    <td>{$hiddeninput->printHiddenFields()}</td>
+   </tr>
   {/if}
 
-<tr id="Submit">
+<tr id="add_comment_submit">
  <td colspan="2">
   <input id="Add" type="submit" value="{$locale->pr("comment_send")}" name="Add" />
  <input type="hidden" name="op" value="AddComment" />



More information about the pLog-svn mailing list