From eeaaf2ed66f1be0468d9c33b8b850a564c8ce44e Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Mon, 18 Oct 2010 17:09:49 +0000 Subject: added filters in the videocards catalogue page and added the possibility to add videocards that do not work --- h-source/Application/Models/VideocardsModel.php | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'h-source/Application/Models/VideocardsModel.php') 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( -- cgit v1.2.3