diff --git a/Admin/Templates/config.tpl b/Admin/Templates/config.tpl index ab5d607d..2d8cf675 100644 --- a/Admin/Templates/config.tpl +++ b/Admin/Templates/config.tpl @@ -311,7 +311,7 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); - +
SQL Settings
@@ -322,31 +322,31 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); - Hostname + ? - Port + ? - DB Username + ? - DB Password + ? ********* - DB Name + ? - Table Prefix + ? - DB Type + ? @@ -354,7 +354,7 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); - +
Extra Settings
@@ -365,11 +365,11 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); - Limit Mailbox + ? Enabled"; } else if(LIMIT_MAILBOX == false){ echo "Disabled"; } ?> - Max number of mails + ? Limit mailbox disabled"; } ?> @@ -377,7 +377,7 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); - +
Admin Information
@@ -387,23 +387,23 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); - Admin Email - No admin email defined!"; } else if(ADMIN_EMAIL != ''){ echo ADMIN_EMAIL; } ?> - - - Admin Name + ? No admin name defined!"; } else if(ADMIN_NAME != ''){ echo ADMIN_NAME; } ?> - Include Admin in Rank + ? + No admin email defined!"; } else if(ADMIN_EMAIL != ''){ echo ADMIN_EMAIL; } ?> + + + ? Enabled"; } else if(INCLUDE_ADMIN == false){ echo "Disabled"; } ?> - Include Support Messages in Admin Mailbox + ? Enabled"; } else if(ADMIN_RECEIVE_SUPPORT_MESSAGES == false){ echo "Disabled"; } ?> - Allow Administrative Accounts to be Raided and Attacked + ? Yes"; } else if(ADMIN_ALLOW_INCOMING_RAIDS == false){ echo "No"; } ?> diff --git a/Admin/Templates/editAdminInfo.tpl b/Admin/Templates/editAdminInfo.tpl index 31728f17..a54d3c67 100644 --- a/Admin/Templates/editAdminInfo.tpl +++ b/Admin/Templates/editAdminInfo.tpl @@ -13,27 +13,27 @@ if (!isset($_SESSION)) { } if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); ?> -

Server Configuration

+


- + - + - + - + - + - +
Edit Admin Information
Admin Name ?
Admin Email ?
Show Admin in Stats: ?
Include Support Messages in Admin Mailbox: ?
Allow Administrative Accounts to be Raided and Attacked: ?

- +
<< back
<<
diff --git a/Admin/Templates/editExtraSet.tpl b/Admin/Templates/editExtraSet.tpl index 664c374c..561efc9f 100644 --- a/Admin/Templates/editExtraSet.tpl +++ b/Admin/Templates/editExtraSet.tpl @@ -13,19 +13,19 @@ if (!isset($_SESSION)) { } if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN); ?> -

Server Configuration

+


- + - + - + @@ -42,7 +42,7 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN);
Edit Extra Settings
Limit Mailbox ?
Max Number of Mails ? 30

- +
<< back
<<
diff --git a/GameEngine/Lang/en.php b/GameEngine/Lang/en.php index 0c0252e5..969cf35f 100755 --- a/GameEngine/Lang/en.php +++ b/GameEngine/Lang/en.php @@ -1379,7 +1379,43 @@ define("EDIT_NEWSBOX3","Newsbox 3"); define("EDIT_NEWSBOX3_TOOLTIP","Enable or disable the display of the Newsbox 3. Displayed on the authorization page and on the game pages."); //Admin setting - Admin/Templates/config.tpl SQL Settings +define("SQL_SETTINGS","SQL Settings"); +define("CONF_SQL_HOSTNAME","Hostname"); +define("CONF_SQL_HOSTNAME_TOOLTIP","The name of the server where MySQL is started (by default is: localhost)."); +define("CONF_SQL_PORT","Port"); +define("CONF_SQL_PORT_TOOLTIP","MySQL port for remote connection. The standard port for connecting is: 3306."); +define("CONF_SQL_DBUSER","DB Username"); +define("CONF_SQL_DBUSER_TOOLTIP","The user name to connect to the database."); +define("CONF_SQL_DBPASS","DB Password"); +define("CONF_SQL_DBPASS_TOOLTIP","Password from the user to connect to the database."); +define("CONF_SQL_DBNAME","DB Name"); +define("CONF_SQL_DBNAME_TOOLTIP","Name of the database to which you are connecting."); +define("CONF_SQL_TBPREFIX","Table Prefix"); +define("CONF_SQL_TBPREFIX_TOOLTIP","The prefix used for the database tables."); +define("CONF_SQL_DBTYPE","DB Type"); +define("CONF_SQL_DBTYPE_TOOLTIP","The type of database used."); +//Admin setting - Admin/Templates/config.tpl & editExtraSet.tpl +define("EXTRA_SETT","Extra Settings"); +define("EDIT_EXTRA_SETT","Edit Extra Settings"); +define("CONF_EXTRA_LIMITMAIL","Limit Mailbox"); +define("CONF_EXTRA_LIMITMAIL_TOOLTIP","Enable (Yes) or disable (No) the mailbox limit."); +define("CONF_EXTRA_MAXMAIL","Max number of mails"); +define("CONF_EXTRA_MAXMAIL_TOOLTIP","The maximum number of messages that can fit in the mailbox."); + +//Admin setting - Admin/Templates/config.tpl & editAdminInfo.tpl +define("ADMIN_INFO","Admin Information"); +define("EDIT_ADMIN_INFO","Edit Admin Information"); +define("CONF_ADMIN_NAME","Admin Name"); +define("CONF_ADMIN_NAME_TOOLTIP","Name for the administrator account."); +define("CONF_ADMIN_EMAIL","Admin E-Mail"); +define("CONF_ADMIN_EMAIL_TOOLTIP","The email address for the administrator account."); +define("CONF_ADMIN_SHOWSTATS","Include Admin in Stats"); +define("CONF_ADMIN_SHOWSTATS_TOOLTIP","Enable (True) or disable (False) the display of the administrator account in the general statistics of players."); +define("CONF_ADMIN_SUPPMESS","Include Support Messages"); +define("CONF_ADMIN_SUPPMESS_TOOLTIP","Enable (True) or disable (False) the sending of messages to the mailbox of the administrator addressed to Support."); +define("CONF_ADMIN_RAIDATT","Allow Raided and Attacked"); +define("CONF_ADMIN_RAIDATT_TOOLTIP","Enable (True) or disable (False) the ability to Raided and Attacked an administrator."); /* |-------------------------------------------------------------------------- diff --git a/img/admin/admin.css b/img/admin/admin.css index 0980634b..40efc02a 100644 --- a/img/admin/admin.css +++ b/img/admin/admin.css @@ -590,8 +590,8 @@ input#btn_search {width:97px; background-image: url(b/search.gif);} font-family: Calibri, Tahoma, Geneva, sans-serif; font-size: 1.2em; position: absolute; - left: 1em; - top: 2em; + left: -2em; + bottom: 1em; z-index: 99; margin-left: 0; width: 250px;