X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2Fdefault%2Fmessage_list.tpl;h=0d9dda306554b79b09d54a093138d214de5858ae;hb=d9f83cf8cd23f773fde77e3233a10a07aa64b37b;hp=c7daca553b92e9b60e35bece8dd8bbded33f76f4;hpb=109e876c350b95a12eefa4e6df0e389b7ba8417d;p=squirrelmail.git diff --git a/templates/default/message_list.tpl b/templates/default/message_list.tpl index c7daca55..0d9dda30 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-2011 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,12 +206,17 @@ if ($pageOffset < $end_msg) { case SQM_COL_CHECK: if ($javascript_on) { $checked = ($checkall ? ' checked="checked" ' : ''); - echo ''."\n"; + $accesskey = ($accesskey_mailbox_toggle_selected == 'NONE' ? '' + : ' accesskey="' . $accesskey_mailbox_toggle_selected . '" '); + echo '' . "\n"; } else { $link = $baseurl . "&startMessage=$pageOffset&checkall=" . ($checkall ? '0' : '1'); - echo ""._("All").''; + echo "" . _("All") . ''; } break; case SQM_COL_FROM: @@ -439,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; }