Commit 433c242f authored by moodler's avatar moodler
Browse files

Merged new block versions from 1.9

parent 41b9c42b
......@@ -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() {
......
......@@ -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() {
......
......@@ -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 = '';
......
......@@ -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
?>
......@@ -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() {
......
......@@ -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;
}
......
......@@ -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() {
......
......@@ -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() {
......
......@@ -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() {
......
......@@ -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
?>
......@@ -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() {
......
......@@ -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() {
......
......@@ -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() {
......
......@@ -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;}
......
......@@ -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() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment