Skip to content

Commit

Permalink
Merged new block versions from 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Mar 3, 2008
1 parent 41b9c42 commit 433c242
Show file tree
Hide file tree
Showing 30 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion blocks/activity_modules/block_activity_modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion blocks/admin/block_admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion blocks/admin_bookmarks/block_admin_bookmarks.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion blocks/admin_tree/block_admin_tree.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '';
Expand Down
4 changes: 2 additions & 2 deletions blocks/blog_menu/block_blog_menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -121,4 +121,4 @@ function get_content() {
}
}

?>
?>
2 changes: 1 addition & 1 deletion blocks/blog_tags/block_blog_tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class block_blog_tags extends block_base {
function init() {
$this->version = 2006032000;
$this->version = 2007101509;
$this->title = get_string('blocktagstitle', 'blog');
}

Expand Down
2 changes: 1 addition & 1 deletion blocks/calendar_month/block_calendar_month.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion blocks/calendar_upcoming/block_calendar_upcoming.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion blocks/course_list/block_course_list.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
class block_course_list extends block_list {
function init() {
$this->title = get_string('courses');
$this->version = 2004111600;
$this->version = 2007101509;
}

function has_config() {
Expand Down
2 changes: 1 addition & 1 deletion blocks/course_summary/block_course_summary.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion blocks/glossary_random/block_glossary_random.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

}

Expand Down
2 changes: 1 addition & 1 deletion blocks/html/block_html.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion blocks/loancalc/block_loancalc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion blocks/login/block_login.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions blocks/mentees/block_mentees.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -49,4 +49,4 @@ function get_content() {
return $this->content;
}
}
?>
?>
2 changes: 1 addition & 1 deletion blocks/messages/block_messages.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion blocks/mnet_hosts/block_mnet_hosts.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion blocks/news_items/block_news_items.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion blocks/online_users/block_online_users.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;}
Expand Down
2 changes: 1 addition & 1 deletion blocks/participants/block_participants.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion blocks/quiz_results/block_quiz_results.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
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() {
Expand Down
2 changes: 1 addition & 1 deletion blocks/recent_activity/block_recent_activity.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion blocks/rss_client/block_rss_client.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class block_rss_client extends block_base {

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)
}

Expand Down
2 changes: 1 addition & 1 deletion blocks/search_forums/block_search_forums.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion blocks/section_links/block_section_links.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion blocks/site_main_menu/block_site_main_menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion blocks/social_activities/block_social_activities.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion blocks/tag_flickr/block_tag_flickr.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion blocks/tag_youtube/block_tag_youtube.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion blocks/tags/block_tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

class block_tags extends block_base {
function init() {
$this->version = 2007082800;
$this->version = 2007101509;
$this->title = get_string('blocktagstitle', 'tag');
}

Expand Down

0 comments on commit 433c242

Please sign in to comment.