I wonder what am I doing wrong, must be something really stupid but I can't notice it.
I want to place the Name field and the Comment field on a different <tr> so they are below the other but it's not happening and the theme doesn't refresh as I make the change.
My site: greatmusclebodies.com
My edited part of the theme:
/******************************************************************************
** Section <<<$template_add_your_comment>>> - START
******************************************************************************/
$template_add_your_comment = <<<EOT
<form method="post" name="post" id="post" onsubmit="return notDefaultUsername(this, '{DEFAULT_USERNAME}', '{DEFAULT_USERNAME_MESSAGE}');" action="db_input.php">
<table align="center" width="{WIDTH}" cellspacing="1" cellpadding="0" class="maintable">
<tr>
<td width="100%" class="tableh2">{ADD_YOUR_COMMENT}{HELP_ICON}</td>
</tr>
<tr>
<td colspan="1">
<table width="100%" cellpadding="0" cellspacing="0">
<!-- BEGIN user_name_input -->
<tr>
<td class="tableb tableb_alternate">
{NAME}
</td>
<td class="tableb tableb_alternate">
<input type="text" class="textinput" name="msg_author" size="10" maxlength="20" value="{USER_NAME}" onclick="if (this.value == '{DEFAULT_USERNAME}') this.value = '';" onkeyup="if (this.value == '{DEFAULT_USERNAME}') this.value = '';" />
</td>
</tr>
<!-- END user_name_input -->
<!-- BEGIN input_box_smilies -->
<tr>
<td class="tableb tableb_alternate">
{COMMENT}
</td>
<td width="100%" class="tableb tableb_alternate">
<input type="text" class="textinput" id="message" name="msg_body" onselect="storeCaret_post(this);" onclick="storeCaret_post(this);" onkeyup="storeCaret_post(this);" maxlength="{MAX_COM_LENGTH}" style="width: 100%;" />
</td>
</tr>
<!-- END input_box_smilies -->
<!-- BEGIN input_box_no_smilies -->
<tr>
<td class="tableb tableb_alternate">
{COMMENT}
</td>
<td width="100%" class="tableb tableb_alternate">
<input type="text" class="textinput" id="message" name="msg_body" maxlength="{MAX_COM_LENGTH}" style="width: 100%;" />
</td>
</tr>
<!-- END input_box_no_smilies -->
<!-- BEGIN submit -->
<tr>
<td class="tableb tableb_alternate">
<input type="hidden" name="event" value="comment" />
<input type="hidden" name="pid" value="{PIC_ID}" />
<button type="submit" class="button" name="submit" value="{OK}">{OK_ICON}{OK}</button>
<input type="hidden" name="form_token" value="{FORM_TOKEN}" />
<input type="hidden" name="timestamp" value="{TIMESTAMP}" />
</td>
</tr>
<!-- END submit -->
<!-- BEGIN comment_captcha -->
<tr>
<td class="tableb tableb_alternate" colspan="3">
{CONFIRM}
</td>
<td class="tableb tableb_alternate" colspan="2">
<input type="text" name="confirmCode" size="5" maxlength="5" class="textinput" />
<img src="captcha.php" align="middle" border="0" alt="" />
</td>
</tr>
<!-- END comment_captcha -->
</table>
</td>
</tr>
<!-- BEGIN smilies -->
<tr>
<td width="100%" class="tableb tableb_alternate">
{SMILIES}
</td>
</tr>
<!-- END smilies -->
<!-- BEGIN login_to_comment -->
<tr>
<td class="tableb tableb_alternate" colspan="2">
{LOGIN_TO_COMMENT}
</td>
</tr>
<!-- END login_to_comment -->
</table>
</form>
EOT;
/******************************************************************************
** Section <<<$template_add_your_comment>>> - END
******************************************************************************/
Any ideas? It must be something from the template engine that overwrites my change perhaps.
The comments field is coming from the reCaptcha plugin.
Backup, and open for edit the file: plugins\recaptcha\codebase.php.
In there you will easily find what you want to change.
Thanks for the hint, Joe. :) I've edited the codebase.php from the recaptcha and it worked. Topic Solved.