diff --git a/materiels.tar.gz b/materiels.tar.gz index d748f51..f3b5f8f 100644 Binary files a/materiels.tar.gz and b/materiels.tar.gz differ diff --git a/src/COPYING b/src/COPYING index 51c8d3c..960dbd6 100644 --- a/src/COPYING +++ b/src/COPYING @@ -629,7 +629,7 @@ to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. - garradin-plugin-materiels + paheko-plugin-materiels Copyright (C) 2021 JBthePenguin This program is free software: you can redistribute it and/or modify diff --git a/src/admin/_inc.php b/src/admin/_inc.php index 1a06596..91fce94 100644 --- a/src/admin/_inc.php +++ b/src/admin/_inc.php @@ -1,6 +1,6 @@ requireAccess($session::SECTION_USERS, $session::ACCESS_WRITE); diff --git a/src/admin/categories/_inc.php b/src/admin/categories/_inc.php index e81d395..09421f3 100644 --- a/src/admin/categories/_inc.php +++ b/src/admin/categories/_inc.php @@ -2,10 +2,10 @@ // create variable with Category class -namespace Garradin; +namespace Paheko; require_once __DIR__ . '/../_inc.php'; -use Garradin\Plugin\Materiels\Category; +use Paheko\Plugin\Materiels\Category; $cat = new Category; diff --git a/src/admin/categories/index.php b/src/admin/categories/index.php index b7868c0..52fff77 100644 --- a/src/admin/categories/index.php +++ b/src/admin/categories/index.php @@ -1,10 +1,10 @@ get((int) qg('id')); diff --git a/src/admin/categories/supprimer_categorie.php b/src/admin/categories/supprimer_categorie.php index 2df7923..80b0ac8 100644 --- a/src/admin/categories/supprimer_categorie.php +++ b/src/admin/categories/supprimer_categorie.php @@ -1,10 +1,10 @@ needUpgrade()) { @@ -12,7 +12,7 @@ if ($plugin->needUpgrade()) require_once __DIR__ . '/_inc.php'; -use Garradin\Plugin\Materiels\Equipment; +use Paheko\Plugin\Materiels\Equipment; $eqmt = new Equipment; diff --git a/src/admin/modifier_materiel.php b/src/admin/modifier_materiel.php index 430dcb8..1f1aa54 100644 --- a/src/admin/modifier_materiel.php +++ b/src/admin/modifier_materiel.php @@ -2,13 +2,13 @@ // edit a specific equipment -namespace Garradin; +namespace Paheko; require_once __DIR__ . '/_inc.php'; -use Garradin\Plugin\Materiels\Equipment; -use Garradin\Plugin\Materiels\Category; -use Garradin\Utils; +use Paheko\Plugin\Materiels\Equipment; +use Paheko\Plugin\Materiels\Category; +use Paheko\Utils; // get the equipment requested $eqmt = new Equipment; diff --git a/src/admin/mouvements/_inc.php b/src/admin/mouvements/_inc.php index 5b821c1..16468d3 100644 --- a/src/admin/mouvements/_inc.php +++ b/src/admin/mouvements/_inc.php @@ -2,10 +2,10 @@ // create variable with Movement class -namespace Garradin; +namespace Paheko; require_once __DIR__ . '/../_inc.php'; -use Garradin\Plugin\Materiels\Movement; +use Paheko\Plugin\Materiels\Movement; $mvt = new Movement; diff --git a/src/admin/mouvements/entrees/index.php b/src/admin/mouvements/entrees/index.php index 770e45f..3480562 100644 --- a/src/admin/mouvements/entrees/index.php +++ b/src/admin/mouvements/entrees/index.php @@ -1,6 +1,6 @@ get((int) qg('id')); diff --git a/src/admin/mouvements/sorties/emprunte.php b/src/admin/mouvements/sorties/emprunte.php index e3152a9..54ea185 100644 --- a/src/admin/mouvements/sorties/emprunte.php +++ b/src/admin/mouvements/sorties/emprunte.php @@ -2,12 +2,12 @@ // add output for a borrowed equipment -namespace Garradin; +namespace Paheko; require_once __DIR__ . '/../_inc.php'; -use Garradin\Plugin\Materiels\Equipment; -use Garradin\Utils; +use Paheko\Plugin\Materiels\Equipment; +use Paheko\Utils; $eqmt = new Equipment; $selected_eqmt = ""; diff --git a/src/admin/mouvements/sorties/index.php b/src/admin/mouvements/sorties/index.php index 711e022..38009a8 100644 --- a/src/admin/mouvements/sorties/index.php +++ b/src/admin/mouvements/sorties/index.php @@ -1,6 +1,6 @@ get((int) qg('id')); diff --git a/src/install.php b/src/install.php index 87d499b..faf83b1 100644 --- a/src/install.php +++ b/src/install.php @@ -1,6 +1,6 @@