'$can_post' => $can_post,
'$upload' => array(t('Upload New Photos'), 'photos/' . $a->data['user']['nickname'] . '/upload/' . bin2hex($album)),
'$order' => $order,
- '$edit' => $edit
+ '$edit' => $edit,
+ '$paginate' => paginate($a),
));
- $o .= paginate($a);
-
return $o;
}
'$can_post' => $can_post,
'$upload' => array(t('Upload New Photos'), 'photos/'.$a->data['user']['nickname'].'/upload'),
'$photos' => $photos,
+ '$paginate' => paginate($a),
));
-
- $o .= paginate($a);
return $o;
}
</div>
<div class="photo-album-image-wrapper-end"></div>
{{/foreach}}
+
+{{$paginate}}
{{/foreach}}
</div>
<div class="photos-end"></div>
+
+{{$paginate}}
#prvmail-end {
clear:both;
}
+/* photos */
+.photo-album-actions {
+ margin-bottom: 10px;
+}
+.photo-album-actions .photos-order-link {
+ float: right;
+}
/* poke */
#poke-desc {
margin: 5px 0 30px;
--- /dev/null
+
+<div class="generic-page-wrapper">
+
+ <h3 id="photo-album-title">{{$album}}</h3>
+
+ <div class="photo-album-actions">
+ {{if $can_post}}
+ <a class="photos-upload-link" href="{{$upload.1}}">{{$upload.0}}</a>
+ {{/if}}
+ {{if $can_post && $edit}}<span role="presentation" class="separator"> • </span>{{/if}}
+ {{if $edit}}
+ <a id="album-edit-link" href="{{$edit.1}}" title="{{$edit.0}}">{{$edit.0}}</a>
+ {{/if}}
+ <a class="photos-order-link" href="{{$order.1}}" title="{{$order.0}}">{{$order.0}}</a>
+ </div>
+ <div class="clear"></div>
+
+ <div class="photo-album-wrapper" id="photo-album-contents">
+ {{foreach $photos as $photo}}
+ {{include file="photo_top.tpl"}}
+ {{/foreach}}
+
+ <div class="photo-album-end"></div>
+
+ {{$paginate}}
+</div>
+
+<script>$(document).ready(function() { loadingPage = false; justifyPhotos('photo-album-contents-{{$album_id}}'); });</script>
-<h3>{{$title}}</h3>
-{{if $can_post}}
-<a id="photo-top-upload-link" href="{{$upload.1}}">{{$upload.0}}</a>
-{{/if}}
-
-<div id="photo-album-contents" class="photos">
-{{foreach $photos as $photo}}
- {{include file="photo_top.tpl"}}
-{{/foreach}}
+<div class="generic-page-wrapper">
+
+ <h3>{{$title}}</h3>
+
+ {{if $can_post}}
+ <a id="photo-top-upload-link" href="{{$upload.1}}">{{$upload.0}}</a>
+ {{/if}}
+
+ <div id="photo-album-contents" class="photos">
+ {{foreach $photos as $photo}}
+ {{include file="photo_top.tpl"}}
+ {{/foreach}}
+ </div>
+ <div class="photos-end"></div>
+
+ {{$paginate}}
</div>
-<div class="photos-end"></div>
<script>$(document).ready(function() { loadingPage = false; justifyPhotos(); });</script>