Plugin Directory

Changeset 977779


Ignore:
Timestamp:
09/03/2014 11:00:38 AM (12 years ago)
Author:
hdflvplayer
Message:

Fixed description displaying at the top of the page - Upgrade (2.7) issue

Location:
contus-video-gallery
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • contus-video-gallery/tags/2.7/front/views/videoshortcode.php

    r977676 r977779  
    344344                // Google adsense code Start
    345345               
    346                             if( ( $player_color['googleadsense_visible'] == 1) && ( !$mobile ) && ( $this->_post_type === 'video' || $this->_page_post_type === 'video' ) ) {
     346                            if( ( $player_color['googleadsense_visible'] == 1) && ( !$mobile ) && ( $this->_post_type === 'videogallery' || $this->_page_post_type === 'videogallery' ) ) {
    347347                                if($homeplayerData->google_adsense && $homeplayerData->google_adsense_value) {
    348348                                $output .= '<div>';
     
    703703                $output .= '</div></div>';             
    704704            }
    705 
     705            $output .= '</div></div>';
    706706            // Enable/disable Related videos starts here
    707707            if ( ( ( $this->_post_type === 'videogallery' && $configXML->playlist == 1|| $this->_page_post_type === 'videogallery' && $configXML->playlist == 1) ) || (((isset ( $arguments ['playlistid'] ) && isset ( $arguments ['id'] )) || $player_color['show_related_video']== 1|| (isset ( $arguments ['playlistid'] ))) && (isset ( $arguments ['relatedvideos'] ) && $arguments ['relatedvideos'] == 'on'))) {
  • contus-video-gallery/tags/2.7/hdflvvideoshare.php

    r976447 r977779  
    876876                    <meta itemprop="name" content="'.$videoname.'" />
    877877                    <meta itemprop="thumbnail" content="'.$imageFea.'" />
    878                     <meta itemprop="description" content="'.$description.'" />
     878                    <meta itemprop="description" content="'.strip_tags($description).'" />
    879879                </div>
    880880                <meta itemprop="image" content="'.$imageFea.'" />
  • contus-video-gallery/trunk/front/views/videoshortcode.php

    r977676 r977779  
    344344                // Google adsense code Start
    345345               
    346                             if( ( $player_color['googleadsense_visible'] == 1) && ( !$mobile ) && ( $this->_post_type === 'video' || $this->_page_post_type === 'video' ) ) {
     346                            if( ( $player_color['googleadsense_visible'] == 1) && ( !$mobile ) && ( $this->_post_type === 'videogallery' || $this->_page_post_type === 'videogallery' ) ) {
    347347                                if($homeplayerData->google_adsense && $homeplayerData->google_adsense_value) {
    348348                                $output .= '<div>';
     
    703703                $output .= '</div></div>';             
    704704            }
    705 
     705            $output .= '</div></div>';
    706706            // Enable/disable Related videos starts here
    707707            if ( ( ( $this->_post_type === 'videogallery' && $configXML->playlist == 1|| $this->_page_post_type === 'videogallery' && $configXML->playlist == 1) ) || (((isset ( $arguments ['playlistid'] ) && isset ( $arguments ['id'] )) || $player_color['show_related_video']== 1|| (isset ( $arguments ['playlistid'] ))) && (isset ( $arguments ['relatedvideos'] ) && $arguments ['relatedvideos'] == 'on'))) {
  • contus-video-gallery/trunk/hdflvvideoshare.php

    r976447 r977779  
    876876                    <meta itemprop="name" content="'.$videoname.'" />
    877877                    <meta itemprop="thumbnail" content="'.$imageFea.'" />
    878                     <meta itemprop="description" content="'.$description.'" />
     878                    <meta itemprop="description" content="'.strip_tags($description).'" />
    879879                </div>
    880880                <meta itemprop="image" content="'.$imageFea.'" />
Note: See TracChangeset for help on using the changeset viewer.