{wa_js file="js-legacy/blog-calendar.min.js"} {$wa_app_static_url}js-legacy/blogCalendar.js {/wa_js}
| {_ws('Sun')} | {/if}{_ws('Mon')} | {_ws('Tue')} | {_ws('Wed')} | {_ws('Thu')} | {_ws('Fri')} | {_ws('Sat')} | {if !$week_first_sunday}{_ws('Sun')} | {/if}
|---|---|---|---|---|---|---|---|
|
{$day.date.day}
{foreach $day.posts as $post}
{strip}
{if isset($post.alert)}
{elseif $post.status == blogPostModel::STATUS_DEADLINE}
{elseif $post.status == blogPostModel::STATUS_DRAFT}
{elseif $post.status == blogPostModel::STATUS_SCHEDULED}
{$post.datetime|wa_datetime:'time'}
{elseif $post.blog_status == blogBlogModel::STATUS_PUBLIC}
{elseif $post.blog_status == blogBlogModel::STATUS_PRIVATE}
{/if}
{/strip}
{$target=''}
{if $post.editable}
{if $post.status neq blogPostModel::STATUS_PUBLISHED || $post.blog_status eq blogBlogModel::STATUS_PUBLIC}
{$post_link="?module=post&id=`$post.id`&action=edit"}
{elseif $post.link && $post.status eq blogPostModel::STATUS_PUBLISHED}
{$target='target="_blank"'}
{$post_link=current($post.link)}
{else}
{$post_link="?module=post&id=`$post.id`"}
{/if}
{elseif $post.link && $post.status eq blogPostModel::STATUS_PUBLISHED}
{$target='target="_blank"'}
{$post_link="{current($post.link)}"}
{else}
{$post_link="?module=post&id=`$post.id`"}
{/if}
{$post.title|escape}
{if $post.status == blogPostModel::STATUS_PUBLISHED}
{$post.datetime|wa_datetime:"time"}
{/if}
{/foreach} |
{/foreach}