mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Merge pull request #2736 from phil-davis/patch-2
This commit is contained in:
commit
0974e2de31
@ -53,13 +53,13 @@ class Form_Button extends Form_Input
|
||||
{
|
||||
$this->_tagSelfClosing = false;
|
||||
$this->_tagName = 'button';
|
||||
$this->_attributes['value'] = $title;
|
||||
$this->_attributes['value'] = gettext($title);
|
||||
$this->_attributes['icon'] = $icon;
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->_tagSelfClosing = true;
|
||||
$this->_attributes['value'] = $title;
|
||||
$this->_attributes['value'] = gettext($title);
|
||||
$this->addClass('btn-primary');
|
||||
}
|
||||
|
||||
@ -78,4 +78,4 @@ class Form_Button extends Form_Input
|
||||
|
||||
return $input . htmlspecialchars($this->_title) .'</a>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user