From e396d151b9c48339cc62c84bb728e2e03f479f4e Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sat, 30 Oct 2010 17:38:27 +0000 Subject: improved the way interfaces can be listed --- h-source/Application/Models/ThreegcardsModel.php | 1 + h-source/Application/Models/WifiModel.php | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'h-source/Application/Models') diff --git a/h-source/Application/Models/ThreegcardsModel.php b/h-source/Application/Models/ThreegcardsModel.php index 764587d..a4d48f7 100644 --- a/h-source/Application/Models/ThreegcardsModel.php +++ b/h-source/Application/Models/ThreegcardsModel.php @@ -42,6 +42,7 @@ class ThreegcardsModel extends BaseModel $this->_popupFunctions = array( 'vendor' => 'betterVendor', + 'interface' => 'betterVendor', ); $this->_popupWhere = array( diff --git a/h-source/Application/Models/WifiModel.php b/h-source/Application/Models/WifiModel.php index 1322cdd..dfd093e 100644 --- a/h-source/Application/Models/WifiModel.php +++ b/h-source/Application/Models/WifiModel.php @@ -40,6 +40,10 @@ class WifiModel extends BaseModel 'interface' => gtext("interface"), ); + $this->_popupFunctions = array( + 'interface' => 'betterVendor', + ); + $this->_popupWhere = array( 'vendor' => 'type="wifi" and deleted="no"', 'comm_year' => 'type="wifi" and deleted="no"', -- cgit v1.2.3