name = 'skinstatic'; $this->tab = 'front_office_features'; $this->version = '1.0'; $this->author = 'Antadis'; parent::__construct(); $this->displayName = $this->l('Static skin items'); $this->description = $this->l('Allows to display static parts as a skin on the website.'); } public function getContent() { $this->_html = '
'.$this->l('An error occured during the image upload.').'
'; continue; } file_put_contents( _PS_ROOT_DIR_.'/themes/site/skinstatic_cache/columns_'.(int) $i.'_'.(int) $language['id_lang'].'.html', str_replace( array('{left_link}', '{right_link}', '{version}'), array( Tools::getValue('left_link_'.(int) $i.'_'.(int) $language['id_lang']), Tools::getValue('right_link_'.(int) $i.'_'.(int) $language['id_lang']), Configuration::get('SKINSTATIC_VERSION'), ), ''.(Tools::getValue('fixed_'.(int) $i.'_'.(int) $language['id_lang'])? ' ': '').' ')); } } } $this->_html .= ''.$this->l('Links updated successfully.').'