From c59688553c6f681fe7a11479b69dce8c3cd308dc Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 26 Dec 2013 13:08:16 -0800 Subject: 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. --- view/tpl/photo_album.tpl | 1 - view/tpl/photo_view.tpl | 2 -- view/tpl/prettyphoto.tpl | 6 ------ view/tpl/webpagelist.tpl | 4 +--- 4 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 view/tpl/prettyphoto.tpl (limited to 'view') 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"}}
{{$imgalt}} 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"}} -

{{$album.1}}

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 @@ - - 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}}
@@ -8,7 +6,7 @@
{{if $edit}} {{/if}} {{if $view}} {{/if}} - {{if $preview}} {{/if}} + {{if $preview}} {{/if}} {{$item.title}}
{{/foreach}} -- cgit v1.2.3