summaryrefslogtreecommitdiff
path: root/templates
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
parent233aac2a3ff1ac58e7526ea885dcaa7d8daf8edd (diff)
downloadblogs-385244033afd2d42323df9c093333bb5f54d9704.tar.gz
blogs-385244033afd2d42323df9c093333bb5f54d9704.tar.bz2
blogs-385244033afd2d42323df9c093333bb5f54d9704.zip
White pace tidyup
Diffstat (limited to 'templates')
-rw-r--r--templates/center_list_blog_posts.php2
-rw-r--r--templates/crosspost.tpl38
-rw-r--r--templates/view_blog_post.tpl8
3 files changed, 24 insertions, 24 deletions
diff --git a/templates/center_list_blog_posts.php b/templates/center_list_blog_posts.php
index 8cf8199..48bb7aa 100644
--- a/templates/center_list_blog_posts.php
+++ b/templates/center_list_blog_posts.php
@@ -92,7 +92,7 @@ $listHash['enforce_status'] = TRUE;
$listHash['min_owner_status_id'] = 0;
/* I think this is right - usually we pass in $_REQUEST
- * but in this case I pass in the listHash because
+ * but in this case I pass in the listHash because
* this is in a module - change it if its a mistake wjames5
*/
$blogPost->invokeServices( 'content_list_function', $listHash );
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}
diff --git a/templates/view_blog_post.tpl b/templates/view_blog_post.tpl
index 70e9c00..2c4d88b 100644
--- a/templates/view_blog_post.tpl
+++ b/templates/view_blog_post.tpl
@@ -90,9 +90,9 @@
ondblclick="location.href='{$smarty.const.BLOGS_PKG_URL}post.php?blog_id={$post_info.blog_id}&amp;post_id={$post_info.post_id}';"
{/if}
>
- <div class="content">
+ <div class="content">
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='body' serviceHash=$post_info}
-
+
{* deal with the blog post image if there is one *}
{if $gBitSystem->isFeatureActive( 'blog_show_image' ) && $post_info.thumbnail_url}
<div class="image primary">
@@ -104,7 +104,7 @@
</div> <!-- end .content -->
</div> <!-- end .body -->
- <div class="footer">
+ <div class="footer">
<a href="{$post_info.display_url}" rel="bookmark">{tr}Permalink{/tr}</a>
{assign var=spacer value=TRUE}
{if $post_info.trackbacks_from_count > 0}
@@ -114,7 +114,7 @@
{if $post_info.trackbacks_to_count > 0}
{if $spacer}&nbsp; &bull; &nbsp;{/if}
{tr}references{/tr} {$post_info.trackbacks_to_count} {tr}posts{/tr}
- {/if}
+ {/if}
{if $gBitSystem->isFeatureActive( 'blog_posts_comments' )}
{if $spacer}&nbsp; &bull; &nbsp;{/if}
{if $showDescriptionsOnly}<a href="{$post_info.display_url}#editcomments">{/if}