Fixes for traffic, manage_button and SSL work

This commit is contained in:
Deon George
2012-10-22 23:24:28 +11:00
parent 59321a6877
commit 002c3b8f44
7 changed files with 42 additions and 11 deletions

View File

@@ -74,7 +74,8 @@ class Model_Service_Plugin_Domain extends Model_Service_Plugin {
* to manage the domain.
*/
public function manage_button($t='') {
parent::manage_button($t);
if (! parent::manage_button($t))
return NULL;
return ($this->username_value() AND $this->password_value()) ? $this->domain_registrar->manage_button($this,$t) : _('Please contact us');
}