{* $Header$ *} {strip} {if !$showDescriptionsOnly} {include file="bitpackage:liberty/services_inc.tpl" serviceLocation='nav' serviceHash=$article} {/if}
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='icon' serviceHash=$article} {if $gContent->hasUserPermission( 'p_articles_read_history' ) && !$version && $article.version > 1} {smartlink ititle="View History" ipackage=articles ifile="article_history.php" booticon="icon-time" article_id=$article.article_id} {/if} {if $gContent->hasUpdatePermission()} {booticon iname="icon-edit" ipackage="icons" iexplain=edit} {/if} {*{booticon iname="icon-print" ipackage="icons" iexplain=print}*} {if $gContent->hasUserPermission( 'p_articles_remove' )} {smartlink ititle="Remove" ipackage=articles ifile="list.php" booticon="icon-trash" action=remove remove_article_id=$article.article_id status_id=$smarty.request.status_id} {/if}

{$article.title|escape}

{if $article.show_author eq 'y' || $article.show_pubdate eq 'y'}
{if $article.show_author eq 'y'} {* can't really use the link here since it only works when the user uses his login name *} {displayname hash=$article}  {/if} {if $article.show_pubdate eq 'y'} • {$article.publish_date|reltime} {/if}
{/if}
getPreference( 'users_double_click' ) and $gContent->hasUpdatePermission()} ondblclick="location.href='{$smarty.const.ARTICLES_PKG_URL}edit.php?article_id={$article.article_id}';"{/if}>
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='body' serviceHash=$article} {* deal with the article image if there is one *} {if $article.show_image eq 'y' && ( $article.thumbnail_url || $article.primary_attachment )} {/if} {if $article.show_image eq 'y'}{assign var=hideprimary value=y}{/if} {if $gBitSystem->isFeatureActive( 'articles_attachments' ) && $gBitSystem->isFeatureActive( 'liberty_auto_display_attachment_thumbs' )} {include file="bitpackage:liberty/storage_thumbs.tpl"} {/if} {if $article.use_ratings eq 'y'} {repeat count=$article.rating} {biticon ipackage=articles iname=rating iexplain="Article Rating"} {/repeat} {math assign=rating_off equation="5-x" x=$article.rating} {repeat count=$rating_off} {biticon ipackage=articles iname=rating_off iexplain="Article Rating"} {/repeat} {/if} {if $showDescriptionsOnly} {$article.parsed_description} {else} {$article.parsed} {/if}
{if $article.status_id == $smarty.const.ARTICLE_STATUS_PENDING && !$preview}
{formlabel label="Approve or deny Submission"} {forminput} {if $gContent->hasUserPermission( 'p_articles_approve_submission' )} {biticon ipackage=icons iname="large/dialog-ok" iexplain="Approve Article"}   {/if} {if $gContent->hasUserPermission( 'p_articles_remove' ) || $gContent->hasUserPermission( 'p_articles_remove_submission' )} {biticon ipackage=icons iname="large/dialog-cancel" iexplain="Remove Article"} {/if} {/forminput}
{/if}
{if $print_page ne 'y' and $article.allow_comments eq 'y' and !$preview && !$showDescriptionsOnly and $article.status_id eq $smarty.const.ARTICLE_STATUS_APPROVED} {include file="bitpackage:liberty/comments.tpl"} {/if} {include file="bitpackage:liberty/services_inc.tpl" serviceLocation='view' serviceHash=$article} {/strip}