]> git.bts.cx Git - cx.git/blob - cx/templates/admin/image.php
Basic draft support
[cx.git] / cx / templates / admin / image.php
1 <?php cx_template_base('base'); ?>
2
3 <form action="<?= cx_url_admin('/images/update?id=' . $image_id); ?>" method="post" enctype="multipart/form-data">
4
5 <p>alt-text: <input name="image_alt_text" type="text" value="<?= $image_alt_text ?>"></p>
6
7 <?php if ($image_id == 0): ?>
8 <p>file: <input name="image_file" type="file"></p>
9 <?php else: ?>
10 <p></p>
11 <?php endif; ?>
12
13 <p><input type="submit" value="update"></p>
14 </form>