]> git.mxchange.org Git - friendica.git/blobdiff - mod/profile.php
initial dfrn update to pass perms
[friendica.git] / mod / profile.php
index b421591f6658f8269f99bff8184794621a329fa2..88e23a8a46c945488267459ea81337ccfe08d3c6 100644 (file)
@@ -106,16 +106,9 @@ function profile_content(&$a, $update = 0) {
 
 
                if($tab === 'profile') {
-                       $profile_lang = get_config('system','language');
-                       if(! $profile_lang)
-                               $profile_lang = 'en';
-                       if(file_exists("view/$profile_lang/profile_advanced.php"))
-                               require_once("view/$profile_lang/profile_advanced.php");
-                       else
-                               require_once('view/profile_advanced.php');
-
+                       require_once('include/profile_advanced.php');
+                       $o .= advanced_profile($a);
                        call_hooks('profile_advanced',$o);
-
                        return $o;
                }
 
@@ -391,6 +384,8 @@ function profile_content(&$a, $update = 0) {
                                                '$mylink' => $contact['url'],
                                                '$mytitle' => t('This is you'),
                                                '$myphoto' => $contact['thumb'],
+                                               '$comment' => t('Comment'),
+                                               '$submit' => t('Submit'),
                                                '$ww' => ''
                                        ));
                                }