aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/connect.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2019-01-14 19:24:19 +0100
committervincent-peugnet <v.peugnet@free.fr>2019-01-14 19:24:19 +0100
commit8130427ec508f1d66553b52052c840c311081061 (patch)
tree23bab28db0f649618aa6bea024dcee84a9a25308 /app/view/templates/connect.php
parenteb30a63c819ca50ebbc896eb293a0745dcd043be (diff)
downloadwcms-8130427ec508f1d66553b52052c840c311081061.tar.gz
wcms-8130427ec508f1d66553b52052c840c311081061.zip
fix save art out of session
Diffstat (limited to 'app/view/templates/connect.php')
-rw-r--r--app/view/templates/connect.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/view/templates/connect.php b/app/view/templates/connect.php
index 06fe9c8..5d7ee5c 100644
--- a/app/view/templates/connect.php
+++ b/app/view/templates/connect.php
@@ -11,7 +11,11 @@
<?php if($user->isvisitor()) { ?>
+<?= $route === 'artedit' ? '<p>Your edits have been temporary saved. You need to connect and update to store it completly</p>' : '' ?>
+
<form action="<?= $this->url('log') ?>" method="post">
+<input type="hidden" name="route" value="<?= $route ?>">
+<input type="hidden" name="id" value="<?= $id ?>">
<input type="password" name="pass" id="loginpass" placeholder="password">
<input name="log" type="submit" value="login">
</form>