* @copyright 2007-2011 PrestaShop SA * @version Release: $Revision: 6594 $ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ class AdminSearchEngines extends AdminTab { public function __construct() { $this->table = 'search_engine'; $this->className = 'SearchEngine'; $this->edit = true; $this->delete = true; $this->fieldsDisplay = array( 'id_search_engine' => array('title' => $this->l('ID'), 'width' => 25), 'server' => array('title' => $this->l('Server'), 'width' => 200), 'getvar' => array('title' => $this->l('GET variable'), 'width' => 40)); parent::__construct(); } public function displayForm($isMainTab = true) { global $currentIndex; parent::displayForm(); if (!($obj = $this->loadObject(true))) return; echo '
'.($obj->id ? '' : '').'
'.$this->l('Referrer').'
*
*
* '.$this->l('Required field').'
'; } }