php-mpos/public/templates/mpos/admin/news_edit/default.tpl
Sebastian Grewe 02c9be54ed [MAJOR] Changing project name to MPOS
* Adjusted mmcfe-ng occurences in code
* Adjusted Database strucutre to only supply the full structure
* Adjusted default template to MPOS

Addresses #643
2013-10-07 10:10:49 +02:00

33 lines
1.2 KiB
Smarty

<article class="module width_full">
<header><h3>Edit news entry #{$NEWS.id}</h3></header>
<form method="POST" action="{$smarty.server.PHP_SELF}">
<input type="hidden" name="page" value="{$smarty.request.page}">
<input type="hidden" name="action" value="{$smarty.request.action}">
<input type="hidden" name="id" value="{$NEWS.id}">
<input type="hidden" name="do" value="save">
<table class="tablesorter" cellspacing="0">
<tr>
<th>Active</th>
<td>
<input type="hidden" name="active" value="0" />
<input type="checkbox" name="active" value="1" id="active" {nocache}{if $NEWS.active}checked{/if}{/nocache} />
<label for="active"></label>
</td>
</tr>
<tr>
<th>Header</th>
<td><input name="header" type="text" size="30" value="{nocache}{$NEWS.header}{/nocache}" required /></td>
</tr>
<tr>
<th>Content</th>
<td><textarea name="content" rows="15" cols="150" type="text" required>{nocache}{$NEWS.content}{/nocache}</textarea></td>
</tr>
</table>
<footer>
<div class="submit_link">
<input type="submit" value="Save" class="alt_btn">
</div>
</footer>
</form>
</article>