[-] TR : #PSCFV-4027 : change string "tabs" by "Menus"...

This commit is contained in:
lLefevre
2012-09-12 15:06:48 +00:00
parent 31f48a12bb
commit 5e8d172728
40 changed files with 128 additions and 124 deletions
+2 -2
View File
@@ -251,14 +251,14 @@ function checkingTab($tab)
{
if (isset(AdminTab::$tabParenting[$tab]))
Tools::redirectAdmin('?tab='.AdminTab::$tabParenting[$tab].'&token='.Tools::getAdminTokenLite(AdminTab::$tabParenting[$tab]));
echo sprintf(Tools::displayError('Tab %s cannot be found.'),$tab);
echo sprintf(Tools::displayError('Page %s cannot be found.'),$tab);
return false;
}
// Class file is included in Dispatcher::dispatch() function
if (!class_exists($tab, false) OR !$row['id_tab'])
{
echo sprintf(Tools::displayError('Tab file %s cannot be found.'),$tab);
echo sprintf(Tools::displayError('The class %s cannot be found.'),$tab);
return false;
}
$adminObj = new $tab;