class block_tags extends block_base {
function init() {
$this->version = 2008063001;
- $this->title = get_string('blocktagstitle', 'tag');
+ $this->title = get_string('pluginname', 'block_tags');
// the cron function goes through all users, so only do daily
// (this creates rss feeds for personal course tags)
// removed until rsslib supports dc/cc
// load userdefined title and make sure it's never empty
if (empty($this->config->title)) {
- $this->title = get_string('blocktagstitle','tag');
+ $this->title = get_string('pluginname','block_tags');
} else {
$this->title = $this->config->title;
}
// Fields for editing HTML block title and contents.
$mform->addElement('header', 'configheader', get_string('blocksettings', 'block'));
- $mform->addElement('text', 'config_title', get_string('blocktagstitle', 'tag'));
+ $mform->addElement('text', 'config_title', get_string('pluginname', 'block_tags'));
$mform->setType('config_title', PARAM_MULTILANG);
- $mform->setDefault('config_title', get_string('blocktagstitle', 'tag'));
+ $mform->setDefault('config_title', get_string('pluignname', 'block_tags'));
$numberoftags = array();
for ($i = 1; $i <= 200; $i++) {
$string['officialtags1'] = 'official tags';
$string['officialtags2'] = 'Show official course tags';
$string['please'] = 'Please';
+$string['pluginname'] = 'Tags';
$string['select'] = 'Select...';
$string['showcoursetags'] = 'Show course tags';
$string['showcoursetagsdef'] = 'Display the course tagging features in the tags block, allowing students to tag courses.';
$string['addedotag'] = '"{$a}" was added as an official tag.';
$string['addotags'] = 'Add official tags';
$string['addtagtomyinterests'] = 'Add "{$a}" to my interests';
-$string['blocktagstitle'] = 'Tags';
$string['count'] = 'Count';
$string['delete'] = 'Delete';
$string['deleted'] = 'Deleted';