<?php	 defined('C5_EXECUTE') or die("Access Denied.");?>

<?php echo Loader::helper('concrete/dashboard')->getDashboardPaneHeaderWrapper(t('Debug Level'), false, 'span12 offset2', false)?>

<form method="post" class="form-stacked" id="debug-form" action="<?php echo $this->url('/dashboard/system/environment/debug', 'update_debug')?>">
<div class="ccm-pane-body">
	<?php echo $this->controller->token->output('update_debug')?>
	
	
	<div class="clearfix">
	
    <div class="input">
    
    <ul class="inputs-list">
    <li>
    <label>
	<input type="radio" name="debug_level" value="<?php echo DEBUG_DISPLAY_PRODUCTION?>" <?php  if ($debug_level == DEBUG_DISPLAY_PRODUCTION) { ?> checked <?php  } ?> /> <?php echo t('Hide errors from site visitors.')?> 
    </label>
    </li>
	<li>
    <label>
	<input type="radio" name="debug_level" value="<?php echo DEBUG_DISPLAY_ERRORS?>" <?php  if ($debug_level == DEBUG_DISPLAY_ERRORS) { ?> checked <?php  } ?> /> <?php echo t('Show errors in page.')?> 
    </label>
    </li>
    </ul>
    
	</div>
	</div>
	
</div>

<div class="ccm-pane-footer">
	<?php	
	print $interface->submit(t('Save'), 'debug-form', 'right','primary');
	?>

</div>
</form>
<?php echo Loader::helper('concrete/dashboard')->getDashboardPaneFooterWrapper(false);?> 