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 PhotoPage extends SubTemplate
class PhotoPage extends Template
{
protected $photo;
private $exif;
@@ -34,7 +34,7 @@ class PhotoPage extends SubTemplate
$this->is_asset_owner = $flag;
}
protected function html_content()
public function html_main()
{
$this->photoNav();
$this->photo();