SubTemplate: use SubTemplates for boxed content only

This commit is contained in:
2023-03-11 13:37:59 +01:00
parent 0366df9b5f
commit 307d34430a
9 changed files with 53 additions and 23 deletions

View File

@@ -6,7 +6,7 @@
* Kabuki CMS (C) 2013-2016, Aaron van Geffen
*****************************************************************************/
class AlbumButtonBox extends SubTemplate
class AlbumButtonBox extends Template
{
private $buttons;
@@ -15,7 +15,7 @@ class AlbumButtonBox extends SubTemplate
$this->buttons = $buttons;
}
protected function html_content()
public function html_main()
{
echo '
<div class="album_button_box">';