MDL-22054 startinging blocks to pluginname

AMOS START
 CPY [administrationsite,core],[pluginname,block_admin_tree]
AMOS END
This commit is contained in:
Petr Skoda
2010-04-11 10:56:33 +00:00
parent c145018038
commit b2e451511a
2 changed files with 27 additions and 1 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ class block_admin_tree extends block_base {
var $expandnodes = array();
function init() {
$this->title = get_string('administrationsite');
$this->title = get_string('pluginname', 'block_admin_tree');
$this->version = 2007101509;
$this->currentdepth = 0;
$this->divcounter = 1;
@@ -0,0 +1,26 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle 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 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Strings for component 'block_admin_tree', language 'en', branch 'MOODLE_20_STABLE'
*
* @package block_admin_tree
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
$string['pluginname'] = 'Site Administration';