Location: PHPKode > projects > Cadence Guestbook Host > cadence/templates/system/admin/edit.tpl
{* Smarty *}

{* Edit Post *}

<form action="index.php?book={$book}&amp;act=admin&amp;acpact=posts&amp;do=edit&id={$post_id}" method="post">
<input type="hidden" name="id" value="{$post_id}" />
 <div style='background-color:#eee;'>
  <table style='border:0px' width='100%'>
   <tr>
    <th colspan="2" align="center">
	 Editing Post by {$post_author} made on {$post_date}
	</th>
   </tr>
   <tr>
	<td style='border:0px; background-color:#fff; text-align:right;' width='50%'>
	 Post Author:
	</td>
	<td style='border:0px; background-color:#fff;' width='50%'>
	 <input type="text" name="author" value="{$post_author}" />
	</td>
   </tr>
   <tr>
	<td style='border:0px; background-color:#fff; text-align:center;' colspan="2" width='100%'>
	 Post Content:<br />
	 <textarea cols="50" rows="5" name="content">{$post_content}</textarea>
	</td>
   </tr>
   <tr>
    <td style='border:0px; background-color:#fff; text-align:center; margin:auto' colspan="2" width='100%'>
    <div style="margin:auto; text-align:center;"><center><input type="submit" name="submit" value="Submit" /></center></div>
    </td>
   </tr>
  </table>
 </div>
</form>
Return current item: Cadence Guestbook Host