<!--
/*********************************************************************************
** The contents of this file are subject to the vtiger CRM Public License Version 1.0
 * ("License"); You may not use this file except in compliance with the License
 * The Original Code is:  vtiger CRM Open Source
 * The Initial Developer of the Original Code is vtiger.
 * Portions created by vtiger are Copyright (C) vtiger.
 * All Rights Reserved.
*
 ********************************************************************************/

-->
<!-- BEGIN: main -->
<div><font class="required">*</font>Indicates required field</div>
<table width="40%" border="0" cellspacing="0" cellpadding="0" class="formOuterBorder">
<tr>
<td>
<table width="100%" cellpadding="5" cellspacing="1" border="0">
  <tbody><form action="index.php" method="post" name="index" id="form">
  <input type="hidden" name="module" value="Settings">
  <input type="hidden" name="action" value="index">
  <input type="hidden" name="return_module" value="{RETURN_MODULE}">
  <input type="hidden" name="return_action" value="{RETURN_ACTION}">
  <tr><td colspan="2" class="formSecHeader">{MOD.LBL_CURRENCY_INFO}</td></tr>
  <tr> 
    <td nowrap class="dataLabel"><font color="red">*</font> {MOD.LBL_CURRENCY_NAME}:</td>
    <td align="left"> <input class="dataInput" type="text" name="currency_name" value="{CURRENCY_NAME}" size="25" /> 
    </td>
  </tr>
  <tr>
    <td nowrap class="dataLabel"><font color="red">*</font> {MOD.LBL_CURRENCY_CODE}:</td>
    <td align="left"> <input class="dataInput" type="text" name="currency_code" value="{CURRENCY_CODE}" size="25" /> 
    </td>
  </tr>
  <tr>
    <td nowrap class="dataLabel"><font color="red">*</font> {MOD.LBL_CURRENCY_SYMBOL}:</td>
    <td align="left"><input class="dataInput" type="text" name="currency_symbol" value="{CURRENCY_SYMBOL}" size="25" /> 
    </td>
  </tr>
</table>
</td>
</tr>
</table>
<br>
<table width="65%" cellpadding="0" cellspacing="0" border="0"><tbody>
	<tr>
	         <td align="center">
			<input title="{APP.LBL_SAVE_BUTTON_LABEL}" accessKey="{APP.LBL_SAVE_BUTTON_KEY}" class="button" onclick="this.form.action.value='SaveCurrencyInfo'; return validate()" type="submit" name="button" value="{APP.LBL_SAVE_BUTTON_LABEL}" >
	                <input title="{APP.LBL_CANCEL_BUTTON_LABEL}>" accessKey="{APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="this.form.action.value='index'; this.form.module.value='Settings'; this.form.return_action.value='index'; this.form.return_module.value='Settings';" type="submit" name="button" value="{APP.LBL_CANCEL_BUTTON_LABEL}"></td>
	</tr>
	</form>
</table>

<script>
        function validate() {
		if (!emptyCheck("currency_name","Currency Name","text")) return false
			if (!emptyCheck("currency_code","Currency Code","text")) return false
				if (!emptyCheck("currency_symbol","Currency Symbol","text")) return false
					return true;
			
	}
</script>
<!-- END: main -->