Revision 944
Added by Matthias almost 16 years ago
uninstall.php | ||
---|---|---|
63 | 63 |
if (!array_key_exists('CANNOT_UNINSTALL_IS_DEFAULT_TEMPLATE', $MESSAGE['GENERIC'] ) ) |
64 | 64 |
$MESSAGE['GENERIC']['CANNOT_UNINSTALL_IS_DEFAULT_TEMPLATE'] = "Can't uninstall this template <b>{{name}}</b> because it's the standardtemplate!"; |
65 | 65 |
|
66 |
// check whether the template is used as default wb theme |
|
67 |
if($file == DEFAULT_THEME) { |
|
68 |
$temp = array ('name' => $file ); |
|
69 |
$msg = replace_all( $MESSAGE['GENERIC']['CANNOT_UNINSTALL_IS_DEFAULT_TEMPLATE'], $temp ); |
|
70 |
$admin->print_error( $msg ); |
|
71 |
} |
|
72 |
|
|
66 | 73 |
if ($file == DEFAULT_TEMPLATE) { |
67 | 74 |
$temp = array ('name' => $file ); |
68 | 75 |
$msg = replace_all( $MESSAGE['GENERIC']['CANNOT_UNINSTALL_IS_DEFAULT_TEMPLATE'], $temp ); |
Also available in: Unified diff
added skinable Admin Interface