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