Dotclear

source: plugins/rateIt/_prepend.php @ 1865

Revision 1865, 1.3 KB checked in by JcDenis, 13 years ago (diff)

rateIt 0.9.7:

  • Added entryFirstImage to wigdet
  • Fixed bug with date sorting on widget
  • Fixed bug with plugin ativityReport
  • Removed about tabs and fixed typo
Line 
1<?php
2# -- BEGIN LICENSE BLOCK ----------------------------------
3# This file is part of rateIt, a plugin for Dotclear 2.
4#
5# Copyright (c) 2009 JC Denis and contributors
6# jcdenis@gdwd.com
7#
8# Licensed under the GPL version 2.0 license.
9# A copy of this license is available in LICENSE file or at
10# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11# -- END LICENSE BLOCK ------------------------------------
12
13if (!defined('DC_RC_PATH')){return;}
14
15global $__autoload, $core;
16
17# Class
18$__autoload['rateIt'] = dirname(__FILE__).'/inc/class.rateit.php';
19$__autoload['rateItRest'] = dirname(__FILE__).'/inc/class.rateit.rest.php';
20
21# Public urls
22$core->url->register('rateItmodule',
23     'rateit','^rateit/(.+)$',array('urlRateIt','files'));
24$core->url->register('rateItpostform',
25     'rateitpost','^rateitpost/(.+)$',array('urlRateIt','postform'));
26$core->url->register('rateItservice',
27     'rateitservice','^rateitservice/$',array('urlRateIt','service'));
28
29# Generic class (Used on several plugins)
30if (!is_callable(array('libImagePath','getArray')))
31     require dirname(__FILE__).'/inc/lib.image.path.php';
32
33# Add rateIt report on plugin activityReport
34if (defined('ACTIVITY_REPORT'))
35{
36     require_once dirname(__FILE__).'/inc/lib.rateit.activityreport.php';
37}
38?>
Note: See TracBrowser for help on using the repository browser.

Sites map