propagate changed plugin_staticpage_related_category.tpl
This commit is contained in:
parent
4a6d50a024
commit
9fc3f9b1cc
|
@ -1,3 +1,7 @@
|
|||
4.05 Bump version to propagate changed plugin_staticpage_related_category.tpl
|
||||
|
||||
4.04 Bump version to propagate new .htaccess
|
||||
|
||||
4.03 changed wrong place of ending form tag
|
||||
|
||||
4.02 Removed some & references, trying to fix issues with more recent PHP versions and core dumps / memory corruption
|
||||
|
|
|
@ -6,23 +6,19 @@
|
|||
<h4 class="serendipity_title"><a href="#">{$staticpage_headline|@escape}</a></h4>
|
||||
|
||||
{if $staticpage_navigation AND $staticpage_shownavi}
|
||||
<table border="0" cellpadding="2" cellspacing="2" width="100%" class="staticpage_navigation">
|
||||
<tr>
|
||||
<td class="staticpage_navigation_left" style="width: 20%"><a href="{$staticpage_navigation.prev.link}" title="prev">{$staticpage_navigation.prev.name|@escape}</a></td>
|
||||
<td class="staticpage_navigation_center" style="width: 60%; text-align: center"><a href="{$staticpage_navigation.top.link}" title="top">{$staticpage_navigation.top.name|@escape}</a></td>
|
||||
<td class="staticpage_navigation_right" style="width: 20%; text-align: right"><a href="{$staticpage_navigation.next.link}" title="next">{$staticpage_navigation.next.name|@escape}</a></td>
|
||||
</tr>
|
||||
{if $staticpage_show_breadcrumb}
|
||||
<tr>
|
||||
<td class="staticpage_navigation_center">
|
||||
<a href="{$serendipityBaseURL}">{$CONST.HOME|lower|capitalize:true}</a> »
|
||||
{foreach name="crumbs" from=$staticpage_navigation.crumbs item="crumb"}
|
||||
{if !$smarty.foreach.crumbs.first}» {/if}{if !$smarty.foreach.crumbs.last}<a href="{$crumb.link}">{$crumb.name|@escape}</a>{else}{$crumb.name|@escape}{/if}
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
</table>
|
||||
<ul class="staticpage_navigation">
|
||||
<li class="staticpage_navigation_left"><a href="{$staticpage_navigation.prev.link}" title="prev">{$staticpage_navigation.prev.name|@escape}</a></li>
|
||||
<li class="staticpage_navigation_center"><a href="{$staticpage_navigation.top.link}" title="top">{$staticpage_navigation.top.name|@escape}</a></li>
|
||||
<li class="staticpage_navigation_right"><a href="{$staticpage_navigation.next.link}" title="next">{$staticpage_navigation.next.name|@escape}</a></li>
|
||||
</ul>
|
||||
{/if}
|
||||
{if $staticpage_show_breadcrumb}
|
||||
<div class="staticpage_navigation_center">
|
||||
<a href="{$serendipityBaseURL}">{$CONST.HOME|lower|capitalize:true}</a> »
|
||||
{foreach name="crumbs" from=$staticpage_navigation.crumbs item="crumb"}
|
||||
{if !$smarty.foreach.crumbs.first}» {/if}{if !$smarty.foreach.crumbs.last}<a href="{$crumb.link}">{$crumb.name|@escape}</a>{else}{$crumb.name|@escape}{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $staticpage_articleformat}
|
||||
|
@ -58,13 +54,20 @@
|
|||
{/if}
|
||||
|
||||
<div class="staticpage_related_category_entry_list">
|
||||
{* standart - if you use it on a shared-s9y-installation you have to correct the path to staticpage-entries-listing.tpl *}
|
||||
{serendipity_fetchPrintEntries category=$staticpage_related_category_id template="../../plugins/serendipity_event_staticpage/staticpage-entries-listing.tpl" limit=5 noSticky="true"}
|
||||
{* Standard - if you use it on a shared-s9y-installation you have to correct the path to staticpage-entries-listing.tpl
|
||||
PLEASE NOTE:
|
||||
The Serendipity fallback mode uses serendipity/templates/bulletproof/plugin_staticpage_related_category.tpl. That file overwrites this file here.
|
||||
If you need to change anything, better copy this file to your template, to make the desired changes! *}
|
||||
{serendipity_fetchPrintEntries category=$staticpage_related_category_id template="../../plugins/serendipity_event_staticpage/staticpage-entries-listing.tpl" limit="5" noSticky="true"}
|
||||
|
||||
{* if you use your own static-entries.tpl in your template, take this: *}
|
||||
{* {serendipity_fetchPrintEntries category=$staticpage_related_category_id template="staticpage-entries-listing.tpl" limit=5 noSticky="true"} *}
|
||||
{* {serendipity_fetchPrintEntries category=$staticpage_related_category_id template="staticpage-entries-listing.tpl" limit="5" noSticky="true"} *}
|
||||
</div>
|
||||
|
||||
{if $staticpage_articleformat}
|
||||
<div class="serendipity_Entry_Date serendipity_staticpage">
|
||||
{/if}
|
||||
|
||||
{if $staticpage_author}
|
||||
<div class="staticpage_author">{$staticpage_author|@escape}</div>
|
||||
{/if}
|
||||
|
@ -78,3 +81,6 @@
|
|||
| <a class="staticpage_metainfo_editlink" href="{$staticpage_adminlink.link_edit}">{$staticpage_adminlink.link_name|@escape}</a>
|
||||
{/if}
|
||||
</div>
|
||||
{if $staticpage_articleformat}
|
||||
</div>
|
||||
{/if}
|
||||
|
|
|
@ -92,7 +92,7 @@ class serendipity_event_staticpage extends serendipity_event
|
|||
$propbag->add('page_configuration', $this->config);
|
||||
$propbag->add('type_configuration', $this->config_types);
|
||||
$propbag->add('author', 'Marco Rinck, Garvin Hicking, David Rolston, Falk Doering, Stephan Manske, Pascal Uhlmann, Ian, Don Chambers');
|
||||
$propbag->add('version', '4.04');
|
||||
$propbag->add('version', '4.05');
|
||||
$propbag->add('requirements', array(
|
||||
'serendipity' => '1.3',
|
||||
'smarty' => '2.6.7',
|
||||
|
|
Loading…
Reference in a new issue