Commit 0af1885076cce515d1f2151474888e5dd668536a

Authored by Yarik
1 parent 65876dfe

Pre stable ready

backend/views/layouts/main.php
@@ -7,12 +7,12 @@ @@ -7,12 +7,12 @@
7 7
8 use artbox\catalog\assets\CatalogAsset; 8 use artbox\catalog\assets\CatalogAsset;
9 use artbox\core\assets\ArtboxCoreAsset; 9 use artbox\core\assets\ArtboxCoreAsset;
  10 + use artbox\core\components\imagemanager\components\ImageManagerGetPath;
10 use artbox\core\models\User; 11 use artbox\core\models\User;
11 use artbox\core\models\UserData; 12 use artbox\core\models\UserData;
12 use artbox\core\widgets\FeedbackWidget; 13 use artbox\core\widgets\FeedbackWidget;
13 use artbox\core\widgets\FlashWidget; 14 use artbox\core\widgets\FlashWidget;
14 use artbox\order\assets\OrderAsset; 15 use artbox\order\assets\OrderAsset;
15 - use noam148\imagemanager\components\ImageManagerGetPath;  
16 use yii\bootstrap\Html; 16 use yii\bootstrap\Html;
17 use yii\web\View; 17 use yii\web\View;
18 use yii\widgets\Breadcrumbs; 18 use yii\widgets\Breadcrumbs;
common/models/Settings.php
1 <?php 1 <?php
2 namespace common\models; 2 namespace common\models;
3 -  
4 - use noam148\imagemanager\models\ImageManager; 3 +
  4 + use artbox\core\models\Image;
5 use yii2tech\filedb\ActiveRecord; 5 use yii2tech\filedb\ActiveRecord;
6 use Yii; 6 use Yii;
7 7
@@ -115,7 +115,7 @@ @@ -115,7 +115,7 @@
115 'logo', 115 'logo',
116 ], 116 ],
117 'exist', 117 'exist',
118 - 'targetClass' => ImageManager::className(), 118 + 'targetClass' => Image::className(),
119 'targetAttribute' => 'id', 119 'targetAttribute' => 'id',
120 ], 120 ],
121 [ 121 [
@@ -21,7 +21,6 @@ @@ -21,7 +21,6 @@
21 "yiisoft/yii2": "~2.0.11", 21 "yiisoft/yii2": "~2.0.11",
22 "yiisoft/yii2-bootstrap": "~2.0", 22 "yiisoft/yii2-bootstrap": "~2.0",
23 "yiisoft/yii2-swiftmailer": "~2.0", 23 "yiisoft/yii2-swiftmailer": "~2.0",
24 - "noam148/yii2-image-manager": "~1.0",  
25 "yiister/yii2-gentelella": "~1.0", 24 "yiister/yii2-gentelella": "~1.0",
26 "yii2tech/filedb": "~1.0", 25 "yii2tech/filedb": "~1.0",
27 "hiqdev/yii2-asset-pnotify": "~2.0", 26 "hiqdev/yii2-asset-pnotify": "~2.0",