Revision 1381
Added by Dietmar almost 14 years ago
branches/2.8.x/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 | 13 |
------------------------------------- 2.8.2 ------------------------------------- |
14 |
14 Jan-2011 Build 1381 Dietmar Woellbrink (Luisehahne) |
|
15 |
! update admin/modules unpack handling, overwrite newer files |
|
14 | 16 |
13 Jan-2011 Build 1380 Dietmar Woellbrink (Luisehahne) |
15 | 17 |
+ output fixings, known error in jsadmin will be fix later |
16 | 18 |
13 Jan-2011 Build 1379 Werner von den Decken (DarkViper) |
branches/2.8.x/wb/admin/interface/version.php | ||
---|---|---|
52 | 52 |
|
53 | 53 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
54 | 54 |
if(!defined('VERSION')) define('VERSION', '2.8.2.RC4'); |
55 |
if(!defined('REVISION')) define('REVISION', '1380');
|
|
55 |
if(!defined('REVISION')) define('REVISION', '1381');
|
|
56 | 56 |
|
57 | 57 |
?> |
branches/2.8.x/wb/admin/modules/install.php | ||
---|---|---|
113 | 113 |
make_dir($module_dir); |
114 | 114 |
|
115 | 115 |
// Unzip module to the module dir |
116 |
if(isset($POST['overwrite']) && intval($POST['overwrite'])==1){
|
|
116 |
if(isset($_POST['overwrite'])){
|
|
117 | 117 |
$list = $archive->extract(PCLZIP_OPT_PATH, $module_dir, PCLZIP_OPT_REPLACE_NEWER ); |
118 | 118 |
} else { |
119 | 119 |
$list = $archive->extract(PCLZIP_OPT_PATH, $module_dir ); |
... | ... | |
158 | 158 |
$admin->print_success($MESSAGE['GENERIC']['INSTALLED']); |
159 | 159 |
} elseif ($action=="upgrade") |
160 | 160 |
{ |
161 |
|
|
161 | 162 |
upgrade_module($module_directory, false); |
162 | 163 |
$admin->print_success($MESSAGE['GENERIC']['UPGRADED']); |
163 | 164 |
} |
branches/2.8.x/wb/admin/modules/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
update admin/modules unpack handling, overwrite newer files