From 344932658c42c10de5f9e442dcf67db20ec40887 Mon Sep 17 00:00:00 2001 From: defacer Date: Sun, 23 Jan 2005 23:59:29 +0000 Subject: [PATCH] Undoing the commit of some esoteric development stuff by mistake. --- blocks/pagedemo.php | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/blocks/pagedemo.php b/blocks/pagedemo.php index d0eb119165..9daa9839dd 100644 --- a/blocks/pagedemo.php +++ b/blocks/pagedemo.php @@ -166,12 +166,7 @@ blocks_print_group($PAGE, $pageblocks[BLOCK_POS_CENTERUP]); } - - echo '
'; - $time = mktime(0, 0, 0, 1, 1, 2005, 0); - print_object(oldgetdate($time)); - print_object(usergetdate($time)); - echo 'Content Here
'; + echo '
Content Here
'; echo '

Center-down position:

'; if(blocks_have_content($pageblocks[BLOCK_POS_CENTERDOWN]) || $editing) { @@ -193,27 +188,5 @@ echo ''; print_footer(); -function oldgetdate($date) { - $timezone = get_user_timezone(99); - - if (abs($timezone) > 13) { - return getdate($date); - } - //There is no gmgetdate so I have to fake it... - $date = $date + (int)($timezone * HOURSECS); - - $getdate['seconds'] = gmstrftime("%S", $date); - $getdate['minutes'] = gmstrftime("%M", $date); - $getdate['hours'] = gmstrftime("%H", $date); - $getdate['mday'] = gmstrftime("%d", $date); - $getdate['wday'] = gmstrftime("%u", $date); - $getdate['mon'] = gmstrftime("%m", $date); - $getdate['year'] = gmstrftime("%Y", $date); - $getdate['yday'] = gmstrftime("%j", $date); - $getdate['weekday'] = gmstrftime("%A", $date); - $getdate['month'] = gmstrftime("%B", $date); - - return $getdate; -} ?> -- 2.39.5