Ignore:
Timestamp:
Mar 9, 2012 8:23:24 AM (15 months ago)
Author:
alec
Message:
  • Unified (single) spellchecker button
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/skins/default/templates/compose.html

    r5939 r5994  
    44<title><roundcube:object name="productname" /> :: <roundcube:label name="compose" /></title> 
    55<roundcube:include file="/includes/links.html" /> 
     6<roundcube:if condition="config:enable_spellcheck" /> 
    67<link rel="stylesheet" type="text/css" href="/googiespell.css" /> 
     8<roundcube:endif /> 
    79<script type="text/javascript" src="/functions.js"></script> 
    810<script type="text/javascript" src="/splitter.js"></script> 
     
    2426    <roundcube:button command="list" type="link" class="button back" classAct="button back" classSel="button backSel" title="backtolist" content=" " /> 
    2527    <roundcube:button command="send" type="link" class="buttonPas send" classAct="button send" classSel="button sendSel" title="sendmessage" content=" " /> 
    26     <roundcube:button command="spellcheck" type="link" class="buttonPas spellcheck" classAct="button spellcheck" classSel="button spellcheckSel" title="checkspelling" content=" " /> 
     28<roundcube:if condition="config:enable_spellcheck" /> 
     29    <span class="dropbutton"> 
     30        <roundcube:button command="spellcheck" type="link" class="buttonPas spellcheck" classAct="button spellcheck" classSel="button spellcheckSel" title="checkspelling" content=" " /> 
     31        <span id="spellmenulink" onclick="rcmail_ui.show_popup('spellmenu');return false"></span> 
     32    </span> 
     33<roundcube:endif /> 
    2734    <roundcube:button name="addattachment" type="link" class="button attach" classAct="button attach" classSel="button attachSel" title="addattachment" onclick="rcmail_ui.show_popup('uploadmenu', true);return false" content=" " /> 
    2835    <roundcube:button command="insert-sig" type="link" class="buttonPas insertsig" classAct="button insertsig" classSel="button insertsigSel" title="insertsignature" content=" " /> 
     
    112119            </div> 
    113120            <div id="compose-editorfooter"> 
    114                 <span id="spellcheck-control" style="margin-right:10px"></span> 
    115121                <roundcube:if condition="!in_array('htmleditor', (array)config:dont_override)" /> 
    116122                <span> 
     
    144150</div> 
    145151 
     152<div id="spellmenu" class="popupmenu selectable"></div> 
     153 
    146154</form> 
    147155 
Note: See TracChangeset for help on using the changeset viewer.