Fix Button, ConfirmDeletePage, WarningDialog templates

This commit is contained in:
Aaron committed 2023-03-12 01:00:50 +01:00
1 parent 0325a2ec90
commit 01822cdccf
5 files changed
+8 -8

No files matched your search

+2 -2
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>';