* offer move message button just if we are allowed to. thanks to Trilcat for reportin...
authorWilfried Göesgens <willi@citadel.org>
Mon, 23 Mar 2009 19:35:59 +0000 (19:35 +0000)
committerWilfried Göesgens <willi@citadel.org>
Mon, 23 Mar 2009 19:35:59 +0000 (19:35 +0000)
webcit/static/t/view_message.html

index 872f4ea6af83aded3d877a58873f76e2445ef107..b065f46206de47589a706bcdc47fef587fd075bc 100644 (file)
@@ -30,8 +30,8 @@ onMouseOut=document.getElementById("msg<?MAIL:SUMM:N>").style.visibility="hidden
                <a href="display_enter?references=<?MAIL:SUMM:REFIDS("U")>%7C<?MAIL:SUMM:INREPLYTO("U")>?fwdquote=<?MAIL:SUMM:N>&subject=<?MAIL:SUMM:SUBJECT("U", 0, "Fwd:%%20", "Fwd:")>"><span>[</span><?_("Forward")><span>]</span></a> 
        <??("X", 11)>
 <??("X", 9)>
-<a href="confirm_move_msg?msgid=<?MAIL:SUMM:N>"><span>[</span><?_("Move")><span>]</span></a> 
 <?!("COND:ROOM:EDITACCESS", 14)>
+   <a href="confirm_move_msg?msgid=<?MAIL:SUMM:N>"><span>[</span><?_("Move")><span>]</span></a> 
    <a href="delete_msg?msgid=<?MAIL:SUMM:N>" onclick="return confirm('<?_("Delete this message?")>');"><span>[</span><?_("Delete")><span>]</span> </a> 
 <??("X", 14)>
    <a href="#" onclick="window.open('msgheaders/<?MAIL:SUMM:N>', 'headers<?MAIL:SUMM:N>', 'toolbar=no,location=no,directories=no,copyhistory=no,status=yes,scrollbars=yes,resizable=yes,width=600,height=400'); "><span>[</span><?_("Headers")><span>]</span></a>