mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Bugtracker #3564 - remove hard coded text
This commit is contained in:
parent
896156c7bf
commit
dc0e38d0b2
@ -11,8 +11,8 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_admin/plugin.php,v $
|
||||
| $Revision: 1.4 $
|
||||
| $Date: 2007-02-01 22:00:41 $
|
||||
| $Revision: 1.5 $
|
||||
| $Date: 2007-02-04 21:42:48 $
|
||||
| $Author: e107steved $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
@ -84,9 +84,9 @@ if (isset($_POST['upload'])) {
|
||||
if(!$unarc) {
|
||||
/* unarc failed ... */
|
||||
if($fileType == "zip") {
|
||||
$error = "PCLZIP extract error: '".$archive -> errorName(TRUE)."'";
|
||||
$error = EPL_ADLAN_46." '".$archive -> errorName(TRUE)."'";
|
||||
} else {
|
||||
$error = "PCLTAR extract error: ".PclErrorString().", code: ".intval(PclErrorCode());
|
||||
$error = EPL_ADLAN_47.PclErrorString().", ".EPL_ADLAN_48.intval(PclErrorCode());
|
||||
}
|
||||
$ns->tablerender(EPL_ADLAN_40, EPL_ADLAN_42." ".$archiveName." ".$error);
|
||||
require_once("footer.php");
|
||||
|
@ -11,8 +11,8 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/theme_handler.php,v $
|
||||
| $Revision: 1.4 $
|
||||
| $Date: 2007-01-17 20:47:09 $
|
||||
| $Revision: 1.5 $
|
||||
| $Date: 2007-02-04 21:42:48 $
|
||||
| $Author: e107steved $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
@ -193,9 +193,9 @@ class themeHandler{
|
||||
|
||||
if(!$unarc) {
|
||||
if($fileType == "zip") {
|
||||
$error = "PCLZIP extract error: '".$archive -> errorName(TRUE)."'";
|
||||
} else {
|
||||
$error = "PCLTAR extract error: ".PclErrorString().", code: ".intval(PclErrorCode());
|
||||
$error = TPVLAN_46." '".$archive -> errorName(TRUE)."'";
|
||||
} else {
|
||||
$error = TPVLAN_47.PclErrorString().", ".TPVLAN_48.intval(PclErrorCode());
|
||||
}
|
||||
$ns->tablerender(TPVLAN_16, TPVLAN_18." ".$archiveName." ".$error);
|
||||
require_once("footer.php");
|
||||
|
@ -4,9 +4,9 @@
|
||||
| e107 website system - Language File.
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_languages/English/admin/lan_plugin.php,v $
|
||||
| $Revision: 1.1.1.1 $
|
||||
| $Date: 2006-12-02 04:34:41 $
|
||||
| $Author: mcfly_e107 $
|
||||
| $Revision: 1.2 $
|
||||
| $Date: 2007-02-04 21:42:55 $
|
||||
| $Author: e107steved $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
define("EPL_ADLAN_0", "Install");
|
||||
@ -57,6 +57,9 @@ define("EPL_ADLAN_42", "An error has occurred, unable to un-archive the file");
|
||||
define("EPL_ADLAN_43", "Your plugin has been uploaded and unzipped, please scroll down to see your plugin in the list.");
|
||||
define("EPL_ADLAN_44", "Auto plugin upload and extraction is disabled as your plugins folder does not have the correct permissions - please CHMOD your e107_plugins folder to 777.");
|
||||
define("EPL_ADLAN_45", "Your menu item has been uploaded and unzipped, to activate go to <a href='".e_ADMIN."menus.php'>your menus page</a>.");
|
||||
define("EPL_ADLAN_46", "PCLZIP extract error:");
|
||||
define("EPL_ADLAN_47", "PCLTAR extract error: ");
|
||||
define("EPL_ADLAN_48", "code:");
|
||||
|
||||
// define("EPL_CANCEL", "Cancel"); use LAN_CANCEL instead !!
|
||||
// define("EPL_EMAIL", "email");
|
||||
|
@ -4,9 +4,9 @@
|
||||
| e107 website system - Language File.
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_languages/English/admin/lan_theme.php,v $
|
||||
| $Revision: 1.1.1.1 $
|
||||
| $Date: 2006-12-02 04:34:42 $
|
||||
| $Author: mcfly_e107 $
|
||||
| $Revision: 1.2 $
|
||||
| $Date: 2007-02-04 21:42:55 $
|
||||
| $Author: e107steved $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
define("TPVLAN_1", "You are looking at a preview of the <b>'".PREVIEWTHEMENAME."'</b> theme. It has not been set as the main theme for your site, it has been activated to provide a preview of how the theme looks.<br />To set this theme as your site theme, <a href='".e_ADMIN."theme.php'>return to your theme manager</a> and select 'Set As Site Theme'.<br />To preview more themes please <a href='".e_ADMIN."theme.php'>click here</a>");
|
||||
@ -59,4 +59,9 @@ define("TPVLAN_40", "Admin theme set to");
|
||||
define("TPVLAN_41", "Please select admin layout style to use");
|
||||
define("TPVLAN_42", "Save admin options");
|
||||
define("TPVLAN_43", "Admin options saved");
|
||||
|
||||
define("TPVLAN_46", "PCLZIP extract error:");
|
||||
define("TPVLAN_47", "PCLTAR extract error: ");
|
||||
define("TPVLAN_48", "code:");
|
||||
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user