]> git.mxchange.org Git - friendica.git/blobdiff - mod/localtime.php
Merge pull request #3339 from Hypolite/issue/#2803-icons
[friendica.git] / mod / localtime.php
index c03eae1b0e490d0246647933d68357a1e0a83658..535308903153af6d3cf81ef4d310ccc8705034db 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,9 +36,9 @@ 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>'; 
+       $o .= '<p>' . t('Please select your timezone:') . '</p>';
 
        $o .= select_timezone(($_REQUEST['timezone']) ? $_REQUEST['timezone'] : 'America/Los_Angeles');