add additional pages and handle introduction page as ?system? page
This commit is contained in:
parent
3e214635e6
commit
ae9b69b68c
15 changed files with 812 additions and 44 deletions
18
views/html/introduction/edit.tpl
Normal file
18
views/html/introduction/edit.tpl
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<div class="moodpic">
|
||||
<img src="<?=$linker->link(array('grafics','questlab.jpg'))?>" />
|
||||
</div>
|
||||
|
||||
<h1><?=\nre\configs\AppConfig::$app['name']?></h1>
|
||||
<form method="post">
|
||||
<fieldset>
|
||||
<legend><?=_('Introduction text')?></legend>
|
||||
<textarea id="text" name="text" placeholder="<?=_('Please enter an introduction text')?>"><?=$text?></textarea>
|
||||
</fieldset>
|
||||
<input type="submit" name="edit" value="<?=_('save')?>" />
|
||||
<input type="submit" name="cancel" value="<?=_('cancel')?>" />
|
||||
</form>
|
||||
<script>
|
||||
$(function() {
|
||||
$("#text").markItUp(mySettings);
|
||||
});
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue