Dotclear

source: plugins/widgets/_define.php @ 464:e6b2db1d228a

Revision 464:e6b2db1d228a, 637 bytes checked in by Dsls <dsls@…>, 14 years ago (diff)
  • New way of registering modules/themes, more extensible (backward compatible with previous method)
  • small fix on attachments plugin template tags

Closes #1223.

Line 
1<?php
2# -- BEGIN LICENSE BLOCK ---------------------------------------
3#
4# This file is part of Dotclear 2.
5#
6# Copyright (c) 2003-2011 Olivier Meunier & Association Dotclear
7# Licensed under the GPL version 2.0 license.
8# See LICENSE file or
9# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
10#
11# -- END LICENSE BLOCK -----------------------------------------
12if (!defined('DC_RC_PATH')) { return; }
13
14$this->registerModule(
15     /* Name */               "Widgets",
16     /* Description*/         "Widgets for your blog sidebars",
17     /* Author */             "Olivier Meunier",
18     /* Version */            '2',
19     array(
20          'permissions' =>    'admin',
21          'priority' =>       1000000000
22     )
23);
24?>
Note: See TracBrowser for help on using the repository browser.

Sites map