Browse Source

ajustement

svn/root/tags/v0.2.2
jluc@no-log.org 4 years ago
parent
commit
bd438e8c52
  1. 4
      .gitattributes
  2. 4
      action/accelerer_jobs.php
  3. 2
      inclure/bouton_accelerer_jobs.html
  4. 2
      paquet.xml

4
.gitattributes vendored

@ -1,7 +1,7 @@
* text=auto !eol
action/accelerer_job.php -text
action/accelerer_jobs.php -text
images/job_vite_128.png -text
images/job_vite_32.png -text
images/job_vite_512.png -text
inclure/bouton_accelerer_job.html -text
inclure/bouton_accelerer_jobs.html -text
/paquet.xml -text

4
action/accelerer_job.php → action/accelerer_jobs.php

@ -24,12 +24,12 @@ if (!defined('_ECRIRE_INC_VERSION')) {
*
* @return void
*/
function action_accelerer_job_dist() {
function action_accelerer_jobs_dist() {
$securiser_action = charger_fonction('securiser_action', 'inc');
list ($function, $nb) = explode('/', $securiser_action());
spip_log ("### (function, nb) = ($function, $nb)", "accelerer_job");
if (!$function or !is_string($function))
spip_log ("manque fonction dans action_accelerer_job_dis t: nb=$nb et function=$function");
spip_log ("manque fonction dans action_accelerer_job_dis t: nb=$nb");
if (!intval($nb))
spip_log ("manque nb dans action_accelerer_job_dist($function, $nb)");
$nb=intval($nb);

2
inclure/bouton_accelerer_job.html → inclure/bouton_accelerer_jobs.html

@ -1,4 +1,4 @@
#CACHE{0}
<BOUCLE_jobs(jobs){par date}{fonction LIKE %#FONCTION%}> </BOUCLE_jobs>
[(#BOUTON_ACTION{Accélérer #TOTAL_BOUCLE|concat{&nbsp;#ENV{desc,#FONCTION}},#URL_ACTION_AUTEUR{accelerer_job,#FONCTION/#ENV{nb_jobs,5},#SELF}})]
[(#BOUTON_ACTION{Accélérer #TOTAL_BOUCLE|concat{&nbsp;#ENV{desc,#FONCTION}},#URL_ACTION_AUTEUR{accelerer_jobs,#FONCTION/#ENV{nb_jobs,5},#SELF}})]
</B_jobs>

2
paquet.xml

@ -1,5 +1,5 @@
<paquet
prefix="accelerer_job"
prefix="accelerer_jobs"
categorie="performance"
version="0.1.0"
etat="test"

Loading…
Cancel
Save