Changeset 124807 in spip-zone
- Timestamp:
- May 24, 2020, 4:48:19 PM (9 months ago)
- Location:
- _plugins_/formidable_tablesorter/branches/dev
- Files:
-
- 3 added
- 3 deleted
- 5 edited
- 11 moved
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/formidable_tablesorter/branches/dev
- Property subgit:lock:99c81d0dff01bbe1043c1dd1510af39c4bdf103d deleted
-
Property
subgit:lock:bbe8eccda99af6e5965196262e5154a1d654cef2
set to
2020-05-24T18:51:23.169
-
_plugins_/formidable_tablesorter/branches/dev/action/formidable_ts_export.php
r124806 r124807 9 9 use Box\Spout\Common\Entity\Style\Color; 10 10 11 function action_formidable_t ablesorter_export() {11 function action_formidable_ts_export() { 12 12 $data = json_decode(_request('data')); 13 13 $type_export = _request('type_export'); -
_plugins_/formidable_tablesorter/branches/dev/css/formidable_ts.css
-
Property
svn:eol-style
set to
native
r124806 r124807 3 3 * inspiré de https://mottie.github.io/tablesorter/docs/example-widget-resizable.html 4 4 **/ 5 .formidable_t ablesorter-wrapper {5 .formidable_ts-wrapper { 6 6 max-width:100%; 7 7 width:100%; 8 8 overflow-x:scroll; 9 9 } 10 .formidable_t ablesorter-wrapper table {10 .formidable_ts-wrapper table { 11 11 width: auto; 12 12 } 13 .formidable_t ablesorter-wrapper .tablesorter td {13 .formidable_ts-wrapper .tablesorter td { 14 14 overflow: hidden; 15 15 text-overflow: ellipsis; 16 16 min-width: 10px; 17 17 } 18 .formidable_t ablesorter-wrapper .tablesorter th {18 .formidable_ts-wrapper .tablesorter th { 19 19 overflow: hidden; 20 20 text-overflow: ellipsis; -
Property
svn:eol-style
set to
-
_plugins_/formidable_tablesorter/branches/dev/formidable_ts_administrations.php
r124325 r124807 43 43 $exec_autorise = lire_config('crayons/exec_autorise'); 44 44 if (!$exec_autorise) { 45 ecrire_config('crayons/exec_autorise', 'formidable_t ablesorter');46 } elseif ($exec_autorise !== '*' and strpos($exec_autorise, 'formidable_t ablesorter') === false) {47 ecrire_config('crayons/exec_autorise', $exec_autorise.',formidable_t ablesorter');45 ecrire_config('crayons/exec_autorise', 'formidable_ts'); 46 } elseif ($exec_autorise !== '*' and strpos($exec_autorise, 'formidable_ts') === false) { 47 ecrire_config('crayons/exec_autorise', $exec_autorise.',formidable_ts'); 48 48 } 49 49 } -
_plugins_/formidable_tablesorter/branches/dev/formidable_ts_pipelines.php
r124645 r124807 22 22 } 23 23 $boite_fermer = boite_fermer(); 24 $url = parametre_url(generer_url_ecrire('formidable_t ablesorter'),'id_formulaire',$id_formulaire);24 $url = parametre_url(generer_url_ecrire('formidable_ts'),'id_formulaire',$id_formulaire); 25 25 $url = parametre_url($url, 'statut', 'publie'); 26 26 $lien = icone_horizontale(_T('formidable_ts:tableau_reponses'), $url, 'formulaire-reponses-24'); -
_plugins_/formidable_tablesorter/branches/dev/inclure/formidable_ts_entete.html
r124806 r124807 1 1 <script type="text/javascript"> 2 url_action_formidable_t ablesorter_export = "[(#URL_ACTION_AUTEUR{formidable_tablesorter_export,generer=true}|replace{'&',&})]";2 url_action_formidable_ts_export = "[(#URL_ACTION_AUTEUR{formidable_ts_export,generer=true}|replace{'&',&})]"; 3 3 filter_filterLabel = '<:formidable_ts:filtrer_colonne:>'; 4 4 filter_placeholder = '<:formidable_ts:filtre:>'; … … 18 18 [<script type="text/javascript" src="(#CHEMIN{javascript/widget-resizable.min.js}|timestamp)"></script>] 19 19 [<script type="text/javascript" src="(#CHEMIN{javascript/widget-saveSort.min.js}|timestamp)"></script>] 20 [< link rel="stylesheet" href="(#CHEMIN{css/formidable_tablesorter.css}|timestamp)" />]20 [<script type="text/javascript" src="(#CHEMIN{javascript/widget-pager.min.js}|timestamp)"></script>] 21 21 22 22 23 [<script type="text/javascript" src="(#CHEMIN{javascript/formidable_t ablesorter.js}|timestamp)"></script>]24 [(#ENV{css_prive_layout_page}|=={oui}|oui)[<link rel="stylesheet" href="(#CHEMIN{css/formidable_t ablesorter_prive_layout_page.css}|timestamp)" />]]25 [(#ENV{css_prive_bloc_entete}|=={oui}|oui)[<link rel="stylesheet" href="(#CHEMIN{css/formidable_t ablesorter_prive_bloc_entete.css}|timestamp)" />]]23 [<script type="text/javascript" src="(#CHEMIN{javascript/formidable_ts.js}|timestamp)"></script>] 24 [(#ENV{css_prive_layout_page}|=={oui}|oui)[<link rel="stylesheet" href="(#CHEMIN{css/formidable_ts_prive_layout_page.css}|timestamp)" />]] 25 [(#ENV{css_prive_bloc_entete}|=={oui}|oui)[<link rel="stylesheet" href="(#CHEMIN{css/formidable_ts_prive_bloc_entete.css}|timestamp)" />]] -
_plugins_/formidable_tablesorter/branches/dev/javascript/formidable_ts.js
r124806 r124807 27 27 output_separator: 'array', 28 28 output_delivery: 'download', 29 stickyHeaders_xScroll : '.formidable_t ablesorter-wrapper',29 stickyHeaders_xScroll : '.formidable_ts-wrapper', 30 30 output_callback: function(config, data, url) { 31 return call_formidable_t ablesorter_export(config, data, url);31 return call_formidable_ts_export(config, data, url); 32 32 }, 33 33 resizable_addLastColumn: true … … 100 100 } 101 101 /** Fonctions d'export tableur **/ 102 function call_formidable_t ablesorter_export(config, data, url) {103 var form = $('<form></form>').attr('action', url_action_formidable_t ablesorter_export).attr('method', 'post');102 function call_formidable_ts_export(config, data, url) { 103 var form = $('<form></form>').attr('action', url_action_formidable_ts_export).attr('method', 'post'); 104 104 form.append($("<input></input>").attr('type', 'hidden').attr('name', 'data').attr('value', data)); 105 105 form.append($("<input></input>").attr('type', 'hidden').attr('name', 'type_export').attr('value', type_export)); … … 155 155 sortList = $.tablesorter.storage(formidable_ts, 'tablesorter-savesort')['sortList']; 156 156 formidable_ts.trigger('sortReset'); 157 sortList = formidable_t ablesorter_reorder_sortList_update_position(sortList);157 sortList = formidable_ts_reorder_sortList_update_position(sortList); 158 158 formidable_ts.trigger('sorton', [sortList]); 159 159 … … 162 162 // La parcourt et la modifie de manière à donner le bon index suivant le nouvel ordre post-déplacement de colonne 163 163 // Pour chaque entrée, trouve la bonne position avec nouveal indexation 164 function formidable_t ablesorter_reorder_sortList_update_position(sortList) {164 function formidable_ts_reorder_sortList_update_position(sortList) { 165 165 $(sortList).each(function(key, value) { 166 166 console.log(value); -
_plugins_/formidable_tablesorter/branches/dev/lang/formidable_ts_fr.php
r124724 r124807 1 1 <?php 2 2 // This is a SPIP language file -- Ceci est un fichier langue de SPIP 3 // Fichier source, a modifier dans https://git.spip.net/spip-contrib-extensions/formidable_t ablesorter.git3 // Fichier source, a modifier dans https://git.spip.net/spip-contrib-extensions/formidable_ts.git 4 4 if (!defined('_ECRIRE_INC_VERSION')) { 5 5 return; -
_plugins_/formidable_tablesorter/branches/dev/lang/paquet-formidable_ts_fr.php
r121774 r124807 1 1 <?php 2 2 // This is a SPIP language file -- Ceci est un fichier langue de SPIP 3 // Fichier source, a modifier dans https://git.spip.net/spip-contrib-extensions/formidable_t ablesorter.git3 // Fichier source, a modifier dans https://git.spip.net/spip-contrib-extensions/formidable_ts.git 4 4 if (!defined('_ECRIRE_INC_VERSION')) { 5 5 return; -
_plugins_/formidable_tablesorter/branches/dev/modeles/formidable_ts.html
r124806 r124807 4 4 })] 5 5 <BOUCLE_formulaire(FORMULAIRES){id_formulaire}{tout}{si #AUTORISER{voir, formulairesreponse, #ID_FORMULAIRE}|ou{#ENV{public}|=={oui}}}> 6 <INCLURE{fond=inclure/formidable_t ablesorter_entete, env} />6 <INCLURE{fond=inclure/formidable_ts_entete, env} /> 7 7 8 8 #SET{saisies,#SAISIES|unserialize} … … 11 11 12 12 [(#ENV{choix_statut}|=={oui}|oui) 13 <INCLURE{fond=inclure/formidable_t ablesorter-filtres, env}/>13 <INCLURE{fond=inclure/formidable_ts_filtres, env}/> 14 14 ] 15 15 <B_reponses> 16 <INCLURE{fond=inclure/formidable_t ablesorter_preambule,total=#TOTAL_BOUCLE} >17 <div class="formidable_t ablesorter-wrapper">18 <table data-identifiant="#IDENTIFIANT" id="formidable_t ablesorter#ID_FORMULAIRE" class="tablesorter">16 <INCLURE{fond=inclure/formidable_ts_preambule,total=#TOTAL_BOUCLE} > 17 <div class="formidable_ts-wrapper"> 18 <table data-identifiant="#IDENTIFIANT" id="formidable_ts#ID_FORMULAIRE" class="tablesorter"> 19 19 <caption>#TITRE</caption> 20 20 <thead> -
_plugins_/formidable_tablesorter/branches/dev/prive/squelettes/contenu/formidable_ts.html
-
Property
svn:eol-style
set to
native
r124806 r124807 4 4 <h1>#TITRE</h1> 5 5 6 <INCLURE{fond=modeles/formidable_t ablesorter, choix_statut=oui, css_prive_layout_page=oui, css_prive_bloc_entete=oui, env} />6 <INCLURE{fond=modeles/formidable_ts, choix_statut=oui, css_prive_layout_page=oui, css_prive_bloc_entete=oui, env} /> 7 7 </BOUCLE_formulaire> -
Property
svn:eol-style
set to
-
_plugins_/formidable_tablesorter/branches/dev/prive/squelettes/hierarchie/formidable_ts.html
-
Property
svn:eol-style
set to
native
-
Property
svn:eol-style
set to
Note: See TracChangeset
for help on using the changeset viewer.