mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-13 17:24:54 +02: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