]> git.mxchange.org Git - friendica.git/commitdiff
change profile photo link on profile edit page
authorfriendica <info@friendica.com>
Sat, 8 Dec 2012 00:02:40 +0000 (16:02 -0800)
committerfriendica <info@friendica.com>
Sat, 8 Dec 2012 00:02:40 +0000 (16:02 -0800)
mod/profiles.php
view/profile_edit.tpl

index d4a3db83e0b104516c9c28fcdbfb49e3533825c2..eaa603a282bf537fbdebe9719969199078b98df4 100644 (file)
@@ -602,6 +602,7 @@ function profiles_content(&$a) {
                        '$profile_drop_link' => 'profiles/drop/' . $r[0]['id'] . '?t=' . get_form_security_token("profile_drop"),
                        '$banner' => t('Edit Profile Details'),
                        '$submit' => t('Submit'),
+                       '$profpic' => t('Change Profile Photo'),
                        '$viewprof' => t('View this profile'),
                        '$cr_prof' => t('Create a new profile using these settings'),
                        '$cl_prof' => t('Clone this profile'),
index bc342cc3b6fee382f780355a98b4b5ae15663857..4df6ecc694ce4d81f37de4402263c9330bfb02b7 100644 (file)
@@ -4,6 +4,7 @@ $default
 
 <div id="profile-edit-links">
 <ul>
+<li><a href="profile_photo" id="profile-photo_upload-link" title="$profpic">$profpic</a></li>
 <li><a href="profile/$profile_id/view?tab=profile" id="profile-edit-view-link" title="$viewprof">$viewprof</a></li>
 <li><a href="$profile_clone_link" id="profile-edit-clone-link" title="$cr_prof">$cl_prof</a></li>
 <li></li>