Fix Button, ConfirmDeletePage, WarningDialog templates
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
* Kabuki CMS (C) 2013-2015, Aaron van Geffen
|
||||
*****************************************************************************/
|
||||
|
||||
class Button extends SubTemplate
|
||||
class Button extends Template
|
||||
{
|
||||
private $content = '';
|
||||
private $href = '';
|
||||
@@ -19,7 +19,7 @@ class Button extends SubTemplate
|
||||
$this->class = $class;
|
||||
}
|
||||
|
||||
protected function html_content()
|
||||
public function html_main()
|
||||
{
|
||||
echo '
|
||||
<a class="', $this->class, '" href="', $this->href, '">', $this->content, '</a>';
|
||||
|
||||
Reference in New Issue
Block a user