Plugin Directory

Changeset 2050228


Ignore:
Timestamp:
03/14/2019 06:17:27 AM (6 years ago)
Author:
adsstudio
Message:

version 1.1.0

Location:
ad-publisher/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • ad-publisher/trunk/ad-publisher.php

    r2022827 r2050228  
    33 * Plugin Name: AD Publisher
    44 * Plugin URI - http://ad-publisher.com
    5  * Version: 1.0.6
     5 * Version: 1.1.0
    66 * Author: Adsstudio
    77 * Description: Plugin for automatic insertion of the ad code
  • ad-publisher/trunk/includes/classes/class-module-manager.php

    r2021672 r2050228  
    108108    public function get_modules_list() {
    109109        $module_list = array(
     110            'smart_shortcode' => array(
     111                'slug'         => 'smart_shortcode',
     112                'name'         => 'Smart shortcode',
     113                'descr'        => __( 'Вставляйте рекламный или любой другой код в записи на страницы или в виджеты вашего сайта, с помощью шорткодов', 'ad-publisher' ),
     114                'tos_url'      => 'http://ad-publisher.com/license_agreement/',
     115                'img_url'      => ADP_PLUGIN_URL . '/assets/images/module-4.png',
     116                'basename'     => 'smart_shortcode/smart_shortcode.php',
     117                'download_url' => 'http://ad-publisher.com/modules/adp-smart-shortcode.zip',
     118                'not_free'     => true,
     119            ),
    110120            'ctr_booster'    => array(
    111121                'slug'         => 'ctr_booster',
     
    135145                'disabled' => true,
    136146            ),
    137             'smart_shortcode' => array(
    138                 'slug'     => 'smart_shortcode',
    139                 'name'     => 'Smart shortcode',
    140                 'descr'    => 'Display random ads banner on page refresh.',
    141                 'tos_url'  => 'http://ad-publisher.com/license_agreement/',
    142                 'img_url'  => ADP_PLUGIN_URL . '/assets/images/module-3.png',
    143                 'basename' => 'smart_shortcode/smart_shortcode.php',
    144                 'disabled' => true,
    145             ),
    146147        );
    147148       
  • ad-publisher/trunk/includes/views/modules.php

    r2021672 r2050228  
    2424                            $is_active = is_plugin_active( $module['basename'] );
    2525                            $is_disabled = isset( $module['disabled'] ) ? true : false;
     26                            $is_not_free = isset( $module['not_free'] ) ? true : false;
    2627                        ?>
    2728                        <div class="adp-module">
    2829                            <div class="adp-module__title"><?php echo esc_attr( $module['name'] ); ?></div>
    29                             <?php if ( ! $is_disabled ) : ?>
     30                            <?php if ( ! $is_disabled && ! $is_not_free ) : ?>
    3031                                <div class="adp-module__free"><?php _e( '6 months', 'ad-publisher' ); ?> <span><?php _e( 'FREE', 'ad-publisher' ); ?></span></div>
    3132                            <?php endif; ?>
  • ad-publisher/trunk/languages/ad-publisher-en_US.po

    r2023370 r2050228  
    33"Project-Id-Version: AD Publisher\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2019-02-01 17:44+0400\n"
    6 "PO-Revision-Date: 2019-02-01 17:46+0400\n"
     5"POT-Creation-Date: 2019-03-13 12:32+0400\n"
     6"PO-Revision-Date: 2019-03-13 12:33+0400\n"
    77"Last-Translator: admin <[email protected]>\n"
    88"Language-Team: English (United States)\n"
     
    1515"Plural-Forms: nplurals=2; plural=n != 1;\n"
    1616"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c\n"
    17 "X-Poedit-Basepath: ad-publisher\n"
     17"X-Poedit-Basepath: ..\n"
    1818"X-Poedit-SearchPath-0: .\n"
    1919
     
    9797#: includes/classes/class-module-manager.php:113
    9898msgid ""
     99"Вставляйте рекламный или любой другой код в записи на страницы или в виджеты "
     100"вашего сайта, с помощью шорткодов"
     101msgstr ""
     102"Insert the ad code or any other code to the posts, pages or your website "
     103"widgets using the shortcodes"
     104
     105#: includes/classes/class-module-manager.php:123
     106msgid ""
    99107"Позволяет в 2-3 раза увеличить число кликов по рекламме благодаря блокировке "
    100108"части статьи и подстановке рекламмного блока"
     
    103111"inserting an ad unit"
    104112
    105 #: includes/classes/class-module-manager.php:122
     113#: includes/classes/class-module-manager.php:132
    106114msgid ""
    107115"Увеличивает число кликов на рекламу благодаря прилипающему к верхней части "
     
    140148#: includes/views/adp-post-metabox.php:84
    141149msgid "After paragraph number"
    142 msgstr "After Paragraph No."
     150msgstr "After Paragraph No"
    143151
    144152#: includes/views/adp-post-metabox.php:90
     
    234242msgstr "Module Management"
    235243
    236 #: includes/views/modules.php:30
     244#: includes/views/modules.php:31
    237245msgid "6 months"
    238246msgstr "6 months"
    239247
    240 #: includes/views/modules.php:30
     248#: includes/views/modules.php:31
    241249msgid "FREE"
    242250msgstr "FREE"
    243251
    244 #: includes/views/modules.php:40
     252#: includes/views/modules.php:41
    245253msgid "Согласен"
    246254msgstr "Accept"
    247255
    248 #: includes/views/modules.php:41
     256#: includes/views/modules.php:42
    249257msgid "условия использования"
    250258msgstr "terms & conditions"
    251259
    252 #: includes/views/modules.php:43
     260#: includes/views/modules.php:44
    253261msgid "Deactivate"
    254262msgstr "Deactivate"
    255263
    256 #: includes/views/modules.php:43
     264#: includes/views/modules.php:44
    257265msgid "Activate"
    258266msgstr "Activate"
    259267
    260 #: includes/views/modules.php:43
     268#: includes/views/modules.php:44
    261269msgid "Dectivate"
    262270msgstr "Deactivate"
    263271
    264 #: includes/views/modules.php:59
     272#: includes/views/modules.php:60
    265273msgid "Deactivate all"
    266274msgstr "Deactivate all"
  • ad-publisher/trunk/readme.txt

    r2023223 r2050228  
    7070== Changelog ==
    7171
     72== 1.1.0 ==
     73Add smart shortcodes.
     74Fix some bugs.
     75
     76
    7277== 1.0.6 ==
Note: See TracChangeset for help on using the changeset viewer.