]> git.mxchange.org Git - friendica.git/blobdiff - mod/profperm.php
Remove deprecated functions in include/text
[friendica.git] / mod / profperm.php
index 68c3fa25ae3557377783703658d9d8022b2cb366..0f864d42f3e2b8ca66ce83c31bf55787519e2c46 100644 (file)
@@ -35,6 +35,8 @@ function profperm_content(App $a) {
                return;
        }
 
+       $o = '';
+
        // Switch to text mod interface if we have more than 'n' contacts or group members
 
        $switchtotext = PConfig::get(local_user(),'system','groupedit_image_limit');
@@ -106,11 +108,11 @@ function profperm_content(App $a) {
                                        $ingroup[] = $member['id'];
                }
 
-               $o .= '<h2>' . t('Profile Visibility Editor') . '</h2>';
+               $o .= '<h2>' . L10n::t('Profile Visibility Editor') . '</h2>';
 
-               $o .= '<h3>' . t('Profile') . ' \'' . $profile['profile-name'] . '\'</h3>';
+               $o .= '<h3>' . L10n::t('Profile') . ' \'' . $profile['profile-name'] . '\'</h3>';
 
-               $o .= '<div id="prof-edit-desc">' . t('Click on a contact to add or remove.') . '</div>';
+               $o .= '<div id="prof-edit-desc">' . L10n::t('Click on a contact to add or remove.') . '</div>';
 
        }
 
@@ -119,7 +121,7 @@ function profperm_content(App $a) {
                $o = '';
 
        $o .= '<div id="prof-members-title">';
-       $o .= '<h3>' . t('Visible To') . '</h3>';
+       $o .= '<h3>' . L10n::t('Visible To') . '</h3>';
        $o .= '</div>';
        $o .= '<div id="prof-members">';
 
@@ -135,7 +137,7 @@ function profperm_content(App $a) {
        $o .= '<hr id="prof-separator" />';
 
        $o .= '<div id="prof-all-contcts-title">';
-       $o .= '<h3>' . t("All Contacts \x28with secure profile access\x29") . '</h3>';
+       $o .= '<h3>' . L10n::t("All Contacts \x28with secure profile access\x29") . '</h3>';
        $o .= '</div>';
        $o .= '<div id="prof-all-contacts">';
 
@@ -165,4 +167,3 @@ function profperm_content(App $a) {
        return $o;
 
 }
-