added news

This commit is contained in:
Tóth Richárd
2019-07-30 13:38:51 +02:00
parent 0e414de243
commit 27522d0053
16 changed files with 610 additions and 147 deletions

View File

@@ -0,0 +1,27 @@
<div class="form_wrapper">
<form method="post">
<input type="hidden" name="action" value="news_create">
<div>
<label for="n_title">Cím:</label>
<div><input type="text" name="n_title" id="n_title"></div>
</div>
<div>
<label for="n_date">Dátum:</label>
<div><input type="text" name="n_date" id="n_date" value='{$smarty.now|date_format:"%Y-%m-%d %H:%M"}' required></div>
</div>
<div>
<label for="n_text">Szöveg:</label>
<div><textarea type="text" name="n_text" id="n_text"></textarea></div>
</div>
<div>
<div>
<input class="button black" type="submit" value="Létrehozás">
</div>
</div>
</form>
</div>
<script type="text/javascript">
CKEDITOR.replace('n_text');
</script>