mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
* moved more templates to Twig
* now you can replace template in your main template, example is templates/kathrine/templates/success.html * removed output_errors, replace with template * some grammar fixes * moved some forum code to Twig templates * added movies link to tibiacom template
This commit is contained in:
@@ -677,7 +677,7 @@ WHERE killers.death_id = '".$death['id']."' ORDER BY killers.final_hit DESC, kil
|
||||
else
|
||||
{
|
||||
$search_errors[] = 'Character <b>' . $name . '</b> does not exist or has been deleted.';
|
||||
output_errors($search_errors);
|
||||
echo $twig->render('error_box.html', array('errors' => $search_errors));
|
||||
$search_errors = array();
|
||||
|
||||
$promotion = '';
|
||||
@@ -706,4 +706,4 @@ else
|
||||
}
|
||||
|
||||
if(!empty($search_errors))
|
||||
output_errors($search_errors);
|
||||
echo $twig->render('error_box.html', array('errors' => $search_errors));
|
Reference in New Issue
Block a user