Commit 5086370d279adc16a488b2840d13da8f8d0ae0d2

Authored by alex
1 parent 35aedce1

target blanc + absolute ways

frontend/widgets/ParthnersList.php
... ... @@ -17,10 +17,10 @@ class ParthnersList extends Widget
17 17 #$this->filesList=preg_grep('$^customer-\d{1,3}\.(png|jpg|jpeg)$',scandir('../web/img',0));
18 18  
19 19 $this->filesList=[
20   - ['Www.uspp.ua​','customer-1.png'],
  20 + ['http://www.uspp.ua​','customer-1.png'],
21 21 ['http://kiev-chamber.org.ua','customer-2.jpg'],
22   - ['www.traidenis.lt','customer-3.jpg'],
23   - ['www.bod.lt','customer-4.png' ],
  22 + ['http://www.traidenis.lt','customer-3.jpg'],
  23 + ['http://www.bod.lt','customer-4.png' ],
24 24 #['www.health.gov.ua','customer-5.jpeg'],
25 25 #['http://www.medved.kiev.ua ','customer-6.jpeg'],
26 26 ['http://www.unhpa.com.ua ','customer-7.png'],
... ...
frontend/widgets/views/_parthnerList.php
... ... @@ -7,7 +7,7 @@
7 7 <ul class="owl-carousel customers" >
8 8 <?php foreach ($data as $parthner):?>
9 9 <li class="item">
10   - <a href="<?=$parthner[0];?>"><img src="/img/<?=$parthner[1];?>" alt="" class="img-responsive"></a>
  10 + <a target="_blank" href="<?=$parthner[0];?>"><img src="/img/<?=$parthner[1];?>" alt="" class="img-responsive"></a>
11 11 </li>
12 12 <?php endforeach;?>
13 13 </ul>
14 14 \ No newline at end of file
... ...