Project

General

Profile

« Previous | Next » 

Revision 1381

Added by Dietmar almost 14 years ago

update admin/modules unpack handling, overwrite newer files

View differences:

index.php
93 93

  
94 94
// Insert language headings
95 95
$template->set_var(array(
96
								'HEADING_INSTALL_MODULE' => $HEADING['INSTALL_MODULE'],
97
								'HEADING_UNINSTALL_MODULE' => $HEADING['UNINSTALL_MODULE'],
98
								'OVERWRITE_NEWER_FILES' => $MESSAGE['ADDON_OVERWRITE_NEWER_FILES'],
99
								'HEADING_MODULE_DETAILS' => $HEADING['MODULE_DETAILS'],
100
								'HEADING_INVOKE_MODULE_FILES' => $HEADING['INVOKE_MODULE_FILES']
101
								)
102
						);
96
					'HEADING_INSTALL_MODULE' => $HEADING['INSTALL_MODULE'],
97
					'HEADING_UNINSTALL_MODULE' => $HEADING['UNINSTALL_MODULE'],
98
					'OVERWRITE_NEWER_FILES' => $MESSAGE['ADDON_OVERWRITE_NEWER_FILES'],
99
					'HEADING_MODULE_DETAILS' => $HEADING['MODULE_DETAILS'],
100
					'HEADING_INVOKE_MODULE_FILES' => $HEADING['INVOKE_MODULE_FILES']
101
					)
102
				);
103 103
// insert urls
104 104
$template->set_var(array(
105
								'ADMIN_URL' => ADMIN_URL,
106
								'WB_URL' => WB_URL,
107
								'WB_PATH' => WB_PATH,
108
								'THEME_URL' => THEME_URL
109
								)
110
						);
105
					'ADMIN_URL' => ADMIN_URL,
106
					'WB_URL' => WB_URL,
107
					'THEME_URL' => THEME_URL
108
					)
109
				);
111 110
// Insert language text and messages
112 111
$template->set_var(array(
113 112
	'URL_TEMPLATES' => $admin->get_permission('templates') ? 

Also available in: Unified diff