<?php if(!defined('master_script')) die();

/**
 * Default settings
 *
 * @category   Module (view-code)
 * @author     Nico Wenig <nico.wenig@yellowgreen.de>
 * @version	   2009-04-17
 */
	
	if(!isset($module_settings['view-code']['attributes'])) $module_settings['view-code']['attributes'] = '';
	if(!isset($module_settings['view-code']['content'])) $module_settings['view-code']['content'] = '';
	
	connector('view-code frontend output');

/**
 * Languages
 *
 * @category   Module (view-code)
 * @author     Nico Wenig <nico.wenig@yellowgreen.de>
 * @version	   2010-07-28
 */

	$modules['view-code']['key'] = 'view-code';
	include_txt($modules['view-code']['key'], $system_data['folder']['modules'] . $modules['view-code']['key'] . '/languages/');
	include_txt($modules['view-code']['key'], $system_data['folder']['settings'] . 'modules/' . $modules['view-code']['key'] . '/languages/');

/**
 * Include module frontend template
 *
 * @category   Module (view-code)
 * @author     Nico Wenig <nico.wenig@yellowgreen.de>
 * @version	   2009-04-17
 */

?>

<pre <?php echo htmlspecialchars_decode($module_settings['view-code']['attributes']); ?>><?php include_template('view-code'); ?></pre>
