From 6520cb000d730c6618e9d708decebbfbe5a8effe Mon Sep 17 00:00:00 2001 From: wesley <wesley> Date: Fri, 29 Jul 2005 02:35:24 +0000 Subject: [PATCH] Backport new template hooks (they seem to work fine) and Kubrick translation (Korean) to branch --- templates/default/entries_archives.tpl | 3 +++ templates/default/entries_summary.tpl | 3 +++ templates/default/index.tpl | 2 +- templates/kubrick/index.tpl | 2 +- templates/kubrick/lang_ko.inc.php | 11 +++++++++++ templates/moz-modern/index.tpl | 2 +- templates/wp/entries_archives.tpl | 3 +++ templates/wp/entries_summary.tpl | 3 +++ templates/wp/index.tpl | 1 + 9 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 templates/kubrick/lang_ko.inc.php diff --git a/templates/default/entries_archives.tpl b/templates/default/entries_archives.tpl index c92905f..90906e0 100644 --- a/templates/default/entries_archives.tpl +++ b/templates/default/entries_archives.tpl @@ -1,3 +1,4 @@ +{serendipity_hookPlugin hook="entries_header"} {foreach from=$archives item="archive"} <table cellspacing="4" cellpadding="4" border="0"> <tr> @@ -14,3 +15,5 @@ {/foreach} </table> {/foreach} +<div class='serendipity_entryFooter' style="text-align: center"> +{serendipity_hookPlugin hook="entries_footer"}</div> diff --git a/templates/default/entries_summary.tpl b/templates/default/entries_summary.tpl index 62c6d62..27b8197 100644 --- a/templates/default/entries_summary.tpl +++ b/templates/default/entries_summary.tpl @@ -1,3 +1,4 @@ +{serendipity_hookPlugin hook="entries_header"} <div class='serendipity_date'>{$CONST.TOPICS_OF} {$dateRange.0|@formatTime:"%B, %Y"}</div> <div class="serendipity_entry"> @@ -10,3 +11,5 @@ {/foreach} </ul> </div> +<div class='serendipity_entryFooter' style="text-align: center"> +{serendipity_hookPlugin hook="entries_footer"}</div> diff --git a/templates/default/index.tpl b/templates/default/index.tpl index 9763ef8..39a9b68 100644 --- a/templates/default/index.tpl +++ b/templates/default/index.tpl @@ -47,7 +47,7 @@ {/if} {$raw_data} - +{serendipity_hookPlugin hook="frontend_footer"} {if $is_embedded != true} </body> </html> diff --git a/templates/kubrick/index.tpl b/templates/kubrick/index.tpl index c8f5427..839c6d5 100644 --- a/templates/kubrick/index.tpl +++ b/templates/kubrick/index.tpl @@ -55,7 +55,7 @@ </div> </div> - +{serendipity_hookPlugin hook="frontend_footer"} {if $is_embedded != true} </body> </html> diff --git a/templates/kubrick/lang_ko.inc.php b/templates/kubrick/lang_ko.inc.php new file mode 100644 index 0000000..3848562 --- /dev/null +++ b/templates/kubrick/lang_ko.inc.php @@ -0,0 +1,11 @@ +<?php # $Id: lang_ko.inc.php,v 1.0 2005/07/28 00:00:00 wesley Exp $ +@define('REPLY', 'ëµê¸'); +@define('SAYS', 'ì'); +@define('LINK_TO_COMMENT', '%dë² ë§ê¸ì ë§í¬'); +@define('ENTRY_POSTED_BY', 'ì´ ê¸ì ìì±ìë'); +@define('FILED_UNDER', 'ì´ë©° ë²ì£¼ë'); +@define('LEAVE_RESPONSE', '%së§ê¸ì ë¨ê¸°ê±°ë%s ë¹ì ì ë¸ë¡ê·¸ìì %sí¸ëë°±%s í ì ììµëë¤.'); +@define('SUBJECT_TO_MODERATION', '모ë ë§ê¸ì íìê° ë기 ì ì ê²í ê³¼ì ì ê±°ì¹ê² ë©ëë¤.'); +@define('COMMENTS_CLOSED', 'ë§ê¸ê³¼ í¸ëë°± 기ë¥ì íì¬ ë«í ììµëë¤.'); +@define('PROUDLY_POWERED_BY', 'ì´ ë¸ë¡ê·¸ì ìë 기ë°ì'); +?> \ No newline at end of file diff --git a/templates/moz-modern/index.tpl b/templates/moz-modern/index.tpl index c2d5c87..444febd 100644 --- a/templates/moz-modern/index.tpl +++ b/templates/moz-modern/index.tpl @@ -54,7 +54,7 @@ <div id="copyright">Powered by <a href="http://www.s9y.org/">serendipity</a>, Design by <a href="http://supergarv.de/">Garvin Hicking</a>. Smile, you're on the candid credit line!</div> </div> - +{serendipity_hookPlugin hook="frontend_footer"} {if $is_embedded != true} </body> </html> diff --git a/templates/wp/entries_archives.tpl b/templates/wp/entries_archives.tpl index c92905f..90906e0 100644 --- a/templates/wp/entries_archives.tpl +++ b/templates/wp/entries_archives.tpl @@ -1,3 +1,4 @@ +{serendipity_hookPlugin hook="entries_header"} {foreach from=$archives item="archive"} <table cellspacing="4" cellpadding="4" border="0"> <tr> @@ -14,3 +15,5 @@ {/foreach} </table> {/foreach} +<div class='serendipity_entryFooter' style="text-align: center"> +{serendipity_hookPlugin hook="entries_footer"}</div> diff --git a/templates/wp/entries_summary.tpl b/templates/wp/entries_summary.tpl index b456bb4..4e92b7e 100644 --- a/templates/wp/entries_summary.tpl +++ b/templates/wp/entries_summary.tpl @@ -1,3 +1,4 @@ +{serendipity_hookPlugin hook="entries_header"} <div class='serendipity_date'>{$CONST.TOPICS_OF} {$dateRange.0|@formatTime:"%B, %Y"}</div> <div class="serendipity_entry"> @@ -10,3 +11,5 @@ </ul> {/foreach} </div> +<div class='serendipity_entryFooter' style="text-align: center"> +{serendipity_hookPlugin hook="entries_footer"}</div> diff --git a/templates/wp/index.tpl b/templates/wp/index.tpl index 0659155..30a0d14 100644 --- a/templates/wp/index.tpl +++ b/templates/wp/index.tpl @@ -42,6 +42,7 @@ </div> <p class="credit"><cite>Powered by <a href="http://www.s9y.org/" title="Powered by Serendipity PHP Weblog"><strong>Serendipity</strong></a></cite></p> +{serendipity_hookPlugin hook="frontend_footer"} {if $is_embedded != true} </body> </html> -- 2.39.5