Version Description
Download this release
Release Info
Developer | freediver |
Plugin | Smart YouTube PRO |
Version | 2.1.1 |
Comparing to | |
See all releases |
Code changes from version 2.1 to 2.1.1
- smartyoutube.php +5 -4
smartyoutube.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Smart Youtube
|
|
4 |
Plugin URI: http://www.prelovac.com/vladimir/wordpress-plugins/smart-youtube
|
5 |
Description: Easily insert YouTube videos in posts, comments and RSS feeds.
|
6 |
Author: Vladimir Prelovac
|
7 |
-
Version: 2.1
|
8 |
Author URI: http://www.prelovac.com/vladimir/
|
9 |
|
10 |
Updates:
|
@@ -20,7 +20,7 @@ To-Doo:
|
|
20 |
- localization
|
21 |
*/
|
22 |
|
23 |
-
$yte_localversion="2.1";
|
24 |
|
25 |
$CustomColors=array (
|
26 |
"blank" => array("d6d6d6","f0f0f0"),
|
@@ -65,7 +65,8 @@ function yte_options_page()
|
|
65 |
|
66 |
// If form was submitted
|
67 |
if (isset($_POST['submitted']))
|
68 |
-
{
|
|
|
69 |
$disp_img = !isset($_POST['disp_img'])? 'off': 'on';
|
70 |
$disp_link = !isset($_POST['disp_link'])? 'off': 'on';
|
71 |
|
@@ -128,7 +129,7 @@ function yte_options_page()
|
|
128 |
$disp_autoplay = (get_option('smart_yt_autoplay')=='1') ? 'checked':'';
|
129 |
|
130 |
|
131 |
-
$disp_rel = (get_option('smart_yt_rel')=='
|
132 |
$disp_rel2=$disp_rel ? "" : "checked";
|
133 |
$disp_border = (get_option('smart_yt_border')=='1') ? 'checked':'';
|
134 |
$disp_color = get_option('smart_yt_color');
|
4 |
Plugin URI: http://www.prelovac.com/vladimir/wordpress-plugins/smart-youtube
|
5 |
Description: Easily insert YouTube videos in posts, comments and RSS feeds.
|
6 |
Author: Vladimir Prelovac
|
7 |
+
Version: 2.1.1
|
8 |
Author URI: http://www.prelovac.com/vladimir/
|
9 |
|
10 |
Updates:
|
20 |
- localization
|
21 |
*/
|
22 |
|
23 |
+
$yte_localversion="2.1.1";
|
24 |
|
25 |
$CustomColors=array (
|
26 |
"blank" => array("d6d6d6","f0f0f0"),
|
65 |
|
66 |
// If form was submitted
|
67 |
if (isset($_POST['submitted']))
|
68 |
+
{
|
69 |
+
|
70 |
$disp_img = !isset($_POST['disp_img'])? 'off': 'on';
|
71 |
$disp_link = !isset($_POST['disp_link'])? 'off': 'on';
|
72 |
|
129 |
$disp_autoplay = (get_option('smart_yt_autoplay')=='1') ? 'checked':'';
|
130 |
|
131 |
|
132 |
+
$disp_rel = (get_option('smart_yt_rel')=='1') ? 'checked':'';
|
133 |
$disp_rel2=$disp_rel ? "" : "checked";
|
134 |
$disp_border = (get_option('smart_yt_border')=='1') ? 'checked':'';
|
135 |
$disp_color = get_option('smart_yt_color');
|