From: tokul Date: Sun, 19 Jan 2003 16:41:23 +0000 (+0000) Subject: Right-to-Left fixes by Saleh Madi X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2cb621e77757f771d430495d26ffb3a2e11c8920;p=squirrelmail.git Right-to-Left fixes by Saleh Madi git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4437 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index 8861f11c..9aec217c 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -16,6 +16,10 @@ require_once(SM_PATH . 'functions/strings.php'); require_once(SM_PATH . 'functions/html.php'); require_once(SM_PATH . 'class/html.class.php'); require_once(SM_PATH . 'functions/imap_mailbox.php'); +require_once(SM_PATH . 'functions/set_language_align.php'); + +/* --------------------- Get globals ------------------------------------- */ +$language_align = set_language_align(); /* Default value for page_selector_max. */ define('PG_SEL_MAX', 10); @@ -327,7 +331,7 @@ function getSelfSortMessages($imapConnection, $start_msg, $show_num, function showMessagesForMailbox($imapConnection, $mailbox, $num_msgs, $start_msg, $sort, $color, $show_num, $use_cache, $mode='') { - global $msgs, $msort, $auto_expunge, $thread_sort_messages, + global $msgs, $msort, $auto_expunge, $thread_sort_messages, $language_align, $allow_server_sort, $server_sort_order; /* If autoexpunge is turned on, then do it now. */ @@ -421,7 +425,7 @@ function showMessagesForMailbox($imapConnection, $mailbox, $num_msgs, $msg_cnt_str = get_msgcnt_str($start_msg, $end_msg, $num_msgs); do_hook('mailbox_index_before'); - echo ''; + echo '
'; echo '
'; mail_message_listing_beginning($imapConnection, $mailbox, $sort, diff --git a/functions/set_language_align.php b/functions/set_language_align.php new file mode 100644 index 00000000..868a1114 --- /dev/null +++ b/functions/set_language_align.php @@ -0,0 +1,27 @@ + \ No newline at end of file