Replacing tabs with spaces, trimming white space at EOL and newline at EOF
[squirrelmail.git] / include / options / personal.php
index 4bd01e76a92327d1dbe46a503b1dd240bf7db852..7aa084ac4eb270c28e64ad61edd1e7b2cb6b9b6b 100644 (file)
@@ -8,7 +8,7 @@
  *
  * Displays all options relating to personal information
  *
- * $Id$
+ * @version $Id$
  * @package squirrelmail
  */
 
@@ -118,9 +118,9 @@ function load_optpage_data_personal() {
     );
 
     if ($edit_identity) {
-        $identities_link_value = '<A HREF="options_identities.php">'
+        $identities_link_value = '<a href="options_identities.php">'
                                . _("Edit Advanced Identities")
-                               . '</A> '
+                               . '</a> '
                                . _("(discards changes made on this form so far)");
         $optvals[SMOPT_GRP_CONTACT][] = array(
             'name'    => 'identities_link',
@@ -130,17 +130,17 @@ function load_optpage_data_personal() {
             'comment' =>  $identities_link_value
         );
     }
-    
+
     if ( $tzChangeAllowed ) {
         $TZ_ARRAY[SMPREF_NONE] = _("Same as server");
         $tzfile = SM_PATH . 'locale/timezones.cfg';
-               if ((!is_readable($tzfile)) or (!$fd = fopen($tzfile,'r'))) {
-               $message = _("Error opening timezone config, contact administrator.");
-               }
-               if (isset($message)) {
-                   plain_error_message($message, $color);
-                   exit;
-       }
+        if ((!is_readable($tzfile)) or (!$fd = fopen($tzfile,'r'))) {
+            $message = _("Error opening timezone config, contact administrator.");
+        }
+        if (isset($message)) {
+            plain_error_message($message, $color);
+            exit;
+        }
         while (!feof ($fd)) {
             $zone = fgets($fd, 1024);
             if( $zone ) {
@@ -161,7 +161,7 @@ function load_optpage_data_personal() {
             'posvals' => $TZ_ARRAY
         );
     }
-    
+
     /*** Load the Reply Citation Options into the array ***/
     $optgrps[SMOPT_GRP_REPLY] = _("Reply Citation Options");
     $optvals[SMOPT_GRP_REPLY] = array();
@@ -232,4 +232,4 @@ function save_option_signature($option) {
     setSig($data_dir, $username, 'g', $option->new_value);
 }
 
-?>
+?>
\ No newline at end of file