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-2015, Aaron van Geffen
*****************************************************************************/
class PhotosIndex extends SubTemplate
class PhotosIndex extends Template
{
protected $mosaic;
protected $show_edit_buttons;
@@ -42,7 +42,7 @@ class PhotosIndex extends SubTemplate
$this->show_labels = $show_labels;
}
protected function html_content()
public function html_main()
{
echo '
<div class="tiled_grid clearfix">';