OSDN Git Service

Merge branch 'skinnable-master'
[nucleus-jp/nucleus-next.git] / nucleus / plugins / NP_Medium.php
index d890eb6..99e7e57 100644 (file)
@@ -20,42 +20,42 @@ class NP_Medium extends NucleusPlugin
        {
                return 'Medium';
        }
-
+       
        public function getAuthor()
        {
                return 'Sakamoto Takashi';
        }
-
+       
        public function getURL()
        {
                return '';
        }
-
+       
        public function getVersion()
        {
                return '0.9(beta)';
        }
-
+       
        public function getMinNucleusVersion()
        {
                return '400';
        }
-
+       
        public function getDescription()
        {
-               return _MEDIUM_DESC;
+               return NP_MEDIUM_DESC;
        }
-
+       
        public function supportsFeature($what)
        {
                return ( $what == 'SqlTablePrefix' );
        }
-
+       
        public function getEventList()
        {
                return array('AdminPrePageHead', 'AdminTemplateExtraFields');
        }
-
+       
        public function init()
        {
                // include translation file for this plugin
@@ -135,7 +135,7 @@ class NP_Medium extends NucleusPlugin
                return;
        }
        
-       public function event_AdminPrePageHead($data)
+       public function event_AdminPrePageHead(&$data)
        {
                global $CONF;