{* Are we allowed to create new object under this node? *}
{section show=fetch( content, access,
hash( access, 'create',
contentobject, $node,
contentclass_id, 'comment' ) )}
<form method="post" action={"ObjectCreator/createobject"|ezurl}>
<input type="hidden" name="ClassIdentifier" value="comment" />
<input type="hidden" name="NodeID" value="{$node.node_id}" />
<input class="button new_comment" type="submit" name="NewButton" value="{'New Comment'|i18n( 'design/base' )}" />
</form>
{section-else}
<h3>{"You are not allowed to create comments."|i18n("design/base")}</h3>
{/section}
<input type="hidden" name="default_attributename" value="some value" />
<input type="hidden" name="default_date" value="2005-04-24" />
Copyright (C) 2005 Nathan Sharp. All rights reserved.
This file may be distributed and/or modified under the terms of the "GNU General Public License" version 2 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file.
This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
The "GNU General Public License" (GPL) is available at http://www.gnu.org/copyleft/gpl.html.