Merge pull request #2223 from rabuzarus/2912_photo_widget
photo aside widget for profile page
This commit is contained in:
commit
83e54f70d3
15 changed files with 290 additions and 106 deletions
18
view/templates/widget_photos.tpl
Normal file
18
view/templates/widget_photos.tpl
Normal file
|
@ -0,0 +1,18 @@
|
|||
|
||||
<div id="sidebar_photos_widget" class="widget">
|
||||
<h3><a href="{{$photo_albums}}" title="{{$photo_albums_page_title}}">{{$title}}</a></h3>
|
||||
|
||||
<div id="widget_photos_wrapper">
|
||||
{{foreach $photos as $photo}}
|
||||
<div class="widget_photo_container">
|
||||
<div class="widget-photo" id="widget-photo-{{$photo.id}}" >
|
||||
<a href="{{$photo.src}}" class="widget-photo-link" id="widget-photo-link-{{$photo.id}}" >
|
||||
<img class="widget-photo-img" src="{{$photo.photo}}" alt="{{$photo.alt_text}}" title="{{$photo.alt_text}}" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{{/foreach}}
|
||||
</div>
|
||||
|
||||
<div class="clear"></div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue