Changeset 44695 in spip-zone


Ignore:
Timestamp:
Feb 15, 2011, 11:21:25 AM (9 years ago)
Author:
cedric@…
Message:

include manquants pour assurer un minimum de fonctionnement

Location:
_core_/plugins/revisions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/revisions/exec/revisions_restaurer.php

    r43409 r44695  
    1212
    1313if (!defined("_ECRIRE_INC_VERSION")) return;
     14include_spip('inc/presentation');
    1415
    1516function exec_revisions_restaurer_dist()
  • _core_/plugins/revisions/inc/revisions_pipeline.php

    r43409 r44695  
    2020        // si c'est interessant (id_version>1)
    2121        AND sql_countsel('spip_versions', 'id_objet='.$id.' AND objet = '.sql_quote($type)) > 1
    22         )
     22        ) {
     23                include_spip('inc/presentation');
    2324                $flux['data'] .= icone_horizontale(_T('info_historique_lien'), generer_url_ecrire('objets_versions',"id_objet=$id&objet=$type"), "", "revision-24.png", false);
     25        }
    2426
    2527        return $flux;
Note: See TracChangeset for help on using the changeset viewer.