Changeset 110675 in spip-zone for _plugins_/speedsyndic2


Ignore:
Timestamp:
Jun 15, 2018, 1:36:02 PM (9 months ago)
Author:
root
Message:

On passe SpeedSyndic? en SPIP 3.2(demande du forum) et en stable
Nettoyage léger du code

Location:
_plugins_/speedsyndic2/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/speedsyndic2/trunk/formulaires/configurer_speedsyndic.html

    r106418 r110675  
    1919                <li class="fieldset">
    2020                <h3 class="legend"><:speedsyndic:syndiclist:></h3>
    21                 <select name="syndicatedlist[]" multiple="multiple">
     21                <select name="syndicatedlist[]" multiple="multiple" style="height:18rem;">
    2222                        <BOUCLE_syndic(SITES){par nom_site, url_site}{syndication=oui}>
    2323                        <option value="#ID_SYNDIC" [(#CONFIG{speedsyndic/syndicatedlist}|find{#ID_SYNDIC}|oui) selected="selected"]>#NOM_SITE</option>
  • _plugins_/speedsyndic2/trunk/genie/speedsyndic.php

    r106418 r110675  
    11<?php
    2 
    3 
    42if (!defined('_ECRIRE_INC_VERSION')) {
    53        return;
     
    86
    97function genie_speedsyndic_dist($t){
    10                 $sites = lire_config('speedsyndic/syndicatedlist');
    11                 foreach($sites as $id_syndic){
    12                         traiter_site($id_syndic);
    13                 }
    14                 return true;
     8        $sites = lire_config('speedsyndic/syndicatedlist');
     9        foreach($sites as $id_syndic){
     10                traiter_site($id_syndic);
     11        }
     12        return true;
    1513}
    1614
    1715
    1816function traiter_site($id_syndic) {
    19         $address = include_spip('genie/syndic');
     17        include_spip('genie/syndic');
    2018        define('_GENIE_SYNDIC', 2); // Pas de faux message d'erreur
    2119        $t = syndic_a_jour($id_syndic);
  • _plugins_/speedsyndic2/trunk/paquet.xml

    r106420 r110675  
    22        prefix="speedsyndic"
    33        categorie="communication"
    4         version="0.3.0"
    5         etat="test"
    6         compatibilite="[3.1.6;3.1.*]"
     4        version="0.3.1"
     5        etat="stable"
     6        compatibilite="[3.1.6;3.2.*]"
    77        documentation="https://contrib.spip.net/Plugin-Speedsyndic-2"
    88        logo="prive/themes/spip/images/speedsyndic-32.png"
  • _plugins_/speedsyndic2/trunk/speedsyndic_pipelines.php

    r106418 r110675  
    1212 */
    1313function speedsyndic_taches_generales_cron($taches_generales){
    14         spip_log("pipe ?","___speed");
     14
    1515        include_spip("inc/config");
    1616        $config = lire_config("speedsyndic/");
Note: See TracChangeset for help on using the changeset viewer.