// Creation of AdminController : Admin tabs will now extend this class (see AdminTools.php for example)
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8667 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
@@ -25,19 +25,18 @@
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
class AdminTools extends AdminTab
|
||||
class AdminTools extends AdminController
|
||||
{
|
||||
public function postProcess()
|
||||
public function __construct()
|
||||
{
|
||||
$this->className = 'AdminTools';
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
|
||||
public function display()
|
||||
{
|
||||
echo '<fieldset><legend><img src="../img/admin/tab-tools.gif" />'.$this->l('Shop Tools').'</legend>';
|
||||
echo '<p>'.$this->l('Several tools are available to manage your shop.').'</p>';
|
||||
echo '<br />';
|
||||
echo '<p>'.$this->l('Please choose a tool by selecting a Tools sub-tab above.').'</p>';
|
||||
echo '</fieldset>';
|
||||
parent::display();
|
||||
$this->context->smarty->display('adminTools.tpl');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user