summaryrefslogtreecommitdiff
path: root/templates/crosspost.tpl
diff options
context:
space:
mode:
authorLester Caine ext:(%22) <lester@lsces.co.uk>2012-04-29 22:15:23 +0100
committerLester Caine ext:(%22) <lester@lsces.co.uk>2012-04-29 22:15:23 +0100
commit385244033afd2d42323df9c093333bb5f54d9704 (patch)
treed59eb58f1d9a11557dc5748de6622ce5daf3110e /templates/crosspost.tpl
parent233aac2a3ff1ac58e7526ea885dcaa7d8daf8edd (diff)
downloadblogs-385244033afd2d42323df9c093333bb5f54d9704.tar.gz
blogs-385244033afd2d42323df9c093333bb5f54d9704.tar.bz2
blogs-385244033afd2d42323df9c093333bb5f54d9704.zip
White pace tidyup
Diffstat (limited to 'templates/crosspost.tpl')
-rw-r--r--templates/crosspost.tpl38
1 files changed, 19 insertions, 19 deletions
diff --git a/templates/crosspost.tpl b/templates/crosspost.tpl
index 08cee48..f0e80c8 100644
--- a/templates/crosspost.tpl
+++ b/templates/crosspost.tpl
@@ -8,7 +8,7 @@
{form enctype="multipart/form-data" name="blogpost" id="editpageform"}
<input type="hidden" name="post_id" value="{$post_id|escape}" />
<input type="hidden" name="rows" value="{$rows}"/>
- <input type="hidden" name="cols" value="{$cols}"/>
+ <input type="hidden" name="cols" value="{$cols}"/>
{legend legend="Crosspost"}
{* we loop over this twice because we want two separate lists from the same hash *}
{if $availableBlogs}
@@ -31,7 +31,7 @@
{/forminput}
</div><br/>
{/if}
-
+
{if $availableBlogs}
<div class="row">
{formlabel label="Include in Blogs" for="blog_id"}
@@ -50,18 +50,18 @@
{/forminput}
</div>
{/if}
-
+
{if $has_crosspost_option}
{formlabel label="Crosspost Note Format"}
{forminput}
{foreach name=formatPlugins from=$gLibertySystem->mPlugins item=plugin key=guid}
{if $plugin.edit_field eq $post_info.format_guid}
- {$plugin.edit_label}
+ {$plugin.edit_label}
{/if}
{/foreach}
- {/forminput}
+ {/forminput}
{textarea id="crosspost_note" label="Crosspost Note (Optional)" name="crosspost_note" noformat="y" rows=6 help="Add a note you would like to appear above the post when viewed on the crossposted blog. This does not appear on the post page."}{$crosspost.crosspost_note}{/textarea}
-
+
<div class="row submit">
<input type="submit" name="preview" value="{tr}Preview{/tr}" />&nbsp;
<input type="submit" name="save_post_exit" value="{tr}Save{/tr}" />
@@ -71,29 +71,29 @@
{/form}
-
+
{* ------this is the same as the guts of view_blog_post---- *}
<div class="display blogs">
<div class="header">
-
+
<h1>
{$post_info.blogtitle|escape}
</h1>
-
+
<div class="navigation">
{if $gContent_previous}
<span class="left">
Previous: <a href="{$gContent_previous->getDisplayUrl()}">{$gContent_previous->getTitle()|escape}</a>
</span>
{/if}
-
+
{if $gContent_next}
<span class="right">
Next: <a href="{$gContent_next->getDisplayUrl()}">{$gContent_next->getTitle()|escape}</a>
</span>
{/if}
</div>
-
+
<h1>
{if $post_info.use_title eq 'y'}
{$post_info.title|escape}
@@ -101,28 +101,28 @@
{$post_info.publish_date|default:$post_info.created|bit_long_date}
{/if}
</h1>
-
+
<div class="date">
{tr}Posted by{/tr} {displayname hash=$post_info}<br />
- {tr}Posted on{/tr} {$post_info.publish_date|default:$post_info.created|bit_long_date}<br/>
+ {tr}Posted on{/tr} {$post_info.publish_date|default:$post_info.created|bit_long_date}<br/>
{if count($post_info.blogs) > 0}
{tr}Posted to{/tr}
{foreach from=$post_info.blogs item=memberBlog key=blogContentId name=memberBlogLoop}
<a href="{$memberBlog.blog_url}">{$memberBlog.title}</a>{if $smarty.foreach.memberBlogLoop.total > 1 && !$smarty.foreach.memberBlogLoop.last }, {/if}
{/foreach}
<br />
- {/if}
+ {/if}
</div>
</div>
-
+
<div class="body">
<div class="content">
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='body' serviceHash=$post_info}
-
+
{$parsed_data}
</div> <!-- end .content -->
</div> <!-- end .body -->
-
+
<div class="footer">
<a href="{$post_info.display_url}" rel="bookmark">{tr}Permalink{/tr}</a>
{tr}referenced by{/tr} {$post_info.trackbacks_from_count} {tr}posts{/tr} | {tr}references{/tr} {$post_info.trackbacks_to_count} {tr}posts{/tr}
@@ -130,8 +130,8 @@
| {$post_info.num_comments} {tr}comments{/tr}
{/if}
</div> {* end .footer *}
-
+
</div> {* end .blog *}
- </div>
+ </div>
</div>
{/strip}