Revision 896
Added by Matthias almost 16 years ago
trunk/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 | 13 |
------------------------------------- 2.8.0 ------------------------------------- |
14 |
30-Dec-2008 Matthias Gallas |
|
15 |
- modul_uninstall: Removed undefined and unused constants (DB_FETCHMODE_ASSOC) |
|
16 |
! modul_uninstall: added language variable $TEXT['FILE'] instead of "Datei" |
|
14 | 17 |
29-Dec-2008 Dietrich Roland Pehlke |
15 | 18 |
+ add language support for the errormessages inside the uninstall.php files for modules |
16 | 19 |
and templates. |
trunk/wb/admin/modules/uninstall.php | ||
---|---|---|
98 | 98 |
while ($data = $info->fetchRow() ) { |
99 | 99 |
|
100 | 100 |
$temp = $database->query("SELECT page_title from ".TABLE_PREFIX."pages where page_id=".$data['page_id']); |
101 |
$temp_title = $temp->fetchRow( DB_FETCHMODE_ASSOC );
|
|
101 |
$temp_title = $temp->fetchRow(); |
|
102 | 102 |
|
103 | 103 |
$page_info = array( |
104 | 104 |
'id' => $data['page_id'], |
... | ... | |
111 | 111 |
/** |
112 | 112 |
* Printing out the error-message and die(). |
113 | 113 |
*/ |
114 |
$admin->print_error(str_replace ("Datei", "Modul", $MESSAGE['GENERIC']['CANNOT_UNINSTALL_IN_USE']).$msg.$page_names);
|
|
114 |
$admin->print_error(str_replace ($TEXT['FILE'], "Modul", $MESSAGE['GENERIC']['CANNOT_UNINSTALL_IN_USE']).$msg.$page_names);
|
|
115 | 115 |
} |
116 | 116 |
|
117 | 117 |
// Check if we have permissions on the directory |
Also available in: Unified diff
modul_uninstall: Removed undefined and unused constants (DB_FETCHMODE_ASSOC)
modul_uninstall: added language variable $TEXT['FILE'] instead of "Datei"