mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-27 21:56:50 +01:00
Move tibiacom boxes to Twig templates
Yes they are looking and working same as before ;)
This commit is contained in:
@@ -421,6 +421,8 @@ foreach($config['menu_categories'] as $id => $cat) {
|
||||
|
||||
<div id="Themeboxes">
|
||||
<?php
|
||||
$twig_loader->prependPath(__DIR__ . '/boxes/templates');
|
||||
|
||||
foreach($config['boxes'] as $box) {
|
||||
/** @var string $template_name */
|
||||
$file = TEMPLATES . $template_name . '/boxes/' . $box . '.php';
|
||||
|
||||
Reference in New Issue
Block a user