Commit b116a7d8a9875ac0e109ae0351de26ee7aaf5d5b

Authored by Administrator
1 parent 503081c5

23.06.16

Showing 2 changed files with 4 additions and 3 deletions   Show diff stats
backend/config/main.php
@@ -71,7 +71,7 @@ return [ @@ -71,7 +71,7 @@ return [
71 ], 71 ],
72 'elfinder' => [ 72 'elfinder' => [
73 [ 73 [
74 - 'actions' => ['manager'], 74 + 'actions' => ['manager','connect'],
75 'allow' => true, 75 'allow' => true,
76 ] 76 ]
77 ] 77 ]
frontend/views/event/show.php
@@ -21,8 +21,9 @@ $this->title = $model->name; @@ -21,8 +21,9 @@ $this->title = $model->name;
21 21
22 <div class="content"> 22 <div class="content">
23 <h1><?=$model->name?></h1> 23 <h1><?=$model->name?></h1>
24 -  
25 - <img src="<?=Yii::$app->request->baseUrl.'/storage/articles/big/'.$model->image?>" width="400" height="400" border="0" align="left" class='pic' /> 24 + <?php if($model->image){?>
  25 + <?= \common\components\artboximage\ArtboxImageHelper::getImage($model->imageUrl, 'product_view', ['align' => 'left'])?>
  26 + <?php }?>
26 <?=$model->body?> 27 <?=$model->body?>
27 </div> 28 </div>
28 29