{script} {literal} document.flag = function(type, id, title, url, langKey){ if(typeof(document.addRoleStorage) === 'undefined'){ document.storage = []; } $.post( '{/literal}{url_for for="BASE_CTRL_Flag:form"}{literal}', {type: type, id: id, title: title, url: url, langKey: langKey}, function(json){ if( typeof(json.isFlagged) != 'undefined' ){ OW.warning("{/literal}{text key="base+flag_already_flagged"}{literal}"); return; } document.storage['flag-panel'] = { fb: new OW_FloatBox({$title: '{/literal}{text key='base+flag_as'}{literal}', $contents: json['markup'], width: '315px'}) } OW.addCss(json.css); OW.addScriptFiles(json['include_js'], function(){ OW.addScript(json['js']); }); }, 'json'); } {/literal} {/script}
{block_decorator name='box' type='empty' toolbar=$tb addClass="ow_stdmargin"}
{$info.text}

{$paging}
{/block_decorator} {block_decorator name="box" addClass="ow_stdmargin"}
{if $adjasentUrl.prev|count_characters > 0} {text key="blogs+prev_post}      {/if}
{if $adjasentUrl.next|count_characters > 0}      {text key="blogs+next_post} {/if}
     {text key="blogs+blog_index}
{/block_decorator} {$comments}
{block_decorator name="box_cap" langLabel="blogs+post_title" icon_class="ow_ic_picture"}{/block_decorator} {block_decorator name="box" addClass="ow_stdmargin"} {if $isAuthorExists} {/if}
{text key="blogs+by'} {user_link name=$displayname username=$username}
{text key="blogs+added'} {format_date timestamp=$info.dto->timestamp}
{/block_decorator} {$tagCloud} {$rate} {if $isAuthorExists} {block_decorator name="box_cap" langLabel="blogs+blog_archive_lbl_archives" icon_class="ow_ic_clock"}{/block_decorator} {block_decorator name="box"} {assign var="uname" value=$author->getUsername() } {/block_decorator} {/if}