projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nb de tels variables par adresse, wish 400
[platal.git]
/
plugins
/
pmwiki.platalAuth.php
diff --git
a/plugins/pmwiki.platalAuth.php
b/plugins/pmwiki.platalAuth.php
index
cbff96a
..
d674b36
100644
(file)
--- 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";
$panel .= ">><<\n";
$panel .= "{/if}\n";
- if ((
(identif
ed() && has_perms()) || authPerms($pagename, $passwds[$level]))
+ if ((
identifi
ed() && has_perms()) || authPerms($pagename, $passwds[$level]))
{
$page_read['=passwd'] = $passwds;
$page_read['=pwsource'] = $pwsources;
{
$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())
{
// maybe it is because he is not identified
if ($authprompt && !identified())
{
- new_
skinned_page('wiki.tpl', AUTH_MDP
);
+ new_
identification_page(
);
}
global $page;
}
global $page;
- new_
skinned_page('', AUTH_MDP);
+ new_
identification_page();
if (has_perms()) {
$page->trig('Erreur : page Wiki inutilisable sur plat/al');
} else {
if (has_perms()) {
$page->trig('Erreur : page Wiki inutilisable sur plat/al');
} else {