You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

74 lines
2.4 KiB

<h1>{$page->title}</h1>
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
<table class="input">
<tr>
<td><label for="title">Title:</label></td>
<td>
<input type="hidden" name="id" value="{$content->id}" />
<input id="title" class="long" name="title" type="text" value="{$content->title}" />
</td>
</tr>
<tr>
<td><label for="url">Url:</label></td>
<td>
<input id="url" class="long" name="url" type="text" value="{$content->url}" />
</td>
</tr>
<tr>
<td><label for="body">Body:</label></td>
<td>
<textarea id="body" name="body">{$content->body}</textarea>
</td>
</tr>
<tr>
<td><label for="metadescription">Meta Description:</label></td>
<td>
<textarea id="metadescription" name="metadescription">{$content->metadescription}</textarea>
</td>
</tr>
<tr>
<td><label for="metakeywords">Meta Keywords:</label></td>
<td>
<textarea id="metakeywords" name="metakeywords">{$content->metakeywords}</textarea>
</td>
</tr>
<tr>
<td><label for="contenttype">Content Type:</label></td>
<td>
{html_options id="contenttype" name='contenttype' options=$contenttypelist selected=$content->contenttype}
</td>
</tr>
<tr>
<td><label for="role">Visible To:</label></td>
<td>
{html_options id="role" name='role' options=$rolelist selected=$content->role}
<div class="hint">Only appropriate for articles and useful links</div>
</td>
</tr>
<tr>
<td><label for="showinmenu">Show In Menu:</label></td>
<td>
{html_radios id="showinmenu" name='showinmenu' values=$yesno_ids output=$yesno_names selected=$content->showinmenu separator='<br />'}
</td>
</tr>
<tr>
<td><label for="status">Status:</label></td>
<td>
{html_radios id="status" name='status' values=$status_ids output=$status_names selected=$content->status separator='<br />'}
</td>
</tr>
<tr>
<td><label for="ordinal">Ordinal:</label></td>
<td>
<input id="ordinal" name="ordinal" type="text" value="{$content->ordinal}" />
<div class="hint">If you set the ordinal = 1, then a all ordinals greater than 0 will be renumbered. This allows new content to be at the top without having to renumber all previous content.<br />If you set ordinal = 0, it will be at the top, sorted by ID(order added)</div>
</td>
</tr>
<tr>
<td></td>
<td>
<input type="submit" value="Save" />
</td>
</tr>
</table>
</form>