| Revision 464:e6b2db1d228a,
            645 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 */               "Akismet", | 
|---|
|  | 16 | /* Description*/         "Akismet interface for Dotclear", | 
|---|
|  | 17 | /* Author */             "Olivier Meunier", | 
|---|
|  | 18 | /* Version */            '1.1', | 
|---|
| [464] | 19 | array( | 
|---|
|  | 20 | 'permissions' =>    'usage,contentadmin', | 
|---|
|  | 21 | 'priority' =>       200 | 
|---|
|  | 22 | ) | 
|---|
| [0] | 23 | ); | 
|---|
|  | 24 | ?> | 
|---|
       
      Note: See 
TracBrowser
        for help on using the repository browser.