diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2019-01-14 19:24:19 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2019-01-14 19:24:19 +0100 |
commit | 8130427ec508f1d66553b52052c840c311081061 (patch) | |
tree | 23bab28db0f649618aa6bea024dcee84a9a25308 /app/view/templates/connect.php | |
parent | eb30a63c819ca50ebbc896eb293a0745dcd043be (diff) | |
download | wcms-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.php | 4 |
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> |