require_once('lib.php');
require_once('pagelib.php');
require_once($CFG->dirroot.'/lib/weblib.php');
-if (!empty($THEME->customcorners)) {
- require_once($CFG->dirroot.'/lib/custom_corners_lib.php');
-}
require_login();
$blocks_preferred_width = bounded_number(180, blocks_preferred_width($pageblocks[BLOCK_POS_LEFT]), 210);
echo '<td style="vertical-align: top; width: '.$blocks_preferred_width.'px;" id="left-column">';
-if(blocks_have_content($pageblocks, BLOCK_POS_LEFT) || $PAGE->user_is_editing()) {
- // if (!empty($THEME->customcorners)) print_custom_corners_start();
+if (blocks_have_content($pageblocks, BLOCK_POS_LEFT) || $PAGE->user_is_editing()) {
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_LEFT);
- // if (!empty($THEME->customcorners)) print_custom_corners_end();
}
echo '</td>';
echo '<td valign="top" id="middle-column">';
-//if (!empty($THEME->customcorners)) print_custom_corners_start(TRUE);
-
$tagname = tag_display_name($tag);
}
-//if (!empty($THEME->customcorners)) print_custom_corners_end();
echo '</td>';
echo '<td style="vertical-align: top; width: '.$blocks_preferred_width.'px;" id="right-column">';
if (blocks_have_content($pageblocks, BLOCK_POS_RIGHT) || $PAGE->user_is_editing()) {
- // if (!empty($THEME->customcorners)) print_custom_corners_start();
blocks_print_group($PAGE, $pageblocks, BLOCK_POS_RIGHT);
- // if (!empty($THEME->customcorners)) print_custom_corners_end();
}
echo '</td>';
global $CFG;
- if( !empty($CFG->keeptagnamecase) ) {
+ if( empty($CFG->keeptagnamecase) ) {
//this is the normalized tag name
return mb_convert_case($tag_object->name, MB_CASE_TITLE,"UTF-8");
}