(not counting plugins..). Now to grep for other things.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2472
7612ce4b-ef26-0410-bec9-
ea0150e637f0
/* If this is a resumed draft, then delete the original */
if(isset($delete_draft)) {
Header("Location: delete_message.php?mailbox=" . urlencode($draft_folder) .
/* If this is a resumed draft, then delete the original */
if(isset($delete_draft)) {
Header("Location: delete_message.php?mailbox=" . urlencode($draft_folder) .
- "&message=$delete_draft&sort=$sort&startMessage=1&saved_draft=yes");
+ "&message=$delete_draft&sort=$sort&startMessage=1&saved_draft=yes");
- Header("Location: right_main.php?mailbox=$draft_folder&sort=$sort".
- "&startMessage=1¬e=$draft_message");
+ Header("Location: right_main.php?mailbox=$draft_folder&sort=$sort".
+ "&startMessage=1&note=$draft_message");
}
if ( isset($delete_draft)) {
Header("Location: delete_message.php?mailbox=" . urlencode( $draft_folder ).
}
if ( isset($delete_draft)) {
Header("Location: delete_message.php?mailbox=" . urlencode( $draft_folder ).
- "&message=$delete_draft&sort=$sort&startMessage=1&mail_sent=yes");
+ "&message=$delete_draft&sort=$sort&startMessage=1&mail_sent=yes");
exit();
}
if ($compose_new_win == '1') {
Header("Location: compose.php?mail_sent=yes");
}
else {
exit();
}
if ($compose_new_win == '1') {
Header("Location: compose.php?mail_sent=yes");
}
else {
- Header("Location: right_main.php?mailbox=$urlMailbox&sort=$sort".
- "&startMessage=1");
+ Header("Location: right_main.php?mailbox=$urlMailbox&sort=$sort".
+ "&startMessage=1");
return ($start . $orig_from . $end . "\n");
}
return ($start . $orig_from . $end . "\n");
}
-?>
\ No newline at end of file
if (isset($where) && isset($what)) {
header("Location: $location/search.php?where=" . urlencode($where) .
if (isset($where) && isset($what)) {
header("Location: $location/search.php?where=" . urlencode($where) .
- '&what=' . urlencode($what) . '&mailbox=' . urlencode($mailbox));
+ '&what=' . urlencode($what) . '&mailbox=' . urlencode($mailbox));
} else {
if (!empty($saved_draft) || !empty($mail_sent)) {
} else {
if (!empty($saved_draft) || !empty($mail_sent)) {
- header("Location: $location/compose.php?mail_sent=$mail_sent&saved_draft=$saved_draft");
+ header("Location: $location/compose.php?mail_sent=$mail_sent&saved_draft=$saved_draft");
- header("Location: $location/right_main.php?sort=$sort&startMessage=$startMessage&mailbox=" .
+ header("Location: $location/right_main.php?sort=$sort&startMessage=$startMessage&mailbox=" .
urlencode($mailbox));
}
}
sqimap_logout($imapConnection);
urlencode($mailbox));
}
}
sqimap_logout($imapConnection);
-?>
\ No newline at end of file
if (isset($where) && isset($what)) {
// from a search
echo '<a href="../src/read_body.php?mailbox=' . urlencode($mailbox) .
if (isset($where) && isset($what)) {
// from a search
echo '<a href="../src/read_body.php?mailbox=' . urlencode($mailbox) .
- '&passed_id=' . $passed_id . '&where=' . urlencode($where) .
- '&what=' . urlencode($what). '">' . _("View message") . '</a>';
+ '&passed_id=' . $passed_id . '&where=' . urlencode($where) .
+ '&what=' . urlencode($what). '">' . _("View message") . '</a>';
} else {
echo '<a href="../src/read_body.php?mailbox=' . urlencode($mailbox) .
} else {
echo '<a href="../src/read_body.php?mailbox=' . urlencode($mailbox) .
- '&passed_id=' . $passed_id . '&startMessage=' . $startMessage .
- '&show_more=0">' . _("View message") . '</a>';
+ '&passed_id=' . $passed_id . '&startMessage=' . $startMessage .
+ '&show_more=0">' . _("View message") . '</a>';
}
$DownloadLink = '../src/download.php?passed_id=' . $passed_id .
}
$DownloadLink = '../src/download.php?passed_id=' . $passed_id .
- '&mailbox=' . urlencode($mailbox) .
- '&passed_ent_id=' . $passed_ent_id . '&absolute_dl=true';
+ '&mailbox=' . urlencode($mailbox) .
+ '&passed_ent_id=' . $passed_ent_id . '&absolute_dl=true';
echo '</b></td></tr>' . "\n" .
'<tr><td align=center><A HREF="' . $DownloadLink . '">' .
echo '</b></td></tr>' . "\n" .
'<tr><td align=center><A HREF="' . $DownloadLink . '">' .
$key = strtolower($k);
$value = urlencode($v);
if ($key == 'cc') {
$key = strtolower($k);
$value = urlencode($v);
if ($key == 'cc') {
- $rcptaddress .= '&send_to_cc=' . $value;
+ $rcptaddress .= '&send_to_cc=' . $value;
} else if ($key == 'bcc') {
} else if ($key == 'bcc') {
- $rcptaddress .= '&send_to_bcc=' . $value;
+ $rcptaddress .= '&send_to_bcc=' . $value;
} else if ($key == 'subject') {
} else if ($key == 'subject') {
- $rcptaddress .= '&subject=' . $value;
+ $rcptaddress .= '&subject=' . $value;
} else if ($key == 'body') {
} else if ($key == 'body') {
- $rcptaddress .= '&body=' . $value;
+ $rcptaddress .= '&body=' . $value;
do_hook('login_bottom');
echo "</BODY>\n".
"</HTML>\n";
do_hook('login_bottom');
echo "</BODY>\n".
"</HTML>\n";
-?>
\ No newline at end of file
// see if msg[0] is set or not to fix this.
while (($j < count($msg)) && ($msg[0])) {
if ($msg[$i]) {
// see if msg[0] is set or not to fix this.
while (($j < count($msg)) && ($msg[0])) {
if ($msg[$i]) {
- if ($firstLoop != true)
- $selectedMessages .= "&";
- else
- $firstLoop = false;
+ if ($firstLoop != true) {
+ $selectedMessages .= "&";
+ } else {
+ $firstLoop = false;
+ }
$selectedMessages .= "selMsg[$j]=$msg[$i]";
$selectedMessages .= "selMsg[$j]=$msg[$i]";
sqimap_mailbox_expunge($imapConnection, $mailbox, true);
$location = get_location();
if ($where && $what) {
sqimap_mailbox_expunge($imapConnection, $mailbox, true);
$location = get_location();
if ($where && $what) {
- header ("Location: $location/search.php?mailbox=".urlencode($mailbox)."&what=".urlencode($what)."&where=".urlencode($where));
+ header ("Location: $location/search.php?mailbox=".urlencode($mailbox)."&what=".urlencode($what)."&where=".urlencode($where));
- header ("Location: $location/right_main.php?sort=$sort&startMessage=$startMessage&mailbox=". urlencode($mailbox));
+ header ("Location: $location/right_main.php?sort=$sort&startMessage=$startMessage&mailbox=". urlencode($mailbox));
}
} elseif(isset($undeleteButton)) {
}
} elseif(isset($undeleteButton)) {
$location = get_location();
if ($where && $what)
$location = get_location();
if ($where && $what)
- header ("Location: $location/search.php?mailbox=".urlencode($mailbox)."&what=".urlencode($what)."&where=".urlencode($where));
+ header ("Location: $location/search.php?mailbox=".urlencode($mailbox)."&what=".urlencode($what)."&where=".urlencode($where));
- header ("Location: $location/right_main.php?sort=$sort&startMessage=$startMessage&mailbox=". urlencode($mailbox));
+ header ("Location: $location/right_main.php?sort=$sort&startMessage=$startMessage&mailbox=". urlencode($mailbox));
} else {
displayPageHeader($color, $mailbox);
error_message(_("No messages were selected."), $mailbox, $sort, $startMessage, $color);
} else {
displayPageHeader($color, $mailbox);
error_message(_("No messages were selected."), $mailbox, $sort, $startMessage, $color);
}
$location = get_location();
if (isset($where) && isset($what)) {
}
$location = get_location();
if (isset($where) && isset($what)) {
- header ("Location: $location/search.php?mailbox=".urlencode($mailbox)."&what=".urlencode($what)."&where=".urlencode($where));
+ header ("Location: $location/search.php?mailbox=".urlencode($mailbox)."&what=".urlencode($what)."&where=".urlencode($where));
- header ("Location: $location/right_main.php?sort=$sort&startMessage=$startMessage&mailbox=". urlencode($mailbox));
+ header ("Location: $location/right_main.php?sort=$sort&startMessage=$startMessage&mailbox=". urlencode($mailbox));
}
} else {
displayPageHeader($color, $mailbox);
}
} else {
displayPageHeader($color, $mailbox);
$location = get_location();
if (isset($where) && isset($what))
$location = get_location();
if (isset($where) && isset($what))
- header ("Location: $location/search.php?mailbox=".urlencode($mailbox)."&what=".urlencode($what)."&where=".urlencode($where));
+ header ("Location: $location/search.php?mailbox=".urlencode($mailbox)."&what=".urlencode($what)."&where=".urlencode($where));
- header ("Location: $location/right_main.php?sort=$sort&startMessage=$startMessage&mailbox=". urlencode($mailbox));
+ header ("Location: $location/right_main.php?sort=$sort&startMessage=$startMessage&mailbox=". urlencode($mailbox));
} else {
displayPageHeader($color, $mailbox);
error_message(_("No messages were selected."), $mailbox, $sort, $startMessage, $color);
} else {
displayPageHeader($color, $mailbox);
error_message(_("No messages were selected."), $mailbox, $sort, $startMessage, $color);
for ($i=0; $i < count($message_highlight_list); $i++) {
echo '<tr bgcolor="' . $message_highlight_list[$i]['color'] . '">'.
"<td width=\"20%\" bgcolor=\"$color[4]\" nowrap>".
for ($i=0; $i < count($message_highlight_list); $i++) {
echo '<tr bgcolor="' . $message_highlight_list[$i]['color'] . '">'.
"<td width=\"20%\" bgcolor=\"$color[4]\" nowrap>".
- "<small>[<a href=\"options_highlight.php?action=edit&theid=$i\">".
+ "<small>[<a href=\"options_highlight.php?action=edit&theid=$i\">".
- '</a>] [<a href="options_highlight.php?action=delete&theid='.
+ '</a>] [<a href="options_highlight.php?action=delete&theid='.
$i . '">' . _("Delete") . '</a>]</small>'.
'</td><td>'.
htmlspecialchars($message_highlight_list[$i]['name']) .
$i . '">' . _("Delete") . '</a>]</small>'.
'</td><td>'.
htmlspecialchars($message_highlight_list[$i]['name']) .
for ($i=1; $i <= count($index_order); $i++) {
$tmp = $index_order[$i];
echo '<tr>';
for ($i=1; $i <= count($index_order); $i++) {
$tmp = $index_order[$i];
echo '<tr>';
- echo "<td><small><a href=\"options_order.php?method=up&num=$i\">". _("up") ."</a></small></td>\n";
+ echo "<td><small><a href=\"options_order.php?method=up&num=$i\">". _("up") ."</a></small></td>\n";
echo '<td><small> | </small></td>' . "\n";
echo '<td><small> | </small></td>' . "\n";
- echo "<td><small><a href=\"options_order.php?method=down&num=$i\">". _("down") . "</a></small></td>\n";
+ echo "<td><small><a href=\"options_order.php?method=down&num=$i\">". _("down") . "</a></small></td>\n";
echo '<td><small> | </small></td>' . "\n";
echo '<td>';
/* Always show the subject */
if ($tmp != 4)
echo '<td><small> | </small></td>' . "\n";
echo '<td>';
/* Always show the subject */
if ($tmp != 4)
- echo "<small><a href=\"options_order.php?method=remove&num=$i\">" . _("remove") . '</a></small>';
+ echo "<small><a href=\"options_order.php?method=remove&num=$i\">" . _("remove") . '</a></small>';
echo "</td>\n";
echo '<td><small> - </small></td>' . "\n";
echo '<td>' . $available[$tmp] . "</td>\n";
echo "</td>\n";
echo '<td><small> - </small></td>' . "\n";
echo '<td>' . $available[$tmp] . "</td>\n";
-</body></html>
\ No newline at end of file
echo "<frameset rows=\"60, *\" noresize border=\"0\">\n".
"<frame src=\"printer_friendly_top.php\" name=\"top_frame\" scrolling=\"off\">".
'<frame src="printer_friendly_bottom.php?passed_ent_id='.
echo "<frameset rows=\"60, *\" noresize border=\"0\">\n".
"<frame src=\"printer_friendly_top.php\" name=\"top_frame\" scrolling=\"off\">".
'<frame src="printer_friendly_bottom.php?passed_ent_id='.
- $passed_ent_id . '&mailbox=' . urlencode($mailbox) .
- '&passed_id=' . $passed_id .
+ $passed_ent_id . '&mailbox=' . urlencode($mailbox) .
+ '&passed_id=' . $passed_id .
"\" name=\"bottom_frame\">".
"</frameset>\n".
"</html>\n";
"\" name=\"bottom_frame\">".
"</frameset>\n".
"</html>\n";
-?>
\ No newline at end of file
displayPageHeader($color, $mailbox);
displayPageHeader($color, $mailbox);
-$par = 'mailbox='.urlencode($mailbox)."&passed_id=$passed_id";
+$par = 'mailbox='.urlencode($mailbox)."&passed_id=$passed_id";
if (isset($where) && isset($what)) {
if (isset($where) && isset($what)) {
- $par .= '&where='.urlencode($where).'&what='.urlencode($what);
+ $par .= '&where='.urlencode($where).'&what='.urlencode($what);
- $par .= "&startMessage=$startMessage&show_more=0";
+ $par .= "&startMessage=$startMessage&show_more=0";
}
echo '<BR>The message has been submitted to the developers knowledgebase!<BR>' .
}
echo '<BR>The message has been submitted to the developers knowledgebase!<BR>' .
'Please submit every message only once<BR>' .
"<A HREF=\"../src/read_body.php?$par\">View the message</A><BR>";
'Please submit every message only once<BR>' .
"<A HREF=\"../src/read_body.php?$par\">View the message</A><BR>";
-?>
\ No newline at end of file
. '<TD ALIGN=RIGHT>'
. '<A HREF=search.php'
. '?mailbox=' . urlencode($saved_folder_array[$i])
. '<TD ALIGN=RIGHT>'
. '<A HREF=search.php'
. '?mailbox=' . urlencode($saved_folder_array[$i])
- . '&what=' . urlencode($saved_what_array[$i])
- . '&where=' . urlencode($saved_where_array[$i])
+ . '&what=' . urlencode($saved_what_array[$i])
+ . '&where=' . urlencode($saved_where_array[$i])
. '>' . _("edit") . '</A>'
. ' | '
. '<A HREF=search.php'
. '?mailbox=' . urlencode($saved_folder_array[$i])
. '>' . _("edit") . '</A>'
. ' | '
. '<A HREF=search.php'
. '?mailbox=' . urlencode($saved_folder_array[$i])
- . '&what=' . urlencode($saved_what_array[$i])
- . '&where=' . urlencode($saved_where_array[$i])
- . '&submit=Search_no_update'
+ . '&what=' . urlencode($saved_what_array[$i])
+ . '&where=' . urlencode($saved_where_array[$i])
+ . '&submit=Search_no_update'
. '>' . _("search") . '</A>'
. ' | '
. '>' . _("search") . '</A>'
. ' | '
- . "<A HREF=search.php?count=$i&submit=delete>"
+ . "<A HREF=search.php?count=$i&submit=delete>"
. _("delete")
. '</A>'
. '</TD></TR>';
. _("delete")
. '</A>'
. '</TD></TR>';
. "<TD ALIGN=LEFT>$what_array[$i]</TD>"
. "<TD ALIGN=CENTER>$where_array[$i]</TD>"
. '<TD ALIGN=RIGHT>'
. "<TD ALIGN=LEFT>$what_array[$i]</TD>"
. "<TD ALIGN=CENTER>$where_array[$i]</TD>"
. '<TD ALIGN=RIGHT>'
- . "<A HREF=search.php?count=$i&submit=save>"
+ . "<A HREF=search.php?count=$i&submit=save>"
. _("save")
. '</A>'
. ' | '
. '<A HREF=search.php'
. '?mailbox=' . urlencode($folder_array[$i])
. _("save")
. '</A>'
. ' | '
. '<A HREF=search.php'
. '?mailbox=' . urlencode($folder_array[$i])
- . '&what=' . urlencode($what_array[$i])
- . '&where=' . urlencode($where_array[$i])
- . '&submit=Search_no_update'
+ . '&what=' . urlencode($what_array[$i])
+ . '&where=' . urlencode($where_array[$i])
+ . '&submit=Search_no_update'
. '>' . _("search") . '</A>'
. ' | '
. '>' . _("search") . '</A>'
. ' | '
- . "<A HREF=search.php?count=$i&submit=forget>"
+ . "<A HREF=search.php?count=$i&submit=forget>"
. _("forget")
. '</A>'
. '</TD></TR>';
. _("forget")
. '</A>'
. '</TD></TR>';
if (isset($where) && isset($what)) {
// from a search
echo '<a href="../src/read_body.php?mailbox=' . urlencode($mailbox) .
if (isset($where) && isset($what)) {
// from a search
echo '<a href="../src/read_body.php?mailbox=' . urlencode($mailbox) .
- '&passed_id=' . $passed_id . '&where=' . urlencode($where) .
- '&what=' . urlencode($what). '">' . _("View message") . '</a>';
+ '&passed_id=' . $passed_id . '&where=' . urlencode($where) .
+ '&what=' . urlencode($what). '">' . _("View message") . '</a>';
} else {
echo '<a href="../src/read_body.php?mailbox=' . urlencode($mailbox) .
} else {
echo '<a href="../src/read_body.php?mailbox=' . urlencode($mailbox) .
- '&passed_id=' . $passed_id . '&startMessage=' . $startMessage .
- '&show_more=0">' . _("View message") . '</a>';
+ '&passed_id=' . $passed_id . '&startMessage=' . $startMessage .
+ '&show_more=0">' . _("View message") . '</a>';
}
echo '</center></b></td></tr>';
}
echo '</center></b></td></tr>';
'</FORM>' .
'</td></tr>' .
'<tr><td align=center>' .
'</FORM>' .
'</td></tr>' .
'<tr><td align=center>' .
- '<a href="../src/download.php?absolute_dl=true&passed_id=' .
- $passed_id . '&mailbox=' . urlencode($mailbox) .
- '&passed_ent_id=' . $passed_ent_id . '">' .
+ '<a href="../src/download.php?absolute_dl=true&passed_id=' .
+ $passed_id . '&mailbox=' . urlencode($mailbox) .
+ '&passed_ent_id=' . $passed_ent_id . '">' .
_("Download this as a file") . '</A>' .
'</TD></TR></TABLE>' .
_("Download this as a file") . '</A>' .
'</TD></TR></TABLE>' .