2 * JavaScript for installation menu data
3 * --------------------------------------------------------------------
8 * --------------------------------------------------------------------
9 * Copyright (c) 2003 - 2009 by Roland Haeder
10 * Copyright (c) 2009 - 2013 by Mailer Developer Team
11 * For more information visit: http://mxchange.org
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation; either version 2 of the License, or
16 * (at your option) any later version.
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
28 // Init index->page translation array
29 var indexTranslation = new Array();
31 // Add all index->page translations:
32 indexTranslation[0] = 'welcome';
33 indexTranslation[1] = 'base_data';
34 indexTranslation[2] = 'database_config';
35 indexTranslation[3] = 'smtp_config';
36 indexTranslation[4] = 'other_config';
37 indexTranslation[5] = 'extensions';
38 indexTranslation[6] = 'first_admin';
39 indexTranslation[7] = 'overview';
42 indexTranslation[indexTranslation.length] = 'finish';
44 // 'next/previous page' linking, key is current page, value is the next page
45 var nextPage = new Array();
46 var previousPage = new Array();
48 // Add all 'next page' entries
49 nextPage['welcome'] = 'base_data';
50 nextPage['base_data'] = 'database_config';
51 nextPage['database_config'] = 'smtp_config';
52 nextPage['smtp_config'] = 'other_config';
53 nextPage['other_config'] = 'extensions';
54 nextPage['extensions'] = 'first_admin';
55 nextPage['first_admin'] = 'overview';
56 nextPage['overview'] = 'finish';
58 // 'previous page' linking, key is current page, value is the previous page
59 var previousPage = new Array();
61 // Add all 'previous page' entries
62 previousPage['base_data'] = 'welcome';
63 previousPage['database_config'] = 'base_data';
64 previousPage['smtp_config'] = 'database_config';
65 previousPage['other_config'] = 'smtp_config';
66 previousPage['extensions'] = 'other_config';
67 previousPage['first_admin'] = 'extensions';
68 previousPage['overview'] = 'first_admin';
69 previousPage['finish'] = 'overview';