From f6d198ce5dcd9fe416975ff760439dfacbb83812 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 29 Aug 2012 23:03:03 -0700 Subject: trim a bit of fat --- mod/localtime.php | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 mod/localtime.php (limited to 'mod/localtime.php') diff --git a/mod/localtime.php b/mod/localtime.php deleted file mode 100644 index c03eae1b0..000000000 --- a/mod/localtime.php +++ /dev/null @@ -1,49 +0,0 @@ -data['mod-localtime'] = datetime_convert('UTC',$_POST['timezone'],$t,$bd_format); - -} - -function localtime_content(&$a) { - $t = $_REQUEST['time']; - if(! $t) - $t = 'now'; - - $o .= '

' . t('Time Conversion') . '

'; - - $o .= '

' . t('Friendika provides this service for sharing events with other networks and friends in unknown timezones.') . '

'; - - - - $o .= '

' . sprintf( t('UTC time: %s'), $t) . '

'; - - if($_REQUEST['timezone']) - $o .= '

' . sprintf( t('Current timezone: %s'), $_REQUEST['timezone']) . '

'; - - if(x($a->data,'mod-localtime')) - $o .= '

' . sprintf( t('Converted localtime: %s'),$a->data['mod-localtime']) . '

'; - - - $o .= '
'; - - $o .= '

' . t('Please select your timezone:') . '

'; - - $o .= select_timezone(($_REQUEST['timezone']) ? $_REQUEST['timezone'] : 'America/Los_Angeles'); - - $o .= '
'; - - return $o; - -} \ No newline at end of file -- cgit v1.2.3