%META:TOPICINFO{author="TWikiContributor" date="1142180546" format="1.1" version="1.1"}%
%META:TOPICPARENT{name="TopicFunction"}%
---+ Function: %TOPIC%
%FORMFIELD{"TopicDescription"}%

---++ Parameters
   * AUTHOR: render the tools for this author (optional)

---++ Implementation
<verbatim>
%STARTINCLUDE%
~~~ 
<div class="twikiPageForm blogAuthorButtons">
%DBCALL{"RenderNewBlogEntryButton" TEXT="New Posting" warn="off"}%
%DBCALL{"RenderNewCategoryButton" TEXT="New Category" warn="off"}%
%DBCALL{"RenderNewBlogLinkButton" TEXT="New Link" warn="off"}%
%DBCALL{"RenderNewBlogPageButton" TEXT="New Page" warn="off"}%
%DBCALL{"RenderNewTWikiTopicButton" TEXT="New Topic" warn="off"}%
%DBCALL{"RenderUploadImageButton" TEXT="Upload Image" warn="off"}%
</div>
%IFDEFINEDTHEN{"%AUTHOR%"}%
%$nopDBCALL{"RenderUnpublishedBlogEntries" warn="off" AUTHOR="%AUTHOR%"}%
%FIDEFINED%
%STOPINCLUDE%
</verbatim>

---++ Test
<div class="alt">
%DBCALL{"%TOPIC%"}%
</div>

%DBCALL{"RenderFunctionCallers"}%

<!--
   * Set ALLOWTOPICCHANGE = %MAINWEB%.BlogAdminGroup
   * Set ALLOWTOPICVIEW = %MAINWEB%.BlogAuthorGroup
   * Set SIDEBAR = Admin
   * Set SIDEBARARG = TopicFunction
-->


%META:FORM{name="TopicForm"}%
%META:FIELD{name="TopicType" attributes="M" title="TopicType" value="TopicFunction"}%
%META:FIELD{name="TopicDescription" attributes="M" title="TopicDescription" value="Render buttons visible if the user is a blog author"}%
