From 4a872aa6512b3336f5c8464f7c79d6b5c90b38d8 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Thu, 21 Jul 2011 14:43:38 +0000 Subject: added bios and architecture filters for notebooks --- h-source/Application/Models/NotebooksModel.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'h-source/Application/Models/NotebooksModel.php') diff --git a/h-source/Application/Models/NotebooksModel.php b/h-source/Application/Models/NotebooksModel.php index 2172f52..d235f74 100644 --- a/h-source/Application/Models/NotebooksModel.php +++ b/h-source/Application/Models/NotebooksModel.php @@ -67,4 +67,19 @@ class NotebooksModel extends GenericModel { parent::__construct(); } + public function morePopups() + { + $this->_popupItemNames = array( + 'bios' => 'bios', + 'architecture' => 'architecture', + ); + + $this->_popupLabels = array( + 'bios' => gtext("free bios"), + 'architecture' => gtext("architecture"), + ); + + $this->createPopupWhere('bios,architecture'); + } + } \ No newline at end of file -- cgit v1.2.3