diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/tpl/mail_list.tpl | 24 | ||||
-rw-r--r-- | view/tpl/page_display.tpl | 2 | ||||
-rw-r--r-- | view/tpl/photo_album.tpl | 8 | ||||
-rw-r--r-- | view/tpl/smarty3/mail_list.tpl | 24 | ||||
-rw-r--r-- | view/tpl/smarty3/photo_album.tpl | 8 |
5 files changed, 27 insertions, 39 deletions
diff --git a/view/tpl/mail_list.tpl b/view/tpl/mail_list.tpl index 4417d1863..c51783782 100644 --- a/view/tpl/mail_list.tpl +++ b/view/tpl/mail_list.tpl @@ -1,19 +1,7 @@ -<div class="mail-list-outside-wrapper"> - <div class="mail-list-sender" > - <a href="$from_url" class="mail-list-sender-url" ><img class="mail-list-sender-photo" src="$from_photo" height="32" width="32" alt="$from_name" /></a> - <div class="mail-list-sender-name" >$from_name</div> - </div> - <div class="mail-list-recip" > - <a href="$to_url" class="mail-list-recip-url" ><img class="mail-list-recip-photo" src="$to_photo" height="32" width="32" alt="$to_name" /></a> - <div class="mail-list-recip-name" >$to_name</div> - </div> - <div class="mail-list-date">$date</div> - <div class="mail-list-subject"><a href="message/$id" class="mail-list-link">$subject</a></div> - <div class="mail-list-delete-wrapper" id="mail-list-delete-wrapper-$id" > - <a href="message/dropconv/$id" onclick="return confirmDelete();" title="$delete" class="icon drophide mail-list-delete delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a> - </div> +<div class="mail-list-wrapper"> + <a href="$from_url" class="mail-list-sender-url" ><img class="mail-list-sender-photo" src="$from_photo" alt="$from_name" /></a> + <span class="mail-from">$from_name</span> + <span class="mail-subject {{if $seen}}seen{{else}}unseen{{endif}}"><a href="message/$id" class="mail-link">$subject</a></span> + <span class="mail-date" title="$date">$date</span> + <span class="mail-delete"><a href="message/dropconv/$id" onclick="return confirmDelete();" title="$delete" class="icon drophide mail-list-delete delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a></span> </div> -</div> -<div class="mail-list-delete-end"></div> - -<div class="mail-list-outside-wrapper-end"></div> diff --git a/view/tpl/page_display.tpl b/view/tpl/page_display.tpl index a79d505dd..c34747364 100644 --- a/view/tpl/page_display.tpl +++ b/view/tpl/page_display.tpl @@ -3,5 +3,5 @@ <div class="page-author"><a class=="page-author-link" href="$auth_url">$author</a></div> <div class="page-date">$date</div> - <div class="page-body">body</div> + <div class="page-body">$body</div> </div> diff --git a/view/tpl/photo_album.tpl b/view/tpl/photo_album.tpl index cc3dcfb9c..53392e709 100644 --- a/view/tpl/photo_album.tpl +++ b/view/tpl/photo_album.tpl @@ -1,5 +1,11 @@ +<script type="text/javascript" charset="utf-8"> + $(document).ready(function(){ + $("a[rel^='prettyPhoto']").prettyPhoto(); + }); +</script> + <div class="photo-album-image-wrapper" id="photo-album-image-wrapper-$id"> - <a href="$photolink" class="photo-album-photo-link" id="photo-album-photo-link-$id" title="$phototitle"> + <a href="$photolink" class="photo-album-photo-link" id="photo-album-photo-link-$id" title="$phototitle" rel="$rel"> <img src="$imgsrc" alt="$imgalt" title="$phototitle" class="photo-album-photo lframe resize$twist" id="photo-album-photo-$id" /> <p class='caption'>$desc</p> </a> diff --git a/view/tpl/smarty3/mail_list.tpl b/view/tpl/smarty3/mail_list.tpl index ffc75b794..717df51d5 100644 --- a/view/tpl/smarty3/mail_list.tpl +++ b/view/tpl/smarty3/mail_list.tpl @@ -3,22 +3,10 @@ * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN * *}} -<div class="mail-list-outside-wrapper"> - <div class="mail-list-sender" > - <a href="{{$from_url}}" class="mail-list-sender-url" ><img class="mail-list-sender-photo" src="{{$from_photo}}" height="32" width="32" alt="{{$from_name}}" /></a> - <div class="mail-list-sender-name" >{{$from_name}}</div> - </div> - <div class="mail-list-recip" > - <a href="{{$to_url}}" class="mail-list-recip-url" ><img class="mail-list-recip-photo" src="{{$to_photo}}" height="32" width="32" alt="{{$to_name}}" /></a> - <div class="mail-list-recip-name" >{{$to_name}}</div> - </div> - <div class="mail-list-date">{{$date}}</div> - <div class="mail-list-subject"><a href="message/{{$id}}" class="mail-list-link">{{$subject}}</a></div> - <div class="mail-list-delete-wrapper" id="mail-list-delete-wrapper-{{$id}}" > - <a href="message/dropconv/{{$id}}" onclick="return confirmDelete();" title="{{$delete}}" class="icon drophide mail-list-delete delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a> - </div> +<div class="mail-list-wrapper"> + <a href="{{$from_url}}" class="mail-list-sender-url" ><img class="mail-list-sender-photo" src="{{$from_photo}}" alt="{{$from_name}}" /></a> + <span class="mail-from">{{$from_name}}</span> + <span class="mail-subject {{if $seen}}seen{{else}}unseen{{/if}}"><a href="message/{{$id}}" class="mail-link">{{$subject}}</a></span> + <span class="mail-date" title="{{$date}}">{{$date}}</span> + <span class="mail-delete"><a href="message/dropconv/{{$id}}" onclick="return confirmDelete();" title="{{$delete}}" class="icon drophide mail-list-delete delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a></span> </div> -</div> -<div class="mail-list-delete-end"></div> - -<div class="mail-list-outside-wrapper-end"></div> diff --git a/view/tpl/smarty3/photo_album.tpl b/view/tpl/smarty3/photo_album.tpl index 56ee6b61c..33ab84df7 100644 --- a/view/tpl/smarty3/photo_album.tpl +++ b/view/tpl/smarty3/photo_album.tpl @@ -3,8 +3,14 @@ * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN * *}} +<script type="text/javascript" charset="utf-8"> + $(document).ready(function(){ + $("a[rel^='prettyPhoto']").prettyPhoto(); + }); +</script> + <div class="photo-album-image-wrapper" id="photo-album-image-wrapper-{{$id}}"> - <a href="{{$photolink}}" class="photo-album-photo-link" id="photo-album-photo-link-{{$id}}" title="{{$phototitle}}"> + <a href="{{$photolink}}" class="photo-album-photo-link" id="photo-album-photo-link-{{$id}}" title="{{$phototitle}}" rel="{{$rel}}"> <img src="{{$imgsrc}}" alt="{{$imgalt}}" title="{{$phototitle}}" class="photo-album-photo lframe resize{{$twist}}" id="photo-album-photo-{{$id}}" /> <p class='caption'>{{$desc}}</p> </a> |