aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Models/NotebooksModel.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-07-21 14:43:38 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-07-21 14:43:38 +0000
commit4a872aa6512b3336f5c8464f7c79d6b5c90b38d8 (patch)
tree627fac916b58d3e3e32c9fbdd30f64efd0d4b298 /h-source/Application/Models/NotebooksModel.php
parent32e60f1c2228e2a46707d15bec10cd54e476076c (diff)
added bios and architecture filters for notebooks
Diffstat (limited to 'h-source/Application/Models/NotebooksModel.php')
-rw-r--r--h-source/Application/Models/NotebooksModel.php15
1 files changed, 15 insertions, 0 deletions
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