Plugin Directory

Changeset 1747497


Ignore:
Timestamp:
10/16/2017 09:51:34 PM (8 years ago)
Author:
devdmkr
Message:

update

Location:
prime-ads/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • prime-ads/trunk/inc/services/AdsHelper.php

    r1747413 r1747497  
    270270
    271271        if(count($links) > 0)
    272             foreach ($links[1] as $key => $value){
     272            foreach ($links[0] as $key => $value){
    273273                /*$template = preg_replace("#" . preg_quote($value,'#') . "#U", '/' . get_option('ads-link-hash') . '/' . md5('comment' . date('d.m.Y')) . '/' . $block->id . '_' .($key+1) . '.html', $template);*/
    274274                $template = str_replace($value, '', $template);
  • prime-ads/trunk/inc/services/ApiHandler.php

    r1747413 r1747497  
    531531                if(count($links) > 0){
    532532                    $js .= "var " . $comment->prefix . " = $('#" . $comment->prefix . "').find('span');";
    533                     foreach ($links[1] as $key => $value){                 
    534                         $js .= '$(' . $comment->prefix . "[" . $key . "]).on('click',{to:'" . $url . $comment->id . '_' .($key+1) . '.html' . "'}, linkOut);";
     533                    foreach ($links[1] as $key => $value){
     534                        $js .= "$('body').on('click', '#" . $comment->prefix . " span', {to:'" . $url . $comment->id . '_' .($key+1) . '.html' . "'}, linkOut);\n";                 
    535535                    }
    536536                }
  • prime-ads/trunk/prime-ads.php

    r1747413 r1747497  
    33    Plugin Name: Prime Ads
    44    Description: Вывод рекламы с сервиса Prime Ads
    5     Version: 1.8.8
     5    Version: 1.8.9
    66    Author: Proffit
    77    Author URI: http://proffit.guru/
     
    1919use AdsNS\SxGeo\SxGeo;
    2020
    21 define('ADS_VERSION', '1.8.8');
     21define('ADS_VERSION', '1.8.9');
    2222define('ADS_DB_VERSION', '1.7.9');
    2323define('ADS_PATH', realpath(__DIR__));
  • prime-ads/trunk/readme.txt

    r1747413 r1747497  
    77Requires at least: 4.0
    88Tested up to: 4.6
    9 Stable tag: 1.8.8
     9Stable tag: 1.8.9
    1010
    1111Ответная часть сервиса монитизации Prime Ads (http://primeads.ru)
Note: See TracChangeset for help on using the changeset viewer.