diff options
author | friendica <info@friendica.com> | 2013-12-26 13:08:16 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-12-26 13:08:16 -0800 |
commit | c59688553c6f681fe7a11479b69dce8c3cd308dc (patch) | |
tree | fd7aa629a07a592c97a459b19a8665ca6e0a2a7e /view | |
parent | 152ed9637926f478a6d15a29950f085117172a6f (diff) | |
download | volse-hubzilla-c59688553c6f681fe7a11479b69dce8c3cd308dc.tar.gz volse-hubzilla-c59688553c6f681fe7a11479b69dce8c3cd308dc.tar.bz2 volse-hubzilla-c59688553c6f681fe7a11479b69dce8c3cd308dc.zip |
remove prettyphoto from core - this will affect the enhanced photo albums feature on the short term which has been disabled until we figure out how to make the setting per-theme instead of a core option. The library is still available in core (library/prettyphoto) currently but needs to be moved to theme js and loaded/accessed from there [for themes which use it]. Then the library will be removed. It appears that other lightboxes commonly use rel= to group photo albums. So we may provide a generic rel= tag in photo album templates so that the choice of lightbox or album viewer is not only a theme option but could also be accomplished with plugins.
Diffstat (limited to 'view')
-rwxr-xr-x | view/tpl/photo_album.tpl | 1 | ||||
-rwxr-xr-x | view/tpl/photo_view.tpl | 2 | ||||
-rw-r--r-- | view/tpl/prettyphoto.tpl | 6 | ||||
-rw-r--r-- | view/tpl/webpagelist.tpl | 4 |
4 files changed, 1 insertions, 12 deletions
diff --git a/view/tpl/photo_album.tpl b/view/tpl/photo_album.tpl index c170d47a3..a63bff78c 100755 --- a/view/tpl/photo_album.tpl +++ b/view/tpl/photo_album.tpl @@ -1,4 +1,3 @@ -{{include file="prettyphoto.tpl"}} <div class="photo-album-image-wrapper{{$twist}}" id="photo-album-image-wrapper-{{$id}}"> <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" id="photo-album-photo-{{$id}}" /> diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl index c3b697776..e56fd5b57 100755 --- a/view/tpl/photo_view.tpl +++ b/view/tpl/photo_view.tpl @@ -1,5 +1,3 @@ -{{include file="prettyphoto.tpl"}} - <div id="live-display"></div> <h3><a href="{{$album.0}}">{{$album.1}}</a></h3> diff --git a/view/tpl/prettyphoto.tpl b/view/tpl/prettyphoto.tpl deleted file mode 100644 index 6d047e620..000000000 --- a/view/tpl/prettyphoto.tpl +++ /dev/null @@ -1,6 +0,0 @@ -<script type="text/javascript" charset="utf-8"> - $(document).ready(function(){ - $("a[rel^='prettyPhoto']").prettyPhoto(); - }); -</script> - diff --git a/view/tpl/webpagelist.tpl b/view/tpl/webpagelist.tpl index 437e93348..c19836a28 100644 --- a/view/tpl/webpagelist.tpl +++ b/view/tpl/webpagelist.tpl @@ -1,5 +1,3 @@ -{{include file="prettyphoto.tpl"}} - {{if $pages}} <div id="pagelist-content-wrapper" class="generic-content-wrapper"> @@ -8,7 +6,7 @@ <div class="page-list-item"> {{if $edit}}<a href="{{$baseurl}}/{{$item.url}}" title="{{$edit}}"><i class="icon-pencil design-icons design-edit-icon"></i></a> {{/if}} {{if $view}}<a href="page/{{$channel}}/{{$item.title}}" title="{{$view}}"><i class="icon-external-link design-icons design-view-icon"></i></a> {{/if}} - {{if $preview}}<a href="page/{{$channel}}/{{$item.title}}?iframe=true&width=80%&height=80%" rel="xprettyPhoto[iframesx]" title="{{$preview}}"><i class="icon-eye-open design-icons design-preview-icon"></i></a> {{/if}} + {{if $preview}}<a href="page/{{$channel}}/{{$item.title}}?iframe=true&width=80%&height=80%" title="{{$preview}}" class="webpage-preview" ><i class="icon-eye-open design-icons design-preview-icon"></i></a> {{/if}} {{$item.title}} </div> {{/foreach}} |