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 AlbumHeaderBox extends SubTemplate
class AlbumHeaderBox extends Template
{
private $back_link_title;
private $back_link;
@@ -21,7 +21,7 @@ class AlbumHeaderBox extends SubTemplate
$this->back_link_title = $back_link_title;
}
protected function html_content()
public function html_main()
{
echo '
<div class="album_title_box">