From 433c242f1ab7b7ec7726484e43083a256429a61d Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 3 Mar 2008 11:43:32 +0000 Subject: [PATCH] Merged new block versions from 1.9 --- blocks/activity_modules/block_activity_modules.php | 2 +- blocks/admin/block_admin.php | 2 +- blocks/admin_bookmarks/block_admin_bookmarks.php | 2 +- blocks/admin_tree/block_admin_tree.php | 2 +- blocks/blog_menu/block_blog_menu.php | 4 ++-- blocks/blog_tags/block_blog_tags.php | 2 +- blocks/calendar_month/block_calendar_month.php | 2 +- blocks/calendar_upcoming/block_calendar_upcoming.php | 2 +- blocks/course_list/block_course_list.php | 2 +- blocks/course_summary/block_course_summary.php | 2 +- blocks/glossary_random/block_glossary_random.php | 2 +- blocks/html/block_html.php | 2 +- blocks/loancalc/block_loancalc.php | 2 +- blocks/login/block_login.php | 2 +- blocks/mentees/block_mentees.php | 4 ++-- blocks/messages/block_messages.php | 2 +- blocks/mnet_hosts/block_mnet_hosts.php | 2 +- blocks/news_items/block_news_items.php | 2 +- blocks/online_users/block_online_users.php | 2 +- blocks/participants/block_participants.php | 2 +- blocks/quiz_results/block_quiz_results.php | 2 +- blocks/recent_activity/block_recent_activity.php | 2 +- blocks/rss_client/block_rss_client.php | 2 +- blocks/search_forums/block_search_forums.php | 2 +- blocks/section_links/block_section_links.php | 2 +- blocks/site_main_menu/block_site_main_menu.php | 2 +- blocks/social_activities/block_social_activities.php | 2 +- blocks/tag_flickr/block_tag_flickr.php | 2 +- blocks/tag_youtube/block_tag_youtube.php | 2 +- blocks/tags/block_tags.php | 2 +- 30 files changed, 32 insertions(+), 32 deletions(-) diff --git a/blocks/activity_modules/block_activity_modules.php b/blocks/activity_modules/block_activity_modules.php index 585b4906e8..14e9239d1b 100644 --- a/blocks/activity_modules/block_activity_modules.php +++ b/blocks/activity_modules/block_activity_modules.php @@ -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() { diff --git a/blocks/admin/block_admin.php b/blocks/admin/block_admin.php index 27f9e5372e..76deb18eab 100644 --- a/blocks/admin/block_admin.php +++ b/blocks/admin/block_admin.php @@ -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() { diff --git a/blocks/admin_bookmarks/block_admin_bookmarks.php b/blocks/admin_bookmarks/block_admin_bookmarks.php index 3293bfd485..cfefb41bbe 100644 --- a/blocks/admin_bookmarks/block_admin_bookmarks.php +++ b/blocks/admin_bookmarks/block_admin_bookmarks.php @@ -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() { diff --git a/blocks/admin_tree/block_admin_tree.php b/blocks/admin_tree/block_admin_tree.php index 8c403104f9..1d694532af 100644 --- a/blocks/admin_tree/block_admin_tree.php +++ b/blocks/admin_tree/block_admin_tree.php @@ -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 = ''; diff --git a/blocks/blog_menu/block_blog_menu.php b/blocks/blog_menu/block_blog_menu.php index 463d73425e..6625303a02 100755 --- a/blocks/blog_menu/block_blog_menu.php +++ b/blocks/blog_menu/block_blog_menu.php @@ -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 { } } -?> \ No newline at end of file +?> diff --git a/blocks/blog_tags/block_blog_tags.php b/blocks/blog_tags/block_blog_tags.php index 0cce47af1b..d3508888c3 100644 --- a/blocks/blog_tags/block_blog_tags.php +++ b/blocks/blog_tags/block_blog_tags.php @@ -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'); } diff --git a/blocks/calendar_month/block_calendar_month.php b/blocks/calendar_month/block_calendar_month.php index 246170f9bd..900a97443b 100644 --- a/blocks/calendar_month/block_calendar_month.php +++ b/blocks/calendar_month/block_calendar_month.php @@ -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() { diff --git a/blocks/calendar_upcoming/block_calendar_upcoming.php b/blocks/calendar_upcoming/block_calendar_upcoming.php index f531ad2827..a4e72f7bf0 100644 --- a/blocks/calendar_upcoming/block_calendar_upcoming.php +++ b/blocks/calendar_upcoming/block_calendar_upcoming.php @@ -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() { diff --git a/blocks/course_list/block_course_list.php b/blocks/course_list/block_course_list.php index 6fa0713ec0..2f2c04a288 100644 --- a/blocks/course_list/block_course_list.php +++ b/blocks/course_list/block_course_list.php @@ -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() { diff --git a/blocks/course_summary/block_course_summary.php b/blocks/course_summary/block_course_summary.php index d0c0cf3e0d..2846cb3fec 100644 --- a/blocks/course_summary/block_course_summary.php +++ b/blocks/course_summary/block_course_summary.php @@ -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() { diff --git a/blocks/glossary_random/block_glossary_random.php b/blocks/glossary_random/block_glossary_random.php index 681d0ca9e3..35f1575e1d 100644 --- a/blocks/glossary_random/block_glossary_random.php +++ b/blocks/glossary_random/block_glossary_random.php @@ -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; } diff --git a/blocks/html/block_html.php b/blocks/html/block_html.php index 19e3c198d9..8e610049fe 100755 --- a/blocks/html/block_html.php +++ b/blocks/html/block_html.php @@ -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() { diff --git a/blocks/loancalc/block_loancalc.php b/blocks/loancalc/block_loancalc.php index 594251fdec..22c3a877e5 100644 --- a/blocks/loancalc/block_loancalc.php +++ b/blocks/loancalc/block_loancalc.php @@ -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() { diff --git a/blocks/login/block_login.php b/blocks/login/block_login.php index 51ffb337bb..d203c4b463 100644 --- a/blocks/login/block_login.php +++ b/blocks/login/block_login.php @@ -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() { diff --git a/blocks/mentees/block_mentees.php b/blocks/mentees/block_mentees.php index 6bacac9eb3..60beae9ff7 100755 --- a/blocks/mentees/block_mentees.php +++ b/blocks/mentees/block_mentees.php @@ -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; } } -?> \ No newline at end of file +?> diff --git a/blocks/messages/block_messages.php b/blocks/messages/block_messages.php index 46e9a1c935..f152df17d7 100644 --- a/blocks/messages/block_messages.php +++ b/blocks/messages/block_messages.php @@ -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() { diff --git a/blocks/mnet_hosts/block_mnet_hosts.php b/blocks/mnet_hosts/block_mnet_hosts.php index 9f20d09e21..fba97048bb 100644 --- a/blocks/mnet_hosts/block_mnet_hosts.php +++ b/blocks/mnet_hosts/block_mnet_hosts.php @@ -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() { diff --git a/blocks/news_items/block_news_items.php b/blocks/news_items/block_news_items.php index 24b0dbc0dc..58b086c484 100644 --- a/blocks/news_items/block_news_items.php +++ b/blocks/news_items/block_news_items.php @@ -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() { diff --git a/blocks/online_users/block_online_users.php b/blocks/online_users/block_online_users.php index 38b03c7b54..b872f57dc2 100644 --- a/blocks/online_users/block_online_users.php +++ b/blocks/online_users/block_online_users.php @@ -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;} diff --git a/blocks/participants/block_participants.php b/blocks/participants/block_participants.php index bd06f80370..02d55a6595 100644 --- a/blocks/participants/block_participants.php +++ b/blocks/participants/block_participants.php @@ -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() { diff --git a/blocks/quiz_results/block_quiz_results.php b/blocks/quiz_results/block_quiz_results.php index d470598e47..ffca8f2c83 100644 --- a/blocks/quiz_results/block_quiz_results.php +++ b/blocks/quiz_results/block_quiz_results.php @@ -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() { diff --git a/blocks/recent_activity/block_recent_activity.php b/blocks/recent_activity/block_recent_activity.php index d400ac70ef..4e326ff3e5 100644 --- a/blocks/recent_activity/block_recent_activity.php +++ b/blocks/recent_activity/block_recent_activity.php @@ -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() { diff --git a/blocks/rss_client/block_rss_client.php b/blocks/rss_client/block_rss_client.php index 5d111fbb48..41e42aac27 100644 --- a/blocks/rss_client/block_rss_client.php +++ b/blocks/rss_client/block_rss_client.php @@ -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) } diff --git a/blocks/search_forums/block_search_forums.php b/blocks/search_forums/block_search_forums.php index ea88e8e482..1f4cbae77f 100644 --- a/blocks/search_forums/block_search_forums.php +++ b/blocks/search_forums/block_search_forums.php @@ -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() { diff --git a/blocks/section_links/block_section_links.php b/blocks/section_links/block_section_links.php index d0acec31c2..982c25a09f 100644 --- a/blocks/section_links/block_section_links.php +++ b/blocks/section_links/block_section_links.php @@ -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) { diff --git a/blocks/site_main_menu/block_site_main_menu.php b/blocks/site_main_menu/block_site_main_menu.php index 26765dd269..b46be89ed0 100644 --- a/blocks/site_main_menu/block_site_main_menu.php +++ b/blocks/site_main_menu/block_site_main_menu.php @@ -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() { diff --git a/blocks/social_activities/block_social_activities.php b/blocks/social_activities/block_social_activities.php index 3fa3cca5f0..f425a22a4a 100644 --- a/blocks/social_activities/block_social_activities.php +++ b/blocks/social_activities/block_social_activities.php @@ -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() { diff --git a/blocks/tag_flickr/block_tag_flickr.php b/blocks/tag_flickr/block_tag_flickr.php index dd10d47473..fa90781b55 100644 --- a/blocks/tag_flickr/block_tag_flickr.php +++ b/blocks/tag_flickr/block_tag_flickr.php @@ -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() { diff --git a/blocks/tag_youtube/block_tag_youtube.php b/blocks/tag_youtube/block_tag_youtube.php index 1002a82979..bd7be74359 100644 --- a/blocks/tag_youtube/block_tag_youtube.php +++ b/blocks/tag_youtube/block_tag_youtube.php @@ -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() { diff --git a/blocks/tags/block_tags.php b/blocks/tags/block_tags.php index 137a04143d..0b21493b17 100644 --- a/blocks/tags/block_tags.php +++ b/blocks/tags/block_tags.php @@ -2,7 +2,7 @@ class block_tags extends block_base { function init() { - $this->version = 2007082800; + $this->version = 2007101509; $this->title = get_string('blocktagstitle', 'tag'); } -- 2.39.5