{literal} {/literal} {strip}

{$gContent->getTitle()|escape} {tr}Table of Contents{/tr}

{form legend="Add Content" id="structureaddform"}
{if $subtree}
{formlabel label="After page" for="after_ref_id"} {forminput} {formhelp note="Format: Position in tree - Title of Content, insert after, structure_id"} {/forminput}
{/if}
{minifind} {* disable until it can be sorted }
{formlabel label="Search" for="lib-content"} {forminput}
{formhelp note=""} {/forminput}
{ *}
{formlabel label="Content Type" for="content_type_guid"} {forminput} {html_options class="form-control" onchange="submit();" options=$contentTypes name=content_type_guid selected=$contentSelect} {/forminput} {* forminput} {html_options class="form-control" multiple="multiple" id="lib-content" size="12" name="content[]" values=$contentList options=$contentList} {/forminput *}
{forminput} {section loop=$contentListHash name=cx} {/section}
{tr}Title{/tr} {tr}Type{/tr} {tr}Author{/tr}
{assign var=inStructureId value=$gStructure->isInStructure($contentListHash[cx].content_id)}
{booticon iname="icon-minus-sign" ipackage="icons" iexplain="Remove"}
{booticon iname="icon-plus-sign" ipackage="icons" iexplain="Add to structure"}
{booticon ipackage="icons" iname="icon-zoom-in" iexplain="View (in new window)"}
{if $contentListHash[cx].thumbnail_url} {tr}Thumbnail{/tr} {/if} {$contentListHash[cx].title} {$contentListHash[cx].content_name} {displayname hash=$contentListHash[cx]}
{/forminput}
{/form}
{/strip}