// Rename template/helper to template/helpers
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13041 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -857,7 +857,7 @@ class AdminCustomersControllerCore extends AdminController
|
||||
*/
|
||||
public function displayDeleteLink($token = null, $id, $name = null)
|
||||
{
|
||||
$tpl = $this->createTemplate('helper/list/list_action_delete.tpl');
|
||||
$tpl = $this->createTemplate('helpers/list/list_action_delete.tpl');
|
||||
|
||||
$customer = new Customer($id);
|
||||
$name = $customer->lastname.' '.$customer->firstname;
|
||||
|
||||
@@ -227,7 +227,7 @@ class AdminManufacturersControllerCore extends AdminController
|
||||
'action' => self::$cache_lang['editaddresses'],
|
||||
));
|
||||
|
||||
return $this->context->smarty->fetch('helper/list/list_action_edit.tpl');
|
||||
return $this->context->smarty->fetch('helpers/list/list_action_edit.tpl');
|
||||
}
|
||||
|
||||
public function renderForm()
|
||||
|
||||
@@ -477,7 +477,7 @@ class AdminStatusesControllerCore extends AdminController
|
||||
'action' => self::$cache_lang['editstatus'],
|
||||
));
|
||||
|
||||
return $this->context->smarty->fetch('helper/list/list_action_edit.tpl');
|
||||
return $this->context->smarty->fetch('helpers/list/list_action_edit.tpl');
|
||||
}
|
||||
|
||||
public function postProcess()
|
||||
|
||||
@@ -1095,7 +1095,7 @@ class AdminStockManagementControllerCore extends AdminController
|
||||
'action' => self::$cache_lang['AddStock'],
|
||||
));
|
||||
|
||||
return $this->context->smarty->fetch('helper/list/list_action_addstock.tpl');
|
||||
return $this->context->smarty->fetch('helpers/list/list_action_addstock.tpl');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1116,7 +1116,7 @@ class AdminStockManagementControllerCore extends AdminController
|
||||
'action' => self::$cache_lang['RemoveStock'],
|
||||
));
|
||||
|
||||
return $this->context->smarty->fetch('helper/list/list_action_removestock.tpl');
|
||||
return $this->context->smarty->fetch('helpers/list/list_action_removestock.tpl');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1137,6 +1137,6 @@ class AdminStockManagementControllerCore extends AdminController
|
||||
'action' => self::$cache_lang['TransferStock'],
|
||||
));
|
||||
|
||||
return $this->context->smarty->fetch('helper/list/list_action_transferstock.tpl');
|
||||
return $this->context->smarty->fetch('helpers/list/list_action_transferstock.tpl');
|
||||
}
|
||||
}
|
||||
@@ -1377,7 +1377,7 @@ class AdminSupplyOrdersControllerCore extends AdminController
|
||||
'action' => self::$cache_lang['Receipt'],
|
||||
));
|
||||
|
||||
return $this->context->smarty->fetch('helper/list/list_action_supply_order_receipt.tpl');
|
||||
return $this->context->smarty->fetch('helpers/list/list_action_supply_order_receipt.tpl');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1398,7 +1398,7 @@ class AdminSupplyOrdersControllerCore extends AdminController
|
||||
'action' => self::$cache_lang['State'],
|
||||
));
|
||||
|
||||
return $this->context->smarty->fetch('helper/list/list_action_supply_order_change_state.tpl');
|
||||
return $this->context->smarty->fetch('helpers/list/list_action_supply_order_change_state.tpl');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1423,7 +1423,7 @@ class AdminSupplyOrdersControllerCore extends AdminController
|
||||
'action' => self::$cache_lang['CreateSupplyOrder'],
|
||||
));
|
||||
|
||||
return $this->context->smarty->fetch('helper/list/list_action_supply_order_create_from_template.tpl');
|
||||
return $this->context->smarty->fetch('helpers/list/list_action_supply_order_create_from_template.tpl');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -86,7 +86,7 @@ class AdminTaxesControllerCore extends AdminController
|
||||
'action' => self::$cache_lang['Delete'],
|
||||
));
|
||||
|
||||
return $this->context->smarty->fetch('helper/list/list_action_delete.tpl');
|
||||
return $this->context->smarty->fetch('helpers/list/list_action_delete.tpl');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -104,7 +104,7 @@ class AdminTaxesControllerCore extends AdminController
|
||||
if ($value && TaxRule::isTaxInUse($id))
|
||||
$confirm = $this->l('This tax is currently in use in a tax rule. If you continue this tax will be removed from the tax rule, are you sure?');
|
||||
|
||||
$tpl_enable = $this->context->smarty->createTemplate('helper/list/list_action_enable.tpl');
|
||||
$tpl_enable = $this->context->smarty->createTemplate('helpers/list/list_action_enable.tpl');
|
||||
$tpl_enable->assign(array(
|
||||
'enabled' => (bool)$value,
|
||||
'url_enable' => self::$currentIndex.'&'.$this->identifier.'='.$id.'&'.$active.$this->table.
|
||||
|
||||
Reference in New Issue
Block a user