diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2010-10-18 17:09:49 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2010-10-18 17:09:49 +0000 |
commit | eeaaf2ed66f1be0468d9c33b8b850a564c8ce44e (patch) | |
tree | e39ef752861773d40182fba923c59b1ecaa57ac0 /h-source/Application/Models | |
parent | 0eec36291b7385d68e3906ef7e65957964de028a (diff) |
added filters in the videocards catalogue page and added the possibility to add videocards that do not work
Diffstat (limited to 'h-source/Application/Models')
-rw-r--r-- | h-source/Application/Models/VideocardsModel.php | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/h-source/Application/Models/VideocardsModel.php b/h-source/Application/Models/VideocardsModel.php index fb90a31..968a005 100644 --- a/h-source/Application/Models/VideocardsModel.php +++ b/h-source/Application/Models/VideocardsModel.php @@ -27,21 +27,24 @@ class VideocardsModel extends BaseModel { $this->_popupItemNames = array( - 'vendor' => 'vendor', - 'comm_year' => 'comm_year', - 'interface' => 'interface', + 'vendor' => 'vendor', + 'comm_year' => 'comm_year', + 'video_card_works' => 'video_card_works', + 'interface' => 'interface', ); $this->_popupLabels = array( - 'vendor' => gtext("vendor"), - 'comm_year' => gtext("year"), - 'interface' => gtext("interface"), + 'vendor' => gtext("vendor"), + 'comm_year' => gtext("year"), + 'video_card_works' => gtext("does it work?"), + 'interface' => gtext("interface"), ); $this->_popupWhere = array( - 'vendor' => 'type="videocard" and deleted="no"', - 'comm_year' => 'type="videocard" and deleted="no"', - 'interface' => 'type="videocard" and deleted="no"', + 'vendor' => 'type="videocard" and deleted="no"', + 'comm_year' => 'type="videocard" and deleted="no"', + 'video_card_works' => 'type="videocard" and deleted="no"', + 'interface' => 'type="videocard" and deleted="no"', ); $this->diffFields = array( |