Changeset 93742 in spip-zone
- Timestamp:
- Dec 17, 2015, 10:35:29 AM (5 years ago)
- Location:
- _plugins_/mathjax/trunk
- Files:
-
- 4 added
- 6 deleted
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/mathjax/trunk/formulaires/configurer_mathjax.html
r82902 r93742 1 <!-- autoriser=configurer -->2 <!-- refus=<:cfg:refus_configuration_administrateur:> -->3 <!-- nom=mathjax -->4 5 1 <div class="formulaire_spip formulaire_cfg formulaire_#FORM"> 6 2 7 <h3 class='titrem'><:mathjax_spip:configuration_globale:></h3>3 <h3 class='titrem'><:mathjax:configuration_globale:></h3> 8 4 9 [<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>]10 [<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]5 [<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>] 6 [<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>] 11 7 12 <form method="post" action="#ENV{action}">13 <div>14 #ACTION_FORMULAIRE{#ENV{action}}15 <ul>8 <form method="post" action="#ENV{action}"> 9 <div> 10 #ACTION_FORMULAIRE{#ENV{action}} 11 <ul> 16 12 17 13 18 #SET{erreurs,#ENV**{erreurs}|table_valeur{barretypo}}19 <li class="editer_mode_dappel[ (#GET{erreurs}|oui)erreur]">20 <label for="mode_dappel"><:mathjax_spip:appel:></label>21 [<span class='erreur_message'>(#GET{erreurs})</span>]14 #SET{erreurs,#ENV**{erreurs}|table_valeur{mode_dappel}} 15 <li class="editer_mode_dappel[ (#GET{erreurs}|oui)erreur]"> 16 <label for="mode_dappel"><:mathjax:appel:></label> 17 [<span class='erreur_message'>(#GET{erreurs})</span>] 22 18 23 <div class="choix"> 24 <:mathjax_spip:mode_info:> 25 <input type="radio" name="mode_dappel" class="radio" id='champ_mode_dappel_cdn'[ (#ENV{mode_dappel,cdn}|=={cdn}|oui)checked="checked"] value='cdn' /> 26 <label for="champ_mode_dappel_cdn"><:mathjax_spip:cnd:></label> 27 </div> 28 <div class="choix"> 29 <input type="radio" name="mode_dappel" class="radio" id='champ_mode_dappel_download'[ (#ENV{mode_dappel,cdn}|=={download}|oui)checked="checked"] value='download' /> 30 <label for="champ_mode_dappel_download"><:mathjax_spip:direct:></label> 31 </div> 32 </li> 33 </ul> 34 <p class="boutons"> 35 <input type="submit" name="_cfg_ok" value="<:bouton_enregistrer:>" class="submit" /> 36 </p> 19 <div class="choix"> 20 <:mathjax:mode_info:> 21 <input type="radio" name="mode_dappel" class="radio" id='champ_mode_dappel_cdn'[ (#ENV{mode_dappel,cdn}|=={cdn}|oui)checked="checked"] value='cdn' /> 22 <label for="champ_mode_dappel_cdn"><:mathjax:cnd:></label> 23 </div> 24 <div class="choix"> 25 <input type="radio" name="mode_dappel" class="radio" id='champ_mode_dappel_download'[ (#ENV{mode_dappel,cdn}|=={download}|oui)checked="checked"] value='download' /> 26 <label for="champ_mode_dappel_download"><:mathjax:direct:></label> 27 </div> 28 </li> 29 </ul> 30 <input type="hidden" name="_meta_casier" value="mathjax" /> 31 <p class="boutons"> 32 <span class="image_loading"> </span> 33 <input type="submit" name="submit" value="<:bouton_enregistrer:>" class="submit" /> 34 </p> 35 </div> 36 </form> 37 37 </div> 38 </form>39 </div> -
_plugins_/mathjax/trunk/inc/math.php
r42480 r93742 4 4 * SPIP, Systeme de publication pour l'internet * 5 5 * * 6 * Copyright (c) 2001-201 0*6 * Copyright (c) 2001-2015 * 7 7 * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * 8 8 * * … … 13 13 14 14 // 15 if (!defined( "_ECRIRE_INC_VERSION")) return;15 if (!defined('_ECRIRE_INC_VERSION')) return; 16 16 17 17 // Fonction appelee par propre() s'il repere un mode <math> 18 // http:// doc.spip.org/@traiter_math18 // http://code.spip.net/@traiter_math 19 19 function traiter_math($letexte, $source='') { 20 20 -
_plugins_/mathjax/trunk/paquet.xml
r93378 r93742 1 1 <paquet 2 prefix="mathjax _spip"2 prefix="mathjax" 3 3 categorie="outil" 4 version="1. 2.0"4 version="1.3.0" 5 5 etat="test" 6 6 logo="prive/themes/spip/images/mathjax-32.png" 7 7 documentation="http://contrib.spip.net/MathJax-pour-SPIP" 8 compatibilite="[ 2.0.0;3.0.*]"8 compatibilite="[3.0.0;3.1.*]" 9 9 > 10 10 … … 18 18 <copyright>2011</copyright> 19 19 20 <traduire module="mathjax _spip" reference="fr" gestionnaire="salvatore" />20 <traduire module="mathjax" reference="fr" gestionnaire="salvatore" /> 21 21 22 <pipeline nom="insert_head" inclure="mathjax_ spip_pipelines.php" />23 <pipeline nom="header_prive" inclure="mathjax_ spip_pipelines.php" />22 <pipeline nom="insert_head" inclure="mathjax_pipelines.php" /> 23 <pipeline nom="header_prive" inclure="mathjax_pipelines.php" /> 24 24 25 <menu nom="configurer_mathjax" titre="mathjax_spip:configuration_mathjax" parent="menu_squelette" icone="images/mathjax-16.png" /> 25 <menu nom="configurer_mathjax" titre="mathjax:configuration_mathjax" parent="menu_squelette" icone="images/mathjax-16.png" /> 26 27 <!-- <lib nom="MathJax-master" lien="https://github.com/mathjax/MathJax/archive/master.zip" /> --> 26 28 27 29 </paquet> -
_plugins_/mathjax/trunk/prive/squelettes/contenu/configurer_mathjax.html
r82902 r93742 1 <!-- descriptif= 2 <a href="http://www.spip-contrib.net/Les-Crayons" class="spip_out">Cf. documentation</a> 3 --> 4 <!-- titre=Configurer Mathjax --> 5 <!-- icone=images/mathjax-24.png --> 6 <!-- logo=images/mathjax-32.png --> 1 [(#AUTORISER{configurer,_mathjax}|sinon_interdire_acces)] 7 2 8 #CACHE{0} 3 <h1 class="grostitre"><:mathjax:titre_page_configurer_mathjax:></h1> 4 9 5 <div class="ajax"> 10 #FORMULAIRE_CONFIGURER_MATHJAX6 #FORMULAIRE_CONFIGURER_MATHJAX 11 7 </div>
Note: See TracChangeset
for help on using the changeset viewer.