Dotclear


Ignore:
Timestamp:
06/23/11 13:00:59 (14 years ago)
Author:
Dsls <dsls@…>
Branch:
default
Message:
  • Re-enabled blank post_type required by media.php in class dcBlog
  • Attachments are now handled by a plugins/attachments/_admin.php
  • Added core dcPostMedia multi-purpose class, and 'link_type' in post_media table
  • Added new behavior : tplIfConditions, to enable to add new attributes to tpl:XXXIf tags
  • Moved tpl:SysIf has_tag attribute to Tags plugin
File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/dbschema/db-schema.php

    r270 r407  
    152152     ->media_id     ('bigint',     0,   false) 
    153153     ->post_id      ('bigint',     0,   false) 
    154       
    155      ->primary('pk_post_media','media_id','post_id') 
     154     ->link_type         ('varchar',    32,  false,    "'attachment'") 
     155      
     156     ->primary('pk_post_media','media_id','post_id','link_type') 
    156157     ; 
    157158 
     
    235236$_s->media->index        ('idx_media_user_id',              'btree',  'user_id'); 
    236237$_s->post_media->index   ('idx_post_media_post_id',         'btree',  'post_id'); 
     238$_s->post_media->index   ('idx_post_media_media_id',        'btree',  'media_id'); 
    237239$_s->log->index          ('idx_log_user_id',                'btree',  'user_id'); 
    238240$_s->comment->index      ('idx_comment_post_id',            'btree',  'post_id'); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map