* @return array
*/
function my_page_type_list($pagetype, $parentcontext = null, $currentcontext = null) {
- return array('my-index' => 'my-index');
+ return array('my-index' => get_string('page-my-index', 'pagetype'));
}
/**
* @param stdClass $currentcontext Current context of block
*/
function user_page_type_list($pagetype, $parentcontext, $currentcontext) {
- return array(
- 'user-profile'=>get_string('page-user-profile', 'pagetype'),
- 'my-index'=>get_string('page-my-index', 'pagetype')
- );
+ return array('user-profile'=>get_string('page-user-profile', 'pagetype'));
}