diff --git a/serendipity_event_staticpage/ChangeLog b/serendipity_event_staticpage/ChangeLog index ea4d52c3..9e5ffad4 100644 --- a/serendipity_event_staticpage/ChangeLog +++ b/serendipity_event_staticpage/ChangeLog @@ -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 diff --git a/serendipity_event_staticpage/plugin_staticpage_related_category.tpl b/serendipity_event_staticpage/plugin_staticpage_related_category.tpl index 95d59e92..9f3cf85f 100644 --- a/serendipity_event_staticpage/plugin_staticpage_related_category.tpl +++ b/serendipity_event_staticpage/plugin_staticpage_related_category.tpl @@ -6,23 +6,19 @@

{$staticpage_headline|@escape}

{if $staticpage_navigation AND $staticpage_shownavi} - - - - - - - {if $staticpage_show_breadcrumb} - - - - {/if} -
{$staticpage_navigation.prev.name|@escape}{$staticpage_navigation.top.name|@escape}{$staticpage_navigation.next.name|@escape}
- {$CONST.HOME|lower|capitalize:true} » - {foreach name="crumbs" from=$staticpage_navigation.crumbs item="crumb"} - {if !$smarty.foreach.crumbs.first}» {/if}{if !$smarty.foreach.crumbs.last}{$crumb.name|@escape}{else}{$crumb.name|@escape}{/if} - {/foreach} -
+ +{/if} +{if $staticpage_show_breadcrumb} +
+ {$CONST.HOME|lower|capitalize:true} » + {foreach name="crumbs" from=$staticpage_navigation.crumbs item="crumb"} + {if !$smarty.foreach.crumbs.first}» {/if}{if !$smarty.foreach.crumbs.last}{$crumb.name|@escape}{else}{$crumb.name|@escape}{/if} + {/foreach} +
{/if} {if $staticpage_articleformat} @@ -58,13 +54,20 @@ {/if}
-{* 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"} *}
+{if $staticpage_articleformat} +
+{/if} + {if $staticpage_author}
{$staticpage_author|@escape}
{/if} @@ -78,3 +81,6 @@ | {$staticpage_adminlink.link_name|@escape} {/if}
+{if $staticpage_articleformat} + +{/if} diff --git a/serendipity_event_staticpage/serendipity_event_staticpage.php b/serendipity_event_staticpage/serendipity_event_staticpage.php index ba95e2c0..51788a09 100644 --- a/serendipity_event_staticpage/serendipity_event_staticpage.php +++ b/serendipity_event_staticpage/serendipity_event_staticpage.php @@ -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',