mirror of
https://github.com/Frumph/comic-easel.git
synced 2026-07-19 13:29:13 -04:00
cdf8070f77
Need to discuss. Signed-off-by: Philip M. Hofer (Frumph) <frumph_dragon@yahoo.com>
46 lines
1.6 KiB
PHP
46 lines
1.6 KiB
PHP
<div class="wrap">
|
|
<h2><?php _e('Comic Easel - Upload','comiceasel'); ?></h2>
|
|
<form name="comicuploaderform">
|
|
<table class="widefat">
|
|
<thead>
|
|
<tr>
|
|
<th colspan="3"><?php _e('Comic Upload','comiceasel'); ?></th>
|
|
</tr>
|
|
</thead>
|
|
<tr><td>Post Title <span style="color: #f00;font-size: 11px;">(Required)</span>:</td><td><input size="80" type="text" name="title" value="New Comic"></td></tr>
|
|
<tr><td colspan="3"><?php $content=''; the_editor($content, 'Content'); ?></td></tr>
|
|
<tr>
|
|
<td>Publish Date <span style="color: #f00;font-size: 11px;">(Required)</span>:</td>
|
|
<td><input type="text" id="override-date" name="override-date" value="yyyy-mm-dd"><br /><span class="infotext">Click inside box to open calendar.</span></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Time:</td>
|
|
<td><input type="text" id="override-time" name="override-time" value="00:01"><br /><span class="infotext">One second after midnight.</span></td>
|
|
</tr>
|
|
|
|
|
|
<tr><td>Tags:</td><td><input type="text" name="tags" value=" "></td></tr>
|
|
<tr><td>Chapter:</td><td><?php wp_dropdown_categories('taxonomy=chapters&hide_empty=0&orderby=slug'); ?></td></tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<p>To upload a file, click on the button below. Selecting a file will use teh from data above to automaticly generate the comic post for the selected file.</p>
|
|
|
|
<div id="file-uploader-demo1">
|
|
<noscript>
|
|
<p>Please enable JavaScript to use file uploader.</p>
|
|
<!-- or put a simple form for upload here -->
|
|
</noscript>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<script type="text/javascript">
|
|
Calendar.setup({
|
|
inputField: "override-date",
|
|
ifFormat: "%Y-%m-%d",
|
|
button: "override-date"
|
|
});
|
|
</script>
|
|
</form>
|
|
</div>
|