%~if ie_version >= 5.5 or mozilla_version >= 1.4 or webkit_version >= 312.1%>
  <%~if advanced_editor%>
    <%~set ADVANCEDEDITOR = 1%>
  <%~elsif current.user_advanced_editor and not basic_editor%>
    <%~set ADVANCEDEDITOR = 1%>
  <%~else%>
    <%~set ADVANCEDEDITOR = 0%>
  <%~endif%>
<%~else%>
  <%~set ADVANCEDEDITOR = 0%>
<%~endif%>
<%~if ADVANCEDEDITOR and not config.message_style % 2%>
  <%~set ADVANCEDEDITOR = 0%>
<%~endif%>
  
  
    
<%if ADVANCEDEDITOR%>
    
    
    
    
    
<%else%>
    
    
    
<%endif%>
  
 
<%if not ADVANCEDEDITOR%>
<%include include_markup_tags.html%>
<%endif%>
    <%if ADVANCEDEDITOR%><%-- The advanced editor only works for markup posts --%>
    
    
    Switch to Basic Editor |
    
    <%~elsif ie_version >= 5.5 or mozilla_version >= 1.4 or webkit_version >= 312.1%>
    
Switch to Advanced Editor |
    <%endif%>
    
Check Spelling |
    
Preview Post
 
<%~if can_attach or attachments.length%>
  
  
    <%~set attach_mode = 'message'%>
    <%include include_attachments.html%>
  
 
<%~endif%>