Dotclear


Ignore:
Timestamp:
07/01/11 09:20:53 (14 years ago)
Author:
Dsls <dsls@…>
Branch:
default
Message:
  • New way of registering modules/themes, more extensible (backward compatible with previous method)
  • small fix on attachments plugin template tags

Closes #1223.

Location:
plugins/attachments
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/attachments/_define.php

    r407 r464  
    1717     /* Author */        "Dotclear Team", 
    1818     /* Version */       '1.0', 
    19      /* Permissions */   'contentadmin,pages', 
    20      999 
     19     array( 
     20          'permissions' =>    'contentadmin,pages', 
     21          'priority' =>       999 
     22     ) 
    2123); 
    2224?> 
  • plugins/attachments/_public.php

    r415 r464  
    195195     } 
    196196      
    197      public function MediaURL($attr) 
     197     public static function MediaURL($attr) 
    198198     { 
    199199          $f = $GLOBALS['core']->tpl->getFilters($attr); 
     
    209209     > 
    210210     */ 
    211      public function EntryAttachmentCount($attr) 
     211     public static function EntryAttachmentCount($attr) 
    212212     { 
    213213          $none = 'no attachment'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map