* replace "$twig->render()" with "$this->display"

This commit is contained in:
slawkens
2018-05-29 21:29:08 +02:00
parent 68d74a490b
commit c654ea329c
69 changed files with 413 additions and 413 deletions

View File

@@ -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
));
}