Agenda renommer Categories en category

Focntionnalité implémentée mais non utilisée.
This commit is contained in:
Fred Tempez 2024-08-29 18:18:39 +02:00
parent d91c270368
commit e839ab0f7e
4 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@ class agenda extends common {
'add' => self::GROUP_VISITOR,
'edition' => self::GROUP_VISITOR,
'config' => self::GROUP_MODERATOR,
'categories' => self::GROUP_MODERATOR,
'category' => self::GROUP_MODERATOR,
'delete' => self::GROUP_VISITOR,
'deleteEvent' => self::GROUP_VISITOR,
'deleteall' => self::GROUP_MODERATOR,
@ -424,7 +424,7 @@ class agenda extends common {
/*
* Gestion des catégories
*/
public function categories(){
public function category(){
// Soumission du formulaire
if($this->isPost()) {
@ -488,7 +488,7 @@ class agenda extends common {
'vendor' => [
'tinycolorpicker'
],
'view' => 'categorie'
'view' => 'category'
]);
}

View File

@ -18,7 +18,7 @@ if(! is_dir($module::DATAMODULE.'data/'.$this->getUrl(0))){ $readonly = true;}el
<div class="col2 offset6">
<?php echo template::button('config_gestion_categorie', [
'class' => 'buttonBlue',
'href' => helper::baseUrl() . $this->getUrl(0).'/categories/',
'href' => helper::baseUrl() . $this->getUrl(0).'/category',
'ico' => 'cogs',
'value' => 'Catégories'
]); ?>