/**
* options_identities.php
*
- * Copyright (c) 1999-2004 The SquirrelMail Project Team
+ * Copyright (c) 1999-2005 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Display Identities Options
*
* @version $Id$
* @package squirrelmail
+ * @subpackage prefs
*/
/**
/* SquirrelMail required files. */
require_once(SM_PATH . 'include/validate.php');
-require_once(SM_PATH . 'functions/global.php');
-require_once(SM_PATH . 'functions/display_messages.php');
-require_once(SM_PATH . 'functions/html.php');
+include_once(SM_PATH . 'functions/global.php');
+include_once(SM_PATH . 'functions/display_messages.php');
+include_once(SM_PATH . 'functions/html.php');
/* POST data var names are dynamic because
of the possible multiple idents so lets get
function sti_input( $title, $hd, $data, $post, $bg ) {
$return_val = html_tag( 'tr',
- html_tag( 'td', $title . ':', 'right', '', 'nowrap' ) .
+ html_tag( 'td', $title . ':', 'right', '', 'style="white-space: nowrap;"' ) .
html_tag( 'td', '<input size="50" type="text" value="' . htmlspecialchars($data) . '" name="' . $hd . $post . '" />' , 'left' ) ,
'', $bg );
return ($return_val);
function sti_textarea( $title, $hd, $data, $post, $bg ) {
$return_val = html_tag( 'tr',
- html_tag( 'td', $title . ':', 'right', '', 'nowrap' ) .
+ html_tag( 'td', $title . ':', 'right', '', 'style="white-space: nowrap;"' ) .
html_tag( 'td', '<textarea cols="50" rows="5" name="' . $hd . $post . '">' . htmlspecialchars($data) . '</textarea>' , 'left' ) ,
'', $bg );
return ($return_val);
return ($return_val);
}
+
?>
\ No newline at end of file