Dotclear

source: plugins/attachments/_define.php @ 407:eb5bd0f66932

Revision 407:eb5bd0f66932, 609 bytes checked in by Dsls <dsls@…>, 14 years ago (diff)
  • 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
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 -----------------------------------------
12if (!defined('DC_RC_PATH')) { return; }
13
14$this->registerModule(
15     /* Name */          "attachments",
16     /* Description*/    "Manage post attachments",
17     /* Author */        "Dotclear Team",
18     /* Version */       '1.0',
19     /* Permissions */   'contentadmin,pages',
20     999
21);
22?>
Note: See TracBrowser for help on using the repository browser.

Sites map