aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_album.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/photo_album.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/photo_album.tpl')
-rwxr-xr-xview/tpl/photo_album.tpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/view/tpl/photo_album.tpl b/view/tpl/photo_album.tpl
index 0a26fc367..2c0b8e5b9 100755
--- a/view/tpl/photo_album.tpl
+++ b/view/tpl/photo_album.tpl
@@ -5,13 +5,14 @@
{{/if}}
<a class="btn btn-default" href="{{$order.1}}" title="{{$order.0}}"><i class="icon-sort"></i></a>
{{if $can_post}}
- <a class="btn btn-xs btn-success" href="{{$upload.1}}"><i class="icon-upload"></i>&nbsp;{{$upload.0}}</a>
+ <button class="btn btn-xs btn-success" title="{{$usage}}" onclick="openClose('photo-upload-form');"><i class="icon-upload"></i>&nbsp;{{$upload.0}}</button>
{{/if}}
</div>
<h2>{{$album}}</h2>
<div class="clear"></div>
</div>
+{{$upload_form}}
{{$album_edit.1}}
<div id="photo-album-contents" class="generic-content-wrapper">
{{foreach $photos as $photo}}