Suppression de la macro textFormatSelector devenue caduque.
authorBenoît Pin <pin@cri.ensmp.fr>
Thu, 28 Nov 2013 09:57:13 +0000 (10:57 +0100)
committerBenoît Pin <pin@cri.ensmp.fr>
Thu, 28 Nov 2013 09:57:13 +0000 (10:57 +0100)
skins/custom_content/document_edit_template.pt
skins/custom_content/newsitem_edit_template.pt
skins/generic/wysiwyg_support.pt

index f02bd140b5f35aac581b511af08d5001a875c4b1..0295630e0ab0a65fcd7571d2367d3f517aa5e1d9 100755 (executable)
                   </div>
                 </td>
               </tr>
-              <tr>
-                <td colspan="2">
-                  <div metal:use-macro="here/wysiwyg_support/macros/textFormatSelector">
-                    Format box, if needed
-                  </div>
-                </td>
-              </tr>
               <!--
               <tr>
                 <th nowrap="nowrap" i18n:translate="">External file</th>
index 67b39086488a7bd9506bdf30ca65eb9f923bb2d7..ed7c952a2d314652d57910ceb0ffc48c988f1e24 100644 (file)
                   </div>
                 </td>
               </tr>
-              <tr>
-                <td colspan="2">
-                  <div metal:use-macro="here/wysiwyg_support/macros/textFormatSelector">
-                    Format box, if needed
-                  </div>
-                </td>
-              </tr>
               <!--
               <tr>
                 <th nowrap="nowrap" i18n:translate="">External file</th>
index 1fff09e145d66d0a5288885e5485718ebd667393..ef29cc756e85945482f94fd5520784e57be1eb52 100644 (file)
   </div>
 </div>
 
-       <div metal:define-macro="textFormatSelector"
-                        tal:define="wysiwyg python: here.portal_membership.getAuthenticatedMember().getProperty('wysiwyg_editor')!='None';
-                                                                        text_format python: getattr(here,'text_format','html')"
-                        tal:omit-tag="" i18n:domain="plinn">
-               <input type="hidden" name="text_format" value="html" tal:condition="wysiwyg" />
-               
-               <div tal:condition="not: wysiwyg">
-                       <label i18n:translate="">Format</label><br/>
-                       <label>
-                               <input type="radio" name="text_format" value="structured-text"
-                                                        tal:attributes="checked python:test(text_format=='structured-text', 1, None);" />
-                               <span i18n:translate="" tal:omit-tag="">Structured text</span>
-                       </label><br />
-               
-                       <label>
-                               <input type="radio" name="text_format" value="html"
-                                                        tal:attributes="checked python:test(text_format=='html', 1, None)" />
-                               <span i18n:translate="" tal:omit-tag="">HTML</span>
-                       </label><br />
-               
-                       <label>
-                               <input type="radio" name="text_format" value="plain"
-                                                        tal:attributes="checked python:test(text_format=='plain', 1, None);" />
-                               <span i18n:translate="" tal:omit-tag="">Plain text</span>
-                       </label>
-               </div>
-       </div>
-
 </html>
\ No newline at end of file