case 2: /* from */
if ($senderAddress != $senderName) {
$senderAddress = strtr($senderAddress, array_flip(get_html_translation_table(HTML_SPECIALCHARS)));
- $title = ' title="' . str_replace('"', "''", $senderAddress) . '"';
+ $title = ' title="' . str_replace(array('"', '<', '>'), array("''", '<', '>'), $senderAddress) . '"';
} else {
$title = '';
}
$fontstr_end . $flag_end . $bold_end,
'center',
$hlt_color,
- 'nowrap' );
+ 'style="white-space: nowrap;"' );
break;
case 4: /* subject */
$td_str = $bold;
$title = get_html_translation_table(HTML_SPECIALCHARS);
$title = array_flip($title);
$title = strtr($sSubject, $title);
- $title = str_replace('"', "''", $title);
+ $title = str_replace(array('"', '<', '>'), array("''", '<', '>'), $title);
$td_str .= " title=\"$title\"";
}
$td_str .= ">$flag$subject$flag_end</a>$bold_end";
$td_str,
'right',
$hlt_color,
- 'nowrap' );
+ 'style="white-space: nowrap;"' );
}
// plain text message markers
$td_str,
'center',
$hlt_color,
- 'nowrap' );
+ 'style="white-space: nowrap;"' );
}
break;
case 6: /* size */
. "}\n"
. "</script>\n"
. "<!-- end of compact paginator javascript -->\n";
- } ?>
-
-<table border="0" width="100%" cellpadding="0" cellspacing="0">
-<tr>
- <td>
- <?php mail_message_listing_beginning($imapConnection, $aMailbox, $msg_cnt_str, $paginator_str); ?>
- </td>
-</tr>
+ }
+ mail_message_listing_beginning($imapConnection, $aMailbox, $msg_cnt_str, $paginator_str);
+?>
<tr><td height="5" bgcolor="<?php echo $color[4]; ?>"></td></tr>
<tr>
<td>
<tr>
<td>
<table width="100%" cellpadding="1" cellspacing="0" align="center" border="0" bgcolor="<?php echo $color[5]; ?>">
- <tr>
- <td>
<?php
printHeader($aMailbox);
displayMessageArray($imapConnection, $aMailbox);
?>
- </td>
- </tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
-<tr>
- <td>
<?php
mail_message_listing_end($aMailbox, $paginator_str, $msg_cnt_str);
?>
- </td>
-</tr>
-</table>
+</table></form>
<?php
}
} else {
$source_url = $php_self;
}
+ $php_self = str_replace('&', '&', $php_self);
if (!isset($msg)) {
$msg = '';
$sort = $aMailbox['SORT'] + SQSORT_THREAD;
}
$thread_link_str = '<small>[<a href="' . $source_url . '?srt='
- . $sort . '&start_messages=1'
- . '&mailbox=' . urlencode($aMailbox['NAME']) . '">' . $thread_name
+ . $sort . '&start_messages=1'
+ . '&mailbox=' . urlencode($aMailbox['NAME']) . '">' . $thread_name
. '</a>]</small>';
} else {
$thread_link_str ='';
echo '<form name="' . $form_name . '" method="post" action="'.$php_self.'">' ."\n"
. $moveFields;
+ echo '<table border="0" width="100%" cellpadding="0" cellspacing="0"><tr><td>';
$button_str = '';
// display flag buttons only if supported
<table bgcolor="<?php echo $color[4]; ?>" border="0" width="100%" cellpadding="1" cellspacing="0">
<tr>
<?php echo html_tag('td', '<small>' . $paginator . $thread_link_str . '</small>', 'left') . "\n"; ?>
- <?php echo html_tag('td', '', 'center') . "\n"; ?>
+ <?php echo html_tag('td', ' ', 'center') . "\n"; ?>
<?php echo html_tag('td', '<small>' . $msg_cnt_str . '</small>', 'right') . "\n"; ?>
</tr>
</table>
</td>
</tr>
- <tr width="100%" cellpadding="1" cellspacing="0" border="0" bgcolor="<?php echo $color[0]; ?>">
+ <tr bgcolor="<?php echo $color[0]; ?>">
<td>
<table border="0" width="100%" cellpadding="1" cellspacing="0">
<tr>
<td>
<table bgcolor="<?php echo $color[4]; ?>" border="0" width="100%" cellpadding="1" cellspacing="0">
<tr>
- <?php echo html_tag('td', '<small>' . $paginator_str . '</small>', 'left'); ?>
- <?php echo html_tag('td', '<small>' . $msg_cnt_str . '</small>', 'right'); ?>
+ <?php echo html_tag('td', '<small>' . $paginator_str . '</small>', 'left'); ?>
+ <?php echo html_tag('td', '<small>' . $msg_cnt_str . '</small>', 'right'); ?>
</tr>
</table>
</td>
/* End of message-list table */
do_hook('mailbox_index_after');
- echo "</form>\n";
}
/**
echo html_tag( 'td',get_selectall_link($aMailbox) , '', '', 'width="1%"' );
break;
case 5: /* flags */
- echo html_tag( 'td','' , '', '', 'width="1%"' );
+ echo html_tag( 'td',' ' , '', '', 'width="1%"' );
break;
case 2: /* from */
if (handleAsSent($aMailbox['NAME'])) {
echo "</td>\n";
break;
case 3: /* date */
- echo html_tag( 'td' ,'' , 'left', '', 'width="5%" nowrap' )
+ echo html_tag( 'td' ,'' , 'left', '', 'width="5%" style="white-space: nowrap;"' )
. '<b>' . _("Date") . '</b>';
if ($showsort) {
if ($internal_date_sort) {
echo "</td>\n";
break;
case 6: /* size */
- echo html_tag( 'td', '', 'center','','width="5%" nowrap')
+ echo html_tag( 'td', '', 'center','','width="5%" style="white-space: nowrap;"')
. '<b>' . _("Size") . '</b>';
if ($showsort) {
ShowSortButton($aMailbox, SQSORT_SIZE_ASC, SQSORT_SIZE_DEC);
. "//-->\n"
. '</script>'
. '<input type="checkbox" name="toggleAll" title="'._("Toggle All").'" onclick="'.$func_name.'();" />';
-// . <a href="javascript:void(0)" onClick="' . $func_name . '();">' . _("Toggle All")
+// . <a href="javascript:void(0)" onclick="' . $func_name . '();">' . _("Toggle All")
// . "</a>\n";
} else {
$result .= "<a href=\"$PHP_SELF";
$result .= $spc . '<select name="startMessage"';
if ($javascript_on) {
$result .= ' onchange="JavaScript:SubmitOnSelect'
- . '(this, \'' . $pg_url . '&startMessage=\')"';
+ . '(this, \'' . $pg_url . '&startMessage=\')"';
}
$result .='>';
return call_user_func($languages[$squirrelmail_language]['XTRA_CODE'] . '_strimwidth', $subject, $trim_val);
}
- return substr_replace($subject, '...', $trim_val);
+ return substr_replace($subject, '...', $trim_val + 1);
}
/**
'<small>' . $string . ': </small>',
$align,
'',
- 'nowrap' );
+ 'style="white-space: nowrap;"' );
}
/**
echo html_tag( 'tr', "\n".
html_tag( 'td',
'<b>' . $next_optgrp['name'] . '</b>' ,
- 'center' ,'', 'valign="middle" colspan="2" nowrap' )
+ 'center' ,'', 'valign="middle" colspan="2" style="white-space: nowrap;"' )
) ."\n";
}
// build the compose in new window link...
- // if javascript is on, use onClick event to handle it
+ // if javascript is on, use onclick event to handle it
if($javascript_on) {
sqgetGlobalVar('base_uri', $base_uri, SQ_SESSION);
return '<a href="javascript:void(0)" onclick="comp_in_new(\''.$base_uri.$url.'\')">'. $text.'</a>';
{
global $abook_take_verify;
- echo '<tr>' . html_tag('td',_("Address Book Take:"),'right','','nowrap') . "\n" . '<td>' .
+ echo '<tr>' . html_tag('td',_("Address Book Take:"),'right','','style="white-space: nowrap;"') . "\n" . '<td>' .
addCheckbox('abook_take_abook_take_verify', $abook_take_verify) .
_("Try to verify addresses") . "</td></tr>\n";
}
function bug_report_options() {
global $bug_report_visible;
- echo '<tr>' . html_tag('td',_("Bug Reports:"),'right','','nowrap') . "\n" .
+ echo '<tr>' . html_tag('td',_("Bug Reports:"),'right','','style="white-space: nowrap;"') . "\n" .
'<td><input name="bug_report_bug_report_visible" type="checkbox"';
if ($bug_report_visible) {
echo ' checked="checked"';
html_tag( 'tr' ) .
html_tag( 'td', '', 'left', '', 'width="100%"' );
- displayInternalLink("plugins/calendar/calendar.php?year=$year&month=$month",_("Month View"),"right");
+ displayInternalLink("plugins/calendar/calendar.php?year=$year&month=$month",_("Month View"),"right");
echo " \n";
- displayInternalLink("plugins/calendar/day.php?year=$year&month=$month&day=$day",_("Day View"),"right");
+ displayInternalLink("plugins/calendar/day.php?year=$year&month=$month&day=$day",_("Day View"),"right");
echo " \n";
- // displayInternalLink("plugins/calendar/event_create.php?year=$year&month=$month&day=$day",_("Add Event"),"right");
+ // displayInternalLink("plugins/calendar/event_create.php?year=$year&month=$month&day=$day",_("Add Event"),"right");
// echo " \n";
echo '</td></tr>';
}
?><tr><td>
- <?php echo addForm($_SERVER['PHP_SELF'], 'POST'); ?>
+ <?php echo addForm($_SERVER['PHP_SELF'], 'post'); ?>
<table>
<tr>
<th align="right"><?php echo _("Current Password:")?></th>
'<center>'.
html_tag( 'table', '', '', '', 'border="0" cellpadding="2" cellspacing="0"' ) .
html_tag( 'tr' ) .
- html_tag( 'th', _("What to Scan:"), 'right', '', 'nowrap' ) .
+ html_tag( 'th', _("What to Scan:"), 'right', '', 'style="white-space: nowrap;"' ) .
html_tag( 'td', '', 'left' ) .
'<select name="filters_user_scan_set">'.
'<option value=""';
'<center>'.
html_tag( 'table', '', '', '', 'width="85%" border="0" cellpadding="2" cellspacing="0"' ) .
html_tag( 'tr' ) .
- html_tag( 'th', _("Move spam to:"), 'right', '', 'nowrap' ) .
+ html_tag( 'th', _("Move spam to:"), 'right', '', 'style="white-space: nowrap;"' ) .
html_tag( 'td', '', 'left' ) .
'<select name="filters_spam_folder_set">';
'left' )
) .
html_tag( 'tr' ) .
- html_tag( 'th', _("What to Scan:"), 'right', '', 'nowrap' ) .
+ html_tag( 'th', _("What to Scan:"), 'right', '', 'style="white-space: nowrap;"' ) .
html_tag( 'td' ) .
'<select name="filters_spam_scan_set">'.
'<option value=""';
foreach ($spam_filters as $Key => $Value) {
echo html_tag( 'tr' ) .
- html_tag( 'th', $Key, 'right', '', 'nowrap' ) ."\n" .
+ html_tag( 'th', $Key, 'right', '', 'style="white-space: nowrap;"' ) ."\n" .
html_tag( 'td' ) .
'<input type="checkbox" name="' .
$spam_filters[$Key]['prefname'] .
printf( $out_string, htmlspecialchars($send_to) );
-echo addForm('../../src/compose.php', 'POST');
+echo addForm('../../src/compose.php', 'post');
$idents = get_identities();
addHidden('passed_id', $passed_id).
addHidden('ent_id', '0').
addHidden('absolute_dl', 'true').
- '<input type="button" value="' . _("Print") . '" onClick="printPopup()" /> '.
- '<input type="button" value="' . _("Close Window") . '" onClick="window.parent.close()" /> '.
+ '<input type="button" value="' . _("Print") . '" onclick="printPopup()" /> '.
+ '<input type="button" value="' . _("Close Window") . '" onclick="window.parent.close()" /> '.
addSubmit(_("Save Message")).
'</form>'.
'</b>'.
'</font><br /></big><br />' . "\n" .
'<form name="nm">' . "\n".
'<input type="button" name="bt" value="' . _("Close Window") .
- '" onClick="javascript:window.close();" />'."\n".
+ '" onclick="javascript:window.close();" />'."\n".
'</form>',
'center' )
) ,
// Option: media_allbox
echo html_tag( 'tr' ) .
- html_tag( 'td', _("Check all boxes, not just INBOX").':', 'right', '', 'nowrap' ) .
+ html_tag( 'td', _("Check all boxes, not just INBOX").':', 'right', '', 'style="white-space: nowrap;"' ) .
html_tag( 'td', '', 'left' ) .
'<input type="checkbox" ';
if ($media_allbox == 'on') {
// Option: media_recent
echo html_tag( 'tr' ) .
- html_tag( 'td', _("Count only messages that are RECENT").':', 'right', '', 'nowrap' ) .
+ html_tag( 'td', _("Count only messages that are RECENT").':', 'right', '', 'style="white-space: nowrap;"' ) .
html_tag( 'td', '', 'left' ) .
'<input type="checkbox" ';
if ($media_recent == 'on') {
// Option: media_changetitle
echo html_tag( 'tr' ) .
- html_tag( 'td', _("Change title on supported browsers").':', 'right', '', 'nowrap' ) .
+ html_tag( 'td', _("Change title on supported browsers").':', 'right', '', 'style="white-space: nowrap;"' ) .
html_tag( 'td', '', 'left' ) .
'<input type="checkbox" ';
if ($media_changetitle == 'on') {
// Option: media_popup
echo html_tag( 'tr' ) .
- html_tag( 'td', _("Show popup window on new mail").':', 'right', '', 'nowrap' ) .
+ html_tag( 'td', _("Show popup window on new mail").':', 'right', '', 'style="white-space: nowrap;"' ) .
html_tag( 'td', '', 'left' ) .
'<input type="checkbox" ';
if($media_popup == 'on') {
if ($allowsound == "true") {
// Option: media_enable
echo html_tag( 'tr' ) .
- html_tag( 'td', _("Enable Media Playing").':', 'right', '', 'nowrap' ) .
+ html_tag( 'td', _("Enable Media Playing").':', 'right', '', 'style="white-space: nowrap;"' ) .
html_tag( 'td', '', 'left' ) .
'<input type="checkbox" ';
if ($media_enable == 'on') {
// Option: media_sel
echo html_tag( 'tr' ) .
- html_tag( 'td', _("Select server file").':', 'right', '', 'nowrap' ) .
+ html_tag( 'td', _("Select server file").':', 'right', '', 'style="white-space: nowrap;"' ) .
html_tag( 'td', '', 'left' ) .
'<select name="media_sel">' . "\n" .
'<option value="(none)"';
$d->close();
$media_output = ($media == '(none)') ? _("(none)") : substr($media, strrpos($media, '/')+1);
echo '</select>'.
- '<input type="submit" value="' . _("Try") . '" name="test" onClick="' .
+ '<input type="submit" value="' . _("Try") . '" name="test" onclick="' .
"window.open('testsound.php?sound='+media_sel.options[media_sel.selectedIndex].value, 'TestSound'," .
"'width=150,height=30,scrollbars=no');" .
'return false;' .
'" /></td></tr>' .
html_tag( 'tr', "\n" .
- html_tag( 'td', _("Current File:"), 'right', '', 'nowrap' ) .
+ html_tag( 'td', _("Current File:"), 'right', '', 'style="white-space: nowrap;"' ) .
html_tag( 'td', '<input type="hidden" value="' .
htmlspecialchars($media) . '" name="media_default" />' .
htmlspecialchars($media_output) . '', 'left' )
} elseif ( $sound == '(none)' ) {
echo '<center><form><br /><br />'.
'<b>' . _("No sound specified") . '</b><br /><br />'.
- '<input type="button" name="close" value="' . _("Close") . '" onClick="window.close()" />'.
+ '<input type="button" name="close" value="' . _("Close") . '" onclick="window.close()" />'.
'</form></center>'.
'</body></html>';
return;
'<form>'.
'<input type="button" name="close" value=" ' .
_("Close") .
- ' " onClick="window.close()" />'.
+ ' " onclick="window.close()" />'.
'</form>' ,
'center' )
) ,
<td align="left" valign="top">
<?php if (isset($js_web) && $js_web) {
echo '<form method="post" action="javascript:return false">';
- echo '<input type="button" value="' . _("Close Window") . "\" onClick=\"window.close(); return true;\" />\n";
+ echo '<input type="button" value="' . _("Close Window") . "\" onclick=\"window.close(); return true;\" />\n";
} else {
?><form method="post" action="../../src/right_main.php">
<input type="hidden" name="mailbox" value="<?php echo htmlspecialchars($mailbox) ?>" />
'<input type="hidden" name="optmode" value="submit" />' .
'<input type="hidden" name="optpage" value="translate" />' .
'<table border="0" cellpadding="0" cellspacing="2">'.
- '<tr><td align="right" nowrap="nowrap">' .
+ '<tr><td align="right" style="white-space: nowrap;">' .
_("Select your translator:") .
'</td>'.
'<td><select name="translate_translate_server">';
translate_showoption();
echo '</select>' .
'</td></tr>' .
- '<tr>'.html_tag('td',_("When reading:"),'right','','nowrap="nowrap"').
+ '<tr>'.html_tag('td',_("When reading:"),'right','','style="white-space: nowrap;"').
'<td><input type="checkbox" name="translate_translate_show_read"';
if ($translate_show_read)
echo ' checked="checked"';
"</td></tr>\n";
if (!$disable_compose_translate) {
- echo '<tr>'.html_tag('td',_("When composing:"),'right','','nowrap').
+ echo '<tr>'.html_tag('td',_("When composing:"),'right','','style="white-space: nowrap;"').
'<td><input type="checkbox" name="translate_translate_show_send"';
if ($translate_show_send)
echo ' checked="checked"';
} else {
$tr_bgcolor = $color[4];
}
- echo html_tag( 'tr', '', '', $tr_bgcolor, 'nowrap' ) .
+ echo html_tag( 'tr', '', '', $tr_bgcolor, 'style="white-space: nowrap;"' ) .
html_tag( 'td',
'<small><a href="javascript:to_address(' .
"'" . $email . "');\">"._("To")."</a> | " .
"'" . $email . "');\">"._("Cc")."</a> | " .
'<a href="javascript:bcc_address(' .
"'" . $email . "');\">"._("Bcc")."</a></small>",
- 'center', '', 'valign="top" width="5%" nowrap' ) .
- html_tag( 'td', ' ' . htmlspecialchars($row['name']), 'left', '', 'valign="top" nowrap' ) .
+ 'center', '', 'valign="top" width="5%" style="white-space: nowrap;"' ) .
+ html_tag( 'td', ' ' . htmlspecialchars($row['name']), 'left', '', 'valign="top" style="white-space: nowrap;"' ) .
html_tag( 'td', ' ' .
'<a href="javascript:to_and_close(' .
"'" . $email . "');\">" . htmlspecialchars($row['email']) . '</a>'
, 'left', '', 'valign="top"' ) .
- html_tag( 'td', htmlspecialchars($row['label']), 'left', '', 'valign="top" nowrap' );
+ html_tag( 'td', htmlspecialchars($row['label']), 'left', '', 'valign="top" style="white-space: nowrap;"' );
if ($includesource) {
- echo html_tag( 'td', ' ' . $row['source'], 'left', '', 'valign="top" nowrap' );
+ echo html_tag( 'td', ' ' . $row['source'], 'left', '', 'valign="top" style="white-space: nowrap;"' );
}
echo "</tr>\n";
'" method="post">' . "\n" .
html_tag( 'table', '', '', '', 'border="0" width="100%" height="100%"' ) .
html_tag( 'tr' ) .
- html_tag( 'td', ' <strong>' . _("Search for") . "</strong>\n", 'left', '', 'nowrap valign="middle" width="10%"' ) .
+ html_tag( 'td', ' <strong>' . _("Search for") . "</strong>\n", 'left', '', 'style="white-space: nowrap;" valign="middle" width="10%"' ) .
html_tag( 'td', '', 'left', '', '' ) .
addInput('query', $query, 28);
if (sizeof($res) <= 0) return;
- echo addForm($PHP_SELF, 'POST', 'addrbook').
+ echo addForm($PHP_SELF, 'post', 'addrbook').
addHidden('html_addr_search_done', 'true');
addr_insert_hidden();
$line = 0;
"}\n" .
"//-->\n" .
"</script>\n";
- $chk_all = '<a href="#" onClick="CheckAll(\'T\');">' . _("All") . '</a> <font color="'.$color[9].'">'._("To").'</font>'.
+ $chk_all = '<a href="#" onclick="CheckAll(\'T\');">' . _("All") . '</a> <font color="'.$color[9].'">'._("To").'</font>'.
' '.
- '<a href="#" onClick="CheckAll(\'C\');">' . _("All") . '</a> <font color="'.$color[9].'">'._("Cc").'</font>'.
+ '<a href="#" onclick="CheckAll(\'C\');">' . _("All") . '</a> <font color="'.$color[9].'">'._("Cc").'</font>'.
' '.
- '<a href="#" onClick="CheckAll(\'B\');">' . _("All") . '</a>';
+ '<a href="#" onclick="CheckAll(\'B\');">' . _("All") . '</a>';
}
echo html_tag( 'table', '', 'center', '', 'border="0" width="98%"' ) .
html_tag( 'tr', '', '', $color[9] ) .
}
if ($squirrelmail_language == 'ja_JP')
{
- echo html_tag( 'tr', '', '', $tr_bgcolor, 'nowrap' ) .
+ echo html_tag( 'tr', '', '', $tr_bgcolor, 'style="white-space: nowrap;"' ) .
html_tag( 'td',
'<input type="checkbox" name="send_to_search[T' . $line . ']" value = "' .
htmlspecialchars($email) . '" /> ' . _("To") . ' ' .
htmlspecialchars($email) . '" /> ' . _("Cc") . ' ' .
'<input type="checkbox" name="send_to_search[B' . $line . ']" value = "' .
htmlspecialchars($email) . '" /> ' . _("Bcc") . ' ' ,
- 'center', '', 'width="5%" nowrap' ) .
- html_tag( 'td', ' ' . htmlspecialchars($row['lastname']) . ' ' . htmlspecialchars($row['firstname']) . ' ', 'left', '', 'nowrap' ) .
- html_tag( 'td', ' ' . htmlspecialchars($row['email']) . ' ', 'left', '', 'nowrap' ) .
- html_tag( 'td', ' ' . htmlspecialchars($row['label']) . ' ', 'left', '', 'nowrap' );
+ 'center', '', 'width="5%" style="white-space: nowrap;"' ) .
+ html_tag( 'td', ' ' . htmlspecialchars($row['lastname']) . ' ' . htmlspecialchars($row['firstname']) . ' ', 'left', '', 'style="white-space: nowrap;"' ) .
+ html_tag( 'td', ' ' . htmlspecialchars($row['email']) . ' ', 'left', '', 'style="white-space: nowrap;"' ) .
+ html_tag( 'td', ' ' . htmlspecialchars($row['label']) . ' ', 'left', '', 'style="white-space: nowrap;"' );
} else {
- echo html_tag( 'tr', '', '', $tr_bgcolor, 'nowrap' ) .
+ echo html_tag( 'tr', '', '', $tr_bgcolor, 'style="white-space: nowrap;"' ) .
html_tag( 'td',
addCheckBox('send_to_search[T'.$line.']', FALSE, $email).
' ' . _("To") . ' ' .
' ' . _("Cc") . ' ' .
addCheckBox('send_to_search[B'.$line.']', FALSE, $email).
' ' . _("Bcc") . ' ' ,
- 'center', '', 'width="5%" nowrap' ) .
- html_tag( 'td', ' ' . htmlspecialchars($row['name']) . ' ', 'left', '', 'nowrap' ) .
- html_tag( 'td', ' ' . htmlspecialchars($row['email']) . ' ', 'left', '', 'nowrap' ) .
- html_tag( 'td', ' ' . htmlspecialchars($row['label']) . ' ', 'left', '', 'nowrap' );
+ 'center', '', 'width="5%" style="white-space: nowrap;"' ) .
+ html_tag( 'td', ' ' . htmlspecialchars($row['name']) . ' ', 'left', '', 'style="white-space: nowrap;"' ) .
+ html_tag( 'td', ' ' . htmlspecialchars($row['email']) . ' ', 'left', '', 'style="white-space: nowrap;"' ) .
+ html_tag( 'td', ' ' . htmlspecialchars($row['label']) . ' ', 'left', '', 'style="white-space: nowrap;"' );
}
if ($includesource) {
- echo html_tag( 'td', ' ' . $row['source'] . ' ', 'left', '', 'nowrap' );
+ echo html_tag( 'td', ' ' . $row['source'] . ' ', 'left', '', 'style="white-space: nowrap;"' );
}
echo "</tr>\n";
$line ++;
echo '<center>' .
html_tag( 'table', '', 'center', '', 'border="0"' ) .
html_tag( 'tr' ) .
- html_tag( 'td', '', 'left', '', 'nowrap valign="middle"' ) . "\n" .
+ html_tag( 'td', '', 'left', '', 'style="white-space: nowrap;" valign="middle"' ) . "\n" .
addForm($PHP_SELF.'?html_addr_search=true', 'post', 'f').
"\n<center>\n" .
' <nobr><strong>' . _("Search for") . "</strong>\n";
if ($addrquery == '' || sizeof($res) == 0) {
/* printf('<center><form method="post" name="k" action="compose.php">'."\n", $PHP_SELF); */
echo '<center>'.
- addForm('compose.php','POST','k');
+ addForm('compose.php','post','k');
addr_insert_hidden();
echo '<input type="submit" value="' . _("Return") . '" name="return" />' . "\n" .
'</form></center></nobr>';
' ' ,
'center', '', 'valign="top" width="1%"' );
}
- echo html_tag( 'td', ' ' . $row['nickname'] . ' ', 'left', '', 'valign="top" width="1%" nowrap' ) .
- html_tag( 'td', ' ' . $row['lastname'] . ' ' . $row['firstname'] . ' ', 'left', '', 'valign="top" width="1%" nowrap' ) .
- html_tag( 'td', '', 'left', '', 'valign="top" width="1%" nowrap' ) . ' ';
+ echo html_tag( 'td', ' ' . $row['nickname'] . ' ', 'left', '', 'valign="top" width="1%" style="white-space: nowrap;"' ) .
+ html_tag( 'td', ' ' . $row['lastname'] . ' ' . $row['firstname'] . ' ', 'left', '', 'valign="top" width="1%" style="white-space: nowrap;"' ) .
+ html_tag( 'td', '', 'left', '', 'valign="top" width="1%" style="white-space: nowrap;"' ) . ' ';
} else {
echo html_tag( 'tr', '', '', $tr_bgcolor);
if ($abook->backends[$row['backend']]->writeable) {
' ' ,
'center', '', 'valign="top" width="1%"' );
}
- echo html_tag( 'td', ' ' . $row['nickname'] . ' ', 'left', '', 'valign="top" width="1%" nowrap' ) .
- html_tag( 'td', ' ' . $row['name'] . ' ', 'left', '', 'valign="top" width="1%" nowrap' ) .
- html_tag( 'td', '', 'left', '', 'valign="top" width="1%" nowrap' ) . ' ';
+ echo html_tag( 'td', ' ' . $row['nickname'] . ' ', 'left', '', 'valign="top" width="1%" style="white-space: nowrap;"' ) .
+ html_tag( 'td', ' ' . $row['name'] . ' ', 'left', '', 'valign="top" width="1%" style="white-space: nowrap;"' ) .
+ html_tag( 'td', '', 'left', '', 'valign="top" width="1%" style="white-space: nowrap;"' ) . ' ';
}
$email = $abook->full_address($row);
echo makeComposeLink('src/compose.php?send_to='.rawurlencode($email),
) .
html_tag( 'tr' ) .
html_tag( 'td', '', 'center', $color[0] ) .
- addForm('folders_create.php', 'POST', 'cf').
+ addForm('folders_create.php', 'post', 'cf').
addInput('folder_name', '', 25).
"<br />\n". _("as a subfolder of"). '<br />'.
"<tt><select name=\"subfolder\">\n";
$pre .= '<b>';
}
$pre .= "<a href=\"right_main.php?PG_SHOWALL=0&startMessage=1&mailbox=$mailboxURL\" target=\"right\" style=\"text-decoration:none\">";
+ $end .= '</a>';
if ($unseen > 0) {
$end .= '</b>';
}
- $end .= '</a>';
if ($boxes->total > 0) {
if ($unseen > 0) {
$pre .= '<b>';
$pre .= '<b>';
}
$pre .= "<a href=\"right_main.php?PG_SHOWALL=0&startMessage=1&mailbox=$mailboxURL\" target=\"right\" style=\"text-decoration:none\">";
+ $end .= '</a>';
if ($unseen > 0) {
$end .= '</b>';
}
- $end .= '</a>';
}
/* Print unseen information. */
if ($unseen_found) {
}
/* Next, display the refresh button. */
-echo '<div style="white-space:nowrap"><small>[<a href="../src/left_main.php" target="left">'.
+echo '<div style="white-space: nowrap;"><small>[<a href="../src/left_main.php" target="left">'.
_("Check mail") . '</a>]</small></div></td></tr></table><br />';
/* Lastly, display the folder list. */
?>
</td></tr></table>
-</div></body></html>
\ No newline at end of file
+</body></html>
\ No newline at end of file
/* If we are not looking at the main option page, display the page here. */
/*************************************************************************/
} else {
- echo addForm('options.php', 'POST', 'f')
+ echo addForm('options.php', 'post', 'f')
. create_optpage_element($optpage)
. create_optmode_element(SMOPT_MODE_SUBMIT)
- . html_tag( 'table', '', '', '', 'width="100%" cellpadding="2" cellspacing="0" border="0"' ) . "\n"
- . html_tag( 'tr' ) . "\n"
- . html_tag( 'td', '', 'left' ) . "\n";
+ . html_tag( 'table', '', '', '', 'width="100%" cellpadding="2" cellspacing="0" border="0"' ) . "\n";
/* Output the option groups for this page. */
print_option_groups($optpage_data['options']);
/* Spit out a submit button. */
OptionSubmit($submit_name);
- echo '</td></tr></table></form>';
+ echo '</table></form>';
/* If it is not empty, trigger the bottom hook. */
if ($bottom_hook_name != '') {
echo html_tag( 'tr',
html_tag( 'td',
$links,
- 'left', $color[4], 'width="20%" nowrap' ) .
+ 'left', $color[4], 'width="20%" style="white-space: nowrap;"' ) .
html_tag( 'td',
htmlspecialchars($message_highlight_list[$i]['name']) ,
'left' ) .
else if ($selected_choose == '')
$selected_input = TRUE;
- echo addForm('options_highlight.php', 'POST', 'f').
+ echo addForm('options_highlight.php', 'post', 'f').
addHidden('action', 'save');
if($action == 'edit') {
echo addHidden('theid', (isset($theid)?$theid:''));
}
echo html_tag( 'table', '', 'center', '', 'width="80%" cellpadding="3" cellspacing="0" border="0"' ) . "\n";
echo html_tag( 'tr', '', '', $color[0] ) . "\n";
- echo html_tag( 'td', '', 'right', '', 'nowrap' ) . "<b>\n";
+ echo html_tag( 'td', '', 'right', '', 'style="white-space: nowrap;"' ) . "<b>\n";
echo _("Identifying name") . ":";
echo ' </b></td>' . "\n";
echo html_tag( 'td', '', 'left' ) . "\n";
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);
session_write_close();
sqsession_is_active();
$comp_uri = SM_PATH . 'src/compose.php?mailbox='. urlencode($mailbox).
- '&session='.$aMailbox['FORWARD_SESSION'];
+ '&session='.$aMailbox['FORWARD_SESSION'];
displayPageHeader($color, $mailbox, "comp_in_new('$comp_uri');", false);
} else {
// save mailboxstate
session_write_close();
// we have to redirect to the compose page
$location = SM_PATH . 'src/compose.php?mailbox='. urlencode($mailbox).
- '&session='.$aMailbox['FORWARD_SESSION'];
+ '&session='.$aMailbox['FORWARD_SESSION'];
header("Location: $location");
exit;
}