<?php
defined('PRODUCT_NAME') or die;
class SocialModule extends ModuleInstance
{
	function render()
	{
		$this->load->view("modules/social/module",
		                  array("module_instance_id" 	=> $this->module_instance_id,
					  			"title" 				=> $this->setting("title"),
					  			"title_heading_level" 	=> $this->setting("title_heading_level"),
						  		"module_class" 			=> $this->setting("module_class"),
						  		"icon_class" 			=> "fa-" . $this->setting("icon_size"),
					  			"facebook" 				=> $this->setting("facebook"),
		                  		"twitter" 				=> $this->setting("twitter"),
		                  		"gplus" 				=> $this->setting("gplus"),
		                  		"flickr" 				=> $this->setting("flickr"),
		                  		"pinterest" 			=> $this->setting("pinterest"),
		                  		"youtube" 				=> $this->setting("youtube"),
		                  		"linkedin" 				=> $this->setting("linkedin"),
		                  		"instagram" 			=> $this->setting("instagram"),
		                  		"etsy" 					=> $this->setting("etsy"),
		                  		"tumblr" 				=> $this->setting("tumblr")));
	}
}
