From 8c336db1825b3d6e07d1ad6946f046939ab2070a Mon Sep 17 00:00:00 2001 From: urs_hunkler Date: Tue, 18 Jan 2005 11:05:46 +0000 Subject: [PATCH] _ added the div framework _ added the ids for the layout table with the 3 cells --- index.php | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/index.php b/index.php index 2b2769309f..15af00d599 100644 --- a/index.php +++ b/index.php @@ -62,6 +62,8 @@ '', true, '', $loginstring . '
' . $langmenu); + echo '
'; // entry wrapper start + $editing = $PAGE->user_is_editing(); $pageblocks = blocks_get_by_page($PAGE); @@ -70,7 +72,7 @@ if (!empty($blockaction) && confirm_sesskey()) { if (!empty($blockid)) { blocks_execute_action($PAGE, $pageblocks, strtolower($blockaction), intval($blockid)); - + } else if (!empty($instanceid)) { $instance = blocks_find_instance($instanceid, $pageblocks); @@ -94,23 +96,23 @@ ?> - +
'; + echo ''; } - echo '
'; blocks_print_group($PAGE, $pageblocks[BLOCK_POS_LEFT]); echo ''; - - + echo ''; + + /// Print Section if ($site->numsections > 0) { print_simple_box_start('center', '100%', $THEME->cellcontent, 5, 'sitetopic'); - + /// If currently moving a file then show the current clipboard if (ismoving($site->id)) { $stractivityclipboard = strip_tags(get_string('activityclipboard', '', addslashes($USER->activitycopyname))); @@ -169,12 +171,12 @@ } else { $headertext = $newsforum->name; } - + if ($site->newsitems) { //print forums only when needed print_heading_block($headertext); print_spacer(8,1); forum_print_latest_discussions($newsforum->id, $site->newsitems); - } + } break; case FRONTPAGECOURSELIST: @@ -210,7 +212,7 @@ // The right column if(blocks_have_content($pageblocks[BLOCK_POS_RIGHT]) || $editing || isadmin()) { - echo ''; + echo ''; if (isadmin()) { echo '
'.update_course_icon($site->id).'
'; echo '
'; @@ -226,4 +228,8 @@
- +'; // entry wrapper end + + print_footer('home'); // Please do not modify this line +?> \ No newline at end of file -- 2.39.5