Commit 6ae24cca2005241c5a2b10ad96e0cfe17250e57e
1 parent
1a7c87b9
-Image manager ready
Showing
2 changed files
with
12 additions
and
0 deletions
Show diff stats
backend/views/layouts/menu_main.php
... | ... | @@ -64,5 +64,13 @@ |
64 | 64 | ], |
65 | 65 | ], |
66 | 66 | ], |
67 | + [ | |
68 | + 'label' => \Yii::t('imagemanager', 'Image manager'), | |
69 | + 'url' => [ '/imagemanager' ], | |
70 | + 'icon' => 'image', | |
71 | + 'active' => function () { | |
72 | + return \Yii::$app->controller->id = 'imagemanager'; | |
73 | + }, | |
74 | + ], | |
67 | 75 | ] |
68 | 76 | ); |
69 | 77 | \ No newline at end of file | ... | ... |
common/config/main.php
... | ... | @@ -61,6 +61,10 @@ |
61 | 61 | 'class' => 'yii\i18n\PhpMessageSource', |
62 | 62 | 'basePath' => '@artbox/odoo/messages', |
63 | 63 | ], |
64 | + 'imagemanager' => [ | |
65 | + 'class' => 'yii\i18n\PhpMessageSource', | |
66 | + 'basePath' => '@artbox/core/components/imagemanager/messages', | |
67 | + ], | |
64 | 68 | ], |
65 | 69 | ], |
66 | 70 | 'filedb' => [ | ... | ... |