| Revision 464:e6b2db1d228a,
            635 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 ----------------------------------------- | 
|---|
| 12 | if (!defined('DC_RC_PATH')) { return; } | 
|---|
| 13 |  | 
|---|
| 14 | $this->registerModule( | 
|---|
| 15 |      /* Name */               "Import / Export", | 
|---|
| 16 |      /* Description*/         "Import and Export your blog", | 
|---|
| 17 |      /* Author */             "Olivier Meunier", | 
|---|
| 18 |      /* Version */            '2.4', | 
|---|
| 19 |      array( | 
|---|
| 20 |           'permissions' => 'admin', | 
|---|
| 21 |           'priority' => 10 | 
|---|
| 22 |      ) | 
|---|
| 23 | ); | 
|---|
| 24 | ?> | 
|---|
       
      Note: See 
TracBrowser
        for help on using the repository browser.