aboutsummaryrefslogtreecommitdiff
path: root/w/view/templates/edittopbar.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-11-02 02:03:52 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-11-02 02:03:52 +0100
commit85824de70ded75c98bd50220160e2171fdc8df41 (patch)
tree11480f65ff97ddbb3ea4806ff1f313628ced15a0 /w/view/templates/edittopbar.php
parent36ef34af2abcdea63a73b578208f20ca40b52f49 (diff)
downloadwcms-85824de70ded75c98bd50220160e2171fdc8df41.tar.gz
wcms-85824de70ded75c98bd50220160e2171fdc8df41.zip
render working and url auto link
Diffstat (limited to 'w/view/templates/edittopbar.php')
-rw-r--r--w/view/templates/edittopbar.php15
1 files changed, 13 insertions, 2 deletions
diff --git a/w/view/templates/edittopbar.php b/w/view/templates/edittopbar.php
index ffd1c0f..9973335 100644
--- a/w/view/templates/edittopbar.php
+++ b/w/view/templates/edittopbar.php
@@ -1,12 +1,23 @@
<div id="submit">
<!-- <input type="submit" name="action" value="home" accesskey="w" onclick="document.getElementById('artedit').submit();" form="artedit"> -->
- <input type="submit" name="action" value="update" accesskey="x" onclick="document.getElementById('artedit').submit();" form="artedit">
+ <input type="submit" name="action" value="update" accesskey="x" form="update">
<!-- <input type="submit" name="action" value="display" accesskey="c" onclick="document.getElementById('artedit').submit();" form="artedit"> -->
- <!-- <input type="submit" name="action" value="delete" onclick="confirmSubmit(event, 'Delete this article', 'artedit')" form="artedit"> -->
+
+
+
+ <form id="delete" action="./" method="get">
+ <input type="hidden" name="id" value="<?= $art->id() ?>">
+ <input type="submit" name="action" value="delete" form="delete">
+ </form>
+
+
<a href="?id=<?= $art->id() ?>" target="_blank">👁</a>
<a href="?id=<?= $art->id() ?>&aff=log" target="_blank">¶</a>
<span id="headid"><?= $art->id() ?></span>
+
+ <form action="?id=<?= $art->id() ?>&action=update" method="post" id="update">
+
<label for="fontsize">Font-size</label>
<input type="number" name="fontsize" value="<?= Config::fontsize() ?>" id="fontsize">
</div> \ No newline at end of file