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:
@@ -22,14 +22,14 @@ $config_salt_enabled = fieldExist('salt', 'accounts');
|
||||
$action_type = isset($_REQUEST['action_type']) ? $_REQUEST['action_type'] : '';
|
||||
if($action == '')
|
||||
{
|
||||
echo $twig->render('account.lost.form.html', array(
|
||||
echo $twig->render('account.lost.form.html.twig', array(
|
||||
'vdarkborder' => $config['vdarkborder'],
|
||||
'darkborder' => $config['darkborder'],
|
||||
'template_path' => $template_path
|
||||
));
|
||||
}
|
||||
else if($action == 'step1' && $action_type == '') {
|
||||
echo $twig->render('account.lost.noaction.html', array(
|
||||
echo $twig->render('account.lost.noaction.html.twig', array(
|
||||
'template_path' => $template_path
|
||||
));
|
||||
}
|
||||
|
Reference in New Issue
Block a user