| Revision 464:e6b2db1d228a,
604 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.
|
| Rev | Line | |
|---|
| [0] | 1 | <?php |
|---|
| 2 | # -- BEGIN LICENSE BLOCK --------------------------------------- |
|---|
| 3 | # |
|---|
| 4 | # This file is part of Dotclear 2. |
|---|
| 5 | # |
|---|
| [270] | 6 | # Copyright (c) 2003-2011 Olivier Meunier & Association Dotclear |
|---|
| [0] | 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 ----------------------------------------- |
|---|
| 12 | if (!defined('DC_RC_PATH')) { return; } |
|---|
| 13 | |
|---|
| 14 | $this->registerModule( |
|---|
| 15 | /* Name */ "Pings", |
|---|
| 16 | /* Description*/ "Ping services", |
|---|
| 17 | /* Author */ "Olivier Meunier", |
|---|
| 18 | /* Version */ '1.1', |
|---|
| [464] | 19 | array( |
|---|
| 20 | 'permissions' => 'usage,contentadmin' |
|---|
| 21 | ) |
|---|
| [0] | 22 | ); |
|---|
| 23 | ?> |
|---|
Note: See
TracBrowser
for help on using the repository browser.