{style}{literal} .owm_box_toolbar.blogs { text-align: right; float: right; } .owm_box_toolbar.blogs:lang(fa-IR) { text-align: left; float: left; } .owm_list_item_view_body.owm_blogs_view{ min-height: initial; font-size: 10px; } .owm_blogs_view .blogs_widget .owm_box_padding .total_score .ow_smallmargin { font-size: 10px; text-align: center; } .owm_blogs_view .blogs_widget .total_score { margin-top: 10px; } .owm_blogs_avg_value { display: inline-block; } {/literal}{/style} {script} {literal} $("a.blog_delete_attachment").each(function(){ $(this).click(function(){ if ( confirm(OW.getLanguageText('blog', 'confirm_delete_attachment')) ) { var attachment_id = $(this).data("aid"); var attachmentDeleteCode = $(this).attr("code"); var params = {}; var url = '{/literal}{url_for_route for='blog_delete_attachment'}{literal}'; params['attachmentId'] = attachment_id; if(attachmentDeleteCode!=null && attachmentDeleteCode!=undefined) { params['attachmentDeleteCode'] = attachmentDeleteCode; } $.ajaxSetup({dataType: 'json'}); $.post(url, params, function(data){ if ( data.result == true ) { OW.info(data.msg); window.location = window.location; } else if (data.error != undefined) { OW.warning(data.error); } }); } else { return false; } }); }); {/literal} {/script}
{if isset($canEdit) && $canEdit==true}
{$editPost.label} {$deletePost.label}
{/if}

{text key="base+back"}

{if !empty($imgsrc)} {/if} {$displayname} {$postTitle} {format_date timestamp=$info.dto->timestamp}
{$info.dto->post}
{$comments}