diff --git a/README.md b/README.md index f39ff43..ffa56d1 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -# Plugin Materiels pour Garradin +# Plugin Materiels pour Paheko Cette extension permet de gérer les matériels de l'association: stock, entrées, sorties. ## Installation -- Télécharger le fichier [materiels.tar.gz](https://gitlab.com/JBthePenguin/garradin-plugin-materiels/-/raw/main/materiels.tar.gz) et l'ajouter dans le répertoire garradin/plugins. -- Installer le plugin via le menu "Configuration > Extensions" de Garradin. +- Télécharger le fichier [materiels.tar.gz](https://gitlab.com/JBthePenguin/paheko-plugin-materiels/-/raw/main/materiels.tar.gz) et l'ajouter dans le répertoire paheko/plugins. +- Installer le plugin via le menu "Configuration > Extensions" de Paheko. ## Utilisation diff --git a/src/www/admin/_inc.php b/src/admin/_inc.php similarity index 100% rename from src/www/admin/_inc.php rename to src/admin/_inc.php diff --git a/src/www/admin/categories/_inc.php b/src/admin/categories/_inc.php similarity index 100% rename from src/www/admin/categories/_inc.php rename to src/admin/categories/_inc.php diff --git a/src/www/admin/categories/index.php b/src/admin/categories/index.php similarity index 100% rename from src/www/admin/categories/index.php rename to src/admin/categories/index.php diff --git a/src/www/admin/categories/materiels_par_categorie.php b/src/admin/categories/materiels_par_categorie.php similarity index 100% rename from src/www/admin/categories/materiels_par_categorie.php rename to src/admin/categories/materiels_par_categorie.php diff --git a/src/www/admin/categories/modifier_categorie.php b/src/admin/categories/modifier_categorie.php similarity index 100% rename from src/www/admin/categories/modifier_categorie.php rename to src/admin/categories/modifier_categorie.php diff --git a/src/www/admin/categories/supprimer_categorie.php b/src/admin/categories/supprimer_categorie.php similarity index 100% rename from src/www/admin/categories/supprimer_categorie.php rename to src/admin/categories/supprimer_categorie.php diff --git a/src/www/admin/historique.php b/src/admin/historique.php similarity index 100% rename from src/www/admin/historique.php rename to src/admin/historique.php diff --git a/src/www/admin/index.php b/src/admin/index.php similarity index 100% rename from src/www/admin/index.php rename to src/admin/index.php diff --git a/src/www/admin/modifier_materiel.php b/src/admin/modifier_materiel.php similarity index 100% rename from src/www/admin/modifier_materiel.php rename to src/admin/modifier_materiel.php diff --git a/src/www/admin/mouvements/_inc.php b/src/admin/mouvements/_inc.php similarity index 100% rename from src/www/admin/mouvements/_inc.php rename to src/admin/mouvements/_inc.php diff --git a/src/www/admin/mouvements/entrees/index.php b/src/admin/mouvements/entrees/index.php similarity index 100% rename from src/www/admin/mouvements/entrees/index.php rename to src/admin/mouvements/entrees/index.php diff --git a/src/www/admin/mouvements/entrees/non_repertorie.php b/src/admin/mouvements/entrees/non_repertorie.php similarity index 100% rename from src/www/admin/mouvements/entrees/non_repertorie.php rename to src/admin/mouvements/entrees/non_repertorie.php diff --git a/src/www/admin/mouvements/entrees/repertorie.php b/src/admin/mouvements/entrees/repertorie.php similarity index 100% rename from src/www/admin/mouvements/entrees/repertorie.php rename to src/admin/mouvements/entrees/repertorie.php diff --git a/src/www/admin/mouvements/entrees/retour.php b/src/admin/mouvements/entrees/retour.php similarity index 100% rename from src/www/admin/mouvements/entrees/retour.php rename to src/admin/mouvements/entrees/retour.php diff --git a/src/www/admin/mouvements/entrees/supprimer_entree.php b/src/admin/mouvements/entrees/supprimer_entree.php similarity index 100% rename from src/www/admin/mouvements/entrees/supprimer_entree.php rename to src/admin/mouvements/entrees/supprimer_entree.php diff --git a/src/www/admin/mouvements/sorties/emprunte.php b/src/admin/mouvements/sorties/emprunte.php similarity index 100% rename from src/www/admin/mouvements/sorties/emprunte.php rename to src/admin/mouvements/sorties/emprunte.php diff --git a/src/www/admin/mouvements/sorties/index.php b/src/admin/mouvements/sorties/index.php similarity index 100% rename from src/www/admin/mouvements/sorties/index.php rename to src/admin/mouvements/sorties/index.php diff --git a/src/www/admin/mouvements/sorties/stock_disponible.php b/src/admin/mouvements/sorties/stock_disponible.php similarity index 100% rename from src/www/admin/mouvements/sorties/stock_disponible.php rename to src/admin/mouvements/sorties/stock_disponible.php diff --git a/src/www/admin/mouvements/sorties/supprimer_sortie.php b/src/admin/mouvements/sorties/supprimer_sortie.php similarity index 100% rename from src/www/admin/mouvements/sorties/supprimer_sortie.php rename to src/admin/mouvements/sorties/supprimer_sortie.php diff --git a/src/garradin_plugin.ini b/src/plugin.ini similarity index 56% rename from src/garradin_plugin.ini rename to src/plugin.ini index ed5bf1d..0065f78 100644 --- a/src/garradin_plugin.ini +++ b/src/plugin.ini @@ -1,9 +1,9 @@ -nom="Gestion des matériels" +name="Gestion des matériels" description="Gestion des matériels: stock, entrées, sorties." -auteur="JBthePenguin" -url="https://gitlab.com/JBthePenguin" +author="JBthePenguin" +author_url="https://gitlab.com/JBthePenguin" version="1.0" menu=1 menu_condition="{$user.perm_users} >= {ACCESS_WRITE}" config=0 -min_version="1.1.6" +min_version="1.3"