update form for creating Quests and add various data import helpers
This commit is contained in:
parent
527717ce9e
commit
8377ca9868
6 changed files with 242 additions and 4 deletions
19
views/html/quests/createmedia.tpl
Normal file
19
views/html/quests/createmedia.tpl
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?php if(!is_null($seminary['seminarymedia_id'])) : ?>
|
||||
<div class="moodpic">
|
||||
<img src="<?=$linker->link(array('media','seminaryheader',$seminary['url']))?>" />
|
||||
</div>
|
||||
<?php endif ?>
|
||||
<h1><a href="<?=$linker->link(array('seminaries',$seminary['url']))?>"><?=$seminary['title']?></a></h1>
|
||||
<h2>Create Questsmedia</h2>
|
||||
|
||||
<?php if(!is_null($mediaid)) :?>
|
||||
<p>New mediaId: <?=var_dump($mediaid)?></p>
|
||||
<?php endif ?>
|
||||
<?php if(!empty($error)) :?>
|
||||
<p>Error: <?=$error?></p>
|
||||
<?php endif ?>
|
||||
<form method="post" enctype="multipart/form-data">
|
||||
<input type="text" name="description" placeholder="Description" /><br />
|
||||
<input type="file" name="file" required="required" /><br />
|
||||
<input type="submit" name="submit" value="create" />
|
||||
</form>
|
||||
Loading…
Add table
Add a link
Reference in a new issue