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
  • admin/media.php

    r270 r407  
    6060$post_id = !empty($_GET['post_id']) ? (integer) $_GET['post_id'] : null; 
    6161if ($post_id) { 
    62      $post = $core->blog->getPosts(array('post_id'=>$post_id,'post_type'=>'')); 
     62     $post = $core->blog->getPosts(array('post_id'=>$post_id)); 
    6363     if ($post->isEmpty()) { 
    6464          $post_id = null; 
     
    6868     unset($post); 
    6969} 
    70  
    7170$d = isset($_REQUEST['d']) ? $_REQUEST['d'] : null; 
    7271$dir = null; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map