diff --git a/VERSIONS_HOTLINE/108117 b/VERSIONS_HOTLINE/108117 new file mode 100644 index 0000000000000000000000000000000000000000..f22dfae10a590a80c13a7fde0465e48aa5e2a4f6 --- /dev/null +++ b/VERSIONS_HOTLINE/108117 @@ -0,0 +1 @@ + - ticket #108117 : L'activation du magasin de thèmes accessible aux administrateurs du portail \ No newline at end of file diff --git a/library/Class/AdminVar.php b/library/Class/AdminVar.php index e83b3b885e49ddaa563079674f79da333f4ab94d..fd0c463a57f7cebf31ee96a35bfd7acb28298be5 100644 --- a/library/Class/AdminVar.php +++ b/library/Class/AdminVar.php @@ -143,11 +143,11 @@ class Class_AdminVarLoader extends Storm_Model_Loader { protected function _getTemplatingVars() { return [ - 'TEMPLATING' => Class_AdminVar_Meta::newOnOff('Active l\'accès au magasin de thèmes', - ['value' => 0])->bePrivate(), + 'TEMPLATING' => Class_AdminVar_Meta::newOnOff($this->_('Active l\'accès au magasin de thèmes'), + ['value' => 0]), - 'MYBIBAPP_TEMPLATE' => Class_AdminVar_Meta::newOnOff('Active la génération automatique du thème pour MyBibApp', - ['value' => 0])->bePrivate() + 'MYBIBAPP_TEMPLATE' => Class_AdminVar_Meta::newOnOff($this->_('Active la génération automatique du thème pour MyBibApp'), + ['value' => 0]) ]; }