From a6ed9229258c48e6f54bd3f463f029fdbe56080f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Barrois?= Date: Sat, 26 Mar 2011 09:56:06 +0100 Subject: [PATCH] Update dotclear plugin to properly display auth link on the public page. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- _public.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_public.php b/_public.php index c67db8b..adc2d8b 100644 --- a/_public.php +++ b/_public.php @@ -10,6 +10,10 @@ require_once dirname(__FILE__) . '/page.webservice.php'; /* Xorg auth */ $core->url->register('xorgAuth', 'XorgAuth', '^auth/(.*)$', array('xorgAuthentifier', 'doAuth')); +/* Declare the authentication widget on public page */ +$core->addBehavior('initWidgets', array('xorgAuthWidget', 'behavior_initWidgets')); +$core->addBehavior('initWidgets', array('xorgCopyrightWidget', 'behavior_initWidgets')); + /* Post permission handling */ $core->addBehavior('coreBlogGetPosts', array('xorgPostPermsWidget', 'behavior_coreBlogGetPosts')); -- 2.1.4