Changeset 10030 in spip-zone


Ignore:
Timestamp:
Mar 1, 2007, 9:42:20 PM (14 years ago)
Author:
fil@…
Message:

import du spikini vers une rubrique de SPIP : ajouter &importer=oui dans l'url (reserves aux admins, of course)

Location:
_contribs_/_wiki_/spikini
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • _contribs_/_wiki_/spikini/spip.php

    r3675 r10030  
    1616include 'ecrire/inc_version.php';
    1717include_spip("inc/utils");
     18
    1819charger_generer_url();
     20
    1921include_spip('inc/texte');
    2022
  • _contribs_/_wiki_/spikini/wakka.php

    r3675 r10030  
    439439                if ($formatter == "wakka" OR $formatter == "spip") {
    440440                        include_spip("inc/utils");
     441
    441442                        charger_generer_url();
     443
    442444                        include_spip("inc/texte");
    443445                        include_spip("inc/filtres");
     
    713715$wakkaConfig = array_merge($wakkaDefaultConfig, $wakkaConfig);
    714716
     717
     718// Appeler l'importateur
     719if ($_REQUEST['importer'] == 'oui') {
     720        include 'importer.php';
     721        exit;
     722}
     723
     724
     725
    715726// check for locking
    716727if (file_exists("locked")) {
Note: See TracChangeset for help on using the changeset viewer.