Commit 70bfbe0aa0a7c0555bc1886b67589d7da5b8ba42

Authored by Administrator
1 parent 0242920b

big commti

frontend/assets/AppAsset.php
@@ -32,6 +32,7 @@ class AppAsset extends AssetBundle @@ -32,6 +32,7 @@ class AppAsset extends AssetBundle
32 'yii\web\JqueryAsset', 32 'yii\web\JqueryAsset',
33 'sersid\owlcarousel\Asset', 33 'sersid\owlcarousel\Asset',
34 'yii\bootstrap\BootstrapPluginAsset', 34 'yii\bootstrap\BootstrapPluginAsset',
  35 + 'frontend\assets\FlipclockAsset',
35 ]; 36 ];
36 37
37 public function init() { 38 public function init() {
frontend/assets/FlipclockAsset.php
@@ -23,7 +23,6 @@ class FlipclockAsset extends AssetBundle @@ -23,7 +23,6 @@ class FlipclockAsset extends AssetBundle
23 'flipclock/compiled/flipclock.min.js' 23 'flipclock/compiled/flipclock.min.js'
24 ]; 24 ];
25 public $jsOptions = array( 25 public $jsOptions = array(
26 - 'position' => \yii\web\View::POS_END,  
27 - 'depends' => ['yii\web\JqueryAsset'] 26 + 'position' => \yii\web\View::POS_END
28 ); 27 );
29 } 28 }
frontend/views/catalog/product.php
@@ -14,9 +14,7 @@ use frontend\assets\FotoramaAsset; @@ -14,9 +14,7 @@ use frontend\assets\FotoramaAsset;
14 use yii\helpers\Url; 14 use yii\helpers\Url;
15 use yii\web\View; 15 use yii\web\View;
16 use yii\widgets\MaskedInput; 16 use yii\widgets\MaskedInput;
17 -use frontend\assets\FlipclockAsset;  
18 FotoramaAsset::register($this); 17 FotoramaAsset::register($this);
19 - FlipclockAsset::register($this);  
20 $this->title = $product->name; 18 $this->title = $product->name;
21 19
22 20
frontend/views/event/_objects.php
1 <?php 1 <?php
2 -use yii\helpers\Html; 2 +
3 use yii\helpers\Url; 3 use yii\helpers\Url;
4 -use frontend\components\Text;  
5 -use frontend\assets\FlipclockAsset; 4 +
6 use yii\web\View; 5 use yii\web\View;
7 6
8 -FlipclockAsset::register($this);  
9 ?> 7 ?>
10 <div class="news_item"> 8 <div class="news_item">
11 9
frontend/views/event/show.php
1 <?php 1 <?php
2 -use frontend\assets\FlipclockAsset;  
3 -use yii\helpers\Url; 2 +
  3 +
4 use yii\web\View; 4 use yii\web\View;
5 -use yii\widgets\Breadcrumbs;  
6 use yii\widgets\ListView; 5 use yii\widgets\ListView;
7 6
8 -FlipclockAsset::register($this); 7 +
9 ?> 8 ?>
10 <?php 9 <?php
11 $this->title = $model->name; 10 $this->title = $model->name;
frontend/widgets/views/slider.php
@@ -3,10 +3,9 @@ @@ -3,10 +3,9 @@
3 use common\components\artboximage\ArtboxImageHelper; 3 use common\components\artboximage\ArtboxImageHelper;
4 use common\models\Slider; 4 use common\models\Slider;
5 use yii\helpers\Html; 5 use yii\helpers\Html;
6 -use yii\helpers\Url;  
7 use yii\web\View; 6 use yii\web\View;
8 -use frontend\assets\FlipclockAsset;  
9 -FlipclockAsset::register($this); 7 +
  8 +
10 ?> 9 ?>
11 10
12 11