X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=plugins%2Fpmwiki.platalAuth.php;h=d674b36ab88a569220564bdb56a0eed8003d5735;hb=b62f88580b5d5a12e804094ddc46033b62a8dbff;hp=cbff96a4504dc4b76473027dad7dd197c1b85010;hpb=2907d4014c8e6c437e0d9252b6a65dbaedf53212;p=platal.git diff --git a/plugins/pmwiki.platalAuth.php b/plugins/pmwiki.platalAuth.php index cbff96a..d674b36 100644 --- a/plugins/pmwiki.platalAuth.php +++ b/plugins/pmwiki.platalAuth.php @@ -141,7 +141,7 @@ function AuthPlatal($pagename, $level, $authprompt, $since) $panel .= ">><<\n"; $panel .= "{/if}\n"; - if (((identifed() && has_perms()) || authPerms($pagename, $passwds[$level])) + if ((identified() && has_perms()) || authPerms($pagename, $passwds[$level])) { $page_read['=passwd'] = $passwds; $page_read['=pwsource'] = $pwsources; @@ -160,11 +160,11 @@ function AuthPlatal($pagename, $level, $authprompt, $since) // maybe it is because he is not identified if ($authprompt && !identified()) { - new_skinned_page('wiki.tpl', AUTH_MDP); + new_identification_page(); } global $page; - new_skinned_page('', AUTH_MDP); + new_identification_page(); if (has_perms()) { $page->trig('Erreur : page Wiki inutilisable sur plat/al'); } else {