X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=plugins%2Fpmwiki.platalAuth.php;h=94c7db05da882fc4ff70a5e6ec16d1bd27129de6;hb=251b9351fd9dedd7e0772a51537ce64ed9dfa4f7;hp=cbff96a4504dc4b76473027dad7dd197c1b85010;hpb=2907d4014c8e6c437e0d9252b6a65dbaedf53212;p=platal.git diff --git a/plugins/pmwiki.platalAuth.php b/plugins/pmwiki.platalAuth.php index cbff96a..94c7db0 100644 --- a/plugins/pmwiki.platalAuth.php +++ b/plugins/pmwiki.platalAuth.php @@ -2,18 +2,16 @@ $AuthFunction = 'AuthPlatal'; -$Conditions['logged'] = logged(); -$Conditions['identified'] = identified(); -$Conditions['has_perms'] = has_perms(); +$Conditions['logged'] = S::logged(); +$Conditions['identified'] = S::identified(); +$Conditions['has_perms'] = S::has_perms(); $Conditions['public'] = 'true'; -$Conditions['only_public'] = !identified(); -$HandleAuth['diff'] = 'edit'; -$HandleAuth['source'] = 'edit'; +$HandleAuth['diff'] = 'edit'; +$HandleAuth['source'] = 'edit'; -$InputTags['e_textarea'][':html'] = - "