aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/webpagelist.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-26 13:08:16 -0800
committerfriendica <info@friendica.com>2013-12-26 13:08:16 -0800
commitc59688553c6f681fe7a11479b69dce8c3cd308dc (patch)
treefd7aa629a07a592c97a459b19a8665ca6e0a2a7e /view/tpl/webpagelist.tpl
parent152ed9637926f478a6d15a29950f085117172a6f (diff)
downloadvolse-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/tpl/webpagelist.tpl')
-rw-r--r--view/tpl/webpagelist.tpl4
1 files changed, 1 insertions, 3 deletions
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}}