2 * JavaScript for installation menu data
3 * --------------------------------------------------------------------
8 * --------------------------------------------------------------------
9 * Copyright (c) 2003 - 2009 by Roland Haeder
10 * Copyright (c) 2009 - 2012 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] = 'overview';
41 indexTranslation[indexTranslation.length] = 'finish';
43 // 'next/previous page' linking, key is current page, value is the next page
44 var nextPage = new Array();
45 var previousPage = new Array();
47 // Add all 'next page' entries
48 nextPage['welcome'] = 'base_data';
49 nextPage['base_data'] = 'database_config';
50 nextPage['database_config'] = 'smtp_config';
51 nextPage['smtp_config'] = 'other_config';
52 nextPage['other_config'] = 'extensions';
53 nextPage['extensions'] = 'overview';
54 nextPage['overview'] = 'finish';
56 // 'previous page' linking, key is current page, value is the previous page
57 var previousPage = new Array();
59 // Add all 'previous page' entries
60 previousPage['base_data'] = 'welcome';
61 previousPage['database_config'] = 'base_data';
62 previousPage['smtp_config'] = 'database_config';
63 previousPage['other_config'] = 'smtp_config';
64 previousPage['extensions'] = 'other_config';
65 previousPage['overview'] = 'extensions';
66 previousPage['finish'] = 'overview';