diff options
author | marijus <mario@mariovavti.com> | 2014-10-31 20:25:43 +0100 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2014-10-31 20:25:43 +0100 |
commit | 5d151b988605bc5aedbef65b687a43dedbc574e9 (patch) | |
tree | d8b16f708c5a11ac143f38c40e24b29aa5d8a448 /view/tpl/photos_recent.tpl | |
parent | 5d1bb1b6854b4601eedaa9d39a40832b29d434e5 (diff) | |
download | volse-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_recent.tpl')
-rwxr-xr-x | view/tpl/photos_recent.tpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/view/tpl/photos_recent.tpl b/view/tpl/photos_recent.tpl index 91b088c93..7727abcea 100755 --- a/view/tpl/photos_recent.tpl +++ b/view/tpl/photos_recent.tpl @@ -1,10 +1,11 @@ <div class="section-title-wrapper"> {{if $can_post}} - <a class="btn btn-xs btn-success pull-right" href="{{$upload.1}}"><i class="icon-upload"></i> {{$upload.0}}</a> + <button class="btn btn-xs btn-success pull-right" title="{{$usage}}" onclick="openClose('photo-upload-form');"><i class="icon-upload"></i> {{$upload.0}}</button> {{/if}} <h2>{{$title}}</h2> <div class="clear"></div> </div> +{{$upload_form}} <div id="photo-album-contents" class="generic-content-wrapper"> {{foreach $photos as $photo}} {{include file="photo_top.tpl"}} |