Basic support for static blocks (includeentry plugin) in 2k11.
This commit is contained in:
parent
87459991a9
commit
252970c2e5
@ -21,6 +21,9 @@
|
||||
{$entry.extended}
|
||||
</div>
|
||||
{/if}
|
||||
{if $entry.plugin_display_dat}
|
||||
{$entry.plugin_display_dat}
|
||||
{/if}
|
||||
|
||||
<footer class="clearfix">
|
||||
{if $entry.categories}
|
||||
@ -44,7 +47,6 @@
|
||||
| <a href="{$entry.url_shorturl}" title="{$CONST.TWOK11_SHORT_URL_HINT}" class="short-url">{$CONST.TWOK11_SHORT_URL}</a>
|
||||
{/if}
|
||||
{$entry.add_footer}
|
||||
{$entry.plugin_display_dat}
|
||||
</footer>
|
||||
|
||||
<!--
|
||||
|
11
templates/2k11/plugin_staticblock.tpl
Normal file
11
templates/2k11/plugin_staticblock.tpl
Normal file
@ -0,0 +1,11 @@
|
||||
<div class="serendipity_staticblock clearfix">
|
||||
{if $staticblock.title}
|
||||
<h3>{$staticblock.title}</h3>
|
||||
{/if}
|
||||
{if $staticblock.body}
|
||||
<div class="serendipity_staticblock_body clearfix">{$staticblock.body}</div>
|
||||
{/if}
|
||||
{if $staticblock.extended}
|
||||
<div class="serendipity_staticblock_extended clearfix">{$staticblock.extended}</div>
|
||||
{/if}
|
||||
</div>
|
Loading…
x
Reference in New Issue
Block a user