// Replacement of AdminTab by AdminController on modules

This commit is contained in:
rGaillard
2011-11-21 11:06:35 +00:00
parent 82c9dead2a
commit 052f9ba5af
13 changed files with 66 additions and 46 deletions
+2 -2
View File
@@ -269,7 +269,7 @@ class StatsProduct extends ModuleGraph
<tr>
<td>'.$product['reference'].'</td>
<td>
<a href="'.AdminTab::$currentIndex.'&token='.Tools::safeOutput(Tools::getValue('token')).'&module='.$this->name.'&id_product='.$product['id_product'].'">'.$product['name'].'</a>
<a href="'.AdminController::$currentIndex.'&token='.Tools::safeOutput(Tools::getValue('token')).'&module='.$this->name.'&id_product='.$product['id_product'].'">'.$product['name'].'</a>
</td>
<td>'.$product['quantity'].'</td>
</tr>';
@@ -431,4 +431,4 @@ class StatsProduct extends ModuleGraph
$this->_values[$i][(int)(substr($row['date_add'], 11, 2))] += $row['total'];
}
}
}
}