Commit 0242920bc646f908ecaff7b98dfb4e796078d9aa
1 parent
14e34aa9
big commti
Showing
4 changed files
with
4 additions
and
4 deletions
Show diff stats
frontend/views/catalog/product.php
| ... | ... | @@ -197,7 +197,7 @@ use frontend\assets\FlipclockAsset; |
| 197 | 197 | }, |
| 198 | 198 | }); |
| 199 | 199 | |
| 200 | - clock.setTime( ".strtotime($event->end_at) - strtotime(date('Y-m-d H:i:s'))."); | |
| 200 | + clock.setTime( ".(strtotime($event->end_at) - strtotime(date('Y-m-d H:i:s')))."); | |
| 201 | 201 | clock.setCountdown(true); |
| 202 | 202 | clock.start(); |
| 203 | 203 | "; | ... | ... |
frontend/views/event/_objects.php
| ... | ... | @@ -41,7 +41,7 @@ FlipclockAsset::register($this); |
| 41 | 41 | }, |
| 42 | 42 | }); |
| 43 | 43 | |
| 44 | - clock.setTime(".strtotime($model->end_at) - strtotime(date('Y-m-d H:i:s'))."); | |
| 44 | + clock.setTime(".(strtotime($model->end_at) - strtotime(date('Y-m-d H:i:s')))."); | |
| 45 | 45 | clock.setCountdown(true); |
| 46 | 46 | clock.start();"; |
| 47 | 47 | $this->registerJs($js,View::POS_END) ?> | ... | ... |
frontend/views/event/show.php
| ... | ... | @@ -46,7 +46,7 @@ $this->params['seo']['h1'] = $this->title; |
| 46 | 46 | }, |
| 47 | 47 | }); |
| 48 | 48 | |
| 49 | - clock.setTime(".strtotime($model->end_at) - strtotime(date('Y-m-d H:i:s'))."); | |
| 49 | + clock.setTime(".(strtotime($model->end_at) - strtotime(date('Y-m-d H:i:s')))."); | |
| 50 | 50 | clock.setCountdown(true); |
| 51 | 51 | clock.start();"; |
| 52 | 52 | $this->registerJs($js,View::POS_END) ?> | ... | ... |
frontend/widgets/views/slider.php
| ... | ... | @@ -36,7 +36,7 @@ FlipclockAsset::register($this); |
| 36 | 36 | }, |
| 37 | 37 | }); |
| 38 | 38 | |
| 39 | - clock.setTime(".strtotime($image->end_at) - strtotime(date('Y-m-d H:i:s'))."); | |
| 39 | + clock.setTime(".(strtotime($image->end_at) - strtotime(date('Y-m-d H:i:s')))."); | |
| 40 | 40 | clock.setCountdown(true); |
| 41 | 41 | clock.start();"; |
| 42 | 42 | $this->registerJs($js,View::POS_END) ?> | ... | ... |