]> git.mxchange.org Git - friendica.git/blobdiff - mod/profile_photo.php
multi-user, do not cache open mbox
[friendica.git] / mod / profile_photo.php
index 48805fbdd3fa88fc1e342b22c8dc6affeb9ac758..fe4da3bafa634dbbffd5ed94402299ac6edfd613 100644 (file)
@@ -184,7 +184,11 @@ function profile_photo_content(&$a) {
                $tpl = load_view_file('view/profile_photo.tpl');
 
                $o .= replace_macros($tpl,array(
-                       '$user' => $a->user['nickname']
+                       '$user' => $a->user['nickname'],
+                       '$lbl_upfile' => t('Upload File:'),
+                       '$title' => t('Upload Profile Photo'),
+                       '$submit' => t('Upload'),
+                       '$select' => sprintf('%s %s', t('or'), '<a href="'. $a->get_baseurl() . '/photos/' . $a->user['nickname'] . '">' . t('select a photo from your photo albums') . '</a>')
                ));
 
                return $o;