Changeset 51734 in spip-zone
- Timestamp:
- Sep 23, 2011, 2:11:29 PM (9 years ago)
- Location:
- _plugins_/skeleditor/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/skeleditor/trunk/formulaires/editer_squelette.html
r49350 r51734 3 3 [<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>] 4 4 <div class="actions"> 5 <div class="add">6 [(#AUTORISER{creerdans,squelette,#ENV{path_base}}|oui)7 [(#BOUTON_ACTION{#CHEMIN{images/se-file-add-16.png}|balise_img{'new'}|concat{' ',<:skeleditor:action_nouveau:>},#URL_ECRIRE{skeleditor}})]8 ]9 [(#AUTORISER{upload,squelette,#ENV{path_base}}|oui)10 [(#BOUTON_ACTION{#CHEMIN{images/se-upload-16.png}|balise_img{'upload'}|concat{' ',<:skeleditor:action_upload:>},#URL_ECRIRE{skeleditor,upload=oui}})]11 ]12 </div>13 5 <div class="context"> 14 6 [(#ENV{editable}|non|et{#ENV{fichier}}) -
_plugins_/skeleditor/trunk/plugin.xml
r51712 r51734 4 4 <auteur>[erational->http://www.erational.org], [Cédric Morin->http://www.yterium.net]</auteur> 5 5 <licence>GNU/GPL v3</licence> 6 <version>2. 5.6</version>6 <version>2.6.0</version> 7 7 <etat>test</etat> 8 8 <description> -
_plugins_/skeleditor/trunk/prive/squelettes/contenu/skeleditor.html
r51702 r51734 2 2 [(#AUTORISER{skeleditor}|sinon_interdire_acces)] 3 3 4 #SET{file,#ENV{f },''}4 #SET{file,#ENV{f,''}|trim} 5 5 [(#GET{file}|strlen|et{#GET{file}|strncmp{#EVAL{_DIR_RACINE},#EVAL{_DIR_RACINE}|strlen}|=={0}|non}) 6 6 #SET{file,#EVAL{_DIR_RACINE}|concat{#GET{file}}} … … 8 8 #SET{path,#REM|skeleditor_dossier} 9 9 10 [(# ENV{upload}|non)11 <h1 ><:skeleditor:fichier:>[ (#GET{file}|basename|sinon{<:info_sans_titre:>})]</h1>10 [(#GET{file}|ou{#ENV{upload}|trim|non}) 11 <h1 class="grostitre"><:skeleditor:fichier:>[ (#GET{file}|basename|sinon{<:info_sans_titre:>})]</h1> 12 12 <div class="noajax"> 13 13 #FORMULAIRE_EDITER_SQUELETTE{#GET{path},#GET{file}} … … 15 15 [(#GET{file}|skeleditor_codemirror)] 16 16 ] 17 [(# ENV{upload}|oui)18 <h1 ><:skeleditor:action_upload:></h1>17 [(#GET{file}|non|et{#ENV{upload}|trim|oui}) 18 <h1 class="grostitre"><:skeleditor:action_upload:></h1> 19 19 #FORMULAIRE_UPLOAD_SQUELETTE{#GET{path}} 20 20 ] -
_plugins_/skeleditor/trunk/prive/squelettes/navigation/skeleditor.html
r51710 r51734 1 1 [(#AUTORISER{skeleditor}|sinon_interdire_acces)] 2 2 #SET{path,#REM|skeleditor_dossier} 3 4 #BOITE_OUVRIR{'',raccourcis} 5 [(#AUTORISER{creerdans,squelette,#GET{path}}|oui) 6 [(#URL_ECRIRE{skeleditor}|icone_horizontale{<:skeleditor:action_nouveau:>,se-file-16.png,new,'',' onclick="return se_newfile();"'})] 7 ] 8 [(#AUTORISER{upload,squelette,#GET{path}}|oui) 9 [(#URL_ECRIRE{skeleditor,upload=oui}|icone_horizontale{<:skeleditor:action_upload:>,se-upload-16.png,'','',' onclick="return se_uploadfile();"'})] 10 ] 11 12 13 #BOITE_FERMER 3 14 4 15 … … 11 22 [(#GET{path}|skeleditor_afficher_dir_skel{#GET{file}})] 12 23 </div> 24 25 <script type="text/javascript"> 26 function se_newfile(){jQuery("#contenu > :first").ajaxReload({history:true,args:{f:' ',upload:' '}});return false;} 27 function se_uploadfile(){jQuery("#contenu > :first").ajaxReload({history:true,args:{f:' ',upload:'oui'}});return false;} 28 </script> -
_plugins_/skeleditor/trunk/prive/squelettes/navigation/skeleditor_fonctions.php
r51712 r51734 42 42 43 43 $output .= "<a href='".generer_url_ecrire('skeleditor','f='.urlencode($f=$path_base.$file))."' class='$class' 44 onclick=\"jQuery('#contenu > :first').ajaxReload({ args:{f:'$f'}});return false;\">"44 onclick=\"jQuery('#contenu > :first').ajaxReload({history:true,args:{f:'$f'}});return false;\">" 45 45 . "<img src='"._DIR_PLUGIN_SKELEDITOR."images/se-$icon-16.png' alt='$icon' /> " 46 46 .basename($file)."</a>"; -
_plugins_/skeleditor/trunk/prive/style_prive_plugin_skeleditor.html
r35242 r51734 21 21 #SET{right,#ENV{ltr}|choixsiegal{left,right,left}} 22 22 23 .formulaire_squelette .actions {padding:2px;overflow:hidden; }23 .formulaire_squelette .actions {padding:2px;overflow:hidden;position: absolute;right: 0;top:0;margin-top: -30px;} 24 24 .formulaire_squelette .actions .add {float:#GET{left};} 25 25 .formulaire_squelette .actions .context {float:#GET{right};}
Note: See TracChangeset
for help on using the changeset viewer.