6.0.0-RC7
6/27/26

[#5512] add compose button to viewport
Summary add compose button to viewport
Queue DIMP
Type Enhancement
State Rejected
Priority 1. Low
Owners
Requester adrieder (at) sbox (dot) tugraz (dot) at
Created 6/28/07 (6939 days ago)
Due 6/28/07 (6939 days ago)
Updated 7/2/07 (6935 days ago)
Assigned
Resolved 7/2/07 (6935 days ago)
Milestone
Patch No

History
344 Michael Slusarz Comment #4
State ⇒ Rejected
Reply to this comment
Disagree.  For UI purposes the button/actions bar needs to be as 
streamlined as possible, and a Compose action isn't linked to anything 
in the viewport (as opposed to reply/forward which are linked to 
specific messages in the current viewport).
21 adrieder (at) sbox (dot) tugraz (dot) at Comment #3
New Attachment: compose-button.patch Download
Reply to this comment
Maybe I should learn to use the "Attachment" option here....

Sorry.
11 adrieder (at) sbox (dot) tugraz (dot) at Comment #2 Reply to this comment
I guess this does the trick...



--- dimp/templates/index/index.inc.orig Wed Jun 27 19:14:37 2007

+++ dimp/templates/index/index.inc      Thu Jun 28 15:16:44 2007

@@ -50,7 +50,6 @@

    <div id="logo"><h1><a href="#" 
onclick="DimpCore.go('portal');return false;"><?php echo _("Horde") 
?></a></h1></div>

    <div id="sidebarPanel">

     <p id="dimpbarActions">

-    <span class="composelink"><?php echo DIMP::actionButton('#', 
_("_Compose"), '', 'compose.png', 'DimpCore.compose(\'new\');return 
false;') ?></span>

      <span class="refreshlink"><?php echo DIMP::actionButton('#', 
_("Get Mail"), '', 'checkmail.png', 'DimpCore.pollFolders();return 
false;', 'button_checkmail', '') ?></span>

     </p>

  <?php if (Horde::showService('logout')): ?>

@@ -146,6 +145,7 @@

       <!--a75c305b1c0a6022--><form action="#" method="post" 
onsubmit="return false;">

        <input type="search" name="msgList_filter" id="msgList_filter" 
size="30" />

       </form>

+     <span><?php _createDA(_("Compose"), 'compose.png', 
'DimpCore.compose(\'new\');return false;', 'button_compose', 
$show_text) ?></span>

       <span><?php _createDA(_("Reply"), 'reply.png', 
'DimpCore.composeMailbox(\'reply\');return false;', 'button_reply', 
$show_text) ?></span>

       <span><?php _createDA(_("Forward"), 'forward.png', 
'DimpCore.composeMailbox(\'' . $prefs->getValue('forward_default') . 
'\');return false;', 'button_forward', $show_text) ?></span>

  <?php if (!empty($conf['spam']['reporting'])): ?>


2711 adrieder (at) sbox (dot) tugraz (dot) at Comment #1
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ add compose button to viewport
Due ⇒ 6/28/07
Queue ⇒ DIMP
State ⇒ New
Reply to this comment
A compose button in the viewport would be a bit more intuitive for the 
user to find.

Saved Queries