mirror of
https://github.com/e107inc/e107.git
synced 2025-04-19 12:11:55 +02:00
commit
38f1a437a4
@ -577,11 +577,13 @@ TMPO;
|
||||
|
||||
if(@unlink($file))
|
||||
{
|
||||
$mes->addSuccess("Deleted ".$file);
|
||||
$message = e107::getParser()->lanVars(LAN_UI_FILE_DELETED, array('x'=>$file));
|
||||
$mes->addSuccess($message);
|
||||
}
|
||||
else
|
||||
{
|
||||
$mes->addError("Unable to delete ".$file.". Please remove the file manually.");
|
||||
$message = e107::getParser()->lanVars(LAN_UI_FILE_DELETED_FAILED, array('x'=>$file));
|
||||
$mes->addError($message);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -471,6 +471,8 @@ define("LAN_UI_DELETE_WARNING", "You are about to delete [x] records. Please con
|
||||
define("LAN_UI_BATCH_CREATELINK", "Create Link");
|
||||
define("LAN_UI_DELETED", "[x] record(s) successfully deleted!");
|
||||
define("LAN_UI_DELETED_FAILED", "[x] records not found and not deleted!");
|
||||
define("LAN_UI_FILE_DELETED", "[x] file successfully deleted!");
|
||||
define("LAN_UI_FILE_DELETED_FAILED", "Unable to delete [x]! Please remove the file manually.");
|
||||
define("LAN_UI_BATCH_EXPORT", "Export");
|
||||
|
||||
define("LAN_UI_USING_DATABASE_TABLE", "Using [x] database table");
|
||||
|
Loading…
x
Reference in New Issue
Block a user