Fixed payment updates, admin update and minor SSL items

This commit is contained in:
Deon George
2011-12-29 13:52:24 +11:00
parent 50fe0583a3
commit 4a68621fc7
8 changed files with 90 additions and 49 deletions

View File

@@ -30,8 +30,9 @@ class Model_Service_Plugin_ADSL extends Model_Service_Plugin {
);
// Required abstract functions
public function service_view() {
return View::factory('service/user/plugin/adsl/view')
public function admin_update() {
return View::factory('service/admin/adsl/update')
->set('mediapath',Route::get('default/media'))
->set('so',$this);
}
@@ -46,6 +47,11 @@ class Model_Service_Plugin_ADSL extends Model_Service_Plugin {
return $this->service->product->plugin();
}
public function service_view() {
return View::factory('service/user/plugin/adsl/view')
->set('so',$this);
}
/**
* Return the IP Address for the service
*/
@@ -337,12 +343,6 @@ class Model_Service_Plugin_ADSL extends Model_Service_Plugin {
}
}
protected function _admin_update() {
return View::factory($this->viewpath(strtolower($this->service->prod_plugin_name)))
->set('mediapath',Route::get('default/media'))
->set('so',$this);
}
/**
* Render a google chart of traffic
*/