Plugin Directory

Changeset 2841533


Ignore:
Timestamp:
12/30/2022 01:38:00 PM (3 years ago)
Author:
saucykiss
Message:

Правка реадми

Location:
videoadshtml5
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • videoadshtml5/tags/2.2.1/readme.txt

    r2841528 r2841533  
    55Requires at least: 6.1.1
    66Tested up to: 6.1.1
    7 Stable tag: 2.2
     7Stable tag: 2.2.1
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
  • videoadshtml5/trunk/readme.txt

    r2791864 r2841533  
    33Donate link: https://sv-pt.ru
    44Tags: video, player, html5, mobile, ads, pre-roll, post-roll, vast
    5 Requires at least: 6.0.2
    6 Tested up to: 6.0.2
    7 Stable tag: 2.2
     5Requires at least: 6.1.1
     6Tested up to: 6.1.1
     7Stable tag: 2.2.1
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    130130== Changelog ==
    131131
     132= 2.2.1 = Ability to edit, upload or not in settings
     133
    132134= 2.2 = Ban on downloading videos from the player and edit the readme
    133135
  • videoadshtml5/trunk/videoadshtml5.php

    r2791864 r2841533  
    22/*
    33Plugin Name: VideoADSHtml5
    4 Version: 2.2
     4Version: 2.2.1
    55Plugin URI: https://sv-pt.ru/?p=858
    66Author: -sv-
     
    2222    class VIDEO_HTML5_ADS {
    2323
    24         public static $plugin_version = '2.2';
     24        public static $plugin_version = '2.2.1';
    2525         //var $plugin_version = '2.1.1';
    2626
     
    7171            register_setting('videhtml5ads-settings-group', 'evp_enable_jquery');
    7272            register_setting('videhtml5ads-settings-group', 'evp_schet');
     73            register_setting('videhtml5ads-settings-group', 'evp_download');
    7374        }
    7475
     
    8182            <div class="wrap">
    8283               
    83                 <h1>Video ADS HTML5 - v<?php echo $this->plugin_version; ?></h1>
     84                <h1>Video ADS HTML5 - v <?php echo VIDEO_HTML5_ADS::$plugin_version; //$this->plugin_version; ?></h1>
    8485                <div class="update-nag"><?php echo $link_text;?></div>
    8586                    <h2 class="title"><?php _e('Основные настройки', 'videhtml5ads')?></h2>     
     
    9798                                    <td><input type="text" id="evp_schet" name="evp_schet" value="<?php echo get_option('evp_schet'); ?>">
    9899                                        <p><i><?php _e('Укажите продолжительность рекламы через сколько можно будет пропутить.', 'videhtml5ads')?></i></p>
    99                                         <?php // echo get_option('evp_schet'); ?>
     100                                        <?php $ut = get_option('evp_schet');
     101                                        //echo $ut;
     102
     103                                        ?>
    100104                                                                   
    101105                                    </td>
     106                                </tr>
     107                                <tr valign="top">
     108                                    <th scope="row"><?php _e('Разрешить скачивать с плеера', 'videhtml5ads')?></th>
     109                                        <td>
     110                                            <select name="evp_download" size="2" >
     111                                                <option disabled value="">Скачивание</option>
     112                                                <option selected value="1" <?php echo selected(get_option('evp_download'),1); ?> >Разрешить</option>
     113                                                <option value="2" <?php echo selected(get_option('evp_download'),2); ?> >Запретить</option>
     114                                            </select>
     115                                            <p><i><?php _e('По умолчанию опция Разрешена', 'videhtml5ads')?></i></p>
     116                                                        <?php  $ut1 = get_option('evp_download');
     117                                                             // echo $ut1;
     118                                                        ?>         
     119                                        </td>
    102120                                </tr>
    103121                            </table>
     
    108126            </div>
    109127           
     128           
     129       
    110130            <?php
    111131        }
     
    257277   
    258278
     279    $evp_download = get_option('evp_download');
     280    if ($evp_download == 1)
     281    {
     282        $SettingDownload = "";
     283    }
     284    if ($evp_download == 2)
     285    {
     286        $SettingDownload = "nodownload";
     287    }
     288       
     289   
    259290   
    260291   
     
    423454                          }
    424455                        ]
    425         }' controlsList="nodownload"></video>
     456        }' controlsList=$SettingDownload></video>
    426457</div>
    427458<span class="skipBtn"><div class="divleft">Пропустить через</div> <div id="myDiv">замена</div> из $chet</span>
     
    457488                          }
    458489                        ]
    459         }' controlsList="nodownload"></video>
     490        }' controlsList=$SettingDownload></video>
    460491</div>
    461492<span class="skipBtn"><div class="divleft">Пропустить через</div> <div id="myDiv">замена</div> из $chet</span>
     
    520551                         
    521552                        ]
    522         }' controlsList="nodownload"></video>
     553        }' controlsList=$SettingDownload></video>
    523554</div>
    524555
Note: See TracChangeset for help on using the changeset viewer.