This repository was archived by the owner on Jan 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path_public.php
More file actions
28 lines (23 loc) · 1.36 KB
/
_public.php
File metadata and controls
28 lines (23 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
# -- BEGIN LICENSE BLOCK ----------------------------------
# This file is part of comListe, a plugin for Dotclear.
#
# Copyright (c) 2008-2015 Benoit de Marne
# benoit.de.marne@gmail.com
#
# Licensed under the GPL version 2.0 license.
# A copy of this license is available in LICENSE file or at
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# -- END LICENSE BLOCK ------------------------------------
if (!defined('DC_RC_PATH')) { return; }
l10n::set(dirname(__FILE__).'/locales/'.$_lang.'/public');
require_once dirname(__FILE__).'/inc/class.dc.comListe.php';
$core->url->register('comListe','comListe','^comListe(?:/(.+))?$',array('urlcomListe','comListe'));
$core->tpl->addValue('ComListeURL',array('tplComListe','comListeURL'));
$core->tpl->addValue('ComListePageTitle',array('tplComListe','comListePageTitle'));
$core->tpl->addValue('ComListeNbComments',array('tplComListe','comListeNbComments'));
$core->tpl->addValue('ComListeNbCommentsPerPage',array('tplComListe','comListeNbCommentsPerPage'));
$core->tpl->addBlock('ComListeCommentsEntries',array('tplComListe','comListeCommentsEntries'));
$core->tpl->addValue('ComListePaginationLinks',array('tplComListe','comListePaginationLinks'));
$core->tpl->addValue('ComListeOpenPostTitle',array('tplComListe','comListeOpenPostTitle'));
$core->addBehavior('publicBreadcrumb',array('extComListe','publicBreadcrumb'));