|
| File: org/alfresco/components/blog/postlist.get.desc.xml |
<webscript>
<shortname>Blog PostList</shortname>
<description>Blog: List of Posts component</description>
<url>/components/blog/postlist?filter={filter}</url>
</webscript> |
| File: org/alfresco/components/blog/postlist.get.head.ftl |
<#-- General blog components assets - added in the page template
<script type="text/javascript" src="${page.url.context}/components/blog/blogdiscussions-common.js"></script>
<script type="text/javascript" src="${page.url.context}/components/blog/blog-common.js"></script>
-->
<!-- BlogPostList Assets -->
<link rel="stylesheet" type="text/css" href="${page.url.context}/components/blog/postlist.css" />
<script type="text/javascript" src="${page.url.context}/components/blog/postlist.js"></script>
|
| File: org/alfresco/components/blog/postlist.get.html.ftl |
<script type="text/javascript">//<![CDATA[
new Alfresco.BlogPostList("${args.htmlid}").setOptions(
{
siteId: "${page.url.templateArgs.site!''}",
containerId: "${args.container!'blog'}",
initialFilter:
{
filterId: "${page.url.args.filterId!'new'}",
filterOwner: "${page.url.args.filterOwner!'Alfresco.BlogPostListFilter'}",
filterData: <#if page.url.args.filterData??>"${page.url.args.filterData}"<#else>null</#if>
}
}).setMessages(
${messages}
);
//]]></script>
<div class="postlist-header">
<div class="postlist-infobar yui-gb">
<div class="yui-u first">
<div id="${args.htmlid}-listtitle" class="listTitle">
${msg("title.postlist")}
</div>
</div>
<div class="yui-u">
<div id="${args.htmlid}-paginator" class="paginator"></div>
</div>
<div class="yui-u flat-button">
<div class="simple-view"><button id="${args.htmlid}-simpleView-button" name="postlist-simpleView-button">${msg("header.simpleList")}</button></div>
</div>
</div>
</div>
<div id="${args.htmlid}-postlist" class="blog-postlist">
</div>
|
| File: org/alfresco/components/blog/postlist.get.properties |
## post status values
status.draft=Draft
status.updated=Updated
status.published.outofsync=Out of sync
status.published=Published
## post actions
action.edit=Edit
action.delete=Delete
action.updateexternal=Update Externally
action.unpublishexternal=Remove Externally
action.publishexternal=Publish Externally
button.delete=Delete
## Header
header.createPost=Create Post
header.rssFeed=RSS Feed
header.configureBlog=Configure External Blog
header.detailList=Detailed View
header.simpleList=Simple View
## Postlist title
title.newposts=New Posts
title.mydrafts=My Draft Posts
title.mypublished=My Published Posts
title.publishedext=Externally Published Posts
title.bytag=Posts with Tag {0}
title.bymonth=Posts for Month {0}
title.allposts=All Posts
title.postlist=Blog Post List
# blog post content
post.publishedOn=Published on
post.author=Author
post.externalLink=External Post
post.clickHere=Click here
post.read=Read
post.replies=Replies
post.tags=Tags
post.noTags=(None)
# JS strings
message.loading=Loading data...
message.wait=Please wait...
message.empty=No blog posts found
message.error=Error while fetching the blog post list data
message.confirm.delete=Do you really want to delete blog post ''{0}''?
message.delete.success=Post deleted
message.delete.failure=Unable to delete post
message.publishExternal.success=Blog post published
message.publishExternal.failure=Unable to publish to external blog
message.updateExternal.success=External blog post updated
message.updateExternal.failure=Unable to update external post
message.unpublishExternal.success=External blog post removed
message.unpublishExternal.failure=Unable to remove external post
|