-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from mistergraphx/master
Version pour SPIP3
- Loading branch information
Showing
12 changed files
with
148 additions
and
373 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?php | ||
/** | ||
* Plugin Coordonnées GoogleMap | ||
* (c) 2014 Julen Tessier,Mist. GraphX | ||
* Licence GNU/GPL | ||
*/ | ||
|
||
if (!defined('_ECRIRE_INC_VERSION')) return; | ||
|
||
|
||
/** | ||
* Fonction d'installation du plugin et de mise à jour. | ||
**/ | ||
function coordgmap_upgrade($nom_meta_base_version, $version_cible) { | ||
$maj = array(); | ||
# quelques exemples | ||
# (que vous pouvez supprimer !) | ||
# | ||
# $maj['create'] = array(array('creer_base')); | ||
# | ||
# include_spip('inc/config') | ||
# $maj['create'] = array( | ||
# array('maj_tables', array('spip_xx', 'spip_xx_liens')), | ||
# array('ecrire_config', array('genespip', array('exemple' => "Texte de l'exemple"))) | ||
#); | ||
# | ||
# $maj['1.1.0'] = array(array('sql_alter','TABLE spip_xx RENAME TO spip_yy')); | ||
# $maj['1.2.0'] = array(array('sql_alter','TABLE spip_xx DROP COLUMN id_auteur')); | ||
# $maj['1.3.0'] = array( | ||
# array('sql_alter','TABLE spip_xx CHANGE numero numero int(11) default 0 NOT NULL'), | ||
# array('sql_alter','TABLE spip_xx CHANGE texte petit_texte mediumtext NOT NULL default \'\''), | ||
# ); | ||
# ... | ||
include_spip('inc/config'); | ||
$maj['create'] = array( | ||
array('maj_tables', array('spip_adresses')), | ||
//array('ecrire_config', array('coorgmap', array('exemple' => "Texte de l'exemple"))) | ||
); | ||
|
||
include_spip('base/upgrade'); | ||
maj_plugin($nom_meta_base_version, $version_cible, $maj); | ||
|
||
} | ||
|
||
|
||
/** | ||
* Fonction de désinstallation du plugin. | ||
**/ | ||
function coordgmap_vider_tables($nom_meta_base_version) { | ||
|
||
|
||
effacer_meta($nom_meta_base_version); | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
/** | ||
* Plugin Coordonnées GoogleMap | ||
* (c) 2014 Julen Tessier,Mist. GraphX | ||
* Licence GNU/GPL | ||
*/ | ||
|
||
if (!defined('_ECRIRE_INC_VERSION')) return; | ||
|
||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
/** | ||
* Plugin Coordonnées GoogleMap | ||
* (c) 2014 Julen Tessier,Mist. GraphX | ||
* Licence GNU/GPL | ||
*/ | ||
|
||
if (!defined('_ECRIRE_INC_VERSION')) return; | ||
|
||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
// This is a SPIP language file -- Ceci est un fichier langue de SPIP | ||
|
||
if (!defined('_ECRIRE_INC_VERSION')) return; | ||
|
||
$GLOBALS[$GLOBALS['idx_lang']] = array( | ||
|
||
// C | ||
'coordgmap_titre' => 'Coordonnées GoogleMap', | ||
); | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
// Ceci est un fichier langue de SPIP -- This is a SPIP language file | ||
|
||
/// Fichier produit par PlugOnet | ||
// Module: paquet-coordgmap | ||
// Langue: fr | ||
// Date: 11-05-2014 10:53:52 | ||
// Items: 2 | ||
|
||
if (!defined('_ECRIRE_INC_VERSION')) return; | ||
|
||
$GLOBALS[$GLOBALS['idx_lang']] = array( | ||
|
||
// C | ||
'coordgmap_description' => '', | ||
'coordgmap_slogan' => 'Ajoute un module GoogleMap sur les adresses du plugin Coordonnées', | ||
); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<paquet | ||
prefix="coordgmap" | ||
categorie="divers" | ||
version="1.0.0" | ||
etat="dev" | ||
compatibilite="[3.0.16;3.0.*]" | ||
logo="" | ||
documentation="https://github.com/cahri/spip-coordgmap" | ||
schema="1.0.0" | ||
> | ||
<!-- | ||
Paquet généré le 2014-05-11 11:21:27 | ||
--> | ||
|
||
<nom>Coordonnées GoogleMap</nom> | ||
|
||
<auteur>Julen Tessier,Mist. GraphX</auteur> | ||
|
||
<licence>GNU/GPL</licence> | ||
|
||
|
||
<pipeline nom="declarer_tables_principales" inclure="base/coordgmap.php" /> | ||
<pipeline nom="editer_contenu_objet" inclure="coordgmap_pipelines.php" /> | ||
<pipeline nom="pre_insertion" inclure="coordgmap_pipelines.php" /> | ||
<pipeline nom="pre_edition" inclure="coordgmap_pipelines.php" /> | ||
|
||
<necessite nom="coordonnees" compatibilite="[1.4.20;[" /> | ||
</paquet> |
This file was deleted.
Oops, something went wrong.
Empty file.