PageRenderTime 97ms CodeModel.GetById 23ms RepoModel.GetById 1ms app.codeStats 0ms

/formulaires/ckc.html

http://ckeditor-spip-plugin.googlecode.com/
HTML | 180 lines | 173 code | 4 blank | 3 comment | 0 complexity | b6f4cc6d7bae0c943b21f19f7c0e166e MD5 | raw file
Possible License(s): GPL-2.0
  1. <!-- titre=Configuration de CKEDITOR -->
  2. <!-- nom=ckeditor -->
  3. <!-- depot=metapack -->
  4. #CACHE{0}
  5. #SET{aff, #EVAL{$_GET['aff']}}
  6. [<p class="formulaire_erreur">(#ENV*{message_erreur})</p>]
  7. [<p class="formulaire_message">(#ENV*{message_ok})</p>]
  8. [<p class="formulaire_message">(#GET{aff}|=={'reinit'}|oui)<:ckeditor:ck_reinit:></p>]
  9. <form method="post" action="[(#ENV{action}|parametre_url{aff,''})]"><div>
  10. #ACTION_FORMULAIRE{#ENV{action}}
  11. <fieldset>
  12. <legend><:ckeditor:config_avancee:></legend>
  13. <div class='cke-div'>
  14. <label for="protectedtags"><strong><:ckeditor:balises_spip_autoriser:></strong></label>
  15. <span class='cke-aide'><span><:ckeditor:balises_spip_autoriser_descriptif:></span></span>
  16. <br/>
  17. <input type="text" name="protectedtags"[ value="(#ENV{protectedtags})"] size="55%"/>
  18. </div>
  19. <div class='cke-div'>
  20. <label><strong><:ckeditor:options_html2spip:></strong></label>
  21. <span class='cke-aide'><span><:ckeditor:utiliser_html2spip_descriptif:></span></span>
  22. <br/>
  23. <input type="radio" name="conversion" value="aucune"[(#ENV{conversion}|=={aucune}|oui)checked]><:ckeditor:aucune_conversion:></input><br/>
  24. <input type="radio" name="conversion" value="partielle"[(#ENV{conversion}|=={partielle}|oui)checked]><:ckeditor:conversion_partielle_vers_spip:></input><br/>
  25. <?php
  26. include_spip('inc/ckeditor_constantes') ;
  27. if (find_in_path('lib/'._CKE_HTML2SPIP_VERSION)) {
  28. ?>
  29. <input type="radio" name="conversion" value="complete"[(#ENV{conversion}|=={complete}|oui)checked]><:ckeditor:utiliser_html2spip:></input><br/>
  30. <label for="identitytags"><:ckeditor:html2spip_identite:></label>
  31. <input type="text" name="html2spip_identite"[ value="(#ENV{html2spip_identite})"] size="55%"/><br/>
  32. <input type="checkbox" name="html2spip_limite"[ (#ENV{html2spip_limite}|?{'checked'})]><:ckeditor:html2spip_limite:></input><br/>
  33. <?php
  34. } else {
  35. ?>
  36. <div style='border:1px solid #555;background-color:#eee;margin:3px 15px 0px 15px;padding:3px;'>
  37. <:ckeditor:aide_html2spip_non_trouvee:>
  38. </div>
  39. <?php
  40. }
  41. ?>
  42. </div>
  43. <div class='cke-div'>
  44. <label><strong><:ckeditor:utiliser_ckeditor_avec:></strong></label><br/>
  45. <div style="margin:0 0 0 15px;">
  46. <input name="crayons" type="checkbox"[(#ENV{crayons}|oui)checked]> <:ckeditor:les_crayons:> </input>
  47. <strong> &mdash; </strong><label><:ckeditor:toolbar:></label>
  48. <input name="crayons_tb" type="radio" value="Basic"[(#ENV{crayons_tb}|=={'Basic'}|?{'checked',''})]> <:ckeditor:tb_basic:> </input>
  49. <input name="crayons_tb" type="radio" value="Full"[(#ENV{crayons_tb}|=={'Full'}|?{'checked',''})]> <:ckeditor:tb_full:>
  50. </input>
  51. <br/>
  52. <input name="forums" type="checkbox"[(#ENV{forums}|oui)checked]> <:ckeditor:les_forums:> </input>
  53. <strong> &mdash; </strong><label><:ckeditor:toolbar:></label>
  54. <input name="forums_tb" type="radio" value="Basic"[(#ENV{forums_tb}|=={'Basic'}|?{'checked',''})]> <:ckeditor:tb_basic:> </input>
  55. <input name="forums_tb" type="radio" value="Full"[(#ENV{forums_tb}|=={'Full'}|?{'checked',''})]> <:ckeditor:tb_full:>
  56. </input>
  57. <br/>
  58. <input name="cisf" type="checkbox"[(#ENV{cisf}|oui)checked]> <:ckeditor:cisf:> </input>
  59. <strong> &mdash; </strong><label><:ckeditor:toolbar:></label>
  60. <input name="cisf_tb" type="radio" value="Basic"[(#ENV{cisf_tb}|=={'Basic'}|?{'checked',''})]> <:ckeditor:tb_basic:> </input>
  61. <input name="cisf_tb" type="radio" value="Full"[(#ENV{cisf_tb}|=={'Full'}|?{'checked',''})]> <:ckeditor:tb_full:>
  62. </input>
  63. <B_ce>
  64. <br/>
  65. <:ckeditor:les_champs_extras:>
  66. <blockquote style="margin:0 0 0 15px;">
  67. <BOUCLE_ce(POUR){tableau #CHAMPS_EXTRAS}>
  68. <input name="champs_extras[#VALEUR]" type="checkbox"[(#ENV{champs_extras}|table_valeur{#VALEUR}|oui)checked]> #VALEUR </input>
  69. <strong> &mdash; </strong><label><:ckeditor:toolbar:></label>
  70. <input name="extras_tb[#VALEUR]" type="radio" value="Basic"[(#ENV{extras_tb}|table_valeur{#VALEUR}|=={'Basic'}|?{'checked',''})]> <:ckeditor:tb_basic:> </input>
  71. <input name="extras_tb[#VALEUR]" type="radio" value="Full"[(#ENV{extras_tb}|table_valeur{#VALEUR}|=={'Full'}|?{'checked',''})]> <:ckeditor:tb_full:>
  72. </input>
  73. <br/>
  74. </BOUCLE_ce>
  75. </blockquote>
  76. </B_ce>
  77. <br/>
  78. <input name="partie_publique" type="checkbox"[(#ENV{partie_publique}|oui)checked]><:ckeditor:partie_publique:></input>
  79. <blockquote style="margin:0 0 0 15px;">
  80. <label for="class_publique"><:ckeditor:class_partie_publique:></label>
  81. <input name="class_publique" type="text" value="[(#ENV{class_publique})]"/>
  82. <span class='cke-aide'><span><:ckeditor:aide_class_css_formulaire:></span></span>
  83. <br/>
  84. <label><:ckeditor:toolbar:></label>
  85. <input name="publique_tb" type="radio" value="Basic"[(#ENV{publique_tb}|=={'Basic'}|?{'checked',''})]> <:ckeditor:tb_basic:> </input>
  86. <input name="publique_tb" type="radio" value="Full"[(#ENV{publique_tb}|=={'Full'}|?{'checked',''})]> <:ckeditor:tb_full:>
  87. </input>
  88. </blockquote>
  89. <input name="partie_prive" type="checkbox"[(#ENV{partie_prive}|oui)checked]><:ckeditor:partie_prive:></input>
  90. <blockquote style="margin:0 0 0 15px;">
  91. <label for="class_prive"><:ckeditor:class_partie_prive:></label>
  92. <input name="class_prive" type="text" value="[(#ENV{class_prive})]"/>
  93. <span class='cke-aide'><span><:ckeditor:aide_class_css_formulaire:></span></span>
  94. <br/>
  95. <label><:ckeditor:toolbar:></label>
  96. <input name="prive_tb" type="radio" value="Basic"[(#ENV{prive_tb}|=={'Basic'}|?{'checked',''})]> <:ckeditor:tb_basic:> </input>
  97. <input name="prive_tb" type="radio" value="Full"[(#ENV{prive_tb}|=={'Full'}|?{'checked',''})]> <:ckeditor:tb_full:>
  98. </input>
  99. </blockquote>
  100. </div>
  101. </div>
  102. <div class='cke-div'>
  103. <label><strong><:ckeditor:options_spip:></strong></label><br/>
  104. <input type="checkbox" name="spiplinks"[ (#ENV{spiplinks}|?{'checked'})]><:ckeditor:autoriser_liens_spip:></input><br/>
  105. <input type="checkbox" name="insertall"[ (#ENV{insertall}|?{'checked'})]><:ckeditor:autoriser_insertion_documents:></input><br/>
  106. </div>
  107. <div class='cke-div'>
  108. <strong><:ckeditor:largeur_barre_outils:></strong><br/>
  109. <label for='cktoolslenlarge'><:ckeditor:large:></label>
  110. <input type="text" name="cktoolslenlarge"[ value="(#ENV{cktoolslenlarge})"] size="5"/><br/>
  111. <label for='cktoolslenetroit'><:ckeditor:etroit:></label>
  112. <input type="text" name="cktoolslenetroit"[ value="(#ENV{cktoolslenetroit})"] size="5"/><br/>
  113. </div>
  114. <div class='cke-div'>
  115. <label for='cklanguage'><strong><:ckeditor:langue_ckeditor:></strong></label>
  116. <select name='cklanguage'>
  117. [(#ENV{cklanguage}|ck_lang_options)]
  118. </select>
  119. </div>
  120. <div class='cke-div'>
  121. <label for="entermode"><strong><:ckeditor:entermode:></strong></label>
  122. <select name="entermode">
  123. <option value="ENTER_P"[ (#ENV{entermode}|=={'ENTER_P'}|?{'selected'})]><:ckeditor:enter_p:></option>
  124. <option value="ENTER_BR"[ (#ENV{entermode}|=={'ENTER_BR'}|?{'selected'})]><:ckeditor:enter_br:></option>
  125. <option value="ENTER_DIV"[ (#ENV{entermode}|=={'ENTER_DIV'}|?{'selected'})]><:ckeditor:enter_div:></option>
  126. </select>
  127. <div class='cke-aide'><div>
  128. <ul>
  129. <li><:ckeditor:explique_p:></li>
  130. <li><:ckeditor:explique_div:></li>
  131. </ul>
  132. </div></div>
  133. </div>
  134. <div class='cke-div'>
  135. <label for="shiftentermode"><strong><:ckeditor:shiftentermode:></strong></label>
  136. <select name="shiftentermode">
  137. <option value="ENTER_P"[ (#ENV{shiftentermode}|=={'ENTER_P'}|?{'selected'})]><:ckeditor:enter_p:></option>
  138. <option value="ENTER_BR"[ (#ENV{shiftentermode}|=={'ENTER_BR'}|?{'selected'})]><:ckeditor:enter_br:></option>
  139. <option value="ENTER_DIV"[ (#ENV{shiftentermode}|=={'ENTER_DIV'}|?{'selected'})]><:ckeditor:enter_div:></option>
  140. </select>
  141. <div class='cke-aide'><div>
  142. <ul>
  143. <li><:ckeditor:explique_p:></li>
  144. <li><:ckeditor:explique_div:></li>
  145. </ul>
  146. </div></div>
  147. </div>
  148. <div class='cke-div'>
  149. <label><strong><:ckeditor:options_css:></strong></label><br/>
  150. <div style='margin-left:15px;'>
  151. <label for='sitecss'><strong><:ckeditor:css_site:></strong></label>
  152. <span class='cke-aide'><span><:ckeditor:aide_css_site:></span></span>
  153. <br/>
  154. <input type="text" name="csssite"[ value="(#ENV{csssite})"] size="50" />
  155. </div>
  156. <div style='margin-left:15px;'>
  157. <label for='contextes'><strong><:ckeditor:liste_de_contextes:></strong></label>
  158. <span class='cke-aide'><span><:ckeditor:aide_contextes:></span></span>
  159. <br/>
  160. <input type="text" name="contextes"[ value="(#ENV{contextes})"] size="50" /><br/>
  161. </div>
  162. </div>
  163. <div class='cke-div'>
  164. <label for='siteurl'><strong><:ckeditor:url_site:></strong></label>
  165. <span class='cke-aide'><span><:ckeditor:normalement_detectee:><code><?php echo lire_meta('adresse_site'); ?></code></span></span>
  166. <br/>
  167. <input type="text" name="siteurl"[ value="(#ENV{siteurl})"] size="50" /><br/>
  168. </div>
  169. </fieldset>
  170. <div class='cke-div'>
  171. <input type="submit" name="_cfg_ok" value="<:ckeditor:ok:>" />
  172. <input type="submit" name="_cfg_delete" value="<:ckeditor:supprimer:>" />
  173. <input type="submit" name="_cfg_reinit" onclick="javascript:if (confirm('<:ckeditor:confirme_reinitialiser_plugin:>')){ [document.location.href='(#SELF|parametre_url{_cfg_reinit,'on'})';]} return false;" value="<:ckeditor:reinitialiser_le_plugin:>"/>
  174. </div>
  175. </div>
  176. </form>