mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
* renamed twig templates to .twig, so IDE's can correctly render it
* moved news.add to twig template * now twig templates will be loaded directly from template dir f.e. templates/kathrine/news.html.twig
This commit is contained in:
@@ -29,7 +29,7 @@ function compare($a, $b) {
|
||||
$tmp = $visitors->getVisitors();
|
||||
usort($tmp, 'compare');
|
||||
|
||||
echo $twig->render('admin.visitors.html', array(
|
||||
echo $twig->render('admin.visitors.html.twig', array(
|
||||
'config_visitors_counter_ttl' => $config['visitors_counter_ttl'],
|
||||
'visitors' => $tmp
|
||||
));
|
||||
|
Reference in New Issue
Block a user