AMOS START
MOV [blockname,block_tag_flickr],[pluginname,block_tag_flickr]
AMOS END
class block_tag_flickr extends block_base {
function init() {
- $this->title = get_string('defaulttile','block_tag_flickr');
+ $this->title = get_string('pluginname','block_tag_flickr');
$this->version = 2007101509;
}
}
function specialization() {
- $this->title = !empty($this->config->title) ? $this->config->title : get_string('blockname', 'block_tag_flickr');
+ $this->title = !empty($this->config->title) ? $this->config->title : get_string('pluginname', 'block_tag_flickr');
}
function instance_allow_multiple() {
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
-$string['blockname'] = 'Flickr';
$string['configtitle'] = 'Title';
$string['date-posted-asc'] = 'Date Posted ASC';
$string['date-posted-desc'] = 'Date Posted DESC';
$string['interestingness-asc'] = 'Interestingness ASC';
$string['interestingness-desc'] = 'Interestingness DESC';
$string['numberofphotos'] = 'Number of photos';
+$string['pluginname'] = 'Flickr';
$string['relevance'] = 'Relevance';
$string['sortby'] = 'Sort by';