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

/**
 * Default settings
 *
 * @category   Module (image-text)
 * @author     Nico Wenig <nico.wenig@yellowgreen.de>
 * @version	   2009-04-03
 */

	if(!isset($module_settings["image-text"]["content"])) $module_settings["image-text"]["content"] = '';

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

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

/**
 * Parse text
 *
 * @category   Module (image-text)
 * @author     Nico Wenig <nico.wenig@yellowgreen.de>
 * @version	   2010-10-20
 */
	
	$module_settings["image-text"]["content"] = encode_email($module_settings["image-text"]["content"]);
	$module_settings["image-text"]["content"] = stripslashes($module_settings["image-text"]["content"]);
	$module_settings["image-text"]["content"] = insert_tags($module_settings["image-text"]["content"]);
	
	// We need this hidden char to prevent empty content
	$module_settings["image-text"]["content"] = $module_settings["image-text"]["content"] . '&shy;';

/**
 * Include module frontend template
 *
 * @category   Module (image-text)
 * @author     Nico Wenig <nico.wenig@yellowgreen.de>
 * @version	   2009-04-03
 */
	
	include_template('image-text');
	
?>