From c0ede6cf6abed14eeb490bfd533f9815a2759ce1 Mon Sep 17 00:00:00 2001 From: Don Chambers Date: Tue, 2 Feb 2016 14:02:34 -0600 Subject: [PATCH 1/2] Clean blog theme minor revisions Static page templates, archive page template, staticpage backend template, font awesome upgrade --- templates/clean-blog/archive_categories.tpl | 2 ++ templates/clean-blog/archive_freetag.tpl | 16 +++++---- .../default_staticpage_backend.tpl | 36 +++++++++---------- templates/clean-blog/index.tpl | 2 +- templates/clean-blog/info.txt | 2 +- templates/clean-blog/plugin_staticpage.tpl | 16 +++------ .../plugin_staticpage_aboutpage.tpl | 2 +- .../plugin_staticpage_related_category.tpl | 6 ++-- .../clean-blog/staticpage-entries-listing.tpl | 7 ++-- templates/clean-blog/style.css | 1 + 10 files changed, 45 insertions(+), 45 deletions(-) diff --git a/templates/clean-blog/archive_categories.tpl b/templates/clean-blog/archive_categories.tpl index be7337e8..0f805f6b 100644 --- a/templates/clean-blog/archive_categories.tpl +++ b/templates/clean-blog/archive_categories.tpl @@ -29,4 +29,6 @@ {assign var="prevdepth" value=$plugin_category.catdepth} {/foreach} +{else} +

{$CONST.CATEGORIES_ON_ARCHIVE_DESC}

{/if} \ No newline at end of file diff --git a/templates/clean-blog/archive_freetag.tpl b/templates/clean-blog/archive_freetag.tpl index 4db40923..8901c2b9 100644 --- a/templates/clean-blog/archive_freetag.tpl +++ b/templates/clean-blog/archive_freetag.tpl @@ -1,6 +1,10 @@ -

{$CONST.EDITOR_TAGS}

-
-{foreach from=$tags key="tag_name" item="plugin_tags" name="each_tag"} - {$tag_name}{if !$smarty.foreach.each_tag.last}{/if} -{/foreach} -
\ No newline at end of file +{if $tags} +

{$CONST.EDITOR_TAGS}

+
+ {foreach from=$tags key="tag_name" item="plugin_tags" name="each_tag"} + {$tag_name}{if !$smarty.foreach.each_tag.last}{/if} + {/foreach} +
+{else} +

{$CONST.TAGS_ON_ARCHIVE_DESC}

+{/if} \ No newline at end of file diff --git a/templates/clean-blog/backend_templates/default_staticpage_backend.tpl b/templates/clean-blog/backend_templates/default_staticpage_backend.tpl index d57bc753..b63c80e8 100644 --- a/templates/clean-blog/backend_templates/default_staticpage_backend.tpl +++ b/templates/clean-blog/backend_templates/default_staticpage_backend.tpl @@ -129,24 +129,6 @@
-{* CUSTOM TO THIS THEME - OPTION TO SHOW/HIDE AUTHOR NAME *} -
-
- - - - -
-{* CUSTOM TO THIS THEME - OPTION TO SHOW/HIDE DATE *} -
-
- - - - -
-
-

{staticpage_input item="pre_content"} @@ -212,6 +194,24 @@ {staticpage_input item="articleformat"}
+{* CUSTOM TO THIS THEME - OPTION TO SHOW/HIDE AUTHOR NAME *} +
+
+
+ + + + +
+{* CUSTOM TO THIS THEME - OPTION TO SHOW/HIDE DATE *} +
+
+ + + + +
+
diff --git a/templates/clean-blog/index.tpl b/templates/clean-blog/index.tpl index 1b4553a4..68dd9980 100644 --- a/templates/clean-blog/index.tpl +++ b/templates/clean-blog/index.tpl @@ -29,7 +29,7 @@ {/if} {* CUSTOM FONTS *} - + diff --git a/templates/clean-blog/info.txt b/templates/clean-blog/info.txt index a0b0c2b0..baf90b75 100644 --- a/templates/clean-blog/info.txt +++ b/templates/clean-blog/info.txt @@ -1,5 +1,5 @@ Name: Clean Blog Author: s9y theme by Don Chambers. Original bootstrap theme by Iron Summit Media Strategies, LLC. -Date: 2015-06-18 +Date: 2016-02-02 Require Serendipity: 2.0 Backend: No \ No newline at end of file diff --git a/templates/clean-blog/plugin_staticpage.tpl b/templates/clean-blog/plugin_staticpage.tpl index 80d8b4ce..4a779756 100644 --- a/templates/clean-blog/plugin_staticpage.tpl +++ b/templates/clean-blog/plugin_staticpage.tpl @@ -43,20 +43,12 @@ {/if} {if $staticpage_navigation AND $staticpage_shownavi} - {/if} - {if $staticpage_navigation AND $staticpage_shownavi} - - {/if} + {/if} {if $staticpage_custom.show_author =='true' || $staticpage_custom.show_date =='true' || ($staticpage_adminlink && $staticpage_adminlink.page_user)}