aboutsummaryrefslogtreecommitdiff
path: root/app/view/templates/connect.php
diff options
context:
space:
mode:
authorvincent-peugnet <v.peugnet@free.fr>2018-11-12 13:55:40 +0100
committervincent-peugnet <v.peugnet@free.fr>2018-11-12 13:55:40 +0100
commite4768cd0647d934eff424f73bfd9f5c8f6223c94 (patch)
treeb36029a8152d79108e0dd57aacd73f80b7232b33 /app/view/templates/connect.php
parent0f44c6d918a2932b68019c02de5bc55e7057600a (diff)
downloadwcms-e4768cd0647d934eff424f73bfd9f5c8f6223c94.tar.gz
wcms-e4768cd0647d934eff424f73bfd9f5c8f6223c94.zip
link+log
Diffstat (limited to 'app/view/templates/connect.php')
-rw-r--r--app/view/templates/connect.php8
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>