diff options
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> |