HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/PvdBoogaard/indoorski.nl/backup/oude-site/cms/admin/templates/content.choose.tpl
{template="header"}
<script>
$(document).ready(function() {
	$('.CancelButton').click(function(){
		location.href = "index.php?section=content&action=view&typeid={$ContentType.id}";
	});
});

function createContent() {
	var id = $('input:radio[name=contentType]:checked').val();
	id = parseInt(id);
	if(id > 0){
		window.location = 'index.php?section=content&action=create&typeid=' + id;
	}
}
</script>



{template="common.form.top"}
			<input type="button" value="{$lang.Cancel}" class="Button CancelButton" />
			<input type="button" name="saveonly" value="{$lang.NextContentCreate}" class="Button"   onClick="createContent();" />
			

			</div>
		</td>
	  </tr>
<tr>
<td>


<table class="Panel">
<tbody><tr>
  <td colspan="2" class="Heading2">{$lang.SelectContentType}</td>
</tr>
	
	<tr id="_row">
		<td class="FieldLabel" style="width: 80px">
			 {$lang.field_contentType_Name}		</td>
		<td>
					<table cellspacing="0" cellpadding="0" border="0">
				<tbody><tr>
					<td>
					<div style="height: 100px; width: 150px; overflow: auto;">
{foreach from=%admin_contenttypes.GetContentTypeList item=row}
	<input type="radio" value="{$row.typeid}" name="contentType" style="margin-right: 5px;" id="contentType_{$row.typeid}"/><label for="contentType_{$row.typeid}">{$row.name_singular}</label><br/>
{/foreach}
</div>
					</td>
					<td valign="top">
													
											</td>
				</tr>
			</tbody></table>
				</td>
	</tr>

	<tr><td class="Gap"/></tr>
</tbody></table>


			</td>
			</tr>
			</table><br />
		<div style="padding-left: 100px;">
			<input type="button" value="{$lang.Cancel}" class="Button CancelButton" />
			<input type="button" name="saveonly" value="{$lang.NextContentCreate}" class="Button"   onClick="createContent();" />
		</div>

</div>
{template="footer"}