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

blocks/search_forums/block_search_forums.php
blocks/search_forums/lang/en/block_search_forums.php

index be18bc5..e6bafc8 100644 (file)
@@ -2,7 +2,7 @@
 
 class block_search_forums extends block_base {
     function init() {
-        $this->title = get_string('blocktitle', 'block_search_forums');
+        $this->title = get_string('pluginname', 'block_search_forums');
         $this->version = 2007101509;
     }
 
index 47d914f..7c12793 100644 (file)
@@ -24,4 +24,4 @@
  */
 
 $string['advancedsearch'] = 'Advanced search';
-$string['blocktitle'] = 'Search Forums';
+$string['pluginname'] = 'Search Forums';