Removed unnecessary assignment of constants to smarty variables. D'oh.
This commit is contained in:
@ -1,7 +1,3 @@
|
||||
{assign var="placename" value=$CONST.TWOK11_PLACE_NAME}
|
||||
{assign var="placemail" value=$CONST.TWOK11_PLACE_MAIL}
|
||||
{assign var="placeurl" value=$CONST.TWOK11_PLACE_URL}
|
||||
{assign var="placemess" value=$CONST.TWOK11_PLACE_MESSAGE}
|
||||
<div id="serendipityCommentFormC" class="serendipityCommentForm">
|
||||
<div id="serendipity_replyform_0"></div>
|
||||
<a id="serendipity_CommentForm"></a>
|
||||
@ -13,19 +9,19 @@
|
||||
</div>
|
||||
<div class="form_field">
|
||||
<label for="serendipity_commentform_name">{$CONST.NAME}</label>
|
||||
<input id="serendipity_commentform_name" name="serendipity[name]" type="text" value="{$commentform_name}" placeholder="{$placename}"/>
|
||||
<input id="serendipity_commentform_name" name="serendipity[name]" type="text" value="{$commentform_name}" placeholder="{$CONST.TWOK11_PLACE_NAME}"/>
|
||||
</div>
|
||||
<div class="form_field">
|
||||
<label for="serendipity_commentform_email">{$CONST.EMAIL}</label>
|
||||
<input id="serendipity_commentform_email" name="serendipity[email]" type="email" value="{$commentform_email}" placeholder="{$placemail}"/>
|
||||
<input id="serendipity_commentform_email" name="serendipity[email]" type="email" value="{$commentform_email}" placeholder="{$CONST.TWOK11_PLACE_MAIL}"/>
|
||||
</div>
|
||||
<div class="form_field">
|
||||
<label for="serendipity_commentform_url">{$CONST.HOMEPAGE}</label>
|
||||
<input id="serendipity_commentform_url" name="serendipity[url]" type="url" value="{$commentform_url}" placeholder="{$placeurl}"/>
|
||||
<input id="serendipity_commentform_url" name="serendipity[url]" type="url" value="{$commentform_url}" placeholder="{$CONST.TWOK11_PLACE_URL}"/>
|
||||
</div>
|
||||
<div class="form_tarea">
|
||||
<label for="serendipity_commentform_comment">{$CONST.COMMENT}</label>
|
||||
<textarea id="serendipity_commentform_comment" name="serendipity[comment]" rows="10" cols="40" placeholder="{$placemess}">{$commentform_data}</textarea>
|
||||
<textarea id="serendipity_commentform_comment" name="serendipity[comment]" rows="10" cols="40" placeholder="{$CONST.TWOK11_PLACE_MESSAGE}">{$commentform_data}</textarea>
|
||||
</div>
|
||||
{serendipity_hookPlugin hook="frontend_comment" data=$commentform_entry}
|
||||
{if $is_commentform_showToolbar}
|
||||
|
@ -1,5 +1,3 @@
|
||||
{assign var="plinktext" value=$CONST.TWOK11_PLINK_TEXT}
|
||||
{assign var="plinktitle" value=$CONST.TWOK11_PLINK_TITLE}
|
||||
{foreach from=$comments item=comment name="comments"}
|
||||
<article id="c{$comment.id}" class="serendipity_comment{if $entry.author == $comment.author} serendipity_comment_author_self{/if} {cycle values="odd,even"} {if $comment.depth > 8}commentlevel-9{else}commentlevel-{$comment.depth}{/if}">
|
||||
<h4>{if $comment.url}<a href="{$comment.url}">{/if}{$comment.author|@default:$CONST.ANONYMOUS}{if $comment.url}</a>{/if} {$CONST.ON} <time datetime="{$comment.timestamp|@serendipity_smarty_html5time}" pubdate>{$comment.timestamp|@formatTime:$template_option.date_format}</time>:</h4>
|
||||
@ -13,7 +11,7 @@
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<a class="comment_source_trace" href="#c{$comment.id}" title="{$plinktitle}">{$plinktext}</a>
|
||||
<a class="comment_source_trace" href="#c{$comment.id}" title="{$CONST.TWOK11_PLINK_TITLE}">{$CONST.TWOK11_PLINK_TEXT}</a>
|
||||
{if $entry.is_entry_owner}
|
||||
| <a class="comment_source_ownerlink" href="{$comment.link_delete}" title="{$CONST.COMMENT_DELETE_CONFIRM|@sprintf:$comment.id:$comment.author}">{$CONST.DELETE}</a>
|
||||
{/if}
|
||||
|
@ -1,5 +1,4 @@
|
||||
{serendipity_hookPlugin hook="entries_header" addData="$entry_id"}
|
||||
{assign var="pagtitle" value=$CONST.TWOK11_PAG_TITLE}
|
||||
{foreach from=$entries item="dategroup"}
|
||||
{foreach from=$dategroup.entries item="entry"}
|
||||
<article id="post_{$entry.id}" class="serendipity_entry{if $dategroup.is_sticky} sticky{/if}" role="article">
|
||||
@ -123,7 +122,7 @@
|
||||
{/foreach}
|
||||
{if $footer_info or $footer_prev_page or $footer_next_page}
|
||||
<nav class="serendipity_pagination" role="navigation">
|
||||
<h2 class="visuallyhidden">{$pagtitle}</h2>
|
||||
<h2 class="visuallyhidden">{$CONST.TWOK11_PAG_TITLE}</h2>
|
||||
|
||||
<ul class="clearfix">
|
||||
{if $footer_info}
|
||||
|
@ -37,7 +37,6 @@
|
||||
{serendipity_hookPlugin hook="frontend_header"}
|
||||
{/if}
|
||||
{if $is_raw_mode != true}
|
||||
{assign var="navtitle" value=$CONST.TWOK11_NAV_TITLE}
|
||||
<a class="visuallyhidden" href="#content"><span lang="en">Skip to content</span></a>
|
||||
<div id="page" class="clearfix">
|
||||
<header id="banner" class="clearfix{if $leftSidebarElements > 0 && $rightSidebarElements > 0} col3{elseif $leftSidebarElements > 0 && $rightSidebarElements == 0} col2l{else} col2r{/if}{if not $template_option.use_corenav} no-nav{/if}" role="banner">
|
||||
@ -61,7 +60,7 @@
|
||||
</header>
|
||||
{if $template_option.use_corenav}
|
||||
<nav id="primary-nav" role="navigation">
|
||||
<h2 class="visuallyhidden">{$navtitle}</h2>
|
||||
<h2 class="visuallyhidden">{$CONST.TWOK11_NAV_TITLE}</h2>
|
||||
|
||||
<ul class="clearfix">{foreach from=$navlinks item="navlink" name="sbnav"}{if $navlink.title!=""&&$navlink.href!=""}<li>{if $currpage==$navlink.href or $currpage2==$navlink.href}<span>{else}<a href="{$navlink.href}">{/if}{$navlink.title}{if $currpage==$navlink.href or $currpage2==$navlink.href}</span>{else}</a>{/if}</li>{/if}{/foreach}</ul>
|
||||
</nav>
|
||||
|
@ -1,8 +1,3 @@
|
||||
{assign var="placename" value=$CONST.TWOK11_PLACE_NAME}
|
||||
{assign var="placemail" value=$CONST.TWOK11_PLACE_MAIL}
|
||||
{assign var="placeurl" value=$CONST.TWOK11_PLACE_URL}
|
||||
{assign var="placemess" value=$CONST.TWOK11_PLACE_MESSAGE}
|
||||
{assign var="sendmail" value=$CONST.TWOK11_SEND_MAIL}
|
||||
{if $plugin_contactform_articleformat}
|
||||
<div class="serendipity_entry">
|
||||
{/if}
|
||||
@ -32,25 +27,25 @@
|
||||
</div>
|
||||
<div class="form_field">
|
||||
<label for="serendipity_commentform_name">{$CONST.NAME}</label>
|
||||
<input id="serendipity_commentform_name" name="serendipity[name]" type="text" value="{$commentform_name}" placeholder="{$placename}"/>
|
||||
<input id="serendipity_commentform_name" name="serendipity[name]" type="text" value="{$commentform_name}" placeholder="{$CONST.TWOK11_PLACE_NAME}"/>
|
||||
</div>
|
||||
|
||||
<div class="form_field">
|
||||
<label for="serendipity_commentform_email">{$CONST.EMAIL}</label>
|
||||
<input id="serendipity_commentform_email" name="serendipity[email]" type="email" value="{$commentform_email}" placeholder="{$placemail}"/>
|
||||
<input id="serendipity_commentform_email" name="serendipity[email]" type="email" value="{$commentform_email}" placeholder="{$CONST.TWOK11_PLACE_MAIL}"/>
|
||||
</div>
|
||||
|
||||
<div class="form_field">
|
||||
<label for="serendipity_commentform_url">{$CONST.HOMEPAGE}</label>
|
||||
<input id="serendipity_commentform_url" name="serendipity[url]" type="url" value="{$commentform_url}" placeholder="{$placeurl}"/>
|
||||
<input id="serendipity_commentform_url" name="serendipity[url]" type="url" value="{$commentform_url}" placeholder="{$CONST.TWOK11_PLACE_URL}"/>
|
||||
</div>
|
||||
|
||||
<div class="form_tarea">
|
||||
<label for="serendipity_commentform_comment">{$plugin_contactform_message}</label>
|
||||
<textarea id="serendipity_commentform_comment" name="serendipity[comment]" rows="10" cols="40" placeholder="{$placemess}">{$commentform_data}</textarea>
|
||||
<textarea id="serendipity_commentform_comment" name="serendipity[comment]" rows="10" cols="40" placeholder="{$CONST.TWOK11_PLACE_MESSAGE}">{$commentform_data}</textarea>
|
||||
</div>
|
||||
{serendipity_hookPlugin hook="frontend_comment" data=$commentform_entry}
|
||||
<input id="serendipity_submit" name="serendipity[submit]" type="submit" value="{$sendmail}"/>
|
||||
<input id="serendipity_submit" name="serendipity[submit]" type="submit" value="{$CONST.TWOK11_SEND_MAIL}"/>
|
||||
</form>
|
||||
</div>
|
||||
{/if}
|
||||
|
Reference in New Issue
Block a user