Changeset 2841533
- Timestamp:
- 12/30/2022 01:38:00 PM (3 years ago)
- Location:
- videoadshtml5
- Files:
-
- 3 edited
-
tags/2.2.1/readme.txt (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/videoadshtml5.php (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
videoadshtml5/tags/2.2.1/readme.txt
r2841528 r2841533 5 5 Requires at least: 6.1.1 6 6 Tested up to: 6.1.1 7 Stable tag: 2.2 7 Stable tag: 2.2.1 8 8 License: GPLv3 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html -
videoadshtml5/trunk/readme.txt
r2791864 r2841533 3 3 Donate link: https://sv-pt.ru 4 4 Tags: video, player, html5, mobile, ads, pre-roll, post-roll, vast 5 Requires at least: 6. 0.26 Tested up to: 6. 0.27 Stable tag: 2.2 5 Requires at least: 6.1.1 6 Tested up to: 6.1.1 7 Stable tag: 2.2.1 8 8 License: GPLv3 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 130 130 == Changelog == 131 131 132 = 2.2.1 = Ability to edit, upload or not in settings 133 132 134 = 2.2 = Ban on downloading videos from the player and edit the readme 133 135 -
videoadshtml5/trunk/videoadshtml5.php
r2791864 r2841533 2 2 /* 3 3 Plugin Name: VideoADSHtml5 4 Version: 2.2 4 Version: 2.2.1 5 5 Plugin URI: https://sv-pt.ru/?p=858 6 6 Author: -sv- … … 22 22 class VIDEO_HTML5_ADS { 23 23 24 public static $plugin_version = '2.2 ';24 public static $plugin_version = '2.2.1'; 25 25 //var $plugin_version = '2.1.1'; 26 26 … … 71 71 register_setting('videhtml5ads-settings-group', 'evp_enable_jquery'); 72 72 register_setting('videhtml5ads-settings-group', 'evp_schet'); 73 register_setting('videhtml5ads-settings-group', 'evp_download'); 73 74 } 74 75 … … 81 82 <div class="wrap"> 82 83 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> 84 85 <div class="update-nag"><?php echo $link_text;?></div> 85 86 <h2 class="title"><?php _e('Основные настройки', 'videhtml5ads')?></h2> … … 97 98 <td><input type="text" id="evp_schet" name="evp_schet" value="<?php echo get_option('evp_schet'); ?>"> 98 99 <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 ?> 100 104 101 105 </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> 102 120 </tr> 103 121 </table> … … 108 126 </div> 109 127 128 129 110 130 <?php 111 131 } … … 257 277 258 278 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 259 290 260 291 … … 423 454 } 424 455 ] 425 }' controlsList= "nodownload"></video>456 }' controlsList=$SettingDownload></video> 426 457 </div> 427 458 <span class="skipBtn"><div class="divleft">Пропустить через</div> <div id="myDiv">замена</div> из $chet</span> … … 457 488 } 458 489 ] 459 }' controlsList= "nodownload"></video>490 }' controlsList=$SettingDownload></video> 460 491 </div> 461 492 <span class="skipBtn"><div class="divleft">Пропустить через</div> <div id="myDiv">замена</div> из $chet</span> … … 520 551 521 552 ] 522 }' controlsList= "nodownload"></video>553 }' controlsList=$SettingDownload></video> 523 554 </div> 524 555
Note: See TracChangeset
for help on using the changeset viewer.