aboutsummaryrefslogtreecommitdiff
path: root/w/view/templates/editsidebar.php
diff options
context:
space:
mode:
Diffstat (limited to 'w/view/templates/editsidebar.php')
-rw-r--r--w/view/templates/editsidebar.php40
1 files changed, 40 insertions, 0 deletions
diff --git a/w/view/templates/editsidebar.php b/w/view/templates/editsidebar.php
new file mode 100644
index 0000000..99612dd
--- /dev/null
+++ b/w/view/templates/editsidebar.php
@@ -0,0 +1,40 @@
+<div class="sidebar">
+ <details id="editinfo" open>
+ <summary>Infos</summary>
+ <fieldset>
+ <label for="title">title :</label>
+ <input type="text" name="title" id="title" value="<?= $art->title(); ?>">
+ <label for="description">Description :</label>
+ <input type="text" name="description" id="description" value="<?= $art->description(); ?>">
+ <label for="tag">Tag(s) :</label>
+ <input type="text" name="tag" id="tag" value="<?= $art->tag('string'); ?>">
+ <label for="secure">Privacy level :</label>
+ <select name="secure" id="secure">
+ <option value="0" <?= $art->secure() == 0 ? 'selected' : '' ?>>0</option>
+ <option value="1" <?= $art->secure() == 1 ? 'selected' : '' ?>>1</option>
+ <option value="2" <?= $art->secure() == 2 ? 'selected' : '' ?>>2</option>
+ <option value="3" <?= $art->secure() == 3 ? 'selected' : '' ?>>3</option>
+ </select>
+ </fieldset>
+ </details>
+ <details>
+ <summary>Advanced</summary>
+ <fieldset>
+ <h3>Template options</h3>
+ <p>NOT WORKING</p>
+ </fieldset>
+ </details>
+ <details id="editcss" open>
+ <summary>Quick CSS</summary>
+
+ </details>
+ <details>
+ <summary>Help</summary>
+ <div id="help">
+ <?php $this->insert('edithelp') ?>
+
+ </div>
+ </details>
+
+
+</div> \ No newline at end of file