mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
* fixed country selection in create account
* deleted some useless code
This commit is contained in:
@@ -19,8 +19,6 @@ function generate_search_form($autofocus = false)
|
||||
global $config, $twig;
|
||||
return $twig->render('characters.form.html.twig', array(
|
||||
'link' => getPageLink('characters'),
|
||||
'vdarkborder' => $config['vdarkborder'],
|
||||
'darkborder' => $config['darkborder'],
|
||||
'autofocus' => $autofocus
|
||||
));
|
||||
}
|
||||
|
@@ -279,6 +279,7 @@ If you haven\'t registered on ' . $config['lua']['serverName'] . ' please ignore
|
||||
'countries' => isset($countries) ? $countries : null,
|
||||
'accept_rules' => isset($_POST['accept_rules']) ? $_POST['accept_rules'] : false,
|
||||
'country_recognized' => $country_recognized,
|
||||
'country' => isset($country) ? $country : null,
|
||||
'errors' => $errors
|
||||
));
|
||||
?>
|
@@ -737,7 +737,6 @@ if($action == 'move_thread')
|
||||
'post_id' => $post['id'],
|
||||
'sections' => $sections,
|
||||
'section_link' => getForumBoardLink($post['section']),
|
||||
'config' => $config
|
||||
));
|
||||
}
|
||||
}
|
||||
|
@@ -22,16 +22,10 @@ $config_salt_enabled = fieldExist('salt', 'accounts');
|
||||
$action_type = isset($_REQUEST['action_type']) ? $_REQUEST['action_type'] : '';
|
||||
if($action == '')
|
||||
{
|
||||
echo $twig->render('account.lost.form.html.twig', array(
|
||||
'vdarkborder' => $config['vdarkborder'],
|
||||
'darkborder' => $config['darkborder'],
|
||||
'template_path' => $template_path
|
||||
));
|
||||
echo $twig->render('account.lost.form.html.twig');
|
||||
}
|
||||
else if($action == 'step1' && $action_type == '') {
|
||||
echo $twig->render('account.lost.noaction.html.twig', array(
|
||||
'template_path' => $template_path
|
||||
));
|
||||
echo $twig->render('account.lost.noaction.html.twig');
|
||||
}
|
||||
elseif($action == 'step1' && $action_type == 'email')
|
||||
{
|
||||
|
@@ -60,8 +60,6 @@ if($canEdit) {
|
||||
'link' => getPageLink('screenshots', ($action == 'edit' ? 'edit' : 'add')),
|
||||
'action' => $action,
|
||||
'id' => isset($id) ? $id : null,
|
||||
'vdarkborder' => $config['vdarkborder'],
|
||||
'darkborder' => $config['darkborder'],
|
||||
'comment' => isset($comment) ? $comment : null,
|
||||
'image' => isset($image) ? $image : null,
|
||||
'author' => isset($author) ? $author : null
|
||||
|
Reference in New Issue
Block a user