{* DO NOT EDIT THIS FILE! Use an override template instead. *}

<form method="post" action={concat("content/versionview/",$object.id,"/",$object_version,"/",$language)|ezurl}>

{section show=$version.language_list|count|gt(1)}
<div class="element">
<label>{"Translation"|i18n("design/standard/content/view")}</label><div class="labelbreak"></div>

<select name="SelectedLanguage" >
{section name=Translation loop=$version.language_list}
<option value="{$Translation:item.locale.locale_code}" {section show=eq($Translation:item.locale.locale_code,$object_languagecode)}selected="selected"{/section}>{$Translation:item.locale.intl_language_name}</option>
{/section}
</select>
</div>

{/section}

{let name=Placement
     node_assignment_list=$version.node_assignments}
{section show=$Placement:node_assignment_list|count|gt(1)}

<div class="element">
<label>{"Placement"|i18n("design/standard/content/view")}</label><div class="labelbreak"></div>

<select name="SelectedPlacement" >
{section loop=$Placement:node_assignment_list}
<option value="{$Placement:item.id}" {section show=eq($Placement:item.id,$placement)}selected="selected"{/section}>{$Placement:item.parent_node_obj.name|wash}</option>
{/section}
</select>
</div>

{/section}
{/let}

{section show=$site_access_list|count|gt(1)}

<div class="element">
<label>{"Site Access"|i18n("design/standard/content/view")}</label><div class="labelbreak"></div>

<select name="SelectedSiteAccess" >
{section loop=$site_access_list}
<option value="{$:item}" {section show=eq($:item,$siteaccess)}selected="selected"{/section}>{$:item|wash}</option>
{/section}
</select>
</div>

{/section}
<div class="break"></div>



<div class="buttonblock">
{section show=and(eq($version.status,0),$is_creator,$object.can_edit)}
<input class="button" type="submit" name="PreviewPublishButton" value="{'Publish'|i18n('design/standard/content/view')}" />
<input class="button" type="submit" name="EditButton" value="{'Edit'|i18n('design/standard/content/view')}" />
{/section}

<input class="button" type="submit" name="VersionsButton" value="{'Versions'|i18n('design/standard/content/view')}" />
</div>


</form>

<iframe src={concat("content/versionview/",$object.id,"/",$version.version,"/",$language, "/site_access/", $siteaccess )|ezurl} width="1200" height="800">
Your browser does not support iframes. Please see this <a href={concat("content/versionview/",$object.id,"/",$version.version,"/",$language, "/site_access/", $siteaccess)|ezurl}>link</a> instead.
</iframe>
