* @copyright 2007-2015 Leotheme * @license http://leotheme.com - prestashop template provider */ if (!defined('_PS_VERSION_')) { # module validation exit; } class LeoWidgetImageProduct extends LeoWidgetBase { public $name = 'imageproduct'; public $for_module = 'all'; public function getWidgetInfo() { return array('label' => $this->l('Images Gallery Product'), 'explain' => $this->l('Create Images Mini Generalallery From Product')); } public function renderForm($args, $data) { # validate module unset($args); $helper = $this->getFormHelper(); $source = array( array( 'value' => 'ip_pcategories', // The value of the 'value' attribute of the