aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-17 17:08:14 -0700
committerfriendica <info@friendica.com>2012-07-17 17:08:14 -0700
commita10e9d335ab68989a0e6e40af8ae03e5dabd27a7 (patch)
treed28f8ab8f1b7d85719f612605875906868616beb /view
parent073eb1b8455fe93e49a95125cb23c8d8accb96e2 (diff)
downloadvolse-hubzilla-a10e9d335ab68989a0e6e40af8ae03e5dabd27a7.tar.gz
volse-hubzilla-a10e9d335ab68989a0e6e40af8ae03e5dabd27a7.tar.bz2
volse-hubzilla-a10e9d335ab68989a0e6e40af8ae03e5dabd27a7.zip
front end for alternate profile photos
Diffstat (limited to 'view')
-rw-r--r--view/cropbody.tpl1
-rw-r--r--view/profile_photo.tpl7
2 files changed, 8 insertions, 0 deletions
diff --git a/view/cropbody.tpl b/view/cropbody.tpl
index b484d15bf..4c0ca3d63 100644
--- a/view/cropbody.tpl
+++ b/view/cropbody.tpl
@@ -42,6 +42,7 @@ $desc
<form action="profile_photo/$resource" id="crop-image-form" method="post" />
<input type='hidden' name='form_security_token' value='$form_security_token'>
+<input type='hidden' name='profile' value='$profile'>
<input type="hidden" name="cropfinal" value="1" />
<input type="hidden" name="xstart" id="x1" />
<input type="hidden" name="ystart" id="y1" />
diff --git a/view/profile_photo.tpl b/view/profile_photo.tpl
index 0b3a1cac1..04ee8f916 100644
--- a/view/profile_photo.tpl
+++ b/view/profile_photo.tpl
@@ -8,6 +8,13 @@
<input name="userfile" type="file" id="profile-photo-upload" size="48" />
</div>
+<label id="profile-photo-profiles-label" for="profile-photo-profiles">$lbl_profiles </label>
+<select name="profile" id="profile-photo-profiles" />
+{{ for $profiles as $p }}
+<option value="$p.id" {{ if $p.default }}selected="selected"{{ endif }}>$p.name</option>
+{{ endfor }}
+</select>
+
<div id="profile-photo-submit-wrapper">
<input type="submit" name="submit" id="profile-photo-submit" value="$submit">
</div>