X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Flocaltime.php;h=c32f67976bd4ff37a0003663be40ed74fcfe658f;hb=6161ceff649fd52cb6cdfe14ebe5fdd35f6854a9;hp=fc500f4dd9b0c6711206bcc5cacb0d9eaa81575c;hpb=0c67c89715df801e0c887be50c9739db3bae7ca3;p=friendica.git diff --git a/mod/localtime.php b/mod/localtime.php index fc500f4dd9..c32f67976b 100644 --- a/mod/localtime.php +++ b/mod/localtime.php @@ -1,9 +1,10 @@ data['mod-localtime'] = datetime_convert('UTC',$_POST['timezone'],$t,$bd_format); -} + } -if(! function_exists('localtime_content')) { -function localtime_content(&$a) { +function localtime_content(App $a) { $t = $_REQUEST['time']; if(! $t) $t = 'now'; @@ -37,7 +37,7 @@ function localtime_content(&$a) { $o .= '

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

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

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

'; @@ -46,5 +46,5 @@ function localtime_content(&$a) { $o .= '
'; return $o; -} -} + +} \ No newline at end of file