X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2Fdefault%2Fmessage_list.tpl;h=4e69b1013444e9971bc7b74a3fdb7ead208e8c98;hb=5d0f90f4cf688a471e7d92893a37f0c8932909db;hp=1e46faed1accc3b9e876983edd9b1e30cc816155;hpb=9ce7076cbeff052a968b565e8a60f8bc50fcc4cd;p=squirrelmail.git diff --git a/templates/default/message_list.tpl b/templates/default/message_list.tpl index 1e46faed..4e69b101 100644 --- a/templates/default/message_list.tpl +++ b/templates/default/message_list.tpl @@ -64,8 +64,16 @@ * $aErrors * $checkall * $preselected + * $show_personal_names boolean When turned on, all email + * address fields should display + * the personal name and use the + * email address as a tool tip; + * When turned off, this logic + * should be inverted + * $accesskey_mailbox_toggle_selected The access key to use for the toggle all checkbox + * $accesskey_mailbox_thread The access key to use for the Thread/Unthread links * - * @copyright © 1999-2006 The SquirrelMail Project Team + * @copyright 1999-2012 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -110,6 +118,7 @@ if ($pageOffset < $end_msg) { ?>
+
@@ -128,7 +137,10 @@ if ($pageOffset < $end_msg) { */ $paginator_str = $this->fetch('paginator.tpl'); echo $paginator_str . '[' . $thread_name . ']  '; + . ($accesskey_mailbox_thread != 'NONE' + ? '" accesskey="' . $accesskey_mailbox_thread . '">' + : '">') + . $thread_name . ']  '; if (!empty($plugin_output['mailbox_paginator_after'])) echo $plugin_output['mailbox_paginator_after']; ?> @@ -194,10 +206,12 @@ if ($pageOffset < $end_msg) { case SQM_COL_CHECK: if ($javascript_on) { $checked = ($checkall ? ' checked="checked" ' : ''); + $accesskey = ($accesskey_mailbox_toggle_selected == 'NONE' ? '' + : ' accesskey="' . $accesskey_mailbox_toggle_selected . '" '); echo '' . "\n"; + . '); return false;" ' . $checked . $accesskey . '/>' . "\n"; } else { $link = $baseurl . "&startMessage=$pageOffset&checkall=" @@ -442,6 +456,17 @@ if ($non_clicked_class != 'even' && $non_clicked_class != 'odd' $onclick = (isset($aCol['onclick'])) ? $aCol['onclick'] : ''; $value = (isset($aCol['value'])) ? $aCol['value'] : ''; $target = (isset($aCol['target'])) ? $aCol['target'] : ''; + if (!$show_personal_names + && !empty($title) + && ($iCol == SQM_COL_FROM + || $iCol == SQM_COL_TO + || $iCol == SQM_COL_CC + || $iCol == SQM_COL_BCC)) { + // swap title and value + $tmp = $title; + $title = $value; + $value = $tmp; + } if ($iCol !== SQM_COL_CHECK) { $value = $sLabelStart.$sPre.$value.$sEnd.$sLabelEnd; }