Use defined messages.
This commit is contained in:
@@ -34,6 +34,7 @@ $Source$
|
|||||||
* libraries/import.lib.php: Fix execution of single large queries.
|
* libraries/import.lib.php: Fix execution of single large queries.
|
||||||
* import.php, lang/*: Try to detect that upload failed because of limits
|
* import.php, lang/*: Try to detect that upload failed because of limits
|
||||||
(RFE #1240480).
|
(RFE #1240480).
|
||||||
|
* libraries/storage_engines.lib.php: Use defined messages.
|
||||||
|
|
||||||
2005-10-07 Marc Delisle <lem9@users.sourceforge.net>
|
2005-10-07 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* libraries/check_user_privileges.lib.php: bug #1313821, dbname containing a
|
* libraries/check_user_privileges.lib.php: bug #1313821, dbname containing a
|
||||||
|
@@ -195,11 +195,11 @@ class PMA_StorageEngine {
|
|||||||
$message = $GLOBALS['strEngineAvailable'];
|
$message = $GLOBALS['strEngineAvailable'];
|
||||||
break;
|
break;
|
||||||
case PMA_ENGINE_SUPPORT_DISABLED:
|
case PMA_ENGINE_SUPPORT_DISABLED:
|
||||||
$message = $GLOBALS['strEngineUnsupported'];
|
$message = $GLOBALS['strEngineDisabled'];
|
||||||
break;
|
break;
|
||||||
case PMA_ENGINE_SUPPORT_NO:
|
case PMA_ENGINE_SUPPORT_NO:
|
||||||
default:
|
default:
|
||||||
$message = $GLOBALS['strEngineUnavailable'];
|
$message = $GLOBALS['strEngineUnsupported'];
|
||||||
}
|
}
|
||||||
return sprintf($message, htmlspecialchars($this->title));
|
return sprintf($message, htmlspecialchars($this->title));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user