]> git.mxchange.org Git - friendica.git/blobdiff - mod/localtime.php
Merge branch 'develop' into rewrites/dbm_is_result
[friendica.git] / mod / localtime.php
index c03eae1b0e490d0246647933d68357a1e0a83658..00a7c59094ef6313ecf992476fe9be37e4235e20 100644 (file)
@@ -3,7 +3,7 @@
 require_once('include/datetime.php');
 
 
-function localtime_post(&$a) {
+function localtime_post(App &$a) {
 
        $t = $_REQUEST['time'];
        if(! $t)
@@ -16,14 +16,14 @@ function localtime_post(&$a) {
 
 }
 
-function localtime_content(&$a) {
+function localtime_content(App &$a) {
        $t = $_REQUEST['time'];
        if(! $t)
                $t = 'now';
 
        $o .= '<h3>' . t('Time Conversion') . '</h3>';
 
-       $o .= '<p>' . t('Friendika provides this service for sharing events with other networks and friends in unknown timezones.') . '</p>';
+       $o .= '<p>' . t('Friendica provides this service for sharing events with other networks and friends in unknown timezones.') . '</p>';
 
 
 
@@ -36,7 +36,7 @@ function localtime_content(&$a) {
                $o .= '<p>' . sprintf( t('Converted localtime: %s'),$a->data['mod-localtime']) . '</p>';
 
 
-       $o .= '<form action ="' . $a->get_baseurl() . '/localtime?f=&time=' . $t . '" method="post" >';
+       $o .= '<form action ="' . App::get_baseurl() . '/localtime?f=&time=' . $t . '" method="post" >';
 
        $o .= '<p>' . t('Please select your timezone:') . '</p>';