added page my-index to exclude list because it uses layout-table

This commit is contained in:
urs_hunkler
2007-05-09 15:33:05 +00:00
parent f145c2482d
commit c07a4e05c1
+2 -1
View File
@@ -25,7 +25,8 @@
}
// list of pages using the layout-table to be able to view sideblocks
$excludelist = array('mod-chat-view', 'mod-data-view', 'mod-quiz-view');
$excludelist = array('mod-chat-view', 'mod-data-view', 'mod-quiz-view',
'my-index');
if ((in_array($PAGE->type, $excludelist)) &&
(strstr($bodytags, ' nocoursepage'))) {
$bodytags = str_replace(' nocoursepage', '', $bodytags);