New block versions for 1.9 release

This commit is contained in:
moodler
2008-03-03 11:41:01 +00:00
parent 7fa6c5f12b
commit 3dff726aa1
30 changed files with 32 additions and 32 deletions
@@ -3,7 +3,7 @@
class block_activity_modules extends block_list {
function init() {
$this->title = get_string('activities');
$this->version = 2006011300;
$this->version = 2007101509;
}
function get_content() {
+1 -1
View File
@@ -3,7 +3,7 @@
class block_admin extends block_list {
function init() {
$this->title = get_string('administration');
$this->version = 2004081200;
$this->version = 2007101509;
}
function get_content() {
@@ -8,7 +8,7 @@ class block_admin_bookmarks extends block_base {
function init() {
$this->title = get_string('adminbookmarks');
$this->version = 2006090300;
$this->version = 2007101509;
}
function applicable_formats() {
+1 -1
View File
@@ -12,7 +12,7 @@ class block_admin_tree extends block_base {
function init() {
global $PAGE;
$this->title = get_string('administrationsite');
$this->version = 2006090300;
$this->version = 2007101509;
$this->currentdepth = 0;
$this->divcounter = 1;
$this->tempcontent = '';
+2 -2
View File
@@ -7,7 +7,7 @@ class block_blog_menu extends block_base {
function init() {
$this->title = get_string('blockmenutitle', 'blog');
$this->content_type = BLOCK_TYPE_TEXT;
$this->version = 2004112000;
$this->version = 2007101509;
}
function get_content() {
@@ -121,4 +121,4 @@ class block_blog_menu extends block_base {
}
}
?>
?>
+1 -1
View File
@@ -8,7 +8,7 @@ require_once($CFG->dirroot .'/blog/lib.php');
class block_blog_tags extends block_base {
function init() {
$this->version = 2006032000;
$this->version = 2007101509;
$this->title = get_string('blocktagstitle', 'blog');
}
@@ -3,7 +3,7 @@
class block_calendar_month extends block_base {
function init() {
$this->title = get_string('calendar', 'calendar');
$this->version = 2004081200;
$this->version = 2007101509;
}
function preferred_width() {
@@ -3,7 +3,7 @@
class block_calendar_upcoming extends block_base {
function init() {
$this->title = get_string('upcomingevents', 'calendar');
$this->version = 2004052600;
$this->version = 2007101509;
}
function get_content() {
+1 -1
View File
@@ -5,7 +5,7 @@ include_once($CFG->dirroot . '/course/lib.php');
class block_course_list extends block_list {
function init() {
$this->title = get_string('courses');
$this->version = 2004111600;
$this->version = 2007101509;
}
function has_config() {
@@ -3,7 +3,7 @@
class block_course_summary extends block_base {
function init() {
$this->title = get_string('pagedescription', 'block_course_summary');
$this->version = 2004052600;
$this->version = 2007101509;
}
function specialization() {
@@ -8,7 +8,7 @@ class block_glossary_random extends block_base {
function init() {
$this->title = get_string('blockname','block_glossary_random');
$this->version = 2005040500;
$this->version = 2007101509;
}
+1 -1
View File
@@ -4,7 +4,7 @@ class block_html extends block_base {
function init() {
$this->title = get_string('html', 'block_html');
$this->version = 2004123000;
$this->version = 2007101509;
}
function applicable_formats() {
+1 -1
View File
@@ -5,7 +5,7 @@ class block_loancalc extends block_base {
function init() {
$this->title = get_string('loancalc','block_loancalc');
$this->content_type = BLOCK_TYPE_TEXT;
$this->version = 2005022100;
$this->version = 2007101509;
}
function get_content() {
+1 -1
View File
@@ -3,7 +3,7 @@
class block_login extends block_base {
function init() {
$this->title = get_string('login');
$this->version = 2006102700; //TODO
$this->version = 2007101509;
}
function applicable_formats() {
+2 -2
View File
@@ -4,7 +4,7 @@ class block_mentees extends block_base {
function init() {
$this->title = get_string('blockname', 'block_mentees');
$this->version = 2007030900;
$this->version = 2007101509;
}
function applicable_formats() {
@@ -49,4 +49,4 @@ class block_mentees extends block_base {
return $this->content;
}
}
?>
?>
+1 -1
View File
@@ -3,7 +3,7 @@
class block_messages extends block_base {
function init() {
$this->title = get_string('messages','message');
$this->version = 2004122800;
$this->version = 2007101509;
}
function get_content() {
+1 -1
View File
@@ -3,7 +3,7 @@
class block_mnet_hosts extends block_list {
function init() {
$this->title = get_string('mnet_hosts','block_mnet_hosts') ;
$this->version = 2006112100;
$this->version = 2007101509;
}
function has_config() {
+1 -1
View File
@@ -3,7 +3,7 @@
class block_news_items extends block_base {
function init() {
$this->title = get_string('latestnews');
$this->version = 2005030800;
$this->version = 2007101509;
}
function get_content() {
+1 -1
View File
@@ -8,7 +8,7 @@
class block_online_users extends block_base {
function init() {
$this->title = get_string('blockname','block_online_users');
$this->version = 2006030100;
$this->version = 2007101509;
}
function has_config() {return true;}
+1 -1
View File
@@ -3,7 +3,7 @@
class block_participants extends block_list {
function init() {
$this->title = get_string('people');
$this->version = 2004052600;
$this->version = 2007101509;
}
function get_content() {
+1 -1
View File
@@ -10,7 +10,7 @@ define('B_QUIZRESULTS_GRADE_FORMAT_ABS', 3);
class block_quiz_results extends block_base {
function init() {
$this->title = get_string('formaltitle', 'block_quiz_results');
$this->version = 2005082300;
$this->version = 2007101509;
}
function applicable_formats() {
@@ -3,7 +3,7 @@
class block_recent_activity extends block_base {
function init() {
$this->title = get_string('recentactivity');
$this->version = 2004042900;
$this->version = 2007101509;
}
function get_content() {
+1 -1
View File
@@ -19,7 +19,7 @@
function init() {
$this->title = get_string('feedstitle', 'block_rss_client');
$this->version = 2007080101;
$this->version = 2007101509;
$this->cron = 300; /// Set min time between cron executions to 300 secs (5 mins)
}
+1 -1
View File
@@ -3,7 +3,7 @@
class block_search_forums extends block_base {
function init() {
$this->title = get_string('blocktitle', 'block_search_forums');
$this->version = 2005030900;
$this->version = 2007101509;
}
function get_content() {
+1 -1
View File
@@ -4,7 +4,7 @@ class block_section_links extends block_base {
function init() {
$this->title = get_string('blockname', 'block_section_links');
$this->version = 2004052800;
$this->version = 2007101509;
}
function instance_config($instance) {
@@ -3,7 +3,7 @@
class block_site_main_menu extends block_list {
function init() {
$this->title = get_string('mainmenu');
$this->version = 2005061300;
$this->version = 2007101509;
}
function applicable_formats() {
@@ -3,7 +3,7 @@
class block_social_activities extends block_list {
function init(){
$this->title = get_string('blockname', 'block_social_activities');
$this->version = 2004041800;
$this->version = 2007101509;
}
function applicable_formats() {
+1 -1
View File
@@ -12,7 +12,7 @@ class block_tag_flickr extends block_base {
function init() {
$this->title = get_string('defaulttile','block_tag_flickr');
$this->version = 2007080800;
$this->version = 2007101509;
}
function applicable_formats() {
+1 -1
View File
@@ -13,7 +13,7 @@ class block_tag_youtube extends block_base {
function init() {
$this->title = get_string('blockname','block_tag_youtube');
$this->version = 2007080800;
$this->version = 2007101509;
}
function applicable_formats() {
+1 -1
View File
@@ -2,7 +2,7 @@
class block_tags extends block_base {
function init() {
$this->version = 2007082800;
$this->version = 2007101509;
$this->title = get_string('blocktagstitle', 'tag');
}