From: Penny Leach Date: Mon, 10 Jul 2006 06:55:42 +0000 (+1200) Subject: adding entry template to get rid of category X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=6059508aa9e7d2fa4dda51c78d15997fb1258c4e;p=s9y.git adding entry template to get rid of category --- diff --git a/templates/sgn2.0/entries.tpl b/templates/sgn2.0/entries.tpl new file mode 100644 index 0000000..422794f --- /dev/null +++ b/templates/sgn2.0/entries.tpl @@ -0,0 +1,195 @@ + + {serendipity_hookPlugin hook="entries_header" addData="$entry_id"} + + {foreach from=$entries item="dategroup"} +
+ {if $dategroup.is_sticky} +

{$CONST.STICKY_POSTINGS}

+ {else} +

{$dategroup.date|@formatTime:DATE_FORMAT_ENTRY}

+ {/if} + + {foreach from=$dategroup.entries item="entry"} +

{$entry.title}

+ + + + {$entry.plugin_display_dat} + + {if $is_single_entry and not $use_popups and not $is_preview} + {if $CONST.DATA_UNSUBSCRIBED} +
{$CONST.DATA_UNSUBSCRIBED|@sprintf:$CONST.UNSUBSCRIBE_OK}

+ {/if} + + {if $CONST.DATA_TRACKBACK_DELETED} +
{$CONST.DATA_TRACKBACK_DELETED|@sprintf:$CONST.TRACKBACK_DELETED}

+ {/if} + + {if $CONST.DATA_TRACKBACK_APPROVED} +
{$CONST.DATA_TRACKBACK_APPROVED|@sprintf:$CONST.TRACKBACK_APPROVED}

+ {/if} + + {if $CONST.DATA_COMMENT_DELETED} +
{$CONST.DATA_COMMENT_DELETED|@sprintf:$CONST.COMMENT_DELETED}

+ {/if} + + {if $CONST.DATA_COMMENT_APPROVED} +
{$CONST.DATA_COMMENT_APPROVED|@sprintf:$CONST.COMMENT_APPROVED}

+ {/if} + +
+
+ +
{$CONST.TRACKBACKS}
+ +
+ {serendipity_printTrackbacks entry=$entry.id} +
+ {/if} + + {if $is_single_entry and not $is_preview} +
+
+ +
{$CONST.COMMENTS}
+
{$CONST.DISPLAY_COMMENTS_AS} + {if $entry.viewmode eq $CONST.VIEWMODE_LINEAR} + ({$CONST.COMMENTS_VIEWMODE_LINEAR} | {$CONST.COMMENTS_VIEWMODE_THREADED}) + {else} + ({$CONST.COMMENTS_VIEWMODE_LINEAR} | {$CONST.COMMENTS_VIEWMODE_THREADED}) + {/if} +
+
+ {serendipity_printComments entry=$entry.id mode=$entry.viewmode} + + {if $entry.is_entry_owner} + {if $entry.allow_comments} + + {else} + + {/if} + {/if} + + + {foreach from=$comments_messagestack item="message"} +
{$message}
+ {/foreach} + + {if $is_comment_added} + +
+
{$CONST.COMMENT_ADDED}
+ + {elseif $is_comment_moderate} + +
+
{$CONST.COMMENT_ADDED}
{$CONST.THIS_COMMENT_NEEDS_REVIEW}
+ + {elseif not $entry.allow_comments} + +
+
{$CONST.COMMENTS_CLOSED}
+ + {else} + +
+
+
{$CONST.ADD_COMMENT}
+ {$COMMENTFORM} +
+ + {/if} +
+ {/if} + + {$entry.backend_preview} + {/foreach} +
+ {foreachelse} + {if not $plugin_clean_page} + {$CONST.NO_ENTRIES_TO_PRINT} + {/if} + {/foreach} + +
+ {if $footer_prev_page} + « {$CONST.PREVIOUS_PAGE}   + {/if} + + {if $footer_info} + ({$footer_info}) + {/if} + + {if $footer_next_page} + » {$CONST.NEXT_PAGE} + {/if} + + {serendipity_hookPlugin hook="entries_footer"} +
+