Ejemplo n.º 1
0
function editDisabled($formName)
{
    if (isEditPage($formName)) {
        echo 'disabled="disabled"';
    }
}
?>
" class="btn btn-primary">
							<input type="button" class="btn" value="<?php 
print __('Back');
?>
" onclick="<?php 
echo $back;
?>
">

						</div>
					</div>
				</div>
			</div>
		</section>
	</div>
</form>


<?php 
if (!isEditPage($formName)) {
    ?>
	<script type="text/javascript">
		GLOBAL.DNS_REC_PREFIX = '<?php 
    echo $_GET['domain'];
    ?>
';
	</script>
	<script type="text/javascript" src="/js/pages/add.dns.record.js"></script>
<?php 
}