1 <form action="{$action}" method="post" id="edit">
2 <fieldset style="width:70%;float:left">
3 <legend>Message</legend>
4 <input name="i" type="hidden" value="{$post.post_id}" />
5 <input name="t" id='t' type="text" value="{$post.post_title}" maxlength="254" /><label>Title</label><br/>
6 <textarea name="x" id="x" rows="10" cols="10">{$post.post_body}</textarea><br/>
7 <button type="submit" style="padding:0.2em 2em;margin-top:1em">Save and continue editing</button>
10 <legend>Categories</legend>
11 <select multiple="multiple" size="6" id ="c" name="c[]">
12 {foreach from=$categories item=category}
13 <option value="{$category.category_id}" class="c{cycle values="1,2"}" {if $category.category_active eq true}selected="selected"{/if}>{$category.category_name}</option>
14 {foreachelse}<option value="0">Default</option>{/foreach}
19 <iframe src="{$upload_url}" frameborder="0" style="width:100%; height:40ex"></iframe>