Changeset 88451 in spip-zone


Ignore:
Timestamp:
Apr 4, 2015, 2:24:20 PM (4 years ago)
Author:
eric@…
Message:

Les autorisations importer_bookmarks et exporter_bookmarks n'existent pas.
Il faut utiliser importer_sites et exporter_sites

Location:
_core_/plugins/sites
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/sites/action/exporter_bookmarks.php

    r79783 r88451  
    2020        }
    2121
    22         if (autoriser('exporter','_bookmarks')){
     22        if (autoriser('exporter','_sites')){
    2323                list($id_parent,$exporter_publie_seulement,$exporter_avec_mots_cles) = explode("-",$arg);
    2424                $statut = ($exporter_publie_seulement?array('publie'):array('prop','publie'));
  • _core_/plugins/sites/action/importer_bookmarks_netscape.php

    r79783 r88451  
    1616
    1717        $nb = 0;
    18         if (autoriser('importer','_bookmarks')){
     18        if (autoriser('importer','_sites')){
    1919                $out = bookmarks_netscape_fast_parse($fichier_ok['contenu']);
    2020
  • _core_/plugins/sites/action/importer_bookmarks_opml.php

    r79783 r88451  
    1515function action_importer_bookmarks_opml_dist($fichier_ok,$id_parent,$importer_statut_publie,$importer_tags){
    1616        $nb = 0;
    17         if (autoriser('importer','_bookmarks')){
     17        if (autoriser('importer','_sites')){
    1818                $out = bookmarks_opml_parse($fichier_ok['contenu']);
    1919                $nb = bookmarks_opml_insert($out,$id_parent,$importer_statut_publie,$importer_tags);
  • _core_/plugins/sites/paquet.xml

    r88448 r88451  
    22        prefix="sites"
    33        categorie="edition"
    4         version="1.9.2"
     4        version="1.9.3"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.1.*]"
Note: See TracChangeset for help on using the changeset viewer.