diff options
author | Friendika <info@friendika.com> | 2011-04-07 23:10:43 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-04-07 23:10:43 -0700 |
commit | e35a5bac55e0e259c7c587adfaf546484b032c92 (patch) | |
tree | 0e5a30005fc6e5272bde49c95f3674fd13f34ef5 /mod/profile.php | |
parent | 338ba485548f9ec1acbc9349f7db95e84c51e7eb (diff) | |
download | volse-hubzilla-e35a5bac55e0e259c7c587adfaf546484b032c92.tar.gz volse-hubzilla-e35a5bac55e0e259c7c587adfaf546484b032c92.tar.bz2 volse-hubzilla-e35a5bac55e0e259c7c587adfaf546484b032c92.zip |
the rest of the english html templates except for htconfig
Diffstat (limited to 'mod/profile.php')
-rw-r--r-- | mod/profile.php | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/mod/profile.php b/mod/profile.php index 3d0b79a70..88e23a8a4 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -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; } |