Début des tests du nouveau fichier paquet.xml.
On ajoute pour chaque plugin du core : - le paquet.xml sous le nom _paquet.xml pour éviter une utilisation par défaut à la place de plugin.xml Il suffira de le renommer pour effectuer les tests. - les fichiers de langue nécessaire à la description et au slogan. - un fichier _paquet-migration qui contient les commandes svn pour migrer ou ajouter des fichiers. Ce fichier n'a plus d'autre intérêt que de lister les fichiers à renommer pour retrouver le fonctionnement des balises disparues : install, fonctions et options.svn/root/tags/plugins/statistiques/0.4.0
parent
4eb91d8df2
commit
0c93d59c32
@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
### FICHIER DE DESCRIPTION DE LA MIGRATION VERS PAQUET.XML
|
||||
### ------------------------------------------------------
|
||||
### - Date : 30-Jul-2011 15:01:38
|
||||
### - Fichier d'origine : ../plugins/auto/statistiques/plugin.xml
|
||||
### - Contient les informations et les commandes SVN pour
|
||||
### rendre effective la migration utilisant les fichiers produits.
|
||||
### Pour se garder de toute erreur de manipulation
|
||||
### les commandes sont en commentaire.
|
||||
### ------------------------------------------------------
|
||||
|
||||
### Ajout du fichier paquet.xml au depot.
|
||||
### On conserve le fichier plugin.xml tout le temps de la migration !
|
||||
# svn add paquet.xml
|
||||
|
||||
### Ajout au depot des fichiers de langue donnant slogan et description du plugin.
|
||||
### Attention la liste des langues provient des traductions (avec multi)
|
||||
### de la description dans plugin.xml et non des modules de langue du plugin !
|
||||
# svn add lang/paquet-stats_fr.php lang/paquet-stats_en.php lang/paquet-stats_ar.php
|
||||
|
||||
### La disparition des balises options, fonctions et install au profit
|
||||
### d'un nommage standard d'un fichier unique exige parfois de renommer
|
||||
### les fichiers, voire de les fusionner.
|
||||
### Si le code du plugin inclut explicitement ces fichiers
|
||||
### il vous faudra les renommer dans les appels de include_spip !
|
||||
# svn mv base/stats_upgrade.php stats_administrations.php
|
@ -0,0 +1,34 @@
|
||||
<paquet
|
||||
prefix="stats"
|
||||
categorie="statistique"
|
||||
version="0.3.2"
|
||||
etat="dev"
|
||||
compatibilite="[2.1.0;["
|
||||
logo="prive/themes/spip/images/statistique-32.png"
|
||||
schema="1.0.0"
|
||||
>
|
||||
|
||||
<nom>Statistiques</nom>
|
||||
<!-- Gestion des statistiques dans SPIP -->
|
||||
|
||||
<auteur>Collectif SPIP</auteur>
|
||||
|
||||
<traduire module="statistiques" reference="fr" gestionnaire="salvatore" />
|
||||
|
||||
<pipeline nom="delete_statistiques" />
|
||||
<pipeline nom="declarer_tables_auxiliaires" inclure="base/stats.php" />
|
||||
<pipeline nom="configurer_liste_metas" inclure="stats_pipelines.php" />
|
||||
<pipeline nom="affichage_entetes_final" inclure="stats_pipelines.php" />
|
||||
<pipeline nom="affiche_milieu" inclure="stats_pipelines.php" />
|
||||
<pipeline nom="boite_infos" inclure="stats_pipelines.php" />
|
||||
<pipeline nom="formulaire_admin" inclure="stats_pipelines.php" />
|
||||
<pipeline nom="taches_generales_cron" inclure="stats_pipelines.php" />
|
||||
<pipeline nom="autoriser" inclure="stats_autoriser.php" />
|
||||
|
||||
<menu nom="statistiques" titre="statistiques:icone_statistiques_visites" parent="bando_activite" icone="images/statistique-16.png" action="stats_visites" />
|
||||
|
||||
<onglet nom="stats_visites" titre="statistiques:icone_statistiques_visites" parent="statistiques" icone="images/statistique-24.png" action="stats_visites" />
|
||||
<onglet nom="stats_referers" titre="statistiques:titre_liens_entrants" parent="statistiques" icone="images/referers-24.png" action="stats_referers" />
|
||||
<onglet nom="stats_repartition" titre="statistiques:icone_repartition_visites" parent="statistiques" icone="images/repartition-24.png" action="stats_repartition" />
|
||||
<onglet nom="stats_lang" titre="statistiques:onglet_repartition_lang" parent="statistiques" icone="images/langue-24.png" action="stats_lang" />
|
||||
</paquet>
|
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
// Ceci est un fichier langue de SPIP -- This is a SPIP language file
|
||||
// Fichier produit par PlugOnet
|
||||
// Module: paquet-stats
|
||||
// Langue: ar
|
||||
// Date: 30-07-2011 15:01:38
|
||||
// Items: 1
|
||||
|
||||
if (!defined('_ECRIRE_INC_VERSION')) return;
|
||||
|
||||
$GLOBALS[$GLOBALS['idx_lang']] = array(
|
||||
|
||||
// S
|
||||
'stats_slogan' => 'إدارة الإحصاءات في SPIP',
|
||||
);
|
||||
?>
|
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
// Ceci est un fichier langue de SPIP -- This is a SPIP language file
|
||||
// Fichier produit par PlugOnet
|
||||
// Module: paquet-stats
|
||||
// Langue: en
|
||||
// Date: 30-07-2011 15:01:38
|
||||
// Items: 1
|
||||
|
||||
if (!defined('_ECRIRE_INC_VERSION')) return;
|
||||
|
||||
$GLOBALS[$GLOBALS['idx_lang']] = array(
|
||||
|
||||
// S
|
||||
'stats_slogan' => 'Statistics management in SPIP',
|
||||
);
|
||||
?>
|
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
// Ceci est un fichier langue de SPIP -- This is a SPIP language file
|
||||
// Fichier produit par PlugOnet
|
||||
// Module: paquet-stats
|
||||
// Langue: fr
|
||||
// Date: 30-07-2011 15:01:38
|
||||
// Items: 2
|
||||
|
||||
if (!defined('_ECRIRE_INC_VERSION')) return;
|
||||
|
||||
$GLOBALS[$GLOBALS['idx_lang']] = array(
|
||||
|
||||
// S
|
||||
'stats_description' => 'Statistiques de SPIP',
|
||||
'stats_slogan' => 'Gestion des statistiques dans SPIP',
|
||||
);
|
||||
?>
|
Loading…
Reference in New Issue