MDL-22054 converting block name strings to pluginname
authorPetr Skoda <skodak@moodle.org>
Sun, 11 Apr 2010 11:48:38 +0000 (11:48 +0000)
committerPetr Skoda <skodak@moodle.org>
Sun, 11 Apr 2010 11:48:38 +0000 (11:48 +0000)
AMOS START
 MOV [blockname,block_social_activities],[pluginname,block_social_activities]
AMOS END

blocks/social_activities/block_social_activities.php
blocks/social_activities/lang/en/block_social_activities.php

index 6ce2d13..1e99653 100644 (file)
@@ -2,7 +2,7 @@
 
 class block_social_activities extends block_list {
     function init(){
-        $this->title = get_string('blockname', 'block_social_activities');
+        $this->title = get_string('pluginname', 'block_social_activities');
         $this->version = 2007101509;
     }
 
index ab19cbc..e18e75d 100644 (file)
@@ -23,4 +23,4 @@
  * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  */
 
-$string['blockname'] = 'Social Activities';
+$string['pluginname'] = 'Social Activities';