mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-16 10:44:55 +02:00
* replace "$twig->render()" with "$this->display"
This commit is contained in:
@@ -101,7 +101,7 @@ if(isset($_REQUEST['template'])) {
|
||||
echo '<input type="button" class="button" value="Cancel" onclick="window.location = \'' . ADMIN_URL . '?p=menus&template=' . $template . '\';">';
|
||||
echo '</form>';
|
||||
|
||||
echo $twig->render('admin.menus.js.html.twig', array(
|
||||
$twig->display('admin.menus.js.html.twig', array(
|
||||
'menus' => $menus,
|
||||
'last_id' => $last_id
|
||||
));
|
||||
@@ -115,7 +115,7 @@ else {
|
||||
}
|
||||
}
|
||||
|
||||
echo $twig->render('admin.menus.form.html.twig', array(
|
||||
$twig->display('admin.menus.form.html.twig', array(
|
||||
'templates' => $templates
|
||||
));
|
||||
}
|
||||
|
Reference in New Issue
Block a user