aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photos_recent.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/photos_recent.tpl')
-rwxr-xr-xview/tpl/photos_recent.tpl3
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>&nbsp;{{$upload.0}}</a>
+ <button class="btn btn-xs btn-success pull-right" title="{{$usage}}" onclick="openClose('photo-upload-form');"><i class="icon-upload"></i>&nbsp;{{$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"}}