Seriously? The variable is named as an array and initialized as a string? Well, I...
[squirrelmail.git] / plugins / translate / options.php
index 580828095b52aeab7cd6c5d2ec9915740d547147..f20dd5c5dee9edbe41050398725ba4d98beca071 100644 (file)
@@ -1,33 +1,30 @@
 <?php
+
 /**
  * options.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * Pick your translator to translate the body of incoming mail messages
  *
+ * @copyright 1999-2017 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
  * @subpackage translate
  */
 
 /**
- * Path for SquirrelMail required files.
- * @ignore
+ * Include the SquirrelMail initialization file.
  */
-define('SM_PATH','../../');
+require('../../include/init.php');
 
-/** SquirrelMail required files. */
-include_once(SM_PATH . 'include/validate.php');
 /** Plugin functions */
 include_once(SM_PATH . 'plugins/translate/functions.php');
 
-displayPageHeader($color, 'None');
+displayPageHeader($color);
 
 ?>
    <table width="95%" align="center" border="0" cellpadding="1" cellspacing="0"><tr><td bgcolor="<?php echo $color[0]; ?>">
-      <center><b><?php echo _("Options") . ' - '. _("Translator"); ?></b></center>
+      <div style="text-align: center;"><b><?php echo _("Options") . ' - '. _("Translator"); ?></b></div>
    </td></tr></table>
 
    <p><?php echo _("Your server options are as follows:"); ?></p>
@@ -81,4 +78,4 @@ if (!$disable_compose_translate) {
 </td></tr>
 </table>
 </form>
-</body></html>
\ No newline at end of file
+</body></html>