Fix Button, ConfirmDeletePage, WarningDialog templates

This commit is contained in:
2023-03-12 01:00:50 +01:00
parent 0325a2ec90
commit 01822cdccf
5 changed files with 8 additions and 8 deletions

View File

@@ -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>';