adding i18n doc (unfinished)
[squirrelmail.git] / src / options_identities.php
index d2dfd035924558a7fd5d61bfa78c8991d3439b16..12cf4de78ba64f5b27c57c95aa0cc05b360e31dc 100644 (file)
@@ -3,15 +3,19 @@
 /**
  * options_identities.php
  *
- * Copyright (c) 1999-2003 The SquirrelMail Project Team
+ * Copyright (c) 1999-2004 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * Display Identities Options
  *
- * $Id$
+ * @version $Id$
+ * @package squirrelmail
  */
 
-/* Path for SquirrelMail required files. */
+/**
+ * Path for SquirrelMail required files.
+ * @ignore
+ */
 define('SM_PATH','../');
 
 /* SquirrelMail required files. */
@@ -53,7 +57,7 @@ if (!empty($_POST)) {
    do_hook('options_identities_top');
    LoadInfo($full_name, $email_address, $reply_to, $signature, '');
    $td_str = '';
-   $td_str .= '<form name="f" action="options_identities.php" method="post"><br>';
+   $td_str .= '<form name="f" action="options_identities.php" method="post"><br />';
    $td_str .= ShowTableInfo($full_name, $email_address, $reply_to, $signature, '');
   
    $num = 1;
@@ -65,11 +69,11 @@ if (!empty($_POST)) {
        $num ++;
        }
 
-   echo '<br>' . 
+   echo '<br />' . 
    html_tag( 'table', "\n" .
        html_tag( 'tr', "\n" .
            html_tag( 'td', "\n" .
-               '<b>'. _("Options") . ' - ' . _("Advanced Identities") .'</b><br>' .
+               '<b>'. _("Options") . ' - ' . _("Advanced Identities") .'</b><br />' .
                html_tag( 'table', "\n" .
                    html_tag( 'tr', "\n" .
                        html_tag( 'td', "\n" .
@@ -297,7 +301,7 @@ if (!empty($_POST)) {
 function sti_input( $title, $hd, $data, $post, $bg ) {
     $return_val = html_tag( 'tr',
                            html_tag( 'td', $title . ':', 'right', '', 'nowrap' ) .
-                           html_tag( 'td', '<input size="50" type="text" value="' . htmlspecialchars($data) . '" name="' . $hd . $post . '">' , 'left' ) ,
+                           html_tag( 'td', '<input size="50" type="text" value="' . htmlspecialchars($data) . '" name="' . $hd . $post . '" />' , 'left' ) ,
                        '', $bg );
      return ($return_val);
 }
@@ -332,19 +336,19 @@ function ShowTableInfo($full_name, $email_address, $reply_to, $signature, $post)
     $return_val .= html_tag( 'tr', '', '', $OtherBG);
     $return_val .= html_tag( 'td', '&nbsp;', 'left' );
     $return_val .= html_tag( 'td', '', 'left' );
-    $return_val .= '<input type=hidden name="form_for_'. $post .'" value="1">';
-    $return_val .= '<input type="submit" name="update" value="' . _("Save / Update") . '">';
+    $return_val .= '<input type="hidden" name="form_for_'. $post .'" value="1" />';
+    $return_val .= '<input type="submit" name="update" value="' . _("Save / Update") . '" />';
 
 
     if (! $isEmptySection && $post != '') {
         $return_val .= '<input type="submit" name="make_default_' . $post . '" value="'.
-             _("Make Default") . '">'.
-             '<input type=submit name="delete_' . $post . '" value="'.
-             _("Delete") . '">';
+             _("Make Default") . '" />'.
+             '<input type="submit" name="delete_' . $post . '" value="'.
+             _("Delete") . '" />';
     }
     if (! $isEmptySection && $post != '' && $post > 1) {
-        $return_val .= '<input type=submit name="promote_' . $post . '" value="'.
-             _("Move Up") . '">';
+        $return_val .= '<input type="submit" name="promote_' . $post . '" value="'.
+             _("Move Up") . '" />';
     }
     $return_val .= concat_hook_function('options_identities_buttons', array($isEmptySection, $post));
     $return_val .=  '</td></tr>'.
@@ -352,4 +356,4 @@ function ShowTableInfo($full_name, $email_address, $reply_to, $signature, $post)
 
     return ($return_val);
 }
-?>
+?>
\ No newline at end of file