aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photos_upload.tpl
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-10-31 20:25:43 +0100
committermarijus <mario@mariovavti.com>2014-10-31 20:25:43 +0100
commit5d151b988605bc5aedbef65b687a43dedbc574e9 (patch)
treed8b16f708c5a11ac143f38c40e24b29aa5d8a448 /view/tpl/photos_upload.tpl
parent5d1bb1b6854b4601eedaa9d39a40832b29d434e5 (diff)
downloadvolse-hubzilla-5d151b988605bc5aedbef65b687a43dedbc574e9.tar.gz
volse-hubzilla-5d151b988605bc5aedbef65b687a43dedbc574e9.tar.bz2
volse-hubzilla-5d151b988605bc5aedbef65b687a43dedbc574e9.zip
do not reload page for photo upload
Diffstat (limited to 'view/tpl/photos_upload.tpl')
-rwxr-xr-xview/tpl/photos_upload.tpl12
1 files changed, 3 insertions, 9 deletions
diff --git a/view/tpl/photos_upload.tpl b/view/tpl/photos_upload.tpl
index 4c53a7c62..5bb0092d6 100755
--- a/view/tpl/photos_upload.tpl
+++ b/view/tpl/photos_upload.tpl
@@ -1,18 +1,12 @@
-<div class="generic-content-wrapper">
- <div class="section-title-wrapper">
- <div id="photos-usage-message" class="pull-right">{{$usage}}</div>
- <h2>{{$pagename}}</h2>
- <div class="clear"></div>
- </div>
-
- <div class="section-content-wrapper">
+<div id="photo-upload-form" class="generic-content-wrapper">
+ <div class="section-content-tools-wrapper">
<form action="photos/{{$nickname}}" enctype="multipart/form-data" method="post" name="photos-upload-form" id="photos-upload-form">
<input type="hidden" id="photos-upload-source" name="source" value="photos" />
<div class="form-group">
<label for="photos-upload-album">{{$newalbum_label}}</label>
- <input type="text" class="form-control" id="photos-upload-album" placeholder="{{$newalbum_placeholder}}" value="{{$selname}}" list="dl-photo-upload">
+ <input type="text" class="form-control" id="photos-upload-album" name="newalbum" placeholder="{{$newalbum_placeholder}}" value="{{$selname}}" list="dl-photo-upload">
<datalist id="dl-photo-upload">
{{foreach $albums as $al}}
{{if $al.text}}