0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
3.2.0-5
/
standard
/
htdocs
/
templates
/
[
Home
]
File: tiki-view_blog_post.tpl
{title help="Blogs"}{$blog_data.title}{/title} <a class="link" href="tiki-list_blogs.php">{tr}Blogs{/tr}</a> {$prefs.site_crumb_seper} <a class="link" href="tiki-view_blog.php?blogId={$post_info.blogId}">{$blog_data.title}</a> {$prefs.site_crumb_seper} {$post_info.title} <div class="post"> <div class="postbody"> <div class="author_actions clearfix"> <div class="actions"> {if $prefs.feature_freetags eq 'y' and $tiki_p_view_freetags eq 'y'} {if $tags.data|@count >0} <div class="freetaglist"> {foreach from=$tags.data item=tag} {capture name=tagurl}{if (strstr($tag.tag, ' '))}"{$tag.tag}"{else}{$tag.tag}{/if}{/capture} <a class="freetag" href="tiki-browse_freetags.php?tag={$smarty.capture.tagurl|escape:'url'}">{$tag.tag}</a> {/foreach} </div> {/if} {/if} {if ($ownsblog eq 'y') or ($user and $post_info.user eq $user) or $tiki_p_blog_admin eq 'y'} <a class="blogt" href="tiki-blog_post.php?blogId={$post_info.blogId}&postId={$post_info.postId}">{icon _id='page_edit'}</a> <a class="blogt" href="tiki-view_blog.php?blogId={$post_info.blogId}&remove={$post_info.postId}">{icon _id='cross' alt='{tr}Remove{/tr}'}</a> {/if} {if $user and $prefs.feature_notepad eq 'y' and $tiki_p_notepad eq 'y'} <a title="{tr}Save to notepad{/tr}" href="tiki-view_blog_post.php?blogId={$smarty.request.blogId}&postId={$smarty.request.postId}&savenotepad=1"> {icon _id='disk' alt='{tr}Save to notepad{/tr}'} </a> {/if} </div> <div class="author_info"> {if $blog_data.use_title eq 'y'} {tr}By{/tr} {$post_info.user} {tr}on{/tr} {$post_info.created|tiki_short_datetime} {else} {tr}By{/tr} {$post_info.user} {/if} </div> </div> <div class="clearfix postbody-title"> <div class="title"> {if $blog_data.use_title eq 'y'} <h2>{$post_info.title}</h2> {else} <h2>{$post_info.created|tiki_short_datetime}</h2> {/if} </div> {if $prefs.feature_freetags eq 'y' and $tiki_p_view_freetags eq 'y'} {if $tags.data|@count >0} <div class="freetaglist"> {foreach from=$tags.data item=tag} {capture name=tagurl}{if (strstr($tag.tag, ' '))}"{$tag.tag}"{else}{$tag.tag}{/if}{/capture} <a class="freetag" href="tiki-browse_freetags.php?tag={$smarty.capture.tagurl|escape:'url'}">{$tag.tag}</a> {/foreach} </div> {/if} {/if} </div> {*<div class="content"> <div class="postbody-content">*} {$parsed_data} {*</div>*} {if $pages > 1} <div align="center"> <a href="tiki-view_blog_post.php?blogId={$smarty.request.blogId}&postId={$smarty.request.postId}&page={$first_page}">{icon _id='resultset_first' alt='{tr}First page{/tr}'}</a> <a href="tiki-view_blog_post.php?blogId={$smarty.request.blogId}&postId={$smarty.request.postId}&page={$prev_page}">{icon _id='resultset_previous' alt='{tr}Previous page{/tr}'}</a> <small>{tr}page{/tr}:{$pagenum}/{$pages}</small> <a href="tiki-view_blog_post.php?blogId={$smarty.request.blogId}&postId={$smarty.request.postId}&page={$next_page}">{icon _id='resultset_next' alt='{tr}Next page{/tr}'}</a> <a href="tiki-view_blog_post.php?blogId={$smarty.request.blogId}&postId={$smarty.request.postId}&page={$last_page}">{icon _id='resultset_last' alt='{tr}Last page{/tr}'}</a> </div> {/if} {*</div>*} {if $prefs.blogs_feature_copyrights eq 'y' and $prefs.wikiLicensePage} {if $prefs.wikiLicensePage == $page} {if $tiki_p_edit_copyrights eq 'y'} <p class="editdate">{tr}To edit the copyright notices{/tr} <a href="copyrights.php?page={$copyrightpage}">{tr}Click Here{/tr}</a>.</p> {/if} {else} <p class="editdate">{tr}The content on this page is licensed under the terms of the{/tr} <a href="tiki-index.php?page={$prefs.wikiLicensePage}&copyrightpage={$page|escape:"url"}">{$prefs.wikiLicensePage}</a>.</p> {/if} {/if} </div> <div class="postfooter"> <div class="status"> {* renamed to match forum footer layout *} <a href='tiki-print_blog_post.php?postId={$postId}'>{icon _id='printer' alt='{tr}Print{/tr}'}</a> <a href='tiki-send_blog_post.php?postId={$postId}'>{icon _id='email' alt='{tr}Email This Post{/tr}'}</a> </div> <div class="actions"> {* renamed to match forum footer layout *} <a class="link" href="{$postId|sefurl:blogpost}">{tr}Permalink{/tr}</a> {if $post_info.trackbacks_from_count} ({tr}referenced by{/tr}: {$post_info.trackbacks_from_count} {/if} {if $post_info.trackbacks_to_count} {tr}Posts{/tr} {tr}references{/tr}: {$post_info.trackbacks_to_count} {tr}Posts{/tr}) {/if} {if $allow_comments eq 'y' and $prefs.feature_blogposts_comments eq 'y'} {$listpages[ix].comments} {tr}comments{/tr} [<a class="link" href="tiki-view_blog_post.php?find={$find}&blogId={$blogId}&offset={$offset}&sort_mode={$sort_mode}&postId={$listpages[ix].postId}">{tr}View Comments{/tr}</a>] {/if} </div> </div> {if $post_info.trackbacks_from_count > 0} <h3>{tr}Trackback pings{/tr}:</h3> {cycle values="odd,even" print=false} <table class="normal"> <tr> <th>{tr}Title{/tr}</th> <th>{tr}URI{/tr}</th> <th>{tr}Blog name{/tr}</th> {if ($ownsblog eq 'y') or ($user and $post_info.user eq $user) or $tiki_p_blog_admin eq 'y'} <th>{tr}Action{/tr}</th> {/if} </tr> {foreach from=$post_info.trackbacks_from key=key item=item} <tr> <td class="{cycle advance=false}">{$item.title|htmlentities}</td> <td class="{cycle advance=false}"><a href="{$key}" class="link" title="{$key}" target="_blank">{$key|truncate:"40"|htmlentities}</a></td> <td class="{cycle}">{$item.blog_name|htmlentities}</td> {if ($ownsblog eq 'y') or ($user and $post_info.user eq $user) or $tiki_p_blog_admin eq 'y'} <td class="{cycle advance=false}"><a href="tiki-view_blog_post.php?postId={$postId}&deltrack={$key|urlencode}">{icon _id='cross' alt='{tr}Remove{/tr}'}</a></td> {/if} </tr> {/foreach} </table> {/if} </div> {if $prefs.feature_blogposts_comments == 'y' && ($blog_data.allow_comments == 'y' or $blog_data.allow_comments == 'c') && (($tiki_p_read_comments == 'y' && $comments_cant != 0) || $tiki_p_post_comments == 'y' || $tiki_p_edit_comments == 'y') } <div id="page-bar"> {include file=comments_button.tpl} </div> {include file=comments.tpl} {/if}