additional_plugins/serendipity_event_guestbook/plugin_guestbook_entries.tpl

84 lines
3.3 KiB
Smarty
Raw Normal View History

2014-12-29 13:34:41 +01:00
{*
plugin_guestbook_entries.tpl for v.3.53 - 2014-12-29
2013-08-23 18:53:08 +02:00
*}
2011-12-13 12:29:05 +01:00
{if $plugin_guestbook_articleformat}
<div class="serendipity_Entry_Date serendipity_guestbook">
{if $staticpage_pagetitle}<h2 class="serendipity_title">{$staticpage_headline}</h2>{/if}
<div class="serendipity_entry">
<div class="serendipity_entry_body">
{/if}
2014-12-29 13:34:41 +01:00
<div id="guestbook_wrapper">
2011-12-13 12:29:05 +01:00
<div class="clearfix">
<div class="entry-info">
{if !$plugin_guestbook_articleformat}<h2 class="page-title">{$staticpage_headline}</h1>{/if}
{if !$is_contactform_sent and $plugin_guestbook_intro}
<div id="preface" class="preface guestbook_intro">{$plugin_guestbook_intro}</div>
{/if}
</div>
{if $staticpage_formorder == 'top'}{$GUESTBOOK_FORM}{/if}
<div class="entry-body">
{if $is_guestbook_message}
<p class="serendipity_center serendipity_msg_important guestbook_errorbundled">{$error_occured}</p>
{if $guestbook_messages}
<ul>
{foreach from=$guestbook_messages item="messages"}
<li class="guestbook_errors">{$messages}</li>
{/foreach}
</ul>
{/if}
{/if}
{if $guestbook_entry_paging}<div id="guestbook_entrypaging">{$guestbook_paging}</div>{/if}
{if $guestbook_entries}
{foreach from=$guestbook_entries item="entry"}
<div id="guestbook_entrybundle">
<div class="guestbook_entrytop">
<dl class="guestbook_entries">
<dt><a href="mailto:{$entry.email}">{$entry.name}</a>
{$CONST.PLUGIN_GUESTBOOK_USERSDATE_OF_ENTRY} <img src="{$entry.pluginpath}img/shorttime.gif" width="14" height="17" onfocus="this.blur();" align="absmiddle" alt="{$CONST.TEXT_IMG_LASTMODIFIED}" title="{$CONST.TEXT_IMG_LASTMODIFIED}" />&nbsp;
{$entry.timestamp}
</dt>
{if $entry.homepage}
2014-12-29 13:34:41 +01:00
<dt>{$CONST.TEXT_USERS_HOMEPAGE}: <a href="{$entry.homepage}" target="_blank">{$entry.homepage|truncate:24:'&hellip;'}</a></dt>
2011-12-13 12:29:05 +01:00
{/if}
</dl>
<dl class="guestbook_entrybottom">
2014-12-29 13:34:41 +01:00
<dd>{$entry.body|replace:'&amp;quot;':'&quot;'}</dd>
</dl>
2011-12-13 12:29:05 +01:00
</div> <!-- //- class:guestbook_entrytop end -->
</div> <!-- //- id:guestbook_entrybundle end -->
2013-08-23 18:53:08 +02:00
2011-12-13 12:29:05 +01:00
<div class="guestbook_splitentries">&#160;</div>
{/foreach}
{/if}
2013-08-23 18:53:08 +02:00
{if $guestbook_entry_paging}<div id="guestbook_entrypaging">{$guestbook_paging}</div>{/if}
2011-12-13 12:29:05 +01:00
</div><!-- //- class:entry-body end -->
{if $staticpage_formorder == 'bottom'}{$GUESTBOOK_FORM}{/if}
</div> <!-- //- class:clearfix end -->
</div> <!-- //- id:guestbook_wrapper end -->
{if $plugin_guestbook_articleformat}
</div> <!-- //- class:serendipity_entry_body end -->
</div> <!-- //- class:serendipity_entry end -->
2013-08-23 18:53:08 +02:00
</div> <!-- //- class:serendipity_Entry_Date end -->
2011-12-13 12:29:05 +01:00
{/if}