OSDN Git Service

前回のコミットの補遺
[nucleus-jp/nucleus-next.git] / nucleus / plugins / medium / MediumActions.php
index 9422f18..f6febf0 100644 (file)
@@ -1,4 +1,30 @@
 <?php
+/*
+ * Nucleus: PHP/MySQL Weblog CMS (http://nucleuscms.org/)
+ * Copyright (C) 2002-2009 The Nucleus Group
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * (see nucleus/documentation/index.html#license for more info)
+ */
+/**
+ * Media popup window for Nucleus
+ *
+ * Purpose:
+ *   - can be openen from an add-item form or bookmarklet popup
+ *   - shows a list of recent files, allowing browsing, search and
+ *     upload of new files
+ *   - close the popup by selecting a file in the list. The file gets
+ *     passed through to the add-item form (linkto, popupimg or inline img)
+ *
+ * @license http://nucleuscms.org/license.txt GNU General Public License
+ * @copyright Copyright (C) 2002-2009 The Nucleus Group
+ * @version $Id: MediumActions.php 1873 2012-06-17 07:23:22Z sakamocchi $
+ *
+ */
+
 class MediumActions extends BaseActions
 {
        private $type = '';
@@ -174,7 +200,8 @@ class MediumActions extends BaseActions
        public function parse_pluginextras()
        {
                global $manager;
-               $manager->notify("MediaUploadFormExtras", array());
+               $data = array();
+               $manager->notify("MediaUploadFormExtras", $data);
                return;
        }