<?php
	$page_title = "Edit Developer Credential";
	include_once('template/base_head.php');
?>
			<aside id="colLeft">
	    		<h1><a href="account_list"><img src="../img/logo.png" alt="iWallet"></a></h1>
	    		<div class="aside-heading">
	    		<div class="btns">
    	    	<input type="button" id="btnChangePasscode" name="btnChangePasscode" value="Change Passcode" 
        	    	class="btn bg-default px120 hi22"/>&nbsp;
        	    </div>
    	    	</div>
    	    	<p class="calign">
    	    	</p>
			</aside>
				
			<div id="colMain">
	    		<div class="mainIn">
	    			<?php include_once('template/base_nav.php'); ?>
	    			<article>
	    				<div class="article-heading">
	    					<h2><?php echo $page_title; ?>　</h2>
	    				</div>
	    				<?php $this -> echoMessage(); ?>
	    				<form id="acForm" action="" method="post">
							<table class="table col bdr default odd w60p fontXS m_auto mb20">
								<colgroup>
									<col class="w40p">
									<col class="w60p">
								</colgroup>
								<tr>
									<th>Developer Key</th>
									<td>
										<input type="text" id="dkey_view" 
											value="<?=$this->getFieldValue("devKey")?>" class="w30p" disabled="disabled">
											
										<input type="hidden" value="<?=$this->getFieldValue("devKey")?>" id="developer_key" name="developer_key">	
									</td>
								</tr>
								<tr>
									<th>Expiration Date</th>
									<td>
										<input type="text" id="expiration_date" name="expiration_date" 
											value="<?=$this->getFieldValue("expirationDate")?>" class="w30p">
									</td>
								</tr>
								<tr>
									<th>IP Addresses</th>
									<td>
										<textarea id="ipAddresses" name="ipAddresses" rows="10" cols="50"><?=$this -> getFieldValue("ipAddresses")?></textarea>
									</td>
								</tr>
							</table>

							<input type="hidden" value="action" id="type" name="type" />
							
							<!-- Language Transition Data (Anton) 04/23/2016 -->
							<input class="lang-trans-data" type="hidden" id="lang_data_action" value="/developer"/>
							<input class="lang-trans-data" type="hidden" id="lang_data_form" value="#acForm"/>
							<input class="lang-trans-data" type="hidden" id="lang_data_type" value="input"/>
							<!-- /Language Transition Data -->
						</form>
						<p class="calign">
							<a href="" class="btn bg-default">&laquo; Back</a>&emsp;
							<input type="button" id="btnSave" value="Save" class="btn bg-grad px80 hi25">
						</p>
	    				<div class="article-bottom">
	    				</div>
	    			</article>
	    		</div>
			</div>
	
		</div>
		<?php include_once('template/base_foot.php'); ?>
		</div>
		<script src="../js/developer.js"></script>
    	<script src="../js/bootstrap.min.js"></script>
	</body>
</html>

