diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-11-12 13:55:40 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-11-12 13:55:40 +0100 |
commit | e4768cd0647d934eff424f73bfd9f5c8f6223c94 (patch) | |
tree | b36029a8152d79108e0dd57aacd73f80b7232b33 /app/view/templates/connect.php | |
parent | 0f44c6d918a2932b68019c02de5bc55e7057600a (diff) | |
download | wcms-e4768cd0647d934eff424f73bfd9f5c8f6223c94.tar.gz wcms-e4768cd0647d934eff424f73bfd9f5c8f6223c94.zip |
link+log
Diffstat (limited to 'app/view/templates/connect.php')
-rw-r--r-- | app/view/templates/connect.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/view/templates/connect.php b/app/view/templates/connect.php index a4d58e7..06fe9c8 100644 --- a/app/view/templates/connect.php +++ b/app/view/templates/connect.php @@ -11,16 +11,16 @@ <?php if($user->isvisitor()) { ?> -<form action="./?action=login" method="post"> +<form action="<?= $this->url('log') ?>" method="post"> <input type="password" name="pass" id="loginpass" placeholder="password"> -<input type="submit" value="login"> +<input name="log" type="submit" value="login"> </form> <?php } else { ?> -<form action="./?action=logout" method="post"> -<input type="submit" value="logout"> +<form action="<?= $this->url('log') ?>" method="post"> +<input name="log" type="submit" value="logout"> </form> |