Integration of xorg Auth widget in nav-bar
[dotclear.git] / _public.php
1 <?php
2
3 require_once dirname(__FILE__) . '/page.auth.php';
4 require_once dirname(__FILE__) . '/widget.auth.php';
5 require_once dirname(__FILE__) . '/widget.post.perms.php';
6 require_once dirname(__FILE__) . '/class.xorg.auth.php';
7 require_once dirname(__FILE__) . '/page.webservice.php';
8
9 /* Xorg auth */
10 $core->url->register('xorgAuth', 'XorgAuth', '^auth/(.*)$', array('xorgAuthentifier', 'doAuth'));
11
12 /* Post permission handling */
13 $core->addBehavior('coreBlogGetPosts', array('xorgPostPermsWidget', 'behavior_coreBlogGetPosts'));
14
15 /* Webservice to create new blog */
16 $core->url->register('xorgWebservice', 'XorgWebservice', '^xorgservice/(.*)$', array('XorgWebservice', 'handle'));
17 ?>