VOD Infomaniak - Version 1.2.5

Version Description

(03/08/2015) = * Fix bug importation video depuis un dossier different

Download this release

Release Info

Developer infomaniak-dev
Plugin Icon wp plugin VOD Infomaniak
Version 1.2.5
Comparing to
See all releases

Code changes from version 1.2.4 to 1.2.5

Files changed (4) hide show
  1. readme.txt +5 -2
  2. vod.class.php +5 -5
  3. vod.php +1 -1
  4. vod.template.php +0 -1
readme.txt CHANGED
@@ -5,7 +5,7 @@ Plugin Name: Vod Infomaniak
5
  Tags: video, manage, infomaniak, vod
6
  Requires at least: 2.8.6
7
  Tested up to: 4.1
8
- Stable tag: 1.2.4
9
 
10
 
11
 
@@ -72,6 +72,9 @@ Si vous ne trouvez pas de solution à votre question, vous pouvez aussi nous con
72
 
73
  == Changelog ==
74
 
 
 
 
75
  = 1.2.4 (03/08/2015) =
76
  * Fix version
77
 
@@ -184,4 +187,4 @@ Si vous ne trouvez pas de solution à votre question, vous pouvez aussi nous con
184
  = Prochainement =
185
  * Gestion des fichiers audios
186
  * Gestion des sous-titres
187
- * URL personnalisable
5
  Tags: video, manage, infomaniak, vod
6
  Requires at least: 2.8.6
7
  Tested up to: 4.1
8
+ Stable tag: 1.2.5
9
 
10
 
11
 
72
 
73
  == Changelog ==
74
 
75
+ = 1.2.5 (03/08/2015) =
76
+ * Fix bug importation video depuis un dossier different
77
+
78
  = 1.2.4 (03/08/2015) =
79
  * Fix version
80
 
187
  = Prochainement =
188
  * Gestion des fichiers audios
189
  * Gestion des sous-titres
190
+ * URL personnalisable
vod.class.php CHANGED
@@ -5,7 +5,7 @@
5
  *
6
  * @author Destrem Kevin + Davide Rubini
7
  * @link http://statslive.infomaniak.ch/vod/api/
8
- * @version 1.2.4
9
  * @copyright infomaniak.ch
10
  */
11
 
@@ -15,7 +15,7 @@
15
  define('VOD_RIGHT_ADMIN', 4);
16
 
17
  class EasyVod {
18
- public $version = "1.2.4";
19
  private $local_version;
20
  private $plugin_url;
21
  private $options;
@@ -1113,7 +1113,7 @@
1113
  function search_videos($sTerm, $iLimit = 6, $sFilter = "") {
1114
  global $wpdb;
1115
  if (!empty($sFilter)) {
1116
- $sql = $wpdb->prepare("SELECT iFolder FROM `wp_vod_folder` WHERE sPath LIKE %s ORDER BY sPath", $sFilter . '%');
1117
  $aFolders = $wpdb->get_results($sql);
1118
  $aFoldersList = array();
1119
  foreach ($aFolders as $oFolder) {
@@ -1134,7 +1134,7 @@
1134
  function get_videos_byPage($iPage, $iLimit, $sFilter = "") {
1135
  global $wpdb;
1136
  if (!empty($sFilter)) {
1137
- $sql = $wpdb->prepare("SELECT iFolder FROM `wp_vod_folder` WHERE sPath LIKE %s ORDER BY sPath", $sFilter . '%');
1138
  $aFolders = $wpdb->get_results($sql);
1139
  $aFoldersList = array();
1140
  foreach ($aFolders as $oFolder) {
@@ -1196,7 +1196,7 @@
1196
  function count_video($sFilter = "") {
1197
  global $wpdb;
1198
  if (!empty($sFilter)) {
1199
- $sql = $wpdb->prepare("SELECT iFolder FROM `wp_vod_folder` WHERE sPath LIKE %s ORDER BY sPath", $sFilter . '%');
1200
  $aFolders = $wpdb->get_results($sql);
1201
  $aFoldersList = array();
1202
  foreach ($aFolders as $oFolder) {
5
  *
6
  * @author Destrem Kevin + Davide Rubini
7
  * @link http://statslive.infomaniak.ch/vod/api/
8
+ * @version 1.2.5
9
  * @copyright infomaniak.ch
10
  */
11
 
15
  define('VOD_RIGHT_ADMIN', 4);
16
 
17
  class EasyVod {
18
+ public $version = "1.2.5";
19
  private $local_version;
20
  private $plugin_url;
21
  private $options;
1113
  function search_videos($sTerm, $iLimit = 6, $sFilter = "") {
1114
  global $wpdb;
1115
  if (!empty($sFilter)) {
1116
+ $sql = $wpdb->prepare("SELECT iFolder FROM " . $this->db_table_folder . " WHERE sPath LIKE %s ORDER BY sPath", $sFilter . '%');
1117
  $aFolders = $wpdb->get_results($sql);
1118
  $aFoldersList = array();
1119
  foreach ($aFolders as $oFolder) {
1134
  function get_videos_byPage($iPage, $iLimit, $sFilter = "") {
1135
  global $wpdb;
1136
  if (!empty($sFilter)) {
1137
+ $sql = $wpdb->prepare("SELECT iFolder FROM " . $this->db_table_folder . " WHERE sPath LIKE %s ORDER BY sPath", $sFilter . '%');
1138
  $aFolders = $wpdb->get_results($sql);
1139
  $aFoldersList = array();
1140
  foreach ($aFolders as $oFolder) {
1196
  function count_video($sFilter = "") {
1197
  global $wpdb;
1198
  if (!empty($sFilter)) {
1199
+ $sql = $wpdb->prepare("SELECT iFolder FROM " . $this->db_table_folder . " WHERE sPath LIKE %s ORDER BY sPath", $sFilter . '%');
1200
  $aFolders = $wpdb->get_results($sql);
1201
  $aFoldersList = array();
1202
  foreach ($aFolders as $oFolder) {
vod.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin URI: http://wordpress.org/extend/plugins/vod-infomaniak/
5
  Description: Easily embed and manage videos from Infomaniak VOD in your posts, comments and RSS feeds. You need an Infomaniak VOD account to use this plugin.
6
  Author: Infomaniak Staff
7
- Version: 1.2.4
8
  Author URI: http://infomaniak.com
9
  */
10
 
4
  Plugin URI: http://wordpress.org/extend/plugins/vod-infomaniak/
5
  Description: Easily embed and manage videos from Infomaniak VOD in your posts, comments and RSS feeds. You need an Infomaniak VOD account to use this plugin.
6
  Author: Infomaniak Staff
7
+ Version: 1.2.5
8
  Author URI: http://infomaniak.com
9
  */
10
 
vod.template.php CHANGED
@@ -9,7 +9,6 @@
9
  * @copyright infomaniak.ch
10
  *
11
  */
12
-
13
  class EasyVod_Display {
14
 
15
  static function buildForm($options, $aPlayers, $aVideos, $aPlaylists, $aFolders, $bCanUpload) {
9
  * @copyright infomaniak.ch
10
  *
11
  */
 
12
  class EasyVod_Display {
13
 
14
  static function buildForm($options, $aPlayers, $aVideos, $aPlaylists, $aFolders, $bCanUpload) {