{* DO NOT EDIT THIS FILE! Use an override template instead. *}
<div id="package" class="create">
    <div id="sid-{$current_step.id|wash}" class="pc-{$creator.id|wash}">

    <form name="objectlist" method="post" action={'package/create'|ezurl}>

    {include uri="design:package/create/error.tpl"}

    {include uri="design:package/header.tpl"}

    <p>{'Please choose objects you wish to include in the package.'|i18n('design/admin/package')}</p>

    {section show=$node_list|count}

    <label>{'Selected nodes'|i18n('design/admin/package')}</label>
    <table class="list" width="100%" cellpadding="0" cellspacing="0" border="0">
	<tr>
        <th class="tight"><img src={'toggle-button-16x16.gif'|ezimage} alt="Invert selection." onclick="ezjs_toggleCheckboxes( document.objectlist, 'DeleteIDArray[]' ); return false;" title="{'Invert selection.'|i18n( 'design/admin/package' )}" /></th>	    <th>{"Node"|i18n("design/admin/package")}</th>
	    <th>{"Export type"|i18n("design/admin/package")}</th>
	</tr>
        {section var=node loop=$node_list sequence=array(bglight,bgdark)}
	    <tr class="{$node.sequence}">
		<td width="1" align="right"><input type="checkbox" name="DeleteIDArray[]" value="{$node.item.id}"></td>
        <td>{fetch(content,node,hash(node_id,$node.item.id)).name|wash}</td>
		<td>{$node.item.type}</td>
	    </tr>
	{/section}
    </table>

    {section-else}
    <div class="block">
    <p>{'There are currently no objects selected for exportation'|i18n('design/admin/package')}</p>
    </div>
    {/section}

    <div class="block">
        <input class="button" type="submit" Name="RemoveSelected" value="{"Remove selected"|i18n("design/admin/package")}" />
        <input class="button" type="submit" Name="AddSubtree" value="{"Add subtree"|i18n("design/admin/package")}" />
        <input class="button" type="submit" Name="AddNode" value="{"Add node"|i18n("design/admin/package")}" />
    </div>

    {include uri="design:package/navigator.tpl"}

    </form>

    </div>
</div>
