<?php  defined('C5_EXECUTE') or die(_("Access Denied.")); ?>
<div class="ccm-pane-controls">
<?php  

Loader::model('collection_attributes');
Loader::model('collection_types');
$dh = Loader::helper('date');

	
?>

<h1>Add External Link</h1>

	<form method="post" action="<?php echo $c->getCollectionAction()?>" id="ccmAddPage">		
	
	<div class="ccm-form-area">
	<div class="ccm-field">
	
	<label>Display Name</label> <input type="text" name="cName" value="" class="text" style="width: 100%">
	
	</div>
	<div class="ccm-field">

	<label>URL</label> <input type="text" name="cExternalLink" style="width: 100%" value="http://">

	</div>
	
	<div class="ccm-spacer">&nbsp;</div>
	</div>

	<div class="ccm-buttons">
	<a href="javascript:void(0)" onclick="$('#ccmAddPage').get(0).submit()" class="ccm-button-right accept"><span>Add Link</span></a>
	</div>	
	<input type="hidden" name="add_external" value="1" />
	<input type="hidden" name="processCollection" value="1">
</form>
</div>
