// Context part 11

This commit is contained in:
tDidierjean
2011-07-18 15:50:58 +00:00
parent 4b7dee58b7
commit 6551a3ece7
60 changed files with 378 additions and 520 deletions
+2 -4
View File
@@ -66,10 +66,9 @@ class AdminSlip extends AdminTab
public function display()
{
global $cookie, $currentIndex;
$context = Context::getContext();
echo '<div style="float:left;width:600px">';
$this->getList((int)($cookie->id_lang), !Tools::getValue($this->table.'Orderby') ? 'date_add' : NULL, !Tools::getValue($this->table.'Orderway') ? 'DESC' : NULL);
$this->getList($context->language->id, !Tools::getValue($this->table.'Orderby') ? 'date_add' : NULL, !Tools::getValue($this->table.'Orderway') ? 'DESC' : NULL);
$this->displayList();
echo '</div>';
@@ -95,7 +94,6 @@ class AdminSlip extends AdminTab
public function displayListContent($token = NULL)
{
global $currentIndex, $cookie;
$irow = 0;
if ($this->_list)
foreach ($this->_list AS $tr)