Version Description
Requires BuddyPress 1.7 or higher, if using BuddyPress. Bug fixes.
=
Download this release
Release Info
Developer | rtcamp |
Plugin | rtMedia for WordPress, BuddyPress and bbPress |
Version | 4.0.5 |
Comparing to | |
See all releases |
Code changes from version 4.0.4 to 4.0.5
- app/admin/RTMediaAdmin.php +4 -4
- app/assets/js/rtMedia.backbone.js +21 -4
- app/assets/js/rtMedia.js +7 -6
- app/assets/js/rtmedia.min.js +1 -1
- app/helper/RTMediaSupport.php +7 -1
- app/main/controllers/activity/RTMediaBuddyPressActivity.php +159 -156
- app/main/controllers/template/RTMediaTemplate.php +22 -3
- app/main/controllers/template/rt-template-functions.php +7 -7
- app/main/controllers/upload/RTMediaUploadEndpoint.php +1 -2
- index.php +1 -1
- languages/buddypress-media.po +235 -235
- readme.txt +11 -3
- templates/media/album-single-edit.php +1 -1
app/admin/RTMediaAdmin.php
CHANGED
@@ -2050,11 +2050,11 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
|
|
2050 |
if ( ! $site_option || 'hide' !== $site_option ) {
|
2051 |
rtmedia_update_site_option( 'rtmedia-update-template-notice-v3_9_4', 'show' );
|
2052 |
if ( is_dir( get_template_directory() . '/rtmedia' ) ) {
|
2053 |
-
echo '<div class="error rtmedia-update-template-notice"><p>' . esc_html__( 'Please update rtMedia template files if you have overridden the default rtMedia templates in your theme. If not, you can ignore and hide this notice.', 'buddypress-media' ) . '<a href="#" onclick="rtmedia_hide_template_override_notice()" style="float:right">' . esc_html__( 'Hide', 'buddypress-media' ) . '</a></p></div>';
|
2054 |
?>
|
2055 |
<script type="text/javascript">
|
2056 |
-
function rtmedia_hide_template_override_notice() {
|
2057 |
-
var data = {action: 'rtmedia_hide_template_override_notice', _rtm_nonce:
|
2058 |
jQuery.post(ajaxurl, data, function (response) {
|
2059 |
response = response.trim();
|
2060 |
if ('1' === response)
|
@@ -2069,7 +2069,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
|
|
2069 |
|
2070 |
function rtmedia_hide_template_override_notice() {
|
2071 |
|
2072 |
-
if ( check_ajax_referer( '
|
2073 |
echo '1';
|
2074 |
} else {
|
2075 |
echo '0';
|
2050 |
if ( ! $site_option || 'hide' !== $site_option ) {
|
2051 |
rtmedia_update_site_option( 'rtmedia-update-template-notice-v3_9_4', 'show' );
|
2052 |
if ( is_dir( get_template_directory() . '/rtmedia' ) ) {
|
2053 |
+
echo '<div class="error rtmedia-update-template-notice"><p>' . esc_html__( 'Please update rtMedia template files if you have overridden the default rtMedia templates in your theme. If not, you can ignore and hide this notice.', 'buddypress-media' ) . '<a href="#" onclick="rtmedia_hide_template_override_notice(\''.esc_js( wp_create_nonce( 'rtmedia_template_notice' ) ).'\')" style="float:right">' . esc_html__( 'Hide', 'buddypress-media' ) . '</a></p></div>';
|
2054 |
?>
|
2055 |
<script type="text/javascript">
|
2056 |
+
function rtmedia_hide_template_override_notice( rtmedia_template_notice_nonce ) {
|
2057 |
+
var data = {action: 'rtmedia_hide_template_override_notice', _rtm_nonce: rtmedia_template_notice_nonce };
|
2058 |
jQuery.post(ajaxurl, data, function (response) {
|
2059 |
response = response.trim();
|
2060 |
if ('1' === response)
|
2069 |
|
2070 |
function rtmedia_hide_template_override_notice() {
|
2071 |
|
2072 |
+
if ( check_ajax_referer( 'rtmedia_template_notice', '_rtm_nonce' ) && rtmedia_update_site_option( 'rtmedia-update-template-notice-v3_9_4', 'hide' ) ) {
|
2073 |
echo '1';
|
2074 |
} else {
|
2075 |
echo '0';
|
app/assets/js/rtMedia.backbone.js
CHANGED
@@ -282,8 +282,11 @@ jQuery( function ( $ ) {
|
|
282 |
}
|
283 |
} );
|
284 |
|
285 |
-
|
286 |
-
|
|
|
|
|
|
|
287 |
$( '.rtm-pagination' ).before( "<div class='rtm-media-loading'><img src='" + rMedia_loading_media + "' /></div>" );
|
288 |
} else {
|
289 |
jQuery( '.rtm-media-loading' ).show();
|
@@ -303,14 +306,20 @@ jQuery( function ( $ ) {
|
|
303 |
nextpage = parseInt( $( '#rtmedia_last_page' ).val() );
|
304 |
} else {
|
305 |
nextpage = parseInt( $( '#rtmedia_go_to_num' ).val() );
|
306 |
-
|
|
|
|
|
|
|
|
|
307 |
}
|
308 |
|
309 |
if ( $( this ).data( 'page-type' ) == 'num' ) {
|
310 |
galleryObj.getNext( nextpage, $( this ).parent().parent().parent().parent().parent(), $( this ).parent().parent() );
|
311 |
} else {
|
312 |
galleryObj.getNext( nextpage, $( this ).parent().parent().parent().parent().parent(), $( this ).parent().parent() );
|
313 |
-
|
|
|
|
|
314 |
} );
|
315 |
|
316 |
if ( window.location.pathname.indexOf( rtmedia_media_slug ) != - 1 ) {
|
@@ -1384,3 +1393,11 @@ function rtmedia_selected_file_list( plupload, file, uploader, error ) {
|
|
1384 |
}
|
1385 |
|
1386 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
282 |
}
|
283 |
} );
|
284 |
|
285 |
+
$( document ).on( "click", ".rtmedia-page-link", function ( e ) {
|
286 |
+
/* Get current clicked href value */
|
287 |
+
href = $( this ).attr( 'href' );
|
288 |
+
|
289 |
+
if ( jQuery( '.rtm-media-loading' ).length == 0 ) {
|
290 |
$( '.rtm-pagination' ).before( "<div class='rtm-media-loading'><img src='" + rMedia_loading_media + "' /></div>" );
|
291 |
} else {
|
292 |
jQuery( '.rtm-media-loading' ).show();
|
306 |
nextpage = parseInt( $( '#rtmedia_last_page' ).val() );
|
307 |
} else {
|
308 |
nextpage = parseInt( $( '#rtmedia_go_to_num' ).val() );
|
309 |
+
}
|
310 |
+
|
311 |
+
/* Set page url for input type num pagination */
|
312 |
+
page_base_url = $( this ).data( 'page-base-url' );
|
313 |
+
href = page_base_url + nextpage;
|
314 |
}
|
315 |
|
316 |
if ( $( this ).data( 'page-type' ) == 'num' ) {
|
317 |
galleryObj.getNext( nextpage, $( this ).parent().parent().parent().parent().parent(), $( this ).parent().parent() );
|
318 |
} else {
|
319 |
galleryObj.getNext( nextpage, $( this ).parent().parent().parent().parent().parent(), $( this ).parent().parent() );
|
320 |
+
}
|
321 |
+
change_rtBrowserAddressUrl( href, '' );
|
322 |
+
|
323 |
} );
|
324 |
|
325 |
if ( window.location.pathname.indexOf( rtmedia_media_slug ) != - 1 ) {
|
1393 |
}
|
1394 |
|
1395 |
}
|
1396 |
+
|
1397 |
+
/* Change URLin browser without reloading the page */
|
1398 |
+
function change_rtBrowserAddressUrl( url, page ) {
|
1399 |
+
if ( typeof ( history.pushState ) != "undefined" ) {
|
1400 |
+
var obj = { Page: page, Url: url };
|
1401 |
+
history.pushState( obj, obj.Page, obj.Url );
|
1402 |
+
}
|
1403 |
+
}
|
app/assets/js/rtMedia.js
CHANGED
@@ -695,8 +695,8 @@ function rtm_masonry_reload( el ) {
|
|
695 |
var config = {
|
696 |
showChars: 100,
|
697 |
ellipsesText: "...",
|
698 |
-
moreText: "more",
|
699 |
-
lessText: "less"
|
700 |
};
|
701 |
|
702 |
if ( settings ) {
|
@@ -714,9 +714,10 @@ function rtm_masonry_reload( el ) {
|
|
714 |
} else {
|
715 |
$this.addClass( 'less' );
|
716 |
$this.html( config.lessText );
|
717 |
-
|
718 |
-
|
719 |
-
$this.prev().toggle();
|
|
|
720 |
return false;
|
721 |
} }, '.morelink' );
|
722 |
|
@@ -732,7 +733,7 @@ function rtm_masonry_reload( el ) {
|
|
732 |
var h = content.substr( config.showChars, content.length - config.showChars );
|
733 |
var html = c + '<span class="moreellipses">' + config.ellipsesText + ' </span><span class="morecontent"><span>' + h + '</span> <a href="#" class="morelink">' + config.moreText + '</a></span>';
|
734 |
$this.html( html );
|
735 |
-
$( ".morecontent
|
736 |
}
|
737 |
} );
|
738 |
|
695 |
var config = {
|
696 |
showChars: 100,
|
697 |
ellipsesText: "...",
|
698 |
+
moreText: "Read more",
|
699 |
+
lessText: "Show less"
|
700 |
};
|
701 |
|
702 |
if ( settings ) {
|
714 |
} else {
|
715 |
$this.addClass( 'less' );
|
716 |
$this.html( config.lessText );
|
717 |
+
}
|
718 |
+
|
719 |
+
$this.prev().children( '.morecontent' ).toggle();
|
720 |
+
$this.prev().children( '.moreellipses' ).toggle();
|
721 |
return false;
|
722 |
} }, '.morelink' );
|
723 |
|
733 |
var h = content.substr( config.showChars, content.length - config.showChars );
|
734 |
var html = c + '<span class="moreellipses">' + config.ellipsesText + ' </span><span class="morecontent"><span>' + h + '</span> <a href="#" class="morelink">' + config.moreText + '</a></span>';
|
735 |
$this.html( html );
|
736 |
+
$( ".morecontent" ).hide();
|
737 |
}
|
738 |
} );
|
739 |
|
app/assets/js/rtmedia.min.js
CHANGED
@@ -3,4 +3,4 @@
|
|
3 |
* @package rtMedia
|
4 |
*/
|
5 |
function apply_rtMagnificPopup(a){jQuery("document").ready(function(b){var c="";c="undefined"==typeof rtmedia_load_more?"Loading media":rtmedia_load_more,"undefined"!=typeof rtmedia_lightbox_enabled&&"1"==rtmedia_lightbox_enabled&&(b(".activity-item .rtmedia-activity-container .rtmedia-list-item > a").siblings("p").children("a").length>0&&b(".activity-item .rtmedia-activity-container .rtmedia-list-item > a").siblings("p").children("a").addClass("no-popup"),rtMagnificPopup=jQuery(a).magnificPopup({delegate:"a:not(.no-popup, .mejs-time-slider, .mejs-volume-slider, .mejs-horizontal-volume-slider)",type:"ajax",tLoading:c+" #%curr%...",mainClass:"mfp-img-mobile",preload:[1,3],closeOnBgClick:!0,gallery:{enabled:!0,navigateByImgClick:!0,arrowMarkup:"",preload:[0,1]},image:{tError:'<a href="%url%">The image #%curr%</a> could not be loaded.',titleSrc:function(a){return a.el.attr("title")+"<small>by Marsel Van Oosten</small>"}},callbacks:{ajaxContentAdded:function(){a=jQuery.magnificPopup.instance,1===jQuery(a.items).size()&&jQuery(".mfp-arrow").remove();var a=jQuery.magnificPopup.instance,c=a.currItem.el,d=c.parent();if(d.is("li")||(d=d.parent()),d.is(":nth-last-child(2)")||d.is(":last-child")){d.next();"block"==jQuery("#rtMedia-galary-next").css("display")&&jQuery("#rtMedia-galary-next").click()}var e=a.items.length;if(a.index==e-1&&!d.is(":last-child"))return void c.click();var f={};"undefined"!=typeof _wpmejsSettings&&(f.pluginPath=_wpmejsSettings.pluginPath),b(".mfp-content .wp-audio-shortcode,.mfp-content .wp-video-shortcode,.mfp-content .bp_media_content video").mediaelementplayer({defaultVideoWidth:480,defaultVideoHeight:270,success:function(a,b){a.play()}}),b(".mfp-content .mejs-audio .mejs-controls").css("position","relative"),rtMediaHook.call("rtmedia_js_popup_after_content_added",[])},close:function(a){rtmedia_init_action_dropdown()},BeforeChange:function(a){}}}))})}function rtmedia_init_action_dropdown(){var a,b;jQuery(".click-nav > span, .click-nav > div").toggleClass("no-js js"),jQuery(".click-nav .js ul").hide(),jQuery(".click-nav .clicker").click(function(c){a=jQuery("#rtm-media-options .click-nav .clicker").next("ul"),b=jQuery(this).next("ul"),jQuery.each(a,function(a,c){jQuery(c).html()!=b.html()&&jQuery(c).hide()}),jQuery(b).toggle(),c.stopPropagation()})}function bp_media_create_element(a){return!1}function rtmedia_version_compare(a,b){if(typeof a+typeof b!="stringstring")return!1;for(var c=a.split("."),d=b.split("."),e=0,f=Math.max(c.length,d.length);e<f;e++){if(c[e]&&!d[e]&&parseInt(c[e])>0||parseInt(c[e])>parseInt(d[e]))return!0;if(d[e]&&!c[e]&&parseInt(d[e])>0||parseInt(c[e])<parseInt(d[e]))return!1}return!0}function rtm_is_element_exist(a){return jQuery(a).length>0}function rtm_masonry_reload(a){setTimeout(function(){a.masonry("reload")},250)}function rtmediaGetParameterByName(a){a=a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var b=new RegExp("[\\?&]"+a+"=([^&#]*)"),c=b.exec(location.search);return null==c?"":decodeURIComponent(c[1].replace(/\+/g," "))}function rtmedia_single_media_alert_message(a,b){var c="rtmedia-success";"warning"==b&&(c="rtmedia-warning"),jQuery(".rtmedia-single-media .rtmedia-media").css("opacity","0.2"),jQuery(".rtmedia-single-media .rtmedia-media").after("<div class='rtmedia-message-container'><span class='"+c+"'>"+a+" </span></div>"),setTimeout(function(){jQuery(".rtmedia-single-media .rtmedia-media").css("opacity","1"),jQuery(".rtmedia-message-container").remove()},3e3),jQuery(".rtmedia-message-container").click(function(){jQuery(".rtmedia-single-media .rtmedia-media").css("opacity","1"),jQuery(".rtmedia-message-container").remove()})}function rtmedia_gallery_action_alert_message(a,b){var c="rtmedia-success";"warning"==b&&(c="rtmedia-warning");var d='<div class="rtmedia-gallery-alert-container"> </div>';jQuery("body").append(d),jQuery(".rtmedia-gallery-alert-container").append("<div class='rtmedia-gallery-message-box'><span class='"+c+"'>"+a+" </span></div>"),setTimeout(function(){jQuery(".rtmedia-gallery-alert-container").remove()},3e3),jQuery(".rtmedia-gallery-message-box").click(function(){jQuery(".rtmedia-gallery-alert-container").remove()})}!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(a){var b,c,d,e,f,g,h="Close",i="BeforeClose",j="AfterClose",k="BeforeAppend",l="MarkupParse",m="Open",n="Change",o="mfp",p="."+o,q="mfp-ready",r="mfp-removing",s="mfp-prevent-close",t=function(){},u=!!window.jQuery,v=a(window),w=function(a,c){b.ev.on(o+a+p,c)},x=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},z=function(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),g=c),b.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(b=new t,b.init(),a.magnificPopup.instance=b)},B=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};t.prototype={constructor:t,init:function(){var c=navigator.appVersion;b.isIE7=c.indexOf("MSIE 7.")!==-1,b.isIE8=c.indexOf("MSIE 8.")!==-1,b.isLowIE=b.isIE7||b.isIE8,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=B(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var e;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var g,h=c.items;for(e=0;e<h.length;e++)if(g=h[e],g.parsed&&(g=g.el[0]),g===c.el[0]){b.index=e;break}}else b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(b.isOpen)return void b.updateItemHTML();b.types=[],f="",c.mainEl&&c.mainEl.length?b.ev=c.mainEl.eq(0):b.ev=d,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos="auto"===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=x("bg").on("click"+p,function(){b.close()}),b.wrap=x("wrap").attr("tabindex",-1).on("click"+p,function(a){b._checkIfClose(a.target)&&b.close()}),b.container=x("container",b.wrap)),b.contentContainer=x("content"),b.st.preloader&&(b.preloader=x("preloader",b.container,b.st.tLoading));var i=a.magnificPopup.modules;for(e=0;e<i.length;e++){var j=i[e];j=j.charAt(0).toUpperCase()+j.slice(1),b["init"+j].call(b)}y("BeforeOpen"),b.st.showCloseBtn&&(b.st.closeBtnInside?(w(l,function(a,b,c,d){c.close_replaceWith=z(d.type)}),f+=" mfp-close-btn-in"):b.wrap.append(z())),b.st.alignTop&&(f+=" mfp-align-top"),b.fixedContentPos?b.wrap.css({overflow:b.st.overflowY,overflowX:"hidden",overflowY:b.st.overflowY}):b.wrap.css({top:v.scrollTop(),position:"absolute"}),(b.st.fixedBgPos===!1||"auto"===b.st.fixedBgPos&&!b.fixedContentPos)&&b.bgOverlay.css({height:d.height(),position:"absolute"}),b.st.enableEscapeKey&&d.on("keyup"+p,function(a){27===a.keyCode&&b.close()}),v.on("resize"+p,function(){b.updateSize()}),b.st.closeOnContentClick||(f+=" mfp-auto-cursor"),f&&b.wrap.addClass(f);var k=b.wH=v.height(),n={};if(b.fixedContentPos&&b._hasScrollBar(k)){var o=b._getScrollbarSize();o&&(n.marginRight=o)}b.fixedContentPos&&(b.isIE7?a("body, html").css("overflow","hidden"):n.overflow="hidden");var r=b.st.mainClass;return b.isIE7&&(r+=" mfp-ie7"),r&&b._addClassToMFP(r),b.updateItemHTML(),y("BuildControls"),a("html").css(n),b.bgOverlay.add(b.wrap).prependTo(b.st.prependTo||a(document.body)),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(q),b._setFocus()):b.bgOverlay.addClass(q),d.on("focusin"+p,b._onFocusIn)},16),b.isOpen=!0,b.updateSize(k),y(m),c},close:function(){b.isOpen&&(y(i),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(r),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},_close:function(){y(h);var c=r+" "+q+" ";if(b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(c+=b.st.mainClass+" "),b._removeClassFromMFP(c),b.fixedContentPos){var e={marginRight:""};b.isIE7?a("body, html").css("overflow",""):e.overflow="",a("html").css(e)}d.off("keyup"+p+" focusin"+p),b.ev.off(p),b.wrap.attr("class","mfp-wrap").removeAttr("style"),b.bgOverlay.attr("class","mfp-bg"),b.container.attr("class","mfp-container"),!b.st.showCloseBtn||b.st.closeBtnInside&&b.currTemplate[b.currItem.type]!==!0||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b._lastFocusedEl&&a(b._lastFocusedEl).focus(),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,y(j)},updateSize:function(a){if(b.isIOS){var c=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*c;b.wrap.css("height",d),b.wH=d}else b.wH=a||v.height();b.fixedContentPos||b.wrap.css("height",b.wH),y("Resize")},updateItemHTML:function(){var c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach(),c.parsed||(c=b.parseEl(b.index));var d=c.type;if(y("BeforeChange",[b.currItem?b.currItem.type:"",d]),b.currItem=c,!b.currTemplate[d]){var f=!!b.st[d]&&b.st[d].markup;y("FirstMarkupParse",f),f?b.currTemplate[d]=a(f):b.currTemplate[d]=!0}e&&e!==c.type&&b.container.removeClass("mfp-"+e+"-holder");var g=b["get"+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,y(n,c),e=c.type,b.container.prepend(b.contentContainer),y("AfterChange")},appendContent:function(a,c){b.content=a,a?b.st.showCloseBtn&&b.st.closeBtnInside&&b.currTemplate[c]===!0?b.content.find(".mfp-close").length||b.content.append(z()):b.content=a:b.content="",y(k),b.container.addClass("mfp-"+c+"-holder"),b.contentContainer.append(b.content)},parseEl:function(c){var d,e=b.items[c];if(e.tagName?e={el:a(e)}:(d=e.type,e={data:e,src:e.src}),e.el){for(var f=b.types,g=0;g<f.length;g++)if(e.el.hasClass("mfp-"+f[g])){d=f[g];break}e.src=e.el.attr("data-mfp-src"),e.src||(e.src=e.el.attr("href"))}return e.type=d||b.st.type||"inline",e.index=c,e.parsed=!0,b.items[c]=e,y("ElementParse",e),b.items[c]},addGroup:function(a,c){var d=function(d){d.mfpEl=this,b._openClick(d,a,c)};c||(c={});var e="click.magnificPopup";c.mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a,a.off(e).on(e,d)))},_openClick:function(c,d,e){var f=void 0!==e.midClick?e.midClick:a.magnificPopup.defaults.midClick;if(f||2!==c.which&&!c.ctrlKey&&!c.metaKey){var g=void 0!==e.disableOn?e.disableOn:a.magnificPopup.defaults.disableOn;if(g)if(a.isFunction(g)){if(!g.call(b))return!0}else if(v.width()<g)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},updateStatus:function(a,d){if(b.preloader){c!==a&&b.container.removeClass("mfp-s-"+c),d||"loading"!==a||(d=b.st.tLoading);var e={status:a,text:d};y("UpdateStatus",e),a=e.status,d=e.text,b.preloader.html(d),b.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),b.container.addClass("mfp-s-"+a),c=a}},_checkIfClose:function(c){if(!a(c).hasClass(s)){var d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass("mfp-close")||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else if(e&&a.contains(document,c))return!0;return!1}},_addClassToMFP:function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},_hasScrollBar:function(a){return(b.isIE7?d.height():document.body.scrollHeight)>(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){if(c.target!==b.wrap[0]&&!a.contains(b.wrap[0],c.target))return b._setFocus(),!1},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(a,c){if(void 0===c||c===!1)return!0;if(e=a.split("_"),e.length>1){var d=b.find(p+"-"+e[0]);if(d.length>0){var f=e[1];"replaceWith"===f?d[0]!==c[0]&&d.replaceWith(c):"img"===f?d.is("img")?d.attr("src",c):d.replaceWith('<img src="'+c+'" class="'+d.attr("class")+'" />'):d.attr(e[1],c)}}else b.find(p+"-"+a).html(c)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return A(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},a.fn.magnificPopup=function(c){A();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=u?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else c=a.extend(!0,{},c),u?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var C,D,E,F="inline",G=function(){E&&(D.after(E.addClass(C)).detach(),E=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(F),w(h+"."+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C="mfp-"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("<div>");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var H,I="ajax",J=function(){H&&a(document.body).removeClass(H)},K=function(){J(),b.req&&b.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+"."+I,K),w("BeforeChange."+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus("loading");var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};y("ParseAjax",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),""}}});var L,M=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off("resize"+p)}),w("Resize"+d,b.resizeImage),b.isLowIE&&w("AfterChange",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(L),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,y("ImageLoadComplete")):(e++,e<200?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=document.createElement("img");j.className="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return b._parseMarkup(d,{title:M(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var N,O=function(){return void 0===N&&(N=void 0!==document.createElement("p").style.MozTransform),N};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a,c=b.st.zoom,d=".zoom";if(c.enabled&&b.supportsTransition){var e,f,g=c.duration,j=function(a){var b=a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+c.duration/1e3+"s "+c.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")};w("BuildControls"+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css("visibility","hidden"),a=b._getItemToZoom(),!a)return void k();f=j(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y("ZoomAnimationEnded")},16)},g)},16)}}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(a=b._getItemToZoom(),!a)return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return!!b.currItem.hasSize&&b.currItem.img},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(u?d.innerHeight():d[0].offsetHeight)-g-f};return O()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var P="iframe",Q="//about:blank",R=function(a){if(b.currTemplate[P]){var c=b.currTemplate[P].find("iframe");c.length&&(a||(c[0].src=Q),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(P,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){if(e.indexOf(this.index)>-1)return this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:a<0?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=b.st.gallery,e=".mfp-gallery",g=Boolean(a.fn.mfpFastClick);return b.direction=!0,!(!c||!c.enabled)&&(f+=" mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){if(b.items.length>1)return b.next(),!1}),d.on("keydown"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s),h=g?"mfpFastClick":"click";e[h](function(){b.prev()}),f[h](function(){b.next()}),b.isIE7&&(x("b",e[0],!1,!0),x("a",e[0],!1,!0),x("b",f[0],!1,!0),x("a",f[0],!1,!0)),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowLeft&&g&&b.arrowLeft.add(b.arrowRight).destroyMfpFastClick(),b.arrowRight=b.arrowLeft=null}))},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('<img class="mfp-img" />').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),function(){var b=1e3,c="ontouchstart"in window,d=function(){v.off("touchmove"+f+" touchend"+f)},e="mfpFastClick",f="."+e;a.fn.mfpFastClick=function(e){return a(this).each(function(){var g,h=a(this);if(c){var i,j,k,l,m,n;h.on("touchstart"+f,function(a){l=!1,n=1,m=a.originalEvent?a.originalEvent.touches[0]:a.touches[0],j=m.clientX,k=m.clientY,v.on("touchmove"+f,function(a){m=a.originalEvent?a.originalEvent.touches:a.touches,n=m.length,m=m[0],(Math.abs(m.clientX-j)>10||Math.abs(m.clientY-k)>10)&&(l=!0,d())}).on("touchend"+f,function(a){d(),l||n>1||(g=!0,a.preventDefault(),clearTimeout(i),i=setTimeout(function(){g=!1},b),e())})})}h.on("click"+f,function(){g||e()})})},a.fn.destroyMfpFastClick=function(){a(this).off("touchstart"+f+" click"+f),c&&v.off("touchmove"+f+" touchend"+f)}}(),A()}),"function"!=typeof Object.create&&(Object.create=function(a){function b(){}return b.prototype=a,new b}),function(a,b,c,d){var e={init:function(b,c){var d=this;d.elem=c,d.$elem=a(c),d.options=a.extend({},a.fn.rtTab.options,b),d.rtTabs()},rtTabs:function(){var c=this,d=c.options.activeTab;c.$elem.find("li:nth-child("+d+")").addClass("active"),c.rtTabContent(activeTabContent="yes"),c.rtClick();var e="false"!==c.$elem.attr("data-hash");if(e===!0){var f=b.location.hash;f&&c.$elem.find("li").find('a[href="'+f+'"]').trigger("click"),a(b).on("hashchange",function(){var a=b.location.hash;c.$elem.find("li").find('a[href="'+a+'"]').trigger("click")})}},rtClick:function(){var c=this,d=c.$elem.find("li"),e=d.find("a");e.on("click",function(e){e.preventDefault(),d.removeClass("active"),c.rtTabContent(),a(this).parent().addClass("active");var f=a(this).attr("href");a(f).removeClass("hide");var g="false"!==c.$elem.attr("data-hash");if(g===!0){var h=a(b).scrollTop();location.hash=a(this).attr("href"),a(b).scrollTop(h)}"function"==typeof c.options.onComplete&&c.options.onComplete.apply(c.elem,arguments)})},rtTabContent:function(b){var c=this,d=c.$elem.find("li"),e=d.find("a");e.each(function(){var c=a(this),d=c.attr("href");"yes"===b?c.parent().hasClass("active")||a(d).addClass("hide"):a(d).addClass("hide")})}};a.fn.rtTab=function(b){return this.each(function(){var c=Object.create(e);c.init(b,this),a.data(this,"rtTab",c)})},a.fn.rtTab.options={activeTab:1,onComplete:null}}(jQuery,window,document);var rtMagnificPopup,rtm_masonry_container,rtMediaHook={hooks:[],is_break:!1,register:function(a,b){"undefined"==typeof rtMediaHook.hooks[a]&&(rtMediaHook.hooks[a]=[]),rtMediaHook.hooks[a].push(b)},call:function(a,arguments){if("undefined"!=typeof rtMediaHook.hooks[a])for(i=0;i<rtMediaHook.hooks[a].length;++i)if(1!=rtMediaHook.hooks[a][i](arguments))return rtMediaHook.is_break=!0,!1;return!0}};jQuery("document").ready(function(a){function b(){if(jQuery("#rtmedia-media-view-form").length>0){var a=jQuery("#rtmedia-media-view-form").attr("action");jQuery.post(a,{},function(a){})}}function c(){var a=jQuery.magnificPopup.instance;jQuery(".mfp-arrow-right").on("click",function(b){a.next()}),jQuery(".mfp-arrow-left").on("click",function(b){a.prev()}),jQuery(".mfp-content .rtmedia-media").swipe({swipeLeft:function(b,c,d,e,f){a.next()},swipeRight:function(b,c,d,e,f){a.prev()},threshold:0})}function d(){jQuery(document).on("focusin","#comment_content",function(){jQuery(document).unbind("keydown")}),jQuery(document).on("focusout","#comment_content",function(){var a=jQuery.magnificPopup.instance;jQuery(document).on("keydown",function(b){37===b.keyCode?a.prev():39===b.keyCode&&a.next()})})}function e(){jQuery(".rtmedia-container").on("click",".rtmedia-delete-media",function(a){a.preventDefault(),confirm(rtmedia_media_delete_confirmation)&&jQuery(this).closest("form").submit()})}"undefined"!=typeof a.fn.rtTab&&a(".rtm-tabs").rtTab(),jQuery(".rtmedia-modal-link").length>0&&a(".rtmedia-modal-link").magnificPopup({type:"inline",midClick:!0,closeBtnInside:!0}),a("#rt_media_comment_form").submit(function(b){return""!=a.trim(a("#comment_content").val())||(0==jQuery("#rtmedia-single-media-container").length?rtmedia_gallery_action_alert_message(rtmedia_empty_comment_msg,"warning"):rtmedia_single_media_alert_message(rtmedia_empty_comment_msg,"warning"),!1)}),a("li.rtmedia-list-item p a").each(function(b){a(this).addClass("no-popup")}),a("li.rtmedia-list-item p a").each(function(b){a(this).addClass("no-popup")}),"undefined"!=typeof rtmedia_lightbox_enabled&&"1"==rtmedia_lightbox_enabled&&apply_rtMagnificPopup(".rtmedia-list-media, .rtmedia-activity-container ul.rtmedia-list, #bp-media-list,.bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content, .rtm-bbp-container, ul.rtm-comment-container"),jQuery.ajaxPrefilter(function(a,b,c){try{if(null==b.data||"undefined"==typeof b.data||"undefined"==typeof b.data.action)return!0}catch(d){return!0}if("activity_get_older_updates"==b.data.action){var e=b.success;a.success=function(a){e(a),apply_rtMagnificPopup(".rtmedia-activity-container ul.rtmedia-list, #bp-media-list, .bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content"),rtMediaHook.call("rtmedia_js_after_activity_added",[])}}else if("get_single_activity_content"==b.data.action){var e=b.success;a.success=function(a){e(a),setTimeout(function(){apply_rtMagnificPopup(".rtmedia-activity-container ul.rtmedia-list, #bp-media-list, .bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content"),jQuery("ul.activity-list li.rtmedia_update:first-child .wp-audio-shortcode, ul.activity-list li.rtmedia_update:first-child .wp-video-shortcode").mediaelementplayer({defaultVideoWidth:480,defaultVideoHeight:270})},900)}}}),jQuery.ajaxPrefilter(function(a,b,c){try{if(null==b.data||"undefined"==typeof b.data||"undefined"==typeof b.data.action)return!0}catch(d){return!0}if("activity_get_older_updates"==b.data.action){var e=b.success;a.success=function(a){e(a),apply_rtMagnificPopup(".rtmedia-activity-container ul.rtmedia-list, #bp-media-list, .bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content"),jQuery("ul.activity-list li.rtmedia_update div.rtmedia-item-thumbnail > audio.wp-audio-shortcode, ul.activity-list li.rtmedia_update div.rtmedia-item-thumbnail > video.wp-video-shortcode").mediaelementplayer({defaultVideoWidth:480,defaultVideoHeight:270}),rtMediaHook.call("rtmedia_js_after_activity_added",[])}}}),jQuery(".rtmedia-container").on("click",".select-all",function(a){jQuery(this).toggleClass("unselect-all").toggleClass("select-all"),jQuery(this).attr("title",rtmedia_unselect_all_visible),jQuery(".rtmedia-list input").each(function(){jQuery(this).prop("checked",!0)}),jQuery(".rtmedia-list-item").addClass("bulk-selected")}),jQuery(".rtmedia-container").on("click",".unselect-all",function(a){jQuery(this).toggleClass("select-all").toggleClass("unselect-all"),jQuery(this).attr("title",rtmedia_select_all_visible),jQuery(".rtmedia-list input").each(function(){jQuery(this).prop("checked",!1)}),jQuery(".rtmedia-list-item").removeClass("bulk-selected")}),jQuery(".rtmedia-container").on("click",".rtmedia-move",function(a){jQuery(".rtmedia-delete-container").slideUp(),jQuery(".rtmedia-move-container").slideToggle()}),jQuery("#rtmedia-create-album-modal").on("click","#rtmedia_create_new_album",function(b){if($albumname=jQuery("<span/>").text(jQuery.trim(jQuery("#rtmedia_album_name").val())).html(),$context=jQuery.trim(jQuery("#rtmedia_album_context").val()),
|
6 |
-
$context_id=jQuery.trim(jQuery("#rtmedia_album_context_id").val()),$privacy=jQuery.trim(jQuery("#rtmedia_select_album_privacy").val()),$create_album_nonce=jQuery.trim(jQuery("#rtmedia_create_album_nonce").val()),""!=$albumname){var c={action:"rtmedia_create_album",name:$albumname,context:$context,context_id:$context_id,create_album_nonce:$create_album_nonce};""!==$privacy&&(c.privacy=$privacy),a("#rtmedia_create_new_album").attr("disabled","disabled");var d=a("#rtmedia_create_new_album").html();a("#rtmedia_create_new_album").prepend("<img src='"+rMedia_loading_file+"' />"),jQuery.post(rtmedia_ajax_url,c,function(b){if("undefined"!=typeof b.album){b=jQuery.trim(b.album);var c=!0;jQuery(".rtmedia-user-album-list").each(function(){if(jQuery(this).children("optgroup").each(function(){if(jQuery(this).attr("value")===$context)return c=!1,void jQuery(this).append('<option value="'+b+'">'+$albumname+"</option>")}),c){var a=$context.charAt(0).toUpperCase()+$context.slice(1)+" "+rtmedia_main_js_strings.rtmedia_albums,d='<optgroup value="'+$context+'" label="'+a+'"><option value="'+b+'">'+$albumname+"</option></optgroup>";jQuery(this).append(d)}}),jQuery('select.rtmedia-user-album-list option[value="'+b+'"]').prop("selected",!0),jQuery(".rtmedia-create-new-album-container").slideToggle(),jQuery("#rtmedia_album_name").val(""),jQuery("#rtmedia-create-album-modal").append("<div class='rtmedia-success rtmedia-create-album-alert'><b>"+$albumname+"</b>"+rtmedia_album_created_msg+"</div>"),setTimeout(function(){jQuery(".rtmedia-create-album-alert").remove()},4e3),setTimeout(function(){galleryObj.reloadView(),jQuery(".close-reveal-modal").click()},2e3)}else"undefined"!=typeof b.error?rtmedia_gallery_action_alert_message(b.error,"warning"):rtmedia_gallery_action_alert_message(rtmedia_something_wrong_msg,"warning");a("#rtmedia_create_new_album").removeAttr("disabled"),a("#rtmedia_create_new_album").html(d)})}else rtmedia_gallery_action_alert_message(rtmedia_empty_album_name_msg,"warning")}),jQuery(".rtmedia-container").on("click",".rtmedia-delete-selected",function(a){jQuery(".rtmedia-list :checkbox:checked").length>0?confirm(rtmedia_selected_media_delete_confirmation)&&jQuery(this).closest("form").attr("action","../../../"+rtmedia_media_slug+"/delete").submit():rtmedia_gallery_action_alert_message(rtmedia_no_media_selected,"warning")}),jQuery(".rtmedia-container").on("click",".rtmedia-move-selected",function(a){jQuery(".rtmedia-list :checkbox:checked").length>0?confirm(rtmedia_selected_media_move_confirmation)&&jQuery(this).closest("form").attr("action","").submit():rtmedia_gallery_action_alert_message(rtmedia_no_media_selected,"warning")}),jQuery("#buddypress").on("change",".rtm-activity-privacy-opt",function(){var a=jQuery(this).attr("id");a=a.split("-"),a=a[a.length-1];var b=this;data={activity_id:a,privacy:jQuery(this).val(),nonce:jQuery("#rtmedia_activity_privacy_nonce").val(),action:"rtm_change_activity_privacy"},jQuery.post(ajaxurl,data,function(a){var c="",d="";"true"==a?(c=rtmedia_main_js_strings.privacy_update_success,d="success"):(c=rtmedia_main_js_strings.privacy_update_error,d="fail"),jQuery(b).after('<p class="rtm-ac-privacy-updated '+d+'">'+c+"</p>"),setTimeout(function(){jQuery(b).siblings(".rtm-ac-privacy-updated").remove()},2e3)})}),b(),rtMediaHook.register("rtmedia_js_popup_after_content_added",function(){b(),e(),mfp=jQuery.magnificPopup.instance,jQuery(mfp.items).size()>1&&c(),d();var f=a(window).height();jQuery(".rtm-lightbox-container .mejs-video").css({height:.8*f,"max-height":.8*f,"over-flow":"hidden"}),jQuery(".mfp-content .rtmedia-media").css({"max-height":.87*f,"over-flow":"hidden"}),rtmedia_init_action_dropdown(),jQuery(".rtmedia-comment-link").on("click",function(a){a.preventDefault(),jQuery("#comment_content").focus()}),jQuery(".rtm-more").shorten({showChars:130});var g=a(".rtm-gallery-title"),h="";h=a.isEmptyObject(g)?a("#subnav.item-list-tabs li.selected ").html():g.html(),""!=h&&a(".rtm-ltb-gallery-title .ltb-title").html(h);var i=a("#subnav.item-list-tabs li.selected span").html();return a("li.total").html(i),!0});var f=jQuery("#drag-drop-area"),g=jQuery("#whats-new");f.html();jQuery("#rtmedia-upload-container").after("<div id='rtm-drop-files-title'>"+rtmedia_drop_media_msg+"</div>"),"undefined"!=typeof rtmedia_bp_enable_activity&&"1"==rtmedia_bp_enable_activity&&jQuery("#whats-new-textarea").append("<div id='rtm-drop-files-title'>"+rtmedia_drop_media_msg+"</div>"),jQuery(document).on("dragover",function(a){jQuery("#rtm-media-gallery-uploader").show(),"undefined"!=typeof rtmedia_bp_enable_activity&&"1"==rtmedia_bp_enable_activity&&g.addClass("rtm-drag-drop-active"),f.addClass("rtm-drag-drop-active"),jQuery("#rtm-drop-files-title").show()}).on("dragleave",function(a){a.preventDefault(),"undefined"!=typeof rtmedia_bp_enable_activity&&"1"==rtmedia_bp_enable_activity&&(g.removeClass("rtm-drag-drop-active"),g.removeAttr("style")),f.removeClass("rtm-drag-drop-active"),jQuery("#rtm-drop-files-title").hide()}).on("drop",function(a){a.preventDefault(),"undefined"!=typeof rtmedia_bp_enable_activity&&"1"==rtmedia_bp_enable_activity&&(g.removeClass("rtm-drag-drop-active"),g.removeAttr("style")),f.removeClass("rtm-drag-drop-active"),jQuery("#rtm-drop-files-title").hide()}),jQuery(".rtmedia-container").on("click",".rtmedia-delete-album",function(a){a.preventDefault(),confirm(rtmedia_album_delete_confirmation)&&jQuery(this).closest("form").submit()}),jQuery(".rtmedia-container").on("click",".rtmedia-delete-media",function(a){a.preventDefault(),confirm(rtmedia_media_delete_confirmation)&&jQuery(this).closest("form").submit()}),rtmedia_init_action_dropdown(),a(document).click(function(){a(".click-nav ul").is(":visible")&&a(".click-nav ul",this).hide()}),jQuery(".rtmedia-comment-link").on("click",function(a){a.preventDefault(),jQuery("#comment_content").focus()}),jQuery(".rtm-more").length>0&&a(".rtm-more").shorten({showChars:200}),"undefined"!=typeof rtmedia_masonry_layout&&"true"==rtmedia_masonry_layout&&0==jQuery(".rtmedia-container .rtmedia-list.rtm-no-masonry").length&&(rtm_masonry_container=jQuery(".rtmedia-container .rtmedia-list"),rtm_masonry_container.masonry({itemSelector:".rtmedia-list-item"}),setInterval(function(){jQuery.each(jQuery(".rtmedia-list.masonry .rtmedia-item-title"),function(a,b){jQuery(b).width(jQuery(b).siblings(".rtmedia-item-thumbnail").children("img").width())}),rtm_masonry_reload(rtm_masonry_container)},1e3),jQuery.each(jQuery(".rtmedia-list.masonry .rtmedia-item-title"),function(a,b){jQuery(b).width(jQuery(b).siblings(".rtmedia-item-thumbnail").children("img").width())})),jQuery(".rtm-uploader-tabs").length>0&&jQuery(".rtm-uploader-tabs li").click(function(a){jQuery(this).hasClass("active")||(jQuery(this).siblings().removeClass("active"),jQuery(this).parents(".rtm-uploader-tabs").siblings().hide(),class_name=jQuery(this).attr("class"),jQuery(this).parents(".rtm-uploader-tabs").siblings('[data-id="'+class_name+'"]').show(),jQuery(this).addClass("active"),"rtm-upload-tab"!=class_name?jQuery("div.moxie-shim").children("input[type=file]").hide():jQuery("div.moxie-shim").children("input[type=file]").show())}),jQuery(".rtmedia-container").on("click",".rtm-delete-media",function(a){a.preventDefault();var b="Are you sure you want to delete this media?";if("undefined"!=typeof rtmedia_media_delete_confirmation&&(b=rtmedia_media_delete_confirmation),confirm(b)){var c=jQuery(this).closest("li"),d=jQuery("#rtmedia_media_delete_nonce").val(),e={action:"delete_uploaded_media",nonce:d,media_id:c.attr("id")};jQuery.ajax({url:ajaxurl,type:"post",data:e,success:function(a){"1"==a?(rtmedia_gallery_action_alert_message(rtmedia_main_js_strings.file_delete_success,"success"),c.remove(),"undefined"!=typeof rtmedia_masonry_layout&&"true"==rtmedia_masonry_layout&&0==jQuery(".rtmedia-container .rtmedia-list.rtm-no-masonry").length&&rtm_masonry_reload(rtm_masonry_container)):rtmedia_gallery_action_alert_message(rtmedia_file_not_deleted,"warning")}})}})}),function(a){a.fn.shorten=function(b){var c={showChars:100,ellipsesText:"...",moreText:"more",lessText:"less"};return b&&a.extend(c,b),a(document).off("click",".morelink"),a(document).on({click:function(){var b=a(this);return b.hasClass("less")?(b.removeClass("less"),b.html(c.moreText)):(b.addClass("less"),b.html(c.lessText)),b.
|
3 |
* @package rtMedia
|
4 |
*/
|
5 |
function apply_rtMagnificPopup(a){jQuery("document").ready(function(b){var c="";c="undefined"==typeof rtmedia_load_more?"Loading media":rtmedia_load_more,"undefined"!=typeof rtmedia_lightbox_enabled&&"1"==rtmedia_lightbox_enabled&&(b(".activity-item .rtmedia-activity-container .rtmedia-list-item > a").siblings("p").children("a").length>0&&b(".activity-item .rtmedia-activity-container .rtmedia-list-item > a").siblings("p").children("a").addClass("no-popup"),rtMagnificPopup=jQuery(a).magnificPopup({delegate:"a:not(.no-popup, .mejs-time-slider, .mejs-volume-slider, .mejs-horizontal-volume-slider)",type:"ajax",tLoading:c+" #%curr%...",mainClass:"mfp-img-mobile",preload:[1,3],closeOnBgClick:!0,gallery:{enabled:!0,navigateByImgClick:!0,arrowMarkup:"",preload:[0,1]},image:{tError:'<a href="%url%">The image #%curr%</a> could not be loaded.',titleSrc:function(a){return a.el.attr("title")+"<small>by Marsel Van Oosten</small>"}},callbacks:{ajaxContentAdded:function(){a=jQuery.magnificPopup.instance,1===jQuery(a.items).size()&&jQuery(".mfp-arrow").remove();var a=jQuery.magnificPopup.instance,c=a.currItem.el,d=c.parent();if(d.is("li")||(d=d.parent()),d.is(":nth-last-child(2)")||d.is(":last-child")){d.next();"block"==jQuery("#rtMedia-galary-next").css("display")&&jQuery("#rtMedia-galary-next").click()}var e=a.items.length;if(a.index==e-1&&!d.is(":last-child"))return void c.click();var f={};"undefined"!=typeof _wpmejsSettings&&(f.pluginPath=_wpmejsSettings.pluginPath),b(".mfp-content .wp-audio-shortcode,.mfp-content .wp-video-shortcode,.mfp-content .bp_media_content video").mediaelementplayer({defaultVideoWidth:480,defaultVideoHeight:270,success:function(a,b){a.play()}}),b(".mfp-content .mejs-audio .mejs-controls").css("position","relative"),rtMediaHook.call("rtmedia_js_popup_after_content_added",[])},close:function(a){rtmedia_init_action_dropdown()},BeforeChange:function(a){}}}))})}function rtmedia_init_action_dropdown(){var a,b;jQuery(".click-nav > span, .click-nav > div").toggleClass("no-js js"),jQuery(".click-nav .js ul").hide(),jQuery(".click-nav .clicker").click(function(c){a=jQuery("#rtm-media-options .click-nav .clicker").next("ul"),b=jQuery(this).next("ul"),jQuery.each(a,function(a,c){jQuery(c).html()!=b.html()&&jQuery(c).hide()}),jQuery(b).toggle(),c.stopPropagation()})}function bp_media_create_element(a){return!1}function rtmedia_version_compare(a,b){if(typeof a+typeof b!="stringstring")return!1;for(var c=a.split("."),d=b.split("."),e=0,f=Math.max(c.length,d.length);e<f;e++){if(c[e]&&!d[e]&&parseInt(c[e])>0||parseInt(c[e])>parseInt(d[e]))return!0;if(d[e]&&!c[e]&&parseInt(d[e])>0||parseInt(c[e])<parseInt(d[e]))return!1}return!0}function rtm_is_element_exist(a){return jQuery(a).length>0}function rtm_masonry_reload(a){setTimeout(function(){a.masonry("reload")},250)}function rtmediaGetParameterByName(a){a=a.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var b=new RegExp("[\\?&]"+a+"=([^&#]*)"),c=b.exec(location.search);return null==c?"":decodeURIComponent(c[1].replace(/\+/g," "))}function rtmedia_single_media_alert_message(a,b){var c="rtmedia-success";"warning"==b&&(c="rtmedia-warning"),jQuery(".rtmedia-single-media .rtmedia-media").css("opacity","0.2"),jQuery(".rtmedia-single-media .rtmedia-media").after("<div class='rtmedia-message-container'><span class='"+c+"'>"+a+" </span></div>"),setTimeout(function(){jQuery(".rtmedia-single-media .rtmedia-media").css("opacity","1"),jQuery(".rtmedia-message-container").remove()},3e3),jQuery(".rtmedia-message-container").click(function(){jQuery(".rtmedia-single-media .rtmedia-media").css("opacity","1"),jQuery(".rtmedia-message-container").remove()})}function rtmedia_gallery_action_alert_message(a,b){var c="rtmedia-success";"warning"==b&&(c="rtmedia-warning");var d='<div class="rtmedia-gallery-alert-container"> </div>';jQuery("body").append(d),jQuery(".rtmedia-gallery-alert-container").append("<div class='rtmedia-gallery-message-box'><span class='"+c+"'>"+a+" </span></div>"),setTimeout(function(){jQuery(".rtmedia-gallery-alert-container").remove()},3e3),jQuery(".rtmedia-gallery-message-box").click(function(){jQuery(".rtmedia-gallery-alert-container").remove()})}!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(a){var b,c,d,e,f,g,h="Close",i="BeforeClose",j="AfterClose",k="BeforeAppend",l="MarkupParse",m="Open",n="Change",o="mfp",p="."+o,q="mfp-ready",r="mfp-removing",s="mfp-prevent-close",t=function(){},u=!!window.jQuery,v=a(window),w=function(a,c){b.ev.on(o+a+p,c)},x=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},z=function(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),g=c),b.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(b=new t,b.init(),a.magnificPopup.instance=b)},B=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};t.prototype={constructor:t,init:function(){var c=navigator.appVersion;b.isIE7=c.indexOf("MSIE 7.")!==-1,b.isIE8=c.indexOf("MSIE 8.")!==-1,b.isLowIE=b.isIE7||b.isIE8,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=B(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var e;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var g,h=c.items;for(e=0;e<h.length;e++)if(g=h[e],g.parsed&&(g=g.el[0]),g===c.el[0]){b.index=e;break}}else b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(b.isOpen)return void b.updateItemHTML();b.types=[],f="",c.mainEl&&c.mainEl.length?b.ev=c.mainEl.eq(0):b.ev=d,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos="auto"===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=x("bg").on("click"+p,function(){b.close()}),b.wrap=x("wrap").attr("tabindex",-1).on("click"+p,function(a){b._checkIfClose(a.target)&&b.close()}),b.container=x("container",b.wrap)),b.contentContainer=x("content"),b.st.preloader&&(b.preloader=x("preloader",b.container,b.st.tLoading));var i=a.magnificPopup.modules;for(e=0;e<i.length;e++){var j=i[e];j=j.charAt(0).toUpperCase()+j.slice(1),b["init"+j].call(b)}y("BeforeOpen"),b.st.showCloseBtn&&(b.st.closeBtnInside?(w(l,function(a,b,c,d){c.close_replaceWith=z(d.type)}),f+=" mfp-close-btn-in"):b.wrap.append(z())),b.st.alignTop&&(f+=" mfp-align-top"),b.fixedContentPos?b.wrap.css({overflow:b.st.overflowY,overflowX:"hidden",overflowY:b.st.overflowY}):b.wrap.css({top:v.scrollTop(),position:"absolute"}),(b.st.fixedBgPos===!1||"auto"===b.st.fixedBgPos&&!b.fixedContentPos)&&b.bgOverlay.css({height:d.height(),position:"absolute"}),b.st.enableEscapeKey&&d.on("keyup"+p,function(a){27===a.keyCode&&b.close()}),v.on("resize"+p,function(){b.updateSize()}),b.st.closeOnContentClick||(f+=" mfp-auto-cursor"),f&&b.wrap.addClass(f);var k=b.wH=v.height(),n={};if(b.fixedContentPos&&b._hasScrollBar(k)){var o=b._getScrollbarSize();o&&(n.marginRight=o)}b.fixedContentPos&&(b.isIE7?a("body, html").css("overflow","hidden"):n.overflow="hidden");var r=b.st.mainClass;return b.isIE7&&(r+=" mfp-ie7"),r&&b._addClassToMFP(r),b.updateItemHTML(),y("BuildControls"),a("html").css(n),b.bgOverlay.add(b.wrap).prependTo(b.st.prependTo||a(document.body)),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(q),b._setFocus()):b.bgOverlay.addClass(q),d.on("focusin"+p,b._onFocusIn)},16),b.isOpen=!0,b.updateSize(k),y(m),c},close:function(){b.isOpen&&(y(i),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(r),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},_close:function(){y(h);var c=r+" "+q+" ";if(b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(c+=b.st.mainClass+" "),b._removeClassFromMFP(c),b.fixedContentPos){var e={marginRight:""};b.isIE7?a("body, html").css("overflow",""):e.overflow="",a("html").css(e)}d.off("keyup"+p+" focusin"+p),b.ev.off(p),b.wrap.attr("class","mfp-wrap").removeAttr("style"),b.bgOverlay.attr("class","mfp-bg"),b.container.attr("class","mfp-container"),!b.st.showCloseBtn||b.st.closeBtnInside&&b.currTemplate[b.currItem.type]!==!0||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b._lastFocusedEl&&a(b._lastFocusedEl).focus(),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,y(j)},updateSize:function(a){if(b.isIOS){var c=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*c;b.wrap.css("height",d),b.wH=d}else b.wH=a||v.height();b.fixedContentPos||b.wrap.css("height",b.wH),y("Resize")},updateItemHTML:function(){var c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach(),c.parsed||(c=b.parseEl(b.index));var d=c.type;if(y("BeforeChange",[b.currItem?b.currItem.type:"",d]),b.currItem=c,!b.currTemplate[d]){var f=!!b.st[d]&&b.st[d].markup;y("FirstMarkupParse",f),f?b.currTemplate[d]=a(f):b.currTemplate[d]=!0}e&&e!==c.type&&b.container.removeClass("mfp-"+e+"-holder");var g=b["get"+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,y(n,c),e=c.type,b.container.prepend(b.contentContainer),y("AfterChange")},appendContent:function(a,c){b.content=a,a?b.st.showCloseBtn&&b.st.closeBtnInside&&b.currTemplate[c]===!0?b.content.find(".mfp-close").length||b.content.append(z()):b.content=a:b.content="",y(k),b.container.addClass("mfp-"+c+"-holder"),b.contentContainer.append(b.content)},parseEl:function(c){var d,e=b.items[c];if(e.tagName?e={el:a(e)}:(d=e.type,e={data:e,src:e.src}),e.el){for(var f=b.types,g=0;g<f.length;g++)if(e.el.hasClass("mfp-"+f[g])){d=f[g];break}e.src=e.el.attr("data-mfp-src"),e.src||(e.src=e.el.attr("href"))}return e.type=d||b.st.type||"inline",e.index=c,e.parsed=!0,b.items[c]=e,y("ElementParse",e),b.items[c]},addGroup:function(a,c){var d=function(d){d.mfpEl=this,b._openClick(d,a,c)};c||(c={});var e="click.magnificPopup";c.mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a,a.off(e).on(e,d)))},_openClick:function(c,d,e){var f=void 0!==e.midClick?e.midClick:a.magnificPopup.defaults.midClick;if(f||2!==c.which&&!c.ctrlKey&&!c.metaKey){var g=void 0!==e.disableOn?e.disableOn:a.magnificPopup.defaults.disableOn;if(g)if(a.isFunction(g)){if(!g.call(b))return!0}else if(v.width()<g)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},updateStatus:function(a,d){if(b.preloader){c!==a&&b.container.removeClass("mfp-s-"+c),d||"loading"!==a||(d=b.st.tLoading);var e={status:a,text:d};y("UpdateStatus",e),a=e.status,d=e.text,b.preloader.html(d),b.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),b.container.addClass("mfp-s-"+a),c=a}},_checkIfClose:function(c){if(!a(c).hasClass(s)){var d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass("mfp-close")||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else if(e&&a.contains(document,c))return!0;return!1}},_addClassToMFP:function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},_hasScrollBar:function(a){return(b.isIE7?d.height():document.body.scrollHeight)>(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){if(c.target!==b.wrap[0]&&!a.contains(b.wrap[0],c.target))return b._setFocus(),!1},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(a,c){if(void 0===c||c===!1)return!0;if(e=a.split("_"),e.length>1){var d=b.find(p+"-"+e[0]);if(d.length>0){var f=e[1];"replaceWith"===f?d[0]!==c[0]&&d.replaceWith(c):"img"===f?d.is("img")?d.attr("src",c):d.replaceWith('<img src="'+c+'" class="'+d.attr("class")+'" />'):d.attr(e[1],c)}}else b.find(p+"-"+a).html(c)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return A(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},a.fn.magnificPopup=function(c){A();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=u?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else c=a.extend(!0,{},c),u?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var C,D,E,F="inline",G=function(){E&&(D.after(E.addClass(C)).detach(),E=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(F),w(h+"."+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C="mfp-"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("<div>");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var H,I="ajax",J=function(){H&&a(document.body).removeClass(H)},K=function(){J(),b.req&&b.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+"."+I,K),w("BeforeChange."+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus("loading");var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};y("ParseAjax",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),""}}});var L,M=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off("resize"+p)}),w("Resize"+d,b.resizeImage),b.isLowIE&&w("AfterChange",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(L),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,y("ImageLoadComplete")):(e++,e<200?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=document.createElement("img");j.className="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return b._parseMarkup(d,{title:M(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var N,O=function(){return void 0===N&&(N=void 0!==document.createElement("p").style.MozTransform),N};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a,c=b.st.zoom,d=".zoom";if(c.enabled&&b.supportsTransition){var e,f,g=c.duration,j=function(a){var b=a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+c.duration/1e3+"s "+c.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")};w("BuildControls"+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css("visibility","hidden"),a=b._getItemToZoom(),!a)return void k();f=j(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y("ZoomAnimationEnded")},16)},g)},16)}}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(a=b._getItemToZoom(),!a)return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return!!b.currItem.hasSize&&b.currItem.img},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(u?d.innerHeight():d[0].offsetHeight)-g-f};return O()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var P="iframe",Q="//about:blank",R=function(a){if(b.currTemplate[P]){var c=b.currTemplate[P].find("iframe");c.length&&(a||(c[0].src=Q),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(P,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){if(e.indexOf(this.index)>-1)return this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:a<0?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=b.st.gallery,e=".mfp-gallery",g=Boolean(a.fn.mfpFastClick);return b.direction=!0,!(!c||!c.enabled)&&(f+=" mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){if(b.items.length>1)return b.next(),!1}),d.on("keydown"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s),h=g?"mfpFastClick":"click";e[h](function(){b.prev()}),f[h](function(){b.next()}),b.isIE7&&(x("b",e[0],!1,!0),x("a",e[0],!1,!0),x("b",f[0],!1,!0),x("a",f[0],!1,!0)),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowLeft&&g&&b.arrowLeft.add(b.arrowRight).destroyMfpFastClick(),b.arrowRight=b.arrowLeft=null}))},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('<img class="mfp-img" />').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),function(){var b=1e3,c="ontouchstart"in window,d=function(){v.off("touchmove"+f+" touchend"+f)},e="mfpFastClick",f="."+e;a.fn.mfpFastClick=function(e){return a(this).each(function(){var g,h=a(this);if(c){var i,j,k,l,m,n;h.on("touchstart"+f,function(a){l=!1,n=1,m=a.originalEvent?a.originalEvent.touches[0]:a.touches[0],j=m.clientX,k=m.clientY,v.on("touchmove"+f,function(a){m=a.originalEvent?a.originalEvent.touches:a.touches,n=m.length,m=m[0],(Math.abs(m.clientX-j)>10||Math.abs(m.clientY-k)>10)&&(l=!0,d())}).on("touchend"+f,function(a){d(),l||n>1||(g=!0,a.preventDefault(),clearTimeout(i),i=setTimeout(function(){g=!1},b),e())})})}h.on("click"+f,function(){g||e()})})},a.fn.destroyMfpFastClick=function(){a(this).off("touchstart"+f+" click"+f),c&&v.off("touchmove"+f+" touchend"+f)}}(),A()}),"function"!=typeof Object.create&&(Object.create=function(a){function b(){}return b.prototype=a,new b}),function(a,b,c,d){var e={init:function(b,c){var d=this;d.elem=c,d.$elem=a(c),d.options=a.extend({},a.fn.rtTab.options,b),d.rtTabs()},rtTabs:function(){var c=this,d=c.options.activeTab;c.$elem.find("li:nth-child("+d+")").addClass("active"),c.rtTabContent(activeTabContent="yes"),c.rtClick();var e="false"!==c.$elem.attr("data-hash");if(e===!0){var f=b.location.hash;f&&c.$elem.find("li").find('a[href="'+f+'"]').trigger("click"),a(b).on("hashchange",function(){var a=b.location.hash;c.$elem.find("li").find('a[href="'+a+'"]').trigger("click")})}},rtClick:function(){var c=this,d=c.$elem.find("li"),e=d.find("a");e.on("click",function(e){e.preventDefault(),d.removeClass("active"),c.rtTabContent(),a(this).parent().addClass("active");var f=a(this).attr("href");a(f).removeClass("hide");var g="false"!==c.$elem.attr("data-hash");if(g===!0){var h=a(b).scrollTop();location.hash=a(this).attr("href"),a(b).scrollTop(h)}"function"==typeof c.options.onComplete&&c.options.onComplete.apply(c.elem,arguments)})},rtTabContent:function(b){var c=this,d=c.$elem.find("li"),e=d.find("a");e.each(function(){var c=a(this),d=c.attr("href");"yes"===b?c.parent().hasClass("active")||a(d).addClass("hide"):a(d).addClass("hide")})}};a.fn.rtTab=function(b){return this.each(function(){var c=Object.create(e);c.init(b,this),a.data(this,"rtTab",c)})},a.fn.rtTab.options={activeTab:1,onComplete:null}}(jQuery,window,document);var rtMagnificPopup,rtm_masonry_container,rtMediaHook={hooks:[],is_break:!1,register:function(a,b){"undefined"==typeof rtMediaHook.hooks[a]&&(rtMediaHook.hooks[a]=[]),rtMediaHook.hooks[a].push(b)},call:function(a,arguments){if("undefined"!=typeof rtMediaHook.hooks[a])for(i=0;i<rtMediaHook.hooks[a].length;++i)if(1!=rtMediaHook.hooks[a][i](arguments))return rtMediaHook.is_break=!0,!1;return!0}};jQuery("document").ready(function(a){function b(){if(jQuery("#rtmedia-media-view-form").length>0){var a=jQuery("#rtmedia-media-view-form").attr("action");jQuery.post(a,{},function(a){})}}function c(){var a=jQuery.magnificPopup.instance;jQuery(".mfp-arrow-right").on("click",function(b){a.next()}),jQuery(".mfp-arrow-left").on("click",function(b){a.prev()}),jQuery(".mfp-content .rtmedia-media").swipe({swipeLeft:function(b,c,d,e,f){a.next()},swipeRight:function(b,c,d,e,f){a.prev()},threshold:0})}function d(){jQuery(document).on("focusin","#comment_content",function(){jQuery(document).unbind("keydown")}),jQuery(document).on("focusout","#comment_content",function(){var a=jQuery.magnificPopup.instance;jQuery(document).on("keydown",function(b){37===b.keyCode?a.prev():39===b.keyCode&&a.next()})})}function e(){jQuery(".rtmedia-container").on("click",".rtmedia-delete-media",function(a){a.preventDefault(),confirm(rtmedia_media_delete_confirmation)&&jQuery(this).closest("form").submit()})}"undefined"!=typeof a.fn.rtTab&&a(".rtm-tabs").rtTab(),jQuery(".rtmedia-modal-link").length>0&&a(".rtmedia-modal-link").magnificPopup({type:"inline",midClick:!0,closeBtnInside:!0}),a("#rt_media_comment_form").submit(function(b){return""!=a.trim(a("#comment_content").val())||(0==jQuery("#rtmedia-single-media-container").length?rtmedia_gallery_action_alert_message(rtmedia_empty_comment_msg,"warning"):rtmedia_single_media_alert_message(rtmedia_empty_comment_msg,"warning"),!1)}),a("li.rtmedia-list-item p a").each(function(b){a(this).addClass("no-popup")}),a("li.rtmedia-list-item p a").each(function(b){a(this).addClass("no-popup")}),"undefined"!=typeof rtmedia_lightbox_enabled&&"1"==rtmedia_lightbox_enabled&&apply_rtMagnificPopup(".rtmedia-list-media, .rtmedia-activity-container ul.rtmedia-list, #bp-media-list,.bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content, .rtm-bbp-container, ul.rtm-comment-container"),jQuery.ajaxPrefilter(function(a,b,c){try{if(null==b.data||"undefined"==typeof b.data||"undefined"==typeof b.data.action)return!0}catch(d){return!0}if("activity_get_older_updates"==b.data.action){var e=b.success;a.success=function(a){e(a),apply_rtMagnificPopup(".rtmedia-activity-container ul.rtmedia-list, #bp-media-list, .bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content"),rtMediaHook.call("rtmedia_js_after_activity_added",[])}}else if("get_single_activity_content"==b.data.action){var e=b.success;a.success=function(a){e(a),setTimeout(function(){apply_rtMagnificPopup(".rtmedia-activity-container ul.rtmedia-list, #bp-media-list, .bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content"),jQuery("ul.activity-list li.rtmedia_update:first-child .wp-audio-shortcode, ul.activity-list li.rtmedia_update:first-child .wp-video-shortcode").mediaelementplayer({defaultVideoWidth:480,defaultVideoHeight:270})},900)}}}),jQuery.ajaxPrefilter(function(a,b,c){try{if(null==b.data||"undefined"==typeof b.data||"undefined"==typeof b.data.action)return!0}catch(d){return!0}if("activity_get_older_updates"==b.data.action){var e=b.success;a.success=function(a){e(a),apply_rtMagnificPopup(".rtmedia-activity-container ul.rtmedia-list, #bp-media-list, .bp-media-sc-list, li.media.album_updated ul,ul.bp-media-list-media, li.activity-item div.activity-content div.activity-inner div.bp_media_content"),jQuery("ul.activity-list li.rtmedia_update div.rtmedia-item-thumbnail > audio.wp-audio-shortcode, ul.activity-list li.rtmedia_update div.rtmedia-item-thumbnail > video.wp-video-shortcode").mediaelementplayer({defaultVideoWidth:480,defaultVideoHeight:270}),rtMediaHook.call("rtmedia_js_after_activity_added",[])}}}),jQuery(".rtmedia-container").on("click",".select-all",function(a){jQuery(this).toggleClass("unselect-all").toggleClass("select-all"),jQuery(this).attr("title",rtmedia_unselect_all_visible),jQuery(".rtmedia-list input").each(function(){jQuery(this).prop("checked",!0)}),jQuery(".rtmedia-list-item").addClass("bulk-selected")}),jQuery(".rtmedia-container").on("click",".unselect-all",function(a){jQuery(this).toggleClass("select-all").toggleClass("unselect-all"),jQuery(this).attr("title",rtmedia_select_all_visible),jQuery(".rtmedia-list input").each(function(){jQuery(this).prop("checked",!1)}),jQuery(".rtmedia-list-item").removeClass("bulk-selected")}),jQuery(".rtmedia-container").on("click",".rtmedia-move",function(a){jQuery(".rtmedia-delete-container").slideUp(),jQuery(".rtmedia-move-container").slideToggle()}),jQuery("#rtmedia-create-album-modal").on("click","#rtmedia_create_new_album",function(b){if($albumname=jQuery("<span/>").text(jQuery.trim(jQuery("#rtmedia_album_name").val())).html(),$context=jQuery.trim(jQuery("#rtmedia_album_context").val()),
|
6 |
+
$context_id=jQuery.trim(jQuery("#rtmedia_album_context_id").val()),$privacy=jQuery.trim(jQuery("#rtmedia_select_album_privacy").val()),$create_album_nonce=jQuery.trim(jQuery("#rtmedia_create_album_nonce").val()),""!=$albumname){var c={action:"rtmedia_create_album",name:$albumname,context:$context,context_id:$context_id,create_album_nonce:$create_album_nonce};""!==$privacy&&(c.privacy=$privacy),a("#rtmedia_create_new_album").attr("disabled","disabled");var d=a("#rtmedia_create_new_album").html();a("#rtmedia_create_new_album").prepend("<img src='"+rMedia_loading_file+"' />"),jQuery.post(rtmedia_ajax_url,c,function(b){if("undefined"!=typeof b.album){b=jQuery.trim(b.album);var c=!0;jQuery(".rtmedia-user-album-list").each(function(){if(jQuery(this).children("optgroup").each(function(){if(jQuery(this).attr("value")===$context)return c=!1,void jQuery(this).append('<option value="'+b+'">'+$albumname+"</option>")}),c){var a=$context.charAt(0).toUpperCase()+$context.slice(1)+" "+rtmedia_main_js_strings.rtmedia_albums,d='<optgroup value="'+$context+'" label="'+a+'"><option value="'+b+'">'+$albumname+"</option></optgroup>";jQuery(this).append(d)}}),jQuery('select.rtmedia-user-album-list option[value="'+b+'"]').prop("selected",!0),jQuery(".rtmedia-create-new-album-container").slideToggle(),jQuery("#rtmedia_album_name").val(""),jQuery("#rtmedia-create-album-modal").append("<div class='rtmedia-success rtmedia-create-album-alert'><b>"+$albumname+"</b>"+rtmedia_album_created_msg+"</div>"),setTimeout(function(){jQuery(".rtmedia-create-album-alert").remove()},4e3),setTimeout(function(){galleryObj.reloadView(),jQuery(".close-reveal-modal").click()},2e3)}else"undefined"!=typeof b.error?rtmedia_gallery_action_alert_message(b.error,"warning"):rtmedia_gallery_action_alert_message(rtmedia_something_wrong_msg,"warning");a("#rtmedia_create_new_album").removeAttr("disabled"),a("#rtmedia_create_new_album").html(d)})}else rtmedia_gallery_action_alert_message(rtmedia_empty_album_name_msg,"warning")}),jQuery(".rtmedia-container").on("click",".rtmedia-delete-selected",function(a){jQuery(".rtmedia-list :checkbox:checked").length>0?confirm(rtmedia_selected_media_delete_confirmation)&&jQuery(this).closest("form").attr("action","../../../"+rtmedia_media_slug+"/delete").submit():rtmedia_gallery_action_alert_message(rtmedia_no_media_selected,"warning")}),jQuery(".rtmedia-container").on("click",".rtmedia-move-selected",function(a){jQuery(".rtmedia-list :checkbox:checked").length>0?confirm(rtmedia_selected_media_move_confirmation)&&jQuery(this).closest("form").attr("action","").submit():rtmedia_gallery_action_alert_message(rtmedia_no_media_selected,"warning")}),jQuery("#buddypress").on("change",".rtm-activity-privacy-opt",function(){var a=jQuery(this).attr("id");a=a.split("-"),a=a[a.length-1];var b=this;data={activity_id:a,privacy:jQuery(this).val(),nonce:jQuery("#rtmedia_activity_privacy_nonce").val(),action:"rtm_change_activity_privacy"},jQuery.post(ajaxurl,data,function(a){var c="",d="";"true"==a?(c=rtmedia_main_js_strings.privacy_update_success,d="success"):(c=rtmedia_main_js_strings.privacy_update_error,d="fail"),jQuery(b).after('<p class="rtm-ac-privacy-updated '+d+'">'+c+"</p>"),setTimeout(function(){jQuery(b).siblings(".rtm-ac-privacy-updated").remove()},2e3)})}),b(),rtMediaHook.register("rtmedia_js_popup_after_content_added",function(){b(),e(),mfp=jQuery.magnificPopup.instance,jQuery(mfp.items).size()>1&&c(),d();var f=a(window).height();jQuery(".rtm-lightbox-container .mejs-video").css({height:.8*f,"max-height":.8*f,"over-flow":"hidden"}),jQuery(".mfp-content .rtmedia-media").css({"max-height":.87*f,"over-flow":"hidden"}),rtmedia_init_action_dropdown(),jQuery(".rtmedia-comment-link").on("click",function(a){a.preventDefault(),jQuery("#comment_content").focus()}),jQuery(".rtm-more").shorten({showChars:130});var g=a(".rtm-gallery-title"),h="";h=a.isEmptyObject(g)?a("#subnav.item-list-tabs li.selected ").html():g.html(),""!=h&&a(".rtm-ltb-gallery-title .ltb-title").html(h);var i=a("#subnav.item-list-tabs li.selected span").html();return a("li.total").html(i),!0});var f=jQuery("#drag-drop-area"),g=jQuery("#whats-new");f.html();jQuery("#rtmedia-upload-container").after("<div id='rtm-drop-files-title'>"+rtmedia_drop_media_msg+"</div>"),"undefined"!=typeof rtmedia_bp_enable_activity&&"1"==rtmedia_bp_enable_activity&&jQuery("#whats-new-textarea").append("<div id='rtm-drop-files-title'>"+rtmedia_drop_media_msg+"</div>"),jQuery(document).on("dragover",function(a){jQuery("#rtm-media-gallery-uploader").show(),"undefined"!=typeof rtmedia_bp_enable_activity&&"1"==rtmedia_bp_enable_activity&&g.addClass("rtm-drag-drop-active"),f.addClass("rtm-drag-drop-active"),jQuery("#rtm-drop-files-title").show()}).on("dragleave",function(a){a.preventDefault(),"undefined"!=typeof rtmedia_bp_enable_activity&&"1"==rtmedia_bp_enable_activity&&(g.removeClass("rtm-drag-drop-active"),g.removeAttr("style")),f.removeClass("rtm-drag-drop-active"),jQuery("#rtm-drop-files-title").hide()}).on("drop",function(a){a.preventDefault(),"undefined"!=typeof rtmedia_bp_enable_activity&&"1"==rtmedia_bp_enable_activity&&(g.removeClass("rtm-drag-drop-active"),g.removeAttr("style")),f.removeClass("rtm-drag-drop-active"),jQuery("#rtm-drop-files-title").hide()}),jQuery(".rtmedia-container").on("click",".rtmedia-delete-album",function(a){a.preventDefault(),confirm(rtmedia_album_delete_confirmation)&&jQuery(this).closest("form").submit()}),jQuery(".rtmedia-container").on("click",".rtmedia-delete-media",function(a){a.preventDefault(),confirm(rtmedia_media_delete_confirmation)&&jQuery(this).closest("form").submit()}),rtmedia_init_action_dropdown(),a(document).click(function(){a(".click-nav ul").is(":visible")&&a(".click-nav ul",this).hide()}),jQuery(".rtmedia-comment-link").on("click",function(a){a.preventDefault(),jQuery("#comment_content").focus()}),jQuery(".rtm-more").length>0&&a(".rtm-more").shorten({showChars:200}),"undefined"!=typeof rtmedia_masonry_layout&&"true"==rtmedia_masonry_layout&&0==jQuery(".rtmedia-container .rtmedia-list.rtm-no-masonry").length&&(rtm_masonry_container=jQuery(".rtmedia-container .rtmedia-list"),rtm_masonry_container.masonry({itemSelector:".rtmedia-list-item"}),setInterval(function(){jQuery.each(jQuery(".rtmedia-list.masonry .rtmedia-item-title"),function(a,b){jQuery(b).width(jQuery(b).siblings(".rtmedia-item-thumbnail").children("img").width())}),rtm_masonry_reload(rtm_masonry_container)},1e3),jQuery.each(jQuery(".rtmedia-list.masonry .rtmedia-item-title"),function(a,b){jQuery(b).width(jQuery(b).siblings(".rtmedia-item-thumbnail").children("img").width())})),jQuery(".rtm-uploader-tabs").length>0&&jQuery(".rtm-uploader-tabs li").click(function(a){jQuery(this).hasClass("active")||(jQuery(this).siblings().removeClass("active"),jQuery(this).parents(".rtm-uploader-tabs").siblings().hide(),class_name=jQuery(this).attr("class"),jQuery(this).parents(".rtm-uploader-tabs").siblings('[data-id="'+class_name+'"]').show(),jQuery(this).addClass("active"),"rtm-upload-tab"!=class_name?jQuery("div.moxie-shim").children("input[type=file]").hide():jQuery("div.moxie-shim").children("input[type=file]").show())}),jQuery(".rtmedia-container").on("click",".rtm-delete-media",function(a){a.preventDefault();var b="Are you sure you want to delete this media?";if("undefined"!=typeof rtmedia_media_delete_confirmation&&(b=rtmedia_media_delete_confirmation),confirm(b)){var c=jQuery(this).closest("li"),d=jQuery("#rtmedia_media_delete_nonce").val(),e={action:"delete_uploaded_media",nonce:d,media_id:c.attr("id")};jQuery.ajax({url:ajaxurl,type:"post",data:e,success:function(a){"1"==a?(rtmedia_gallery_action_alert_message(rtmedia_main_js_strings.file_delete_success,"success"),c.remove(),"undefined"!=typeof rtmedia_masonry_layout&&"true"==rtmedia_masonry_layout&&0==jQuery(".rtmedia-container .rtmedia-list.rtm-no-masonry").length&&rtm_masonry_reload(rtm_masonry_container)):rtmedia_gallery_action_alert_message(rtmedia_file_not_deleted,"warning")}})}})}),function(a){a.fn.shorten=function(b){var c={showChars:100,ellipsesText:"...",moreText:"Read more",lessText:"Show less"};return b&&a.extend(c,b),a(document).off("click",".morelink"),a(document).on({click:function(){var b=a(this);return b.hasClass("less")?(b.removeClass("less"),b.html(c.moreText)):(b.addClass("less"),b.html(c.lessText)),b.prev().children(".morecontent").toggle(),b.prev().children(".moreellipses").toggle(),!1}},".morelink"),this.each(function(){var b=a(this);if(!b.hasClass("shortened")){b.addClass("shortened");var d=b.html();if(d.length>c.showChars){var e=d.substr(0,c.showChars),f=d.substr(c.showChars,d.length-c.showChars),g=e+'<span class="moreellipses">'+c.ellipsesText+' </span><span class="morecontent"><span>'+f+'</span> <a href="#" class="morelink">'+c.moreText+"</a></span>";b.html(g),a(".morecontent").hide()}}})}}(jQuery),window.onload=function(){"undefined"!=typeof rtmedia_masonry_layout&&"true"==rtmedia_masonry_layout&&0==jQuery(".rtmedia-container .rtmedia-list.rtm-no-masonry").length&&rtm_masonry_reload(rtm_masonry_container)};
|
app/helper/RTMediaSupport.php
CHANGED
@@ -314,6 +314,12 @@ if ( ! class_exists( 'RTMediaSupport' ) ) {
|
|
314 |
*/
|
315 |
public function debug_info_html( $page = '' ) {
|
316 |
$this->debug_info();
|
|
|
|
|
|
|
|
|
|
|
|
|
317 |
?>
|
318 |
<div id="debug-info" class="rtm-option-wrapper">
|
319 |
<h3 class="rtm-option-title"><?php esc_html_e( 'Debug Info', 'buddypress-media' ); ?></h3>
|
@@ -325,7 +331,7 @@ if ( ! class_exists( 'RTMediaSupport' ) ) {
|
|
325 |
?>
|
326 |
<tr>
|
327 |
<th scope="row"><?php echo esc_html( $configuration ); ?></th>
|
328 |
-
<td><?php echo
|
329 |
</tr><?php
|
330 |
}
|
331 |
}
|
314 |
*/
|
315 |
public function debug_info_html( $page = '' ) {
|
316 |
$this->debug_info();
|
317 |
+
$allowed_html = array(
|
318 |
+
'a' => array(
|
319 |
+
'href' => array(),
|
320 |
+
),
|
321 |
+
'br' => array(),
|
322 |
+
);
|
323 |
?>
|
324 |
<div id="debug-info" class="rtm-option-wrapper">
|
325 |
<h3 class="rtm-option-title"><?php esc_html_e( 'Debug Info', 'buddypress-media' ); ?></h3>
|
331 |
?>
|
332 |
<tr>
|
333 |
<th scope="row"><?php echo esc_html( $configuration ); ?></th>
|
334 |
+
<td><?php echo wp_kses( $value, $allowed_html ); ?></td>
|
335 |
</tr><?php
|
336 |
}
|
337 |
}
|
app/main/controllers/activity/RTMediaBuddyPressActivity.php
CHANGED
@@ -483,93 +483,95 @@ class RTMediaBuddyPressActivity {
|
|
483 |
* @param $obj RTMediaLike
|
484 |
*/
|
485 |
function activity_after_media_like( $obj ) {
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
-
|
537 |
-
|
538 |
-
|
539 |
-
|
540 |
-
|
541 |
-
|
542 |
-
|
543 |
-
|
544 |
-
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
-
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
-
|
555 |
-
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
-
|
562 |
-
|
563 |
-
|
564 |
-
|
565 |
-
|
566 |
-
|
567 |
-
|
568 |
-
|
569 |
-
|
570 |
-
|
571 |
-
|
572 |
-
|
|
|
|
|
573 |
|
574 |
/**
|
575 |
* Create BuddyPress activity when user comment on media
|
@@ -577,75 +579,76 @@ class RTMediaBuddyPressActivity {
|
|
577 |
* @param $params array
|
578 |
*/
|
579 |
function activity_after_media_comment( $params ) {
|
580 |
-
|
581 |
-
|
582 |
-
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
-
|
605 |
-
|
606 |
-
|
607 |
-
|
608 |
-
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
|
648 |
-
|
|
|
649 |
}
|
650 |
|
651 |
/**
|
483 |
* @param $obj RTMediaLike
|
484 |
*/
|
485 |
function activity_after_media_like( $obj ) {
|
486 |
+
if ( class_exists( 'BuddyPress' ) ){
|
487 |
+
global $rtmedia_points_media_id;
|
488 |
+
if ( is_a( $obj, 'RTMediaLike' ) && isset( $obj->action_query->id ) ) {
|
489 |
+
$media_id = $obj->action_query->id;
|
490 |
+
} elseif ( ! empty( $rtmedia_points_media_id ) ) {
|
491 |
+
$media_id = $rtmedia_points_media_id;
|
492 |
+
} else {
|
493 |
+
$media_id = false;
|
494 |
+
}
|
495 |
+
|
496 |
+
$media_obj = $obj->media;
|
497 |
+
|
498 |
+
// Proceed only if we have media to process.
|
499 |
+
if ( false !== $media_id && ( 'profile' === $media_obj->context || 'group' === $media_obj->context ) ) {
|
500 |
+
|
501 |
+
$user_id = $obj->interactor;
|
502 |
+
|
503 |
+
// If $obj->increase is true than request is to like the media.
|
504 |
+
if ( $obj->increase ) {
|
505 |
+
|
506 |
+
// Create activity on media like
|
507 |
+
$user = get_userdata( $user_id );
|
508 |
+
$username = '<a href="' . esc_url( get_rtmedia_user_link( $user_id ) ) . '">' . esc_html( $user->display_name ) . '</a>';
|
509 |
+
|
510 |
+
$media_author = $obj->owner;
|
511 |
+
|
512 |
+
$primary_link = get_rtmedia_permalink( $media_id );
|
513 |
+
|
514 |
+
$media_const = 'RTMEDIA_' . strtoupper( $obj->media->media_type ) . '_LABEL';
|
515 |
+
$media_str = '<a href="' . esc_url( $primary_link ) . '">' . esc_html( constant( $media_const ) ) . '</a>';
|
516 |
+
|
517 |
+
if ( 'group' === $media_obj->context ) {
|
518 |
+
$group_data = groups_get_group( array( 'group_id' => $media_obj->context_id ) );
|
519 |
+
$group_name = '<a href="' . esc_url( bp_get_group_permalink( $group_data ) ) . '">' . esc_html( $group_data->name ) . '</a>';
|
520 |
+
$action = sprintf( esc_html__( '%1$s liked a %2$s in the group %3$s', 'buddypress-media' ), $username, $media_str, $group_name );
|
521 |
+
} else {
|
522 |
+
if ( $user_id === $media_author ) {
|
523 |
+
$action = sprintf( esc_html__( '%1$s liked their %2$s', 'buddypress-media' ), $username, $media_str );
|
524 |
+
} else {
|
525 |
+
$media_author_data = get_userdata( $media_author );
|
526 |
+
$media_author_name = '<a href="' . esc_url( get_rtmedia_user_link( $media_author ) ) . '">' . esc_html( $media_author_data->display_name ) . '</a>';
|
527 |
+
$action = sprintf( esc_html__( '%1$s liked %2$s\'s %3$s', 'buddypress-media' ), $username, $media_author_name, $media_str );
|
528 |
+
}
|
529 |
+
}
|
530 |
+
|
531 |
+
$action = apply_filters( 'rtm_bp_like_activity_action', $action, $media_id, $user_id );
|
532 |
+
$primary_link = get_rtmedia_permalink( $media_id );
|
533 |
+
|
534 |
+
// generate activity arguments.
|
535 |
+
$activity_args = array(
|
536 |
+
'user_id' => $user_id,
|
537 |
+
'action' => $action,
|
538 |
+
'type' => 'rtmedia_like_activity',
|
539 |
+
'primary_link' => $primary_link,
|
540 |
+
'item_id' => $media_id,
|
541 |
+
);
|
542 |
+
|
543 |
+
// set activity component
|
544 |
+
if ( 'group' === $media_obj->context || 'profile' === $media_obj->context ) {
|
545 |
+
$activity_args['component'] = $media_obj->context;
|
546 |
+
if ( 'group' === $media_obj->context ) {
|
547 |
+
$activity_args['component'] = 'groups';
|
548 |
+
$activity_args['item_id'] = $media_obj->context_id;
|
549 |
+
}
|
550 |
+
}
|
551 |
+
|
552 |
+
// add BP activity
|
553 |
+
$activity_id = bp_activity_add( $activity_args );
|
554 |
+
|
555 |
+
// Store activity id into user meta for reference
|
556 |
+
//todo user_attribute
|
557 |
+
update_user_meta( $user_id, 'rtm-bp-media-like-activity-' . $media_id, $activity_id );
|
558 |
+
} else {
|
559 |
+
|
560 |
+
$meta_key = 'rtm-bp-media-like-activity-' . $media_id;
|
561 |
+
// Delete activity when user remove his like.
|
562 |
+
//todo user_attribute
|
563 |
+
$activity_id = get_user_meta( $user_id, $meta_key, true );
|
564 |
+
|
565 |
+
if ( ! empty( $activity_id ) ) {
|
566 |
+
if ( bp_activity_delete( array( 'id' => $activity_id ) ) ) {
|
567 |
+
//todo user_attribute
|
568 |
+
delete_user_meta( $user_id, $meta_key );
|
569 |
+
}
|
570 |
+
}
|
571 |
+
}
|
572 |
+
}
|
573 |
+
}
|
574 |
+
}
|
575 |
|
576 |
/**
|
577 |
* Create BuddyPress activity when user comment on media
|
579 |
* @param $params array
|
580 |
*/
|
581 |
function activity_after_media_comment( $params ) {
|
582 |
+
if ( class_exists( 'BuddyPress' ) ) {
|
583 |
+
if ( isset( $params['comment_post_ID'] ) ) {
|
584 |
+
|
585 |
+
// get media details
|
586 |
+
$media_model = new RTMediaModel();
|
587 |
+
$media_obj = $media_model->get( array( 'media_id' => $params['comment_post_ID'] ) );
|
588 |
+
$media_obj = $media_obj[0];
|
589 |
+
|
590 |
+
// only proceed if corresponding media is exist.
|
591 |
+
if ( ! empty( $media_obj ) && ( 'profile' === $media_obj->context || 'group' === $media_obj->context ) ) {
|
592 |
+
|
593 |
+
$media_id = $media_obj->id;
|
594 |
+
|
595 |
+
$user_id = $params['user_id'];
|
596 |
+
$user = get_userdata( $user_id );
|
597 |
+
$username = '<a href="' . esc_url( get_rtmedia_user_link( $user_id ) ) . '">' . esc_html( $user->display_name ) . '</a>';
|
598 |
+
|
599 |
+
$primary_link = get_rtmedia_permalink( $media_id );
|
600 |
+
|
601 |
+
$media_const = 'RTMEDIA_' . strtoupper( $media_obj->media_type ) . '_LABEL';
|
602 |
+
$media_str = '<a href="' . esc_url( $primary_link ) . '">' . constant( $media_const ) . '</a>';
|
603 |
+
|
604 |
+
$media_author = $media_obj->media_author;
|
605 |
+
|
606 |
+
if ( 'group' === $media_obj->context ) {
|
607 |
+
$group_data = groups_get_group( array( 'group_id' => $media_obj->context_id ) );
|
608 |
+
$group_name = '<a href="' . esc_url( bp_get_group_permalink( $group_data ) ) . '">' . esc_html( $group_data->name ) . '</a>';
|
609 |
+
$action = sprintf( esc_html__( '%1$s commented on a %2$s in the group %3$s', 'buddypress-media' ), $username, $media_str, $group_name );
|
610 |
+
} else {
|
611 |
+
if ( $user_id === $media_author ) {
|
612 |
+
$action = sprintf( esc_html__( '%1$s commented on their %2$s', 'buddypress-media' ), $username, $media_str );
|
613 |
+
} else {
|
614 |
+
$media_author_data = get_userdata( $media_author );
|
615 |
+
$media_author_name = '<a href="' . esc_url( get_rtmedia_user_link( $media_author ) ) . '">' . esc_html( $media_author_data->display_name ) . '</a>';
|
616 |
+
$action = sprintf( esc_html__( '%1$s commented on %2$s\'s %3$s', 'buddypress-media' ), $username, $media_author_name, $media_str );
|
617 |
+
}
|
618 |
+
}
|
619 |
+
|
620 |
+
$comment_content = $params['comment_content'];
|
621 |
+
$wp_comment_id = $params['comment_id'];
|
622 |
+
|
623 |
+
// prepare activity arguments
|
624 |
+
$activity_args = array(
|
625 |
+
'user_id' => $user_id,
|
626 |
+
'action' => $action,
|
627 |
+
'content' => $comment_content,
|
628 |
+
'type' => 'rtmedia_comment_activity',
|
629 |
+
'primary_link' => $primary_link,
|
630 |
+
'item_id' => $media_id,
|
631 |
+
'secondary_item_id' => $wp_comment_id,
|
632 |
+
);
|
633 |
+
|
634 |
+
// set activity component
|
635 |
+
if ( 'group' === $media_obj->context || 'profile' === $media_obj->context ) {
|
636 |
+
$activity_args['component'] = $media_obj->context;
|
637 |
+
if ( 'group' === $media_obj->context ) {
|
638 |
+
$activity_args['component'] = 'groups';
|
639 |
+
$activity_args['item_id'] = $media_obj->context_id;
|
640 |
+
}
|
641 |
+
}
|
642 |
+
|
643 |
+
// create BuddyPress activity
|
644 |
+
$activity_id = bp_activity_add( $activity_args );
|
645 |
+
|
646 |
+
// Store activity id into user meta for reference
|
647 |
+
//todo user_attribute
|
648 |
+
update_user_meta( $user_id, 'rtm-bp-media-comment-activity-' . $media_id . '-' . $wp_comment_id, $activity_id );
|
649 |
+
}
|
650 |
+
}
|
651 |
+
}
|
652 |
}
|
653 |
|
654 |
/**
|
app/main/controllers/template/RTMediaTemplate.php
CHANGED
@@ -376,7 +376,16 @@ class RTMediaTemplate {
|
|
376 |
$submit = filter_input( INPUT_POST, 'submit', FILTER_SANITIZE_STRING );
|
377 |
$_move_selected = filter_input( INPUT_POST, 'move-selected', FILTER_SANITIZE_STRING );
|
378 |
$_album = filter_input( INPUT_POST, 'album', FILTER_SANITIZE_STRING );
|
379 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
380 |
if ( isset( $submit ) ) {
|
381 |
$data_array = array( 'media_title', 'description', 'privacy' );
|
382 |
$data = rtmedia_sanitize_object( $_POST, $data_array );
|
@@ -388,7 +397,7 @@ class RTMediaTemplate {
|
|
388 |
$rtmedia_points_media_id = $album[0]->id;
|
389 |
|
390 |
do_action( 'rtmedia_after_update_album', $album[0]->id, $state );
|
391 |
-
} elseif (
|
392 |
$album_move = $_album;
|
393 |
$selected_ids = null;
|
394 |
|
@@ -460,7 +469,17 @@ class RTMediaTemplate {
|
|
460 |
$_wp_http_referer = filter_input( INPUT_POST, '_wp_http_referer', FILTER_SANITIZE_URL );
|
461 |
$media = new RTMediaMedia();
|
462 |
|
463 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
464 |
$ids = $_selected;
|
465 |
|
466 |
foreach ( $ids as $id ) {
|
376 |
$submit = filter_input( INPUT_POST, 'submit', FILTER_SANITIZE_STRING );
|
377 |
$_move_selected = filter_input( INPUT_POST, 'move-selected', FILTER_SANITIZE_STRING );
|
378 |
$_album = filter_input( INPUT_POST, 'album', FILTER_SANITIZE_STRING );
|
379 |
+
|
380 |
+
$filters = array(
|
381 |
+
'selected' => array(
|
382 |
+
'filter' => FILTER_VALIDATE_INT,
|
383 |
+
'flags' => FILTER_REQUIRE_ARRAY,
|
384 |
+
),
|
385 |
+
);
|
386 |
+
|
387 |
+
$_selected_arr = filter_input_array( INPUT_POST, $filters );
|
388 |
+
$_selected = $_selected_arr['selected'];
|
389 |
if ( isset( $submit ) ) {
|
390 |
$data_array = array( 'media_title', 'description', 'privacy' );
|
391 |
$data = rtmedia_sanitize_object( $_POST, $data_array );
|
397 |
$rtmedia_points_media_id = $album[0]->id;
|
398 |
|
399 |
do_action( 'rtmedia_after_update_album', $album[0]->id, $state );
|
400 |
+
} elseif ( ! empty( $_move_selected ) ) {
|
401 |
$album_move = $_album;
|
402 |
$selected_ids = null;
|
403 |
|
469 |
$_wp_http_referer = filter_input( INPUT_POST, '_wp_http_referer', FILTER_SANITIZE_URL );
|
470 |
$media = new RTMediaMedia();
|
471 |
|
472 |
+
$filters = array(
|
473 |
+
'selected' => array(
|
474 |
+
'filter' => FILTER_VALIDATE_INT,
|
475 |
+
'flags' => FILTER_REQUIRE_ARRAY,
|
476 |
+
),
|
477 |
+
);
|
478 |
+
|
479 |
+
$_selected_arr = filter_input_array( INPUT_POST, $filters );
|
480 |
+
$_selected = $_selected_arr['selected'];
|
481 |
+
if ( wp_verify_nonce( $nonce, 'rtmedia_bulk_delete_nonce' ) && ! empty( $_selected ) ) {
|
482 |
+
|
483 |
$ids = $_selected;
|
484 |
|
485 |
foreach ( $ids as $id ) {
|
app/main/controllers/template/rt-template-functions.php
CHANGED
@@ -1095,6 +1095,7 @@ function rtmedia_get_pagination_values() {
|
|
1095 |
if ( ! $pages ) {
|
1096 |
$pages = 1;
|
1097 |
}
|
|
|
1098 |
|
1099 |
if ( 1 !== intval( $pages ) ) {
|
1100 |
$rtmedia_media_pages .= "<div class='rtm-pagination clearfix'>";
|
@@ -1106,33 +1107,32 @@ function rtmedia_get_pagination_values() {
|
|
1106 |
$rtmedia_media_pages .= "<input type='hidden' id='rtmedia_first_page' value='1' />";
|
1107 |
$rtmedia_media_pages .= "<input type='hidden' id='rtmedia_last_page' value='" . esc_attr( $pages ) . "' />";
|
1108 |
$rtmedia_media_pages .= "<input type='number' value='" . esc_attr( $paged ) . "' min='1' max='" . esc_attr( $pages ) . "' class='rtm-go-to-num' id='rtmedia_go_to_num' />";
|
1109 |
-
$rtmedia_media_pages .= "<a class='rtmedia-page-link button' data-page-type='num' href='#'>" . esc_html__( 'Go', 'buddypress-media' ) . '</a>';
|
1110 |
$rtmedia_media_pages .= "</div><div class='rtm-paginate'>";
|
1111 |
-
|
1112 |
if ( $paged > 1 && $showitems < $pages ) {
|
1113 |
-
$page_url = ( ( rtmedia_page() - 1 ) == 1 ) ? '' :
|
1114 |
$rtmedia_media_pages .= "<a class='rtmedia-page-link' data-page-type='prev' href='" . esc_url( $page_url ) . "'><i class='dashicons dashicons-arrow-left-alt2'></i></a>";
|
1115 |
}
|
1116 |
|
1117 |
if ( $paged > 2 && $paged > $range + 1 && $showitems < $pages ) {
|
1118 |
-
$page_url = '
|
1119 |
$rtmedia_media_pages .= "<a class='rtmedia-page-link' data-page-type='page' data-page='1' href='" . esc_url( $page_url ) . "'>1</a><span>...</span>";
|
1120 |
}
|
1121 |
|
1122 |
for ( $i = 1; $i <= $pages; $i ++ ) {
|
1123 |
if ( 1 != $pages && ( ! ( $i >= $paged + $range + 1 || $i <= $paged - $range - 1 ) || $pages <= $showitems ) ) {
|
1124 |
-
$page_url =
|
1125 |
$rtmedia_media_pages .= ( $paged == $i ) ? "<span class='current'>" . esc_html( $i ) . '</span>' : "<a class='rtmedia-page-link' data-page-type='page' data-page='" . esc_attr( $i ) . "' href='" . esc_url( $page_url ) . "' class='inactive' >" . esc_html( $i ) . '</a>';
|
1126 |
}
|
1127 |
}
|
1128 |
|
1129 |
if ( $paged < $pages - 1 && $paged + $range - 1 < $pages && $showitems < $pages ) {
|
1130 |
-
$page_url =
|
1131 |
$rtmedia_media_pages .= "<span>...</span><a class='rtmedia-page-link' data-page-type='page' data-page='" . esc_attr( $pages ) . "' href='" . esc_url( $page_url ) . "'>" . esc_html( $pages ) . '</a>';
|
1132 |
}
|
1133 |
|
1134 |
if ( $paged < $pages && $showitems < $pages ) {
|
1135 |
-
$page_url =
|
1136 |
$rtmedia_media_pages .= "<a class='rtmedia-page-link' data-page-type='next' href='" . esc_url( $page_url ) . "'><i class='dashicons dashicons-arrow-right-alt2'></i></a>";
|
1137 |
}
|
1138 |
|
1095 |
if ( ! $pages ) {
|
1096 |
$pages = 1;
|
1097 |
}
|
1098 |
+
$page_base_url = rtmedia_pagination_page_link();
|
1099 |
|
1100 |
if ( 1 !== intval( $pages ) ) {
|
1101 |
$rtmedia_media_pages .= "<div class='rtm-pagination clearfix'>";
|
1107 |
$rtmedia_media_pages .= "<input type='hidden' id='rtmedia_first_page' value='1' />";
|
1108 |
$rtmedia_media_pages .= "<input type='hidden' id='rtmedia_last_page' value='" . esc_attr( $pages ) . "' />";
|
1109 |
$rtmedia_media_pages .= "<input type='number' value='" . esc_attr( $paged ) . "' min='1' max='" . esc_attr( $pages ) . "' class='rtm-go-to-num' id='rtmedia_go_to_num' />";
|
1110 |
+
$rtmedia_media_pages .= "<a class='rtmedia-page-link button' data-page-type='num' data-page-base-url='" . $page_base_url . "' href='#'>" . esc_html__( 'Go', 'buddypress-media' ) . '</a>';
|
1111 |
$rtmedia_media_pages .= "</div><div class='rtm-paginate'>";
|
|
|
1112 |
if ( $paged > 1 && $showitems < $pages ) {
|
1113 |
+
$page_url = ( ( rtmedia_page() - 1 ) == 1 ) ? '' : $page_base_url . ( rtmedia_page() - 1 );
|
1114 |
$rtmedia_media_pages .= "<a class='rtmedia-page-link' data-page-type='prev' href='" . esc_url( $page_url ) . "'><i class='dashicons dashicons-arrow-left-alt2'></i></a>";
|
1115 |
}
|
1116 |
|
1117 |
if ( $paged > 2 && $paged > $range + 1 && $showitems < $pages ) {
|
1118 |
+
$page_url = $page_base_url . '1';
|
1119 |
$rtmedia_media_pages .= "<a class='rtmedia-page-link' data-page-type='page' data-page='1' href='" . esc_url( $page_url ) . "'>1</a><span>...</span>";
|
1120 |
}
|
1121 |
|
1122 |
for ( $i = 1; $i <= $pages; $i ++ ) {
|
1123 |
if ( 1 != $pages && ( ! ( $i >= $paged + $range + 1 || $i <= $paged - $range - 1 ) || $pages <= $showitems ) ) {
|
1124 |
+
$page_url = $page_base_url . $i;
|
1125 |
$rtmedia_media_pages .= ( $paged == $i ) ? "<span class='current'>" . esc_html( $i ) . '</span>' : "<a class='rtmedia-page-link' data-page-type='page' data-page='" . esc_attr( $i ) . "' href='" . esc_url( $page_url ) . "' class='inactive' >" . esc_html( $i ) . '</a>';
|
1126 |
}
|
1127 |
}
|
1128 |
|
1129 |
if ( $paged < $pages - 1 && $paged + $range - 1 < $pages && $showitems < $pages ) {
|
1130 |
+
$page_url = $page_base_url . $pages;
|
1131 |
$rtmedia_media_pages .= "<span>...</span><a class='rtmedia-page-link' data-page-type='page' data-page='" . esc_attr( $pages ) . "' href='" . esc_url( $page_url ) . "'>" . esc_html( $pages ) . '</a>';
|
1132 |
}
|
1133 |
|
1134 |
if ( $paged < $pages && $showitems < $pages ) {
|
1135 |
+
$page_url = $page_base_url . ( rtmedia_page() + 1 );
|
1136 |
$rtmedia_media_pages .= "<a class='rtmedia-page-link' data-page-type='next' href='" . esc_url( $page_url ) . "'><i class='dashicons dashicons-arrow-right-alt2'></i></a>";
|
1137 |
}
|
1138 |
|
app/main/controllers/upload/RTMediaUploadEndpoint.php
CHANGED
@@ -134,8 +134,7 @@ class RTMediaUploadEndpoint {
|
|
134 |
}
|
135 |
}
|
136 |
}
|
137 |
-
|
138 |
-
if ( isset( $this->upload['rtmedia_simple_file_upload'] ) && '1' === $this->upload['rtmedia_simple_file_upload'] ) {
|
139 |
if ( isset( $media ) && count( $media ) > 0 ) {
|
140 |
if ( isset( $_redirect_url ) ) {
|
141 |
if ( intval( $_redirect_url ) > 1 ) {
|
134 |
}
|
135 |
}
|
136 |
}
|
137 |
+
if ( isset( $this->upload['rtmedia_simple_file_upload'] ) && true == $this->upload['rtmedia_simple_file_upload'] ) {
|
|
|
138 |
if ( isset( $media ) && count( $media ) > 0 ) {
|
139 |
if ( isset( $_redirect_url ) ) {
|
140 |
if ( intval( $_redirect_url ) > 1 ) {
|
index.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: rtMedia for WordPress, BuddyPress and bbPress
|
5 |
Plugin URI: https://rtmedia.io/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
6 |
Description: This plugin adds missing media rich features like photos, videos and audio uploading to BuddyPress which are essential if you are building social network, seriously!
|
7 |
-
Version: 4.0.
|
8 |
Author: rtCamp
|
9 |
Text Domain: buddypress-media
|
10 |
Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
4 |
Plugin Name: rtMedia for WordPress, BuddyPress and bbPress
|
5 |
Plugin URI: https://rtmedia.io/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
6 |
Description: This plugin adds missing media rich features like photos, videos and audio uploading to BuddyPress which are essential if you are building social network, seriously!
|
7 |
+
Version: 4.0.5
|
8 |
Author: rtCamp
|
9 |
Text Domain: buddypress-media
|
10 |
Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
languages/buddypress-media.po
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the rtMedia for WordPress, BuddyPress and bbPress package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: rtMedia for WordPress, BuddyPress and bbPress 4.0.
|
6 |
"Report-Msgid-Bugs-To: http://community.rtcamp.com/c/rtmedia/\n"
|
7 |
-
"POT-Creation-Date: 2016-07-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -24,526 +24,526 @@ msgstr ""
|
|
24 |
"X-Poedit-Bookmarks: \n"
|
25 |
"X-Textdomain-Support: yes\n"
|
26 |
|
27 |
-
#: app/admin/RTMediaAdmin.php:
|
28 |
msgid "View “%s”"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: app/admin/RTMediaAdmin.php:
|
32 |
msgid "View"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: app/admin/RTMediaAdmin.php:
|
36 |
msgid "rtMedia: "
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: app/admin/RTMediaAdmin.php:
|
40 |
msgid "We have released 30+ premium add-ons for rtMedia plugin. Read more about it "
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: app/admin/RTMediaAdmin.php:
|
44 |
-
#: app/admin/RTMediaAdmin.php:
|
45 |
-
#: app/admin/RTMediaAdmin.php:
|
46 |
#: app/admin/RTMediaFormHandler.php:446 app/helper/RTMediaSettings.php:297
|
47 |
-
#: app/helper/RTMediaSupport.php:
|
48 |
msgid "here"
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: app/admin/RTMediaAdmin.php:
|
52 |
msgid "Meet "
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: app/admin/RTMediaAdmin.php:
|
56 |
msgid "rtMedia Social Sync"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: app/admin/RTMediaAdmin.php:
|
60 |
msgid " which allows you to import media from your Facebook account."
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: app/admin/RTMediaAdmin.php:
|
64 |
msgid "Meet InspireBook"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: app/admin/RTMediaAdmin.php:
|
68 |
msgid " - First official rtMedia premium theme."
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: app/admin/RTMediaAdmin.php:
|
72 |
msgid "rtMedia:"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: app/admin/RTMediaAdmin.php:
|
76 |
msgid " You must"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: app/admin/RTMediaAdmin.php:
|
80 |
msgid "update permalink structure"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: app/admin/RTMediaAdmin.php:
|
84 |
msgid "to something other than the default for it to work."
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: app/admin/RTMediaAdmin.php:
|
88 |
msgid "Please update all premium add-ons that you have purchased from rtCamp from"
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: app/admin/RTMediaAdmin.php:
|
92 |
msgid "your account"
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: app/admin/RTMediaAdmin.php:
|
96 |
msgid "Dismiss"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: app/admin/RTMediaAdmin.php:
|
100 |
msgid "rtMedia Pro is released"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: app/admin/RTMediaAdmin.php:
|
104 |
msgid "Media Stats"
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: app/admin/RTMediaAdmin.php:
|
108 |
msgid "Usage Stats"
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: app/admin/RTMediaAdmin.php:
|
112 |
msgid "Total "
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: app/admin/RTMediaAdmin.php:
|
116 |
msgid "With Media"
|
117 |
msgstr ""
|
118 |
|
119 |
-
#: app/admin/RTMediaAdmin.php:
|
120 |
msgid "Comments "
|
121 |
msgstr ""
|
122 |
|
123 |
-
#: app/admin/RTMediaAdmin.php:
|
124 |
msgid "Likes"
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: app/admin/RTMediaAdmin.php:
|
128 |
msgid "rtMedia Links:"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: app/admin/RTMediaAdmin.php:
|
132 |
msgid "Homepage"
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: app/admin/RTMediaAdmin.php:
|
136 |
msgid "Free Support"
|
137 |
msgstr ""
|
138 |
|
139 |
-
#: app/admin/RTMediaAdmin.php:
|
140 |
msgid "Premium Addons"
|
141 |
msgstr ""
|
142 |
|
143 |
-
#: app/admin/RTMediaAdmin.php:
|
144 |
msgid "Right Now in rtMedia"
|
145 |
msgstr ""
|
146 |
|
147 |
-
#: app/admin/RTMediaAdmin.php:
|
148 |
-
#: app/admin/RTMediaAdmin.php:
|
149 |
-
#: app/admin/RTMediaAdmin.php:
|
150 |
msgid "Settings"
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: app/admin/RTMediaAdmin.php:
|
154 |
-
#: app/admin/RTMediaAdmin.php:
|
155 |
-
#: app/admin/RTMediaAdmin.php:
|
156 |
#: app/helper/RTMediaSupport.php:52 app/helper/RTMediaSupport.php:53
|
157 |
msgid "Support"
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: app/admin/RTMediaAdmin.php:
|
161 |
-
#: app/admin/RTMediaAdmin.php:
|
162 |
msgid "Regenerate Thumbnail"
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: app/admin/RTMediaAdmin.php:
|
166 |
-
#: app/admin/RTMediaAdmin.php:
|
167 |
#: app/importers/RTMediaMigration.php:68 app/main/RTMedia.php:908
|
168 |
msgid "rtMedia"
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: app/admin/RTMediaAdmin.php:
|
172 |
-
#: app/admin/RTMediaAdmin.php:
|
173 |
msgid "Addons"
|
174 |
msgstr ""
|
175 |
|
176 |
-
#: app/admin/RTMediaAdmin.php:
|
177 |
-
#: app/admin/RTMediaAdmin.php:
|
178 |
msgid "Themes"
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: app/admin/RTMediaAdmin.php:
|
182 |
-
#: app/admin/RTMediaAdmin.php:
|
183 |
msgid "Hire Us"
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: app/admin/RTMediaAdmin.php:
|
187 |
-
#: app/admin/RTMediaAdmin.php:
|
188 |
msgid "Licenses"
|
189 |
msgstr ""
|
190 |
|
191 |
-
#: app/admin/RTMediaAdmin.php:
|
192 |
msgid "ON"
|
193 |
msgstr ""
|
194 |
|
195 |
-
#: app/admin/RTMediaAdmin.php:
|
196 |
msgid "OFF"
|
197 |
msgstr ""
|
198 |
|
199 |
-
#: app/admin/RTMediaAdmin.php:
|
200 |
msgid "Please do not refresh this page."
|
201 |
msgstr ""
|
202 |
|
203 |
-
#: app/admin/RTMediaAdmin.php:
|
204 |
msgid "Something went wrong. Please "
|
205 |
msgstr ""
|
206 |
|
207 |
-
#: app/admin/RTMediaAdmin.php:
|
208 |
msgid "refresh"
|
209 |
msgstr ""
|
210 |
|
211 |
-
#: app/admin/RTMediaAdmin.php:
|
212 |
msgid " page."
|
213 |
msgstr ""
|
214 |
|
215 |
-
#: app/admin/RTMediaAdmin.php:
|
216 |
msgid "This will subscribe you to the free plan."
|
217 |
msgstr ""
|
218 |
|
219 |
-
#: app/admin/RTMediaAdmin.php:
|
220 |
msgid "Are you sure you want to disable the encoding service?"
|
221 |
msgstr ""
|
222 |
|
223 |
-
#: app/admin/RTMediaAdmin.php:
|
224 |
msgid "Are you sure you want to enable the encoding service?"
|
225 |
msgstr ""
|
226 |
|
227 |
-
#: app/admin/RTMediaAdmin.php:
|
228 |
msgid "Settings have changed, you should save them!"
|
229 |
msgstr ""
|
230 |
|
231 |
-
#: app/admin/RTMediaAdmin.php:
|
232 |
msgid ""
|
233 |
"Number of video thumbnails to be generated should be greater than 0 in "
|
234 |
"media sizes settings. Setting it to default value 2."
|
235 |
msgstr ""
|
236 |
|
237 |
-
#: app/admin/RTMediaAdmin.php:
|
238 |
msgid ""
|
239 |
"Invalid value for number of video thumbnails in media sizes settings. "
|
240 |
"Setting it to round value"
|
241 |
msgstr ""
|
242 |
|
243 |
-
#: app/admin/RTMediaAdmin.php:
|
244 |
msgid ""
|
245 |
"Number of percentage in JPEG image quality should be greater than 0 in "
|
246 |
"media sizes settings. Setting it to default value 90."
|
247 |
msgstr ""
|
248 |
|
249 |
-
#: app/admin/RTMediaAdmin.php:
|
250 |
msgid ""
|
251 |
"Number of percentage in JPEG image quality should be less than 100 in media "
|
252 |
"sizes settings. Setting it to 100."
|
253 |
msgstr ""
|
254 |
|
255 |
-
#: app/admin/RTMediaAdmin.php:
|
256 |
msgid ""
|
257 |
"Invalid value for percentage in JPEG image quality in media sizes settings. "
|
258 |
"Setting it to round value"
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: app/admin/RTMediaAdmin.php:
|
262 |
msgid ""
|
263 |
"Please enter positive integer value only. Setting number of media per page "
|
264 |
"value to default value 10."
|
265 |
msgstr ""
|
266 |
|
267 |
-
#: app/admin/RTMediaAdmin.php:
|
268 |
msgid ""
|
269 |
"Please enter positive integer value only. Setting number of media per page "
|
270 |
"value to round value"
|
271 |
msgstr ""
|
272 |
|
273 |
-
#: app/admin/RTMediaAdmin.php:
|
274 |
msgid "Request failed."
|
275 |
msgstr ""
|
276 |
|
277 |
-
#: app/admin/RTMediaAdmin.php:
|
278 |
msgid "Please enter WP Admin Login."
|
279 |
msgstr ""
|
280 |
|
281 |
-
#: app/admin/RTMediaAdmin.php:
|
282 |
msgid "Please enter WP Admin password."
|
283 |
msgstr ""
|
284 |
|
285 |
-
#: app/admin/RTMediaAdmin.php:
|
286 |
msgid "Please enter SSH / FTP host."
|
287 |
msgstr ""
|
288 |
|
289 |
-
#: app/admin/RTMediaAdmin.php:
|
290 |
msgid "Please enter SSH / FTP login."
|
291 |
msgstr ""
|
292 |
|
293 |
-
#: app/admin/RTMediaAdmin.php:
|
294 |
msgid "Please enter SSH / FTP password."
|
295 |
msgstr ""
|
296 |
|
297 |
-
#: app/admin/RTMediaAdmin.php:
|
298 |
msgid "Please fill all the fields."
|
299 |
msgstr ""
|
300 |
|
301 |
-
#: app/admin/RTMediaAdmin.php:
|
302 |
msgid "Regen. Thumbnail "
|
303 |
msgstr ""
|
304 |
|
305 |
-
#: app/admin/RTMediaAdmin.php:
|
306 |
msgid "rtMedia: Regenerate Video Thumbnails"
|
307 |
msgstr ""
|
308 |
|
309 |
-
#: app/admin/RTMediaAdmin.php:
|
310 |
msgid "You can see this page because you have "
|
311 |
msgstr ""
|
312 |
|
313 |
-
#: app/admin/RTMediaAdmin.php:
|
314 |
msgid "subscribed"
|
315 |
msgstr ""
|
316 |
|
317 |
-
#: app/admin/RTMediaAdmin.php:
|
318 |
msgid " for "
|
319 |
msgstr ""
|
320 |
|
321 |
-
#: app/admin/RTMediaAdmin.php:
|
322 |
msgid "rtMedia audio/video encoding service"
|
323 |
msgstr ""
|
324 |
|
325 |
-
#: app/admin/RTMediaAdmin.php:
|
326 |
msgid "You can regenerate thumbnails of a specific video by visiting "
|
327 |
msgstr ""
|
328 |
|
329 |
-
#: app/admin/RTMediaAdmin.php:
|
330 |
msgid "media page"
|
331 |
msgstr ""
|
332 |
|
333 |
-
#: app/admin/RTMediaAdmin.php:
|
334 |
msgid " and clicking the "
|
335 |
msgstr ""
|
336 |
|
337 |
-
#: app/admin/RTMediaAdmin.php:
|
338 |
msgid " option for that particular video."
|
339 |
msgstr ""
|
340 |
|
341 |
-
#: app/admin/RTMediaAdmin.php:
|
342 |
msgid "Click "
|
343 |
msgstr ""
|
344 |
|
345 |
-
#: app/admin/RTMediaAdmin.php:
|
346 |
msgid "Regenerate Pending Thumbnails"
|
347 |
msgstr ""
|
348 |
|
349 |
-
#: app/admin/RTMediaAdmin.php:
|
350 |
msgid " to regenerate thumbnails of pending videos."
|
351 |
msgstr ""
|
352 |
|
353 |
-
#: app/admin/RTMediaAdmin.php:
|
354 |
msgid "Total Videos"
|
355 |
msgstr ""
|
356 |
|
357 |
-
#: app/admin/RTMediaAdmin.php:
|
358 |
msgid "Sent of regenerate thumbails"
|
359 |
msgstr ""
|
360 |
|
361 |
-
#: app/admin/RTMediaAdmin.php:
|
362 |
msgid "Fail to regenerate thumbails"
|
363 |
msgstr ""
|
364 |
|
365 |
-
#: app/admin/RTMediaAdmin.php:
|
366 |
msgid "Regenerate Video Thumbnails Done"
|
367 |
msgstr ""
|
368 |
|
369 |
-
#: app/admin/RTMediaAdmin.php:
|
370 |
msgid "You have %s videos without thumbnails. Click "
|
371 |
msgstr ""
|
372 |
|
373 |
-
#: app/admin/RTMediaAdmin.php:
|
374 |
msgid " to generate thumbnails."
|
375 |
msgstr ""
|
376 |
|
377 |
-
#: app/admin/RTMediaAdmin.php:
|
378 |
msgid "not a video ..."
|
379 |
msgstr ""
|
380 |
|
381 |
-
#: app/admin/RTMediaAdmin.php:
|
382 |
msgid "Empowering The Web With WordPress"
|
383 |
msgstr ""
|
384 |
|
385 |
-
#: app/admin/RTMediaAdmin.php:
|
386 |
msgid "Settings saved successfully!"
|
387 |
msgstr ""
|
388 |
|
389 |
-
#: app/admin/RTMediaAdmin.php:
|
390 |
msgid "Save Settings"
|
391 |
msgstr ""
|
392 |
|
393 |
-
#: app/admin/RTMediaAdmin.php:
|
394 |
msgid "Display"
|
395 |
msgstr ""
|
396 |
|
397 |
-
#: app/admin/RTMediaAdmin.php:
|
398 |
msgid "rtMedia BuddyPress"
|
399 |
msgstr ""
|
400 |
|
401 |
-
#: app/admin/RTMediaAdmin.php:
|
402 |
msgid "BuddyPress"
|
403 |
msgstr ""
|
404 |
|
405 |
-
#: app/admin/RTMediaAdmin.php:
|
406 |
msgid "rtMedia Types"
|
407 |
msgstr ""
|
408 |
|
409 |
-
#: app/admin/RTMediaAdmin.php:
|
410 |
msgid "Types"
|
411 |
msgstr ""
|
412 |
|
413 |
-
#: app/admin/RTMediaAdmin.php:
|
414 |
msgid "rtMedia Sizes"
|
415 |
msgstr ""
|
416 |
|
417 |
-
#: app/admin/RTMediaAdmin.php:
|
418 |
msgid "Media Sizes"
|
419 |
msgstr ""
|
420 |
|
421 |
-
#: app/admin/RTMediaAdmin.php:
|
422 |
msgid "rtMedia Privacy"
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: app/admin/RTMediaAdmin.php:
|
426 |
#: app/main/controllers/privacy/RTMediaPrivacy.php:417
|
427 |
msgid "Privacy"
|
428 |
msgstr ""
|
429 |
|
430 |
-
#: app/admin/RTMediaAdmin.php:
|
431 |
msgid "rtMedia Custom CSS"
|
432 |
msgstr ""
|
433 |
|
434 |
-
#: app/admin/RTMediaAdmin.php:
|
435 |
msgid "Custom CSS"
|
436 |
msgstr ""
|
437 |
|
438 |
-
#: app/admin/RTMediaAdmin.php:
|
439 |
msgid "Other Settings"
|
440 |
msgstr ""
|
441 |
|
442 |
-
#: app/admin/RTMediaAdmin.php:
|
443 |
msgid "I use @rtMediaWP http://rt.cx/rtmedia on %s"
|
444 |
msgstr ""
|
445 |
|
446 |
-
#: app/admin/RTMediaAdmin.php:
|
447 |
msgid "Post to Twitter Now"
|
448 |
msgstr ""
|
449 |
|
450 |
-
#: app/admin/RTMediaAdmin.php:
|
451 |
msgid "Post to Twitter"
|
452 |
msgstr ""
|
453 |
|
454 |
-
#: app/admin/RTMediaAdmin.php:
|
455 |
msgid "Share on Facebook Now"
|
456 |
msgstr ""
|
457 |
|
458 |
-
#: app/admin/RTMediaAdmin.php:
|
459 |
msgid "Share on Facebook"
|
460 |
msgstr ""
|
461 |
|
462 |
-
#: app/admin/RTMediaAdmin.php:
|
463 |
msgid "Rate rtMedia on Wordpress.org"
|
464 |
msgstr ""
|
465 |
|
466 |
-
#: app/admin/RTMediaAdmin.php:
|
467 |
msgid "Rate on Wordpress.org"
|
468 |
msgstr ""
|
469 |
|
470 |
-
#: app/admin/RTMediaAdmin.php:
|
471 |
msgid "Subscribe to our Feeds"
|
472 |
msgstr ""
|
473 |
|
474 |
-
#: app/admin/RTMediaAdmin.php:
|
475 |
msgid "Spread the Word"
|
476 |
msgstr ""
|
477 |
|
478 |
-
#: app/admin/RTMediaAdmin.php:
|
479 |
msgid "Subscribe"
|
480 |
msgstr ""
|
481 |
|
482 |
-
#: app/admin/RTMediaAdmin.php:
|
483 |
msgid "Thank you for your time."
|
484 |
msgstr ""
|
485 |
|
486 |
-
#: app/admin/RTMediaAdmin.php:
|
487 |
msgid "Premium Add-ons"
|
488 |
msgstr ""
|
489 |
|
490 |
-
#: app/admin/RTMediaAdmin.php:
|
491 |
msgid ""
|
492 |
"You have images enabled on rtMedia but your network allowed filetypes do "
|
493 |
"not permit uploading of %s. Click "
|
494 |
msgstr ""
|
495 |
|
496 |
-
#: app/admin/RTMediaAdmin.php:
|
497 |
-
#: app/admin/RTMediaAdmin.php:
|
498 |
msgid " to change your settings manually."
|
499 |
msgstr ""
|
500 |
|
501 |
-
#: app/admin/RTMediaAdmin.php:
|
502 |
-
#: app/admin/RTMediaAdmin.php:
|
503 |
msgid "Recommended:"
|
504 |
msgstr ""
|
505 |
|
506 |
-
#: app/admin/RTMediaAdmin.php:
|
507 |
-
#: app/admin/RTMediaAdmin.php:
|
508 |
msgid "Update Network Settings Automatically"
|
509 |
msgstr ""
|
510 |
|
511 |
-
#: app/admin/RTMediaAdmin.php:
|
512 |
msgid ""
|
513 |
"You have video enabled on BuddyPress Media but your network allowed "
|
514 |
"filetypes do not permit uploading of mp4. Click "
|
515 |
msgstr ""
|
516 |
|
517 |
-
#: app/admin/RTMediaAdmin.php:
|
518 |
msgid ""
|
519 |
"You have audio enabled on BuddyPress Media but your network allowed "
|
520 |
"filetypes do not permit uploading of mp3. Click "
|
521 |
msgstr ""
|
522 |
|
523 |
-
#: app/admin/RTMediaAdmin.php:
|
524 |
msgid "Network settings updated successfully."
|
525 |
msgstr ""
|
526 |
|
527 |
-
#: app/admin/RTMediaAdmin.php:
|
528 |
msgid "Video is sent to generate thumbnails."
|
529 |
msgstr ""
|
530 |
|
531 |
-
#: app/admin/RTMediaAdmin.php:
|
532 |
msgid "Video cannot be sent to generate thumbnails."
|
533 |
msgstr ""
|
534 |
|
535 |
-
#: app/admin/RTMediaAdmin.php:
|
536 |
msgid "Regenerate Video Thumbnails"
|
537 |
msgstr ""
|
538 |
|
539 |
-
#: app/admin/RTMediaAdmin.php:
|
540 |
msgid ""
|
541 |
"Please update rtMedia template files if you have overridden the default "
|
542 |
"rtMedia templates in your theme. If not, you can ignore and hide this "
|
543 |
"notice."
|
544 |
msgstr ""
|
545 |
|
546 |
-
#: app/admin/RTMediaAdmin.php:
|
547 |
#: app/importers/RTMediaMediaSizeImporter.php:73
|
548 |
#: app/importers/RTMediaMigration.php:68
|
549 |
msgid "Hide"
|
@@ -1486,12 +1486,12 @@ msgid ""
|
|
1486 |
"a new issue on "
|
1487 |
msgstr ""
|
1488 |
|
1489 |
-
#: app/helper/RTMediaSettings.php:403 app/helper/RTMediaSupport.php:
|
1490 |
msgid "GitHub"
|
1491 |
msgstr ""
|
1492 |
|
1493 |
#: app/helper/RTMediaSupport.php:59 app/helper/RTMediaSupport.php:60
|
1494 |
-
#: app/helper/RTMediaSupport.php:
|
1495 |
msgid "Debug Info"
|
1496 |
msgstr ""
|
1497 |
|
@@ -1500,149 +1500,149 @@ msgstr ""
|
|
1500 |
msgid "Migration"
|
1501 |
msgstr ""
|
1502 |
|
1503 |
-
#: app/helper/RTMediaSupport.php:
|
1504 |
msgid "Service"
|
1505 |
msgstr ""
|
1506 |
|
1507 |
-
#: app/helper/RTMediaSupport.php:
|
1508 |
msgid "Premium Support"
|
1509 |
msgstr ""
|
1510 |
|
1511 |
-
#: app/helper/RTMediaSupport.php:
|
1512 |
msgid "Bug Report"
|
1513 |
msgstr ""
|
1514 |
|
1515 |
-
#: app/helper/RTMediaSupport.php:
|
1516 |
msgid "New Feature"
|
1517 |
msgstr ""
|
1518 |
|
1519 |
-
#: app/helper/RTMediaSupport.php:
|
1520 |
msgid "Submit"
|
1521 |
msgstr ""
|
1522 |
|
1523 |
-
#: app/helper/RTMediaSupport.php:
|
1524 |
msgid "by"
|
1525 |
msgstr ""
|
1526 |
|
1527 |
-
#: app/helper/RTMediaSupport.php:
|
1528 |
msgid "version"
|
1529 |
msgstr ""
|
1530 |
|
1531 |
-
#: app/helper/RTMediaSupport.php:
|
1532 |
msgid "There is no media found to migrate."
|
1533 |
msgstr ""
|
1534 |
|
1535 |
-
#: app/helper/RTMediaSupport.php:
|
1536 |
#: app/main/controllers/media/RTMediaLoginPopup.php:56
|
1537 |
msgid "Click"
|
1538 |
msgstr ""
|
1539 |
|
1540 |
-
#: app/helper/RTMediaSupport.php:
|
1541 |
msgid "here to migrate media from rtMedia 2.x to rtMedia 3.0+."
|
1542 |
msgstr ""
|
1543 |
|
1544 |
-
#: app/helper/RTMediaSupport.php:
|
1545 |
msgid "Submit a Bug Report"
|
1546 |
msgstr ""
|
1547 |
|
1548 |
-
#: app/helper/RTMediaSupport.php:
|
1549 |
msgid "Submit a New Feature Request"
|
1550 |
msgstr ""
|
1551 |
|
1552 |
-
#: app/helper/RTMediaSupport.php:
|
1553 |
msgid "Submit Support Request"
|
1554 |
msgstr ""
|
1555 |
|
1556 |
-
#: app/helper/RTMediaSupport.php:
|
1557 |
msgid ""
|
1558 |
"If your site has some issues due to rtMedia and you want support, feel free "
|
1559 |
"to create a support topic on %s"
|
1560 |
msgstr ""
|
1561 |
|
1562 |
-
#: app/helper/RTMediaSupport.php:
|
1563 |
msgid "Community Forum"
|
1564 |
msgstr ""
|
1565 |
|
1566 |
-
#: app/helper/RTMediaSupport.php:
|
1567 |
msgid ""
|
1568 |
"If you have any suggestions, enhancements or bug reports, then you can open "
|
1569 |
"a new issue on %s"
|
1570 |
msgstr ""
|
1571 |
|
1572 |
-
#: app/helper/RTMediaSupport.php:
|
1573 |
msgid "Name"
|
1574 |
msgstr ""
|
1575 |
|
1576 |
-
#: app/helper/RTMediaSupport.php:
|
1577 |
msgid "Use actual user name which used during purchased."
|
1578 |
msgstr ""
|
1579 |
|
1580 |
-
#: app/helper/RTMediaSupport.php:
|
1581 |
msgid "Email"
|
1582 |
msgstr ""
|
1583 |
|
1584 |
-
#: app/helper/RTMediaSupport.php:
|
1585 |
msgid "Use email id which used during purchased"
|
1586 |
msgstr ""
|
1587 |
|
1588 |
-
#: app/helper/RTMediaSupport.php:
|
1589 |
msgid "Website"
|
1590 |
msgstr ""
|
1591 |
|
1592 |
-
#: app/helper/RTMediaSupport.php:
|
1593 |
msgid "Subject"
|
1594 |
msgstr ""
|
1595 |
|
1596 |
-
#: app/helper/RTMediaSupport.php:
|
1597 |
#: templates/media/media-single-edit.php:17
|
1598 |
msgid "Details"
|
1599 |
msgstr ""
|
1600 |
|
1601 |
-
#: app/helper/RTMediaSupport.php:
|
1602 |
msgid "Cheatin' uh?"
|
1603 |
msgstr ""
|
1604 |
|
1605 |
-
#: app/helper/RTMediaSupport.php:
|
1606 |
msgid "Can not verify request source."
|
1607 |
msgstr ""
|
1608 |
|
1609 |
-
#: app/helper/RTMediaSupport.php:
|
1610 |
msgid "rtMedia Premium Support Request from"
|
1611 |
msgstr ""
|
1612 |
|
1613 |
-
#: app/helper/RTMediaSupport.php:
|
1614 |
msgid "rtMedia New Feature Request from"
|
1615 |
msgstr ""
|
1616 |
|
1617 |
-
#: app/helper/RTMediaSupport.php:
|
1618 |
msgid "rtMedia Bug Report from"
|
1619 |
msgstr ""
|
1620 |
|
1621 |
-
#: app/helper/RTMediaSupport.php:
|
1622 |
msgid "rtMedia Contact from"
|
1623 |
msgstr ""
|
1624 |
|
1625 |
-
#: app/helper/RTMediaSupport.php:
|
1626 |
msgid "Thank you for your Feedback/Suggestion."
|
1627 |
msgstr ""
|
1628 |
|
1629 |
-
#: app/helper/RTMediaSupport.php:
|
1630 |
msgid "Thank you for posting your support request."
|
1631 |
msgstr ""
|
1632 |
|
1633 |
-
#: app/helper/RTMediaSupport.php:
|
1634 |
msgid "We will get back to you shortly."
|
1635 |
msgstr ""
|
1636 |
|
1637 |
-
#: app/helper/RTMediaSupport.php:
|
1638 |
msgid "Your server failed to send an email."
|
1639 |
msgstr ""
|
1640 |
|
1641 |
-
#: app/helper/RTMediaSupport.php:
|
1642 |
msgid "Kindly contact your server support to fix this."
|
1643 |
msgstr ""
|
1644 |
|
1645 |
-
#: app/helper/RTMediaSupport.php:
|
1646 |
msgid "You can alternatively create a support request %s"
|
1647 |
msgstr ""
|
1648 |
|
@@ -1896,7 +1896,7 @@ msgid "Users"
|
|
1896 |
msgstr ""
|
1897 |
|
1898 |
#: app/importers/BPMediaAlbumimporter.php:89 app/main/RTMedia.php:597
|
1899 |
-
#: app/services/RTMediaEncoding.php:
|
1900 |
msgid "Media"
|
1901 |
msgstr ""
|
1902 |
|
@@ -2369,27 +2369,27 @@ msgstr ""
|
|
2369 |
msgid "%s added %d %s"
|
2370 |
msgstr ""
|
2371 |
|
2372 |
-
#: app/main/controllers/activity/RTMediaBuddyPressActivity.php:
|
2373 |
msgid "%1$s liked a %2$s in the group %3$s"
|
2374 |
msgstr ""
|
2375 |
|
2376 |
-
#: app/main/controllers/activity/RTMediaBuddyPressActivity.php:
|
2377 |
msgid "%1$s liked their %2$s"
|
2378 |
msgstr ""
|
2379 |
|
2380 |
-
#: app/main/controllers/activity/RTMediaBuddyPressActivity.php:
|
2381 |
msgid "%1$s liked %2$s's %3$s"
|
2382 |
msgstr ""
|
2383 |
|
2384 |
-
#: app/main/controllers/activity/RTMediaBuddyPressActivity.php:
|
2385 |
msgid "%1$s commented on a %2$s in the group %3$s"
|
2386 |
msgstr ""
|
2387 |
|
2388 |
-
#: app/main/controllers/activity/RTMediaBuddyPressActivity.php:
|
2389 |
msgid "%1$s commented on their %2$s"
|
2390 |
msgstr ""
|
2391 |
|
2392 |
-
#: app/main/controllers/activity/RTMediaBuddyPressActivity.php:
|
2393 |
msgid "%1$s commented on %2$s's %3$s"
|
2394 |
msgstr ""
|
2395 |
|
@@ -2820,9 +2820,9 @@ msgid "Invalid attribute passed for rtmedia_gallery shortcode."
|
|
2820 |
msgstr ""
|
2821 |
|
2822 |
#: app/main/controllers/template/RTMediaTemplate.php:348
|
2823 |
-
#: app/main/controllers/template/RTMediaTemplate.php:
|
2824 |
-
#: app/main/controllers/template/RTMediaTemplate.php:
|
2825 |
-
#: app/main/controllers/template/RTMediaTemplate.php:
|
2826 |
msgid "Ooops !!! Invalid access. No nonce was found !!"
|
2827 |
msgstr ""
|
2828 |
|
@@ -2847,11 +2847,11 @@ msgstr ""
|
|
2847 |
msgid "Delete Comment"
|
2848 |
msgstr ""
|
2849 |
|
2850 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2851 |
msgid "Go to page no : "
|
2852 |
msgstr ""
|
2853 |
|
2854 |
-
#: app/main/controllers/template/rt-template-functions.php:
|
2855 |
msgid "Go"
|
2856 |
msgstr ""
|
2857 |
|
@@ -3102,7 +3102,7 @@ msgid "Following are the details:"
|
|
3102 |
msgstr ""
|
3103 |
|
3104 |
#: app/services/RTMediaEncoding.php:166 app/services/RTMediaEncoding.php:186
|
3105 |
-
#: app/services/RTMediaEncoding.php:
|
3106 |
msgid "Remaining"
|
3107 |
msgstr ""
|
3108 |
|
@@ -3122,189 +3122,189 @@ msgstr ""
|
|
3122 |
msgid "Used:"
|
3123 |
msgstr ""
|
3124 |
|
3125 |
-
#: app/services/RTMediaEncoding.php:
|
3126 |
msgid "You have successfully subscribed for the "
|
3127 |
msgstr ""
|
3128 |
|
3129 |
-
#: app/services/RTMediaEncoding.php:
|
3130 |
msgid " plan"
|
3131 |
msgstr ""
|
3132 |
|
3133 |
-
#: app/services/RTMediaEncoding.php:
|
3134 |
msgid "Unsubscribe"
|
3135 |
msgstr ""
|
3136 |
|
3137 |
-
#: app/services/RTMediaEncoding.php:
|
3138 |
msgid ""
|
3139 |
"Just to improve our service we would like to know the reason for you to "
|
3140 |
"leave us."
|
3141 |
msgstr ""
|
3142 |
|
3143 |
-
#: app/services/RTMediaEncoding.php:
|
3144 |
msgid "Current Plan"
|
3145 |
msgstr ""
|
3146 |
|
3147 |
-
#: app/services/RTMediaEncoding.php:
|
3148 |
msgid "Unsubscribed"
|
3149 |
msgstr ""
|
3150 |
|
3151 |
-
#: app/services/RTMediaEncoding.php:
|
3152 |
msgid "Used"
|
3153 |
msgstr ""
|
3154 |
|
3155 |
-
#: app/services/RTMediaEncoding.php:
|
3156 |
msgid "Total"
|
3157 |
msgstr ""
|
3158 |
|
3159 |
-
#: app/services/RTMediaEncoding.php:
|
3160 |
msgid "Your usage limit has been reached. Upgrade your plan."
|
3161 |
msgstr ""
|
3162 |
|
3163 |
-
#: app/services/RTMediaEncoding.php:
|
3164 |
msgid "Your API key is not valid or is expired."
|
3165 |
msgstr ""
|
3166 |
|
3167 |
-
#: app/services/RTMediaEncoding.php:
|
3168 |
msgid "Encoding Usage"
|
3169 |
msgstr ""
|
3170 |
|
3171 |
-
#: app/services/RTMediaEncoding.php:
|
3172 |
msgid "Audio/Video encoding service"
|
3173 |
msgstr ""
|
3174 |
|
3175 |
-
#: app/services/RTMediaEncoding.php:
|
3176 |
msgid "rtMedia team has started offering an audio/video encoding service."
|
3177 |
msgstr ""
|
3178 |
|
3179 |
-
#: app/services/RTMediaEncoding.php:
|
3180 |
msgid "Enter API KEY"
|
3181 |
msgstr ""
|
3182 |
|
3183 |
-
#: app/services/RTMediaEncoding.php:
|
3184 |
msgid "Save Key"
|
3185 |
msgstr ""
|
3186 |
|
3187 |
-
#: app/services/RTMediaEncoding.php:
|
3188 |
msgid "Feature\\Plan"
|
3189 |
msgstr ""
|
3190 |
|
3191 |
-
#: app/services/RTMediaEncoding.php:
|
3192 |
msgid "Free"
|
3193 |
msgstr ""
|
3194 |
|
3195 |
-
#: app/services/RTMediaEncoding.php:
|
3196 |
msgid "Silver"
|
3197 |
msgstr ""
|
3198 |
|
3199 |
-
#: app/services/RTMediaEncoding.php:
|
3200 |
msgid "Gold"
|
3201 |
msgstr ""
|
3202 |
|
3203 |
-
#: app/services/RTMediaEncoding.php:
|
3204 |
msgid "Platinum"
|
3205 |
msgstr ""
|
3206 |
|
3207 |
-
#: app/services/RTMediaEncoding.php:
|
3208 |
msgid "File Size Limit"
|
3209 |
msgstr ""
|
3210 |
|
3211 |
-
#: app/services/RTMediaEncoding.php:
|
3212 |
msgid "Bandwidth (monthly)"
|
3213 |
msgstr ""
|
3214 |
|
3215 |
-
#: app/services/RTMediaEncoding.php:
|
3216 |
msgid "Overage Bandwidth"
|
3217 |
msgstr ""
|
3218 |
|
3219 |
-
#: app/services/RTMediaEncoding.php:
|
3220 |
-
#: app/services/RTMediaEncoding.php:
|
3221 |
msgid "Not Available"
|
3222 |
msgstr ""
|
3223 |
|
3224 |
-
#: app/services/RTMediaEncoding.php:
|
3225 |
msgid "Amazon S3 Support"
|
3226 |
msgstr ""
|
3227 |
|
3228 |
-
#: app/services/RTMediaEncoding.php:
|
3229 |
-
#: app/services/RTMediaEncoding.php:
|
3230 |
msgid "Coming Soon"
|
3231 |
msgstr ""
|
3232 |
|
3233 |
-
#: app/services/RTMediaEncoding.php:
|
3234 |
msgid "HD Profile"
|
3235 |
msgstr ""
|
3236 |
|
3237 |
-
#: app/services/RTMediaEncoding.php:
|
3238 |
msgid "Webcam Recording"
|
3239 |
msgstr ""
|
3240 |
|
3241 |
-
#: app/services/RTMediaEncoding.php:
|
3242 |
msgid "Pricing"
|
3243 |
msgstr ""
|
3244 |
|
3245 |
-
#: app/services/RTMediaEncoding.php:
|
3246 |
msgid "$9/month"
|
3247 |
msgstr ""
|
3248 |
|
3249 |
-
#: app/services/RTMediaEncoding.php:
|
3250 |
msgid "$99/month"
|
3251 |
msgstr ""
|
3252 |
|
3253 |
-
#: app/services/RTMediaEncoding.php:
|
3254 |
msgid "$999/month"
|
3255 |
msgstr ""
|
3256 |
|
3257 |
-
#: app/services/RTMediaEncoding.php:
|
3258 |
msgid "Try Now"
|
3259 |
msgstr ""
|
3260 |
|
3261 |
-
#: app/services/RTMediaEncoding.php:
|
3262 |
msgid "Could not read file."
|
3263 |
msgstr ""
|
3264 |
|
3265 |
-
#: app/services/RTMediaEncoding.php:
|
3266 |
msgid ""
|
3267 |
"Something went wrong. The required attachment id does not exists. It must "
|
3268 |
"have been deleted."
|
3269 |
msgstr ""
|
3270 |
|
3271 |
-
#: app/services/RTMediaEncoding.php:
|
3272 |
msgid "rtMedia Encoding: Download Failed"
|
3273 |
msgstr ""
|
3274 |
|
3275 |
-
#: app/services/RTMediaEncoding.php:
|
3276 |
msgid " was successfully encoded but there was an error while downloading:"
|
3277 |
msgstr ""
|
3278 |
|
3279 |
-
#: app/services/RTMediaEncoding.php:
|
3280 |
msgid "You can "
|
3281 |
msgstr ""
|
3282 |
|
3283 |
-
#: app/services/RTMediaEncoding.php:
|
3284 |
msgid "retry the download"
|
3285 |
msgstr ""
|
3286 |
|
3287 |
-
#: app/services/RTMediaEncoding.php:
|
3288 |
msgid "Done"
|
3289 |
msgstr ""
|
3290 |
|
3291 |
-
#: app/services/RTMediaEncoding.php:
|
3292 |
msgid "Something went wrong please try again."
|
3293 |
msgstr ""
|
3294 |
|
3295 |
-
#: app/services/RTMediaEncoding.php:
|
3296 |
msgid "Your subscription was cancelled successfully"
|
3297 |
msgstr ""
|
3298 |
|
3299 |
-
#: app/services/RTMediaEncoding.php:
|
3300 |
msgid "Please enter the api key."
|
3301 |
msgstr ""
|
3302 |
|
3303 |
-
#: app/services/RTMediaEncoding.php:
|
3304 |
msgid "Encoding disabled successfully."
|
3305 |
msgstr ""
|
3306 |
|
3307 |
-
#: app/services/RTMediaEncoding.php:
|
3308 |
msgid "Encoding enabled successfully."
|
3309 |
msgstr ""
|
3310 |
|
2 |
# This file is distributed under the same license as the rtMedia for WordPress, BuddyPress and bbPress package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: rtMedia for WordPress, BuddyPress and bbPress 4.0.4\n"
|
6 |
"Report-Msgid-Bugs-To: http://community.rtcamp.com/c/rtmedia/\n"
|
7 |
+
"POT-Creation-Date: 2016-07-22 06:56:14+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
24 |
"X-Poedit-Bookmarks: \n"
|
25 |
"X-Textdomain-Support: yes\n"
|
26 |
|
27 |
+
#: app/admin/RTMediaAdmin.php:153
|
28 |
msgid "View “%s”"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: app/admin/RTMediaAdmin.php:153
|
32 |
msgid "View"
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: app/admin/RTMediaAdmin.php:221 app/admin/RTMediaAdmin.php:273
|
36 |
msgid "rtMedia: "
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: app/admin/RTMediaAdmin.php:222
|
40 |
msgid "We have released 30+ premium add-ons for rtMedia plugin. Read more about it "
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: app/admin/RTMediaAdmin.php:224 app/admin/RTMediaAdmin.php:1186
|
44 |
+
#: app/admin/RTMediaAdmin.php:1857 app/admin/RTMediaAdmin.php:1875
|
45 |
+
#: app/admin/RTMediaAdmin.php:1893 app/admin/RTMediaFormHandler.php:435
|
46 |
#: app/admin/RTMediaFormHandler.php:446 app/helper/RTMediaSettings.php:297
|
47 |
+
#: app/helper/RTMediaSupport.php:383 app/helper/RTMediaSupport.php:652
|
48 |
msgid "here"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: app/admin/RTMediaAdmin.php:274
|
52 |
msgid "Meet "
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: app/admin/RTMediaAdmin.php:277
|
56 |
msgid "rtMedia Social Sync"
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: app/admin/RTMediaAdmin.php:279
|
60 |
msgid " which allows you to import media from your Facebook account."
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: app/admin/RTMediaAdmin.php:332
|
64 |
msgid "Meet InspireBook"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: app/admin/RTMediaAdmin.php:334
|
68 |
msgid " - First official rtMedia premium theme."
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: app/admin/RTMediaAdmin.php:418 app/admin/RTMediaAdmin.php:443
|
72 |
msgid "rtMedia:"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: app/admin/RTMediaAdmin.php:418
|
76 |
msgid " You must"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: app/admin/RTMediaAdmin.php:418
|
80 |
msgid "update permalink structure"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: app/admin/RTMediaAdmin.php:418
|
84 |
msgid "to something other than the default for it to work."
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: app/admin/RTMediaAdmin.php:444
|
88 |
msgid "Please update all premium add-ons that you have purchased from rtCamp from"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: app/admin/RTMediaAdmin.php:446
|
92 |
msgid "your account"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: app/admin/RTMediaAdmin.php:448
|
96 |
msgid "Dismiss"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: app/admin/RTMediaAdmin.php:563
|
100 |
msgid "rtMedia Pro is released"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: app/admin/RTMediaAdmin.php:584
|
104 |
msgid "Media Stats"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: app/admin/RTMediaAdmin.php:614
|
108 |
msgid "Usage Stats"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: app/admin/RTMediaAdmin.php:626
|
112 |
msgid "Total "
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: app/admin/RTMediaAdmin.php:637
|
116 |
msgid "With Media"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: app/admin/RTMediaAdmin.php:648
|
120 |
msgid "Comments "
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: app/admin/RTMediaAdmin.php:659 app/main/controllers/media/RTMediaLike.php:19
|
124 |
msgid "Likes"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: app/admin/RTMediaAdmin.php:669
|
128 |
msgid "rtMedia Links:"
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: app/admin/RTMediaAdmin.php:670
|
132 |
msgid "Homepage"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: app/admin/RTMediaAdmin.php:672
|
136 |
msgid "Free Support"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: app/admin/RTMediaAdmin.php:675
|
140 |
msgid "Premium Addons"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: app/admin/RTMediaAdmin.php:692
|
144 |
msgid "Right Now in rtMedia"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: app/admin/RTMediaAdmin.php:727 app/admin/RTMediaAdmin.php:800
|
148 |
+
#: app/admin/RTMediaAdmin.php:803 app/admin/RTMediaAdmin.php:978
|
149 |
+
#: app/admin/RTMediaAdmin.php:1567
|
150 |
msgid "Settings"
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: app/admin/RTMediaAdmin.php:729 app/admin/RTMediaAdmin.php:824
|
154 |
+
#: app/admin/RTMediaAdmin.php:827 app/admin/RTMediaAdmin.php:988
|
155 |
+
#: app/admin/RTMediaAdmin.php:1593 app/helper/RTMediaSettings.php:221
|
156 |
#: app/helper/RTMediaSupport.php:52 app/helper/RTMediaSupport.php:53
|
157 |
msgid "Support"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: app/admin/RTMediaAdmin.php:749 app/admin/RTMediaAdmin.php:1017
|
161 |
+
#: app/admin/RTMediaAdmin.php:1069
|
162 |
msgid "Regenerate Thumbnail"
|
163 |
msgstr ""
|
164 |
|
165 |
+
#: app/admin/RTMediaAdmin.php:793 app/admin/RTMediaAdmin.php:1539
|
166 |
+
#: app/admin/RTMediaAdmin.php:1540 app/importers/RTMediaActivityUpgrade.php:116
|
167 |
#: app/importers/RTMediaMigration.php:68 app/main/RTMedia.php:908
|
168 |
msgid "rtMedia"
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: app/admin/RTMediaAdmin.php:812 app/admin/RTMediaAdmin.php:815
|
172 |
+
#: app/admin/RTMediaAdmin.php:983 app/admin/RTMediaAdmin.php:1572
|
173 |
msgid "Addons"
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: app/admin/RTMediaAdmin.php:836 app/admin/RTMediaAdmin.php:839
|
177 |
+
#: app/admin/RTMediaAdmin.php:994 app/admin/RTMediaAdmin.php:1580
|
178 |
msgid "Themes"
|
179 |
msgstr ""
|
180 |
|
181 |
+
#: app/admin/RTMediaAdmin.php:849 app/admin/RTMediaAdmin.php:852
|
182 |
+
#: app/admin/RTMediaAdmin.php:1001 app/admin/RTMediaAdmin.php:1586
|
183 |
msgid "Hire Us"
|
184 |
msgstr ""
|
185 |
|
186 |
+
#: app/admin/RTMediaAdmin.php:862 app/admin/RTMediaAdmin.php:865
|
187 |
+
#: app/admin/RTMediaAdmin.php:1008 app/admin/RTMediaAdmin.php:1600
|
188 |
msgid "Licenses"
|
189 |
msgstr ""
|
190 |
|
191 |
+
#: app/admin/RTMediaAdmin.php:916
|
192 |
msgid "ON"
|
193 |
msgstr ""
|
194 |
|
195 |
+
#: app/admin/RTMediaAdmin.php:917
|
196 |
msgid "OFF"
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: app/admin/RTMediaAdmin.php:923
|
200 |
msgid "Please do not refresh this page."
|
201 |
msgstr ""
|
202 |
|
203 |
+
#: app/admin/RTMediaAdmin.php:924
|
204 |
msgid "Something went wrong. Please "
|
205 |
msgstr ""
|
206 |
|
207 |
+
#: app/admin/RTMediaAdmin.php:924
|
208 |
msgid "refresh"
|
209 |
msgstr ""
|
210 |
|
211 |
+
#: app/admin/RTMediaAdmin.php:924
|
212 |
msgid " page."
|
213 |
msgstr ""
|
214 |
|
215 |
+
#: app/admin/RTMediaAdmin.php:925
|
216 |
msgid "This will subscribe you to the free plan."
|
217 |
msgstr ""
|
218 |
|
219 |
+
#: app/admin/RTMediaAdmin.php:926
|
220 |
msgid "Are you sure you want to disable the encoding service?"
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: app/admin/RTMediaAdmin.php:927
|
224 |
msgid "Are you sure you want to enable the encoding service?"
|
225 |
msgstr ""
|
226 |
|
227 |
+
#: app/admin/RTMediaAdmin.php:928
|
228 |
msgid "Settings have changed, you should save them!"
|
229 |
msgstr ""
|
230 |
|
231 |
+
#: app/admin/RTMediaAdmin.php:929
|
232 |
msgid ""
|
233 |
"Number of video thumbnails to be generated should be greater than 0 in "
|
234 |
"media sizes settings. Setting it to default value 2."
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: app/admin/RTMediaAdmin.php:930
|
238 |
msgid ""
|
239 |
"Invalid value for number of video thumbnails in media sizes settings. "
|
240 |
"Setting it to round value"
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: app/admin/RTMediaAdmin.php:931
|
244 |
msgid ""
|
245 |
"Number of percentage in JPEG image quality should be greater than 0 in "
|
246 |
"media sizes settings. Setting it to default value 90."
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: app/admin/RTMediaAdmin.php:932
|
250 |
msgid ""
|
251 |
"Number of percentage in JPEG image quality should be less than 100 in media "
|
252 |
"sizes settings. Setting it to 100."
|
253 |
msgstr ""
|
254 |
|
255 |
+
#: app/admin/RTMediaAdmin.php:933
|
256 |
msgid ""
|
257 |
"Invalid value for percentage in JPEG image quality in media sizes settings. "
|
258 |
"Setting it to round value"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: app/admin/RTMediaAdmin.php:934
|
262 |
msgid ""
|
263 |
"Please enter positive integer value only. Setting number of media per page "
|
264 |
"value to default value 10."
|
265 |
msgstr ""
|
266 |
|
267 |
+
#: app/admin/RTMediaAdmin.php:935
|
268 |
msgid ""
|
269 |
"Please enter positive integer value only. Setting number of media per page "
|
270 |
"value to round value"
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: app/admin/RTMediaAdmin.php:936
|
274 |
msgid "Request failed."
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: app/admin/RTMediaAdmin.php:944
|
278 |
msgid "Please enter WP Admin Login."
|
279 |
msgstr ""
|
280 |
|
281 |
+
#: app/admin/RTMediaAdmin.php:945
|
282 |
msgid "Please enter WP Admin password."
|
283 |
msgstr ""
|
284 |
|
285 |
+
#: app/admin/RTMediaAdmin.php:946
|
286 |
msgid "Please enter SSH / FTP host."
|
287 |
msgstr ""
|
288 |
|
289 |
+
#: app/admin/RTMediaAdmin.php:947
|
290 |
msgid "Please enter SSH / FTP login."
|
291 |
msgstr ""
|
292 |
|
293 |
+
#: app/admin/RTMediaAdmin.php:948
|
294 |
msgid "Please enter SSH / FTP password."
|
295 |
msgstr ""
|
296 |
|
297 |
+
#: app/admin/RTMediaAdmin.php:949
|
298 |
msgid "Please fill all the fields."
|
299 |
msgstr ""
|
300 |
|
301 |
+
#: app/admin/RTMediaAdmin.php:1017
|
302 |
msgid "Regen. Thumbnail "
|
303 |
msgstr ""
|
304 |
|
305 |
+
#: app/admin/RTMediaAdmin.php:1038
|
306 |
msgid "rtMedia: Regenerate Video Thumbnails"
|
307 |
msgstr ""
|
308 |
|
309 |
+
#: app/admin/RTMediaAdmin.php:1060
|
310 |
msgid "You can see this page because you have "
|
311 |
msgstr ""
|
312 |
|
313 |
+
#: app/admin/RTMediaAdmin.php:1061
|
314 |
msgid "subscribed"
|
315 |
msgstr ""
|
316 |
|
317 |
+
#: app/admin/RTMediaAdmin.php:1062
|
318 |
msgid " for "
|
319 |
msgstr ""
|
320 |
|
321 |
+
#: app/admin/RTMediaAdmin.php:1063
|
322 |
msgid "rtMedia audio/video encoding service"
|
323 |
msgstr ""
|
324 |
|
325 |
+
#: app/admin/RTMediaAdmin.php:1066
|
326 |
msgid "You can regenerate thumbnails of a specific video by visiting "
|
327 |
msgstr ""
|
328 |
|
329 |
+
#: app/admin/RTMediaAdmin.php:1067
|
330 |
msgid "media page"
|
331 |
msgstr ""
|
332 |
|
333 |
+
#: app/admin/RTMediaAdmin.php:1068
|
334 |
msgid " and clicking the "
|
335 |
msgstr ""
|
336 |
|
337 |
+
#: app/admin/RTMediaAdmin.php:1070
|
338 |
msgid " option for that particular video."
|
339 |
msgstr ""
|
340 |
|
341 |
+
#: app/admin/RTMediaAdmin.php:1073
|
342 |
msgid "Click "
|
343 |
msgstr ""
|
344 |
|
345 |
+
#: app/admin/RTMediaAdmin.php:1074 app/admin/RTMediaAdmin.php:1079
|
346 |
msgid "Regenerate Pending Thumbnails"
|
347 |
msgstr ""
|
348 |
|
349 |
+
#: app/admin/RTMediaAdmin.php:1075
|
350 |
msgid " to regenerate thumbnails of pending videos."
|
351 |
msgstr ""
|
352 |
|
353 |
+
#: app/admin/RTMediaAdmin.php:1091
|
354 |
msgid "Total Videos"
|
355 |
msgstr ""
|
356 |
|
357 |
+
#: app/admin/RTMediaAdmin.php:1095
|
358 |
msgid "Sent of regenerate thumbails"
|
359 |
msgstr ""
|
360 |
|
361 |
+
#: app/admin/RTMediaAdmin.php:1098
|
362 |
msgid "Fail to regenerate thumbails"
|
363 |
msgstr ""
|
364 |
|
365 |
+
#: app/admin/RTMediaAdmin.php:1139
|
366 |
msgid "Regenerate Video Thumbnails Done"
|
367 |
msgstr ""
|
368 |
|
369 |
+
#: app/admin/RTMediaAdmin.php:1185
|
370 |
msgid "You have %s videos without thumbnails. Click "
|
371 |
msgstr ""
|
372 |
|
373 |
+
#: app/admin/RTMediaAdmin.php:1187
|
374 |
msgid " to generate thumbnails."
|
375 |
msgstr ""
|
376 |
|
377 |
+
#: app/admin/RTMediaAdmin.php:1270
|
378 |
msgid "not a video ..."
|
379 |
msgstr ""
|
380 |
|
381 |
+
#: app/admin/RTMediaAdmin.php:1421
|
382 |
msgid "Empowering The Web With WordPress"
|
383 |
msgstr ""
|
384 |
|
385 |
+
#: app/admin/RTMediaAdmin.php:1442
|
386 |
msgid "Settings saved successfully!"
|
387 |
msgstr ""
|
388 |
|
389 |
+
#: app/admin/RTMediaAdmin.php:1448 app/admin/RTMediaAdmin.php:1477
|
390 |
msgid "Save Settings"
|
391 |
msgstr ""
|
392 |
|
393 |
+
#: app/admin/RTMediaAdmin.php:1674 app/admin/RTMediaAdmin.php:1675
|
394 |
msgid "Display"
|
395 |
msgstr ""
|
396 |
|
397 |
+
#: app/admin/RTMediaAdmin.php:1683
|
398 |
msgid "rtMedia BuddyPress"
|
399 |
msgstr ""
|
400 |
|
401 |
+
#: app/admin/RTMediaAdmin.php:1684
|
402 |
msgid "BuddyPress"
|
403 |
msgstr ""
|
404 |
|
405 |
+
#: app/admin/RTMediaAdmin.php:1692
|
406 |
msgid "rtMedia Types"
|
407 |
msgstr ""
|
408 |
|
409 |
+
#: app/admin/RTMediaAdmin.php:1693
|
410 |
msgid "Types"
|
411 |
msgstr ""
|
412 |
|
413 |
+
#: app/admin/RTMediaAdmin.php:1700
|
414 |
msgid "rtMedia Sizes"
|
415 |
msgstr ""
|
416 |
|
417 |
+
#: app/admin/RTMediaAdmin.php:1701
|
418 |
msgid "Media Sizes"
|
419 |
msgstr ""
|
420 |
|
421 |
+
#: app/admin/RTMediaAdmin.php:1708
|
422 |
msgid "rtMedia Privacy"
|
423 |
msgstr ""
|
424 |
|
425 |
+
#: app/admin/RTMediaAdmin.php:1709
|
426 |
#: app/main/controllers/privacy/RTMediaPrivacy.php:417
|
427 |
msgid "Privacy"
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: app/admin/RTMediaAdmin.php:1715
|
431 |
msgid "rtMedia Custom CSS"
|
432 |
msgstr ""
|
433 |
|
434 |
+
#: app/admin/RTMediaAdmin.php:1716
|
435 |
msgid "Custom CSS"
|
436 |
msgstr ""
|
437 |
|
438 |
+
#: app/admin/RTMediaAdmin.php:1725 app/admin/RTMediaAdmin.php:1726
|
439 |
msgid "Other Settings"
|
440 |
msgstr ""
|
441 |
|
442 |
+
#: app/admin/RTMediaAdmin.php:1773
|
443 |
msgid "I use @rtMediaWP http://rt.cx/rtmedia on %s"
|
444 |
msgstr ""
|
445 |
|
446 |
+
#: app/admin/RTMediaAdmin.php:1775
|
447 |
msgid "Post to Twitter Now"
|
448 |
msgstr ""
|
449 |
|
450 |
+
#: app/admin/RTMediaAdmin.php:1775
|
451 |
msgid "Post to Twitter"
|
452 |
msgstr ""
|
453 |
|
454 |
+
#: app/admin/RTMediaAdmin.php:1776
|
455 |
msgid "Share on Facebook Now"
|
456 |
msgstr ""
|
457 |
|
458 |
+
#: app/admin/RTMediaAdmin.php:1776
|
459 |
msgid "Share on Facebook"
|
460 |
msgstr ""
|
461 |
|
462 |
+
#: app/admin/RTMediaAdmin.php:1777
|
463 |
msgid "Rate rtMedia on Wordpress.org"
|
464 |
msgstr ""
|
465 |
|
466 |
+
#: app/admin/RTMediaAdmin.php:1777
|
467 |
msgid "Rate on Wordpress.org"
|
468 |
msgstr ""
|
469 |
|
470 |
+
#: app/admin/RTMediaAdmin.php:1778
|
471 |
msgid "Subscribe to our Feeds"
|
472 |
msgstr ""
|
473 |
|
474 |
+
#: app/admin/RTMediaAdmin.php:1781
|
475 |
msgid "Spread the Word"
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: app/admin/RTMediaAdmin.php:1787 app/admin/RTMediaAdmin.php:1794
|
479 |
msgid "Subscribe"
|
480 |
msgstr ""
|
481 |
|
482 |
+
#: app/admin/RTMediaAdmin.php:1825
|
483 |
msgid "Thank you for your time."
|
484 |
msgstr ""
|
485 |
|
486 |
+
#: app/admin/RTMediaAdmin.php:1838
|
487 |
msgid "Premium Add-ons"
|
488 |
msgstr ""
|
489 |
|
490 |
+
#: app/admin/RTMediaAdmin.php:1856
|
491 |
msgid ""
|
492 |
"You have images enabled on rtMedia but your network allowed filetypes do "
|
493 |
"not permit uploading of %s. Click "
|
494 |
msgstr ""
|
495 |
|
496 |
+
#: app/admin/RTMediaAdmin.php:1858 app/admin/RTMediaAdmin.php:1876
|
497 |
+
#: app/admin/RTMediaAdmin.php:1894
|
498 |
msgid " to change your settings manually."
|
499 |
msgstr ""
|
500 |
|
501 |
+
#: app/admin/RTMediaAdmin.php:1860 app/admin/RTMediaAdmin.php:1878
|
502 |
+
#: app/admin/RTMediaAdmin.php:1896
|
503 |
msgid "Recommended:"
|
504 |
msgstr ""
|
505 |
|
506 |
+
#: app/admin/RTMediaAdmin.php:1861 app/admin/RTMediaAdmin.php:1879
|
507 |
+
#: app/admin/RTMediaAdmin.php:1897
|
508 |
msgid "Update Network Settings Automatically"
|
509 |
msgstr ""
|
510 |
|
511 |
+
#: app/admin/RTMediaAdmin.php:1874
|
512 |
msgid ""
|
513 |
"You have video enabled on BuddyPress Media but your network allowed "
|
514 |
"filetypes do not permit uploading of mp4. Click "
|
515 |
msgstr ""
|
516 |
|
517 |
+
#: app/admin/RTMediaAdmin.php:1892
|
518 |
msgid ""
|
519 |
"You have audio enabled on BuddyPress Media but your network allowed "
|
520 |
"filetypes do not permit uploading of mp3. Click "
|
521 |
msgstr ""
|
522 |
|
523 |
+
#: app/admin/RTMediaAdmin.php:1913
|
524 |
msgid "Network settings updated successfully."
|
525 |
msgstr ""
|
526 |
|
527 |
+
#: app/admin/RTMediaAdmin.php:2025
|
528 |
msgid "Video is sent to generate thumbnails."
|
529 |
msgstr ""
|
530 |
|
531 |
+
#: app/admin/RTMediaAdmin.php:2027
|
532 |
msgid "Video cannot be sent to generate thumbnails."
|
533 |
msgstr ""
|
534 |
|
535 |
+
#: app/admin/RTMediaAdmin.php:2041
|
536 |
msgid "Regenerate Video Thumbnails"
|
537 |
msgstr ""
|
538 |
|
539 |
+
#: app/admin/RTMediaAdmin.php:2053
|
540 |
msgid ""
|
541 |
"Please update rtMedia template files if you have overridden the default "
|
542 |
"rtMedia templates in your theme. If not, you can ignore and hide this "
|
543 |
"notice."
|
544 |
msgstr ""
|
545 |
|
546 |
+
#: app/admin/RTMediaAdmin.php:2053
|
547 |
#: app/importers/RTMediaMediaSizeImporter.php:73
|
548 |
#: app/importers/RTMediaMigration.php:68
|
549 |
msgid "Hide"
|
1486 |
"a new issue on "
|
1487 |
msgstr ""
|
1488 |
|
1489 |
+
#: app/helper/RTMediaSettings.php:403 app/helper/RTMediaSupport.php:434
|
1490 |
msgid "GitHub"
|
1491 |
msgstr ""
|
1492 |
|
1493 |
#: app/helper/RTMediaSupport.php:59 app/helper/RTMediaSupport.php:60
|
1494 |
+
#: app/helper/RTMediaSupport.php:325 app/helper/RTMediaSupport.php:617
|
1495 |
msgid "Debug Info"
|
1496 |
msgstr ""
|
1497 |
|
1500 |
msgid "Migration"
|
1501 |
msgstr ""
|
1502 |
|
1503 |
+
#: app/helper/RTMediaSupport.php:142
|
1504 |
msgid "Service"
|
1505 |
msgstr ""
|
1506 |
|
1507 |
+
#: app/helper/RTMediaSupport.php:149
|
1508 |
msgid "Premium Support"
|
1509 |
msgstr ""
|
1510 |
|
1511 |
+
#: app/helper/RTMediaSupport.php:155
|
1512 |
msgid "Bug Report"
|
1513 |
msgstr ""
|
1514 |
|
1515 |
+
#: app/helper/RTMediaSupport.php:161
|
1516 |
msgid "New Feature"
|
1517 |
msgstr ""
|
1518 |
|
1519 |
+
#: app/helper/RTMediaSupport.php:163
|
1520 |
msgid "Submit"
|
1521 |
msgstr ""
|
1522 |
|
1523 |
+
#: app/helper/RTMediaSupport.php:210
|
1524 |
msgid "by"
|
1525 |
msgstr ""
|
1526 |
|
1527 |
+
#: app/helper/RTMediaSupport.php:210
|
1528 |
msgid "version"
|
1529 |
msgstr ""
|
1530 |
|
1531 |
+
#: app/helper/RTMediaSupport.php:377
|
1532 |
msgid "There is no media found to migrate."
|
1533 |
msgstr ""
|
1534 |
|
1535 |
+
#: app/helper/RTMediaSupport.php:383
|
1536 |
#: app/main/controllers/media/RTMediaLoginPopup.php:56
|
1537 |
msgid "Click"
|
1538 |
msgstr ""
|
1539 |
|
1540 |
+
#: app/helper/RTMediaSupport.php:383
|
1541 |
msgid "here to migrate media from rtMedia 2.x to rtMedia 3.0+."
|
1542 |
msgstr ""
|
1543 |
|
1544 |
+
#: app/helper/RTMediaSupport.php:411
|
1545 |
msgid "Submit a Bug Report"
|
1546 |
msgstr ""
|
1547 |
|
1548 |
+
#: app/helper/RTMediaSupport.php:414
|
1549 |
msgid "Submit a New Feature Request"
|
1550 |
msgstr ""
|
1551 |
|
1552 |
+
#: app/helper/RTMediaSupport.php:417
|
1553 |
msgid "Submit Support Request"
|
1554 |
msgstr ""
|
1555 |
|
1556 |
+
#: app/helper/RTMediaSupport.php:426
|
1557 |
msgid ""
|
1558 |
"If your site has some issues due to rtMedia and you want support, feel free "
|
1559 |
"to create a support topic on %s"
|
1560 |
msgstr ""
|
1561 |
|
1562 |
+
#: app/helper/RTMediaSupport.php:427
|
1563 |
msgid "Community Forum"
|
1564 |
msgstr ""
|
1565 |
|
1566 |
+
#: app/helper/RTMediaSupport.php:433
|
1567 |
msgid ""
|
1568 |
"If you have any suggestions, enhancements or bug reports, then you can open "
|
1569 |
"a new issue on %s"
|
1570 |
msgstr ""
|
1571 |
|
1572 |
+
#: app/helper/RTMediaSupport.php:453
|
1573 |
msgid "Name"
|
1574 |
msgstr ""
|
1575 |
|
1576 |
+
#: app/helper/RTMediaSupport.php:458
|
1577 |
msgid "Use actual user name which used during purchased."
|
1578 |
msgstr ""
|
1579 |
|
1580 |
+
#: app/helper/RTMediaSupport.php:465
|
1581 |
msgid "Email"
|
1582 |
msgstr ""
|
1583 |
|
1584 |
+
#: app/helper/RTMediaSupport.php:470
|
1585 |
msgid "Use email id which used during purchased"
|
1586 |
msgstr ""
|
1587 |
|
1588 |
+
#: app/helper/RTMediaSupport.php:477
|
1589 |
msgid "Website"
|
1590 |
msgstr ""
|
1591 |
|
1592 |
+
#: app/helper/RTMediaSupport.php:485
|
1593 |
msgid "Subject"
|
1594 |
msgstr ""
|
1595 |
|
1596 |
+
#: app/helper/RTMediaSupport.php:493 templates/media/album-single-edit.php:20
|
1597 |
#: templates/media/media-single-edit.php:17
|
1598 |
msgid "Details"
|
1599 |
msgstr ""
|
1600 |
|
1601 |
+
#: app/helper/RTMediaSupport.php:531
|
1602 |
msgid "Cheatin' uh?"
|
1603 |
msgstr ""
|
1604 |
|
1605 |
+
#: app/helper/RTMediaSupport.php:532
|
1606 |
msgid "Can not verify request source."
|
1607 |
msgstr ""
|
1608 |
|
1609 |
+
#: app/helper/RTMediaSupport.php:547
|
1610 |
msgid "rtMedia Premium Support Request from"
|
1611 |
msgstr ""
|
1612 |
|
1613 |
+
#: app/helper/RTMediaSupport.php:550
|
1614 |
msgid "rtMedia New Feature Request from"
|
1615 |
msgstr ""
|
1616 |
|
1617 |
+
#: app/helper/RTMediaSupport.php:553
|
1618 |
msgid "rtMedia Bug Report from"
|
1619 |
msgstr ""
|
1620 |
|
1621 |
+
#: app/helper/RTMediaSupport.php:556
|
1622 |
msgid "rtMedia Contact from"
|
1623 |
msgstr ""
|
1624 |
|
1625 |
+
#: app/helper/RTMediaSupport.php:639
|
1626 |
msgid "Thank you for your Feedback/Suggestion."
|
1627 |
msgstr ""
|
1628 |
|
1629 |
+
#: app/helper/RTMediaSupport.php:641
|
1630 |
msgid "Thank you for posting your support request."
|
1631 |
msgstr ""
|
1632 |
|
1633 |
+
#: app/helper/RTMediaSupport.php:642
|
1634 |
msgid "We will get back to you shortly."
|
1635 |
msgstr ""
|
1636 |
|
1637 |
+
#: app/helper/RTMediaSupport.php:647
|
1638 |
msgid "Your server failed to send an email."
|
1639 |
msgstr ""
|
1640 |
|
1641 |
+
#: app/helper/RTMediaSupport.php:648
|
1642 |
msgid "Kindly contact your server support to fix this."
|
1643 |
msgstr ""
|
1644 |
|
1645 |
+
#: app/helper/RTMediaSupport.php:651
|
1646 |
msgid "You can alternatively create a support request %s"
|
1647 |
msgstr ""
|
1648 |
|
1896 |
msgstr ""
|
1897 |
|
1898 |
#: app/importers/BPMediaAlbumimporter.php:89 app/main/RTMedia.php:597
|
1899 |
+
#: app/services/RTMediaEncoding.php:605
|
1900 |
msgid "Media"
|
1901 |
msgstr ""
|
1902 |
|
2369 |
msgid "%s added %d %s"
|
2370 |
msgstr ""
|
2371 |
|
2372 |
+
#: app/main/controllers/activity/RTMediaBuddyPressActivity.php:520
|
2373 |
msgid "%1$s liked a %2$s in the group %3$s"
|
2374 |
msgstr ""
|
2375 |
|
2376 |
+
#: app/main/controllers/activity/RTMediaBuddyPressActivity.php:523
|
2377 |
msgid "%1$s liked their %2$s"
|
2378 |
msgstr ""
|
2379 |
|
2380 |
+
#: app/main/controllers/activity/RTMediaBuddyPressActivity.php:527
|
2381 |
msgid "%1$s liked %2$s's %3$s"
|
2382 |
msgstr ""
|
2383 |
|
2384 |
+
#: app/main/controllers/activity/RTMediaBuddyPressActivity.php:609
|
2385 |
msgid "%1$s commented on a %2$s in the group %3$s"
|
2386 |
msgstr ""
|
2387 |
|
2388 |
+
#: app/main/controllers/activity/RTMediaBuddyPressActivity.php:612
|
2389 |
msgid "%1$s commented on their %2$s"
|
2390 |
msgstr ""
|
2391 |
|
2392 |
+
#: app/main/controllers/activity/RTMediaBuddyPressActivity.php:616
|
2393 |
msgid "%1$s commented on %2$s's %3$s"
|
2394 |
msgstr ""
|
2395 |
|
2820 |
msgstr ""
|
2821 |
|
2822 |
#: app/main/controllers/template/RTMediaTemplate.php:348
|
2823 |
+
#: app/main/controllers/template/RTMediaTemplate.php:441
|
2824 |
+
#: app/main/controllers/template/RTMediaTemplate.php:539
|
2825 |
+
#: app/main/controllers/template/RTMediaTemplate.php:675
|
2826 |
msgid "Ooops !!! Invalid access. No nonce was found !!"
|
2827 |
msgstr ""
|
2828 |
|
2847 |
msgid "Delete Comment"
|
2848 |
msgstr ""
|
2849 |
|
2850 |
+
#: app/main/controllers/template/rt-template-functions.php:1105
|
2851 |
msgid "Go to page no : "
|
2852 |
msgstr ""
|
2853 |
|
2854 |
+
#: app/main/controllers/template/rt-template-functions.php:1110
|
2855 |
msgid "Go"
|
2856 |
msgstr ""
|
2857 |
|
3102 |
msgstr ""
|
3103 |
|
3104 |
#: app/services/RTMediaEncoding.php:166 app/services/RTMediaEncoding.php:186
|
3105 |
+
#: app/services/RTMediaEncoding.php:338
|
3106 |
msgid "Remaining"
|
3107 |
msgstr ""
|
3108 |
|
3122 |
msgid "Used:"
|
3123 |
msgstr ""
|
3124 |
|
3125 |
+
#: app/services/RTMediaEncoding.php:264
|
3126 |
msgid "You have successfully subscribed for the "
|
3127 |
msgstr ""
|
3128 |
|
3129 |
+
#: app/services/RTMediaEncoding.php:266
|
3130 |
msgid " plan"
|
3131 |
msgstr ""
|
3132 |
|
3133 |
+
#: app/services/RTMediaEncoding.php:280
|
3134 |
msgid "Unsubscribe"
|
3135 |
msgstr ""
|
3136 |
|
3137 |
+
#: app/services/RTMediaEncoding.php:282
|
3138 |
msgid ""
|
3139 |
"Just to improve our service we would like to know the reason for you to "
|
3140 |
"leave us."
|
3141 |
msgstr ""
|
3142 |
|
3143 |
+
#: app/services/RTMediaEncoding.php:332 app/services/RTMediaEncoding.php:452
|
3144 |
msgid "Current Plan"
|
3145 |
msgstr ""
|
3146 |
|
3147 |
+
#: app/services/RTMediaEncoding.php:332
|
3148 |
msgid "Unsubscribed"
|
3149 |
msgstr ""
|
3150 |
|
3151 |
+
#: app/services/RTMediaEncoding.php:335
|
3152 |
msgid "Used"
|
3153 |
msgstr ""
|
3154 |
|
3155 |
+
#: app/services/RTMediaEncoding.php:341
|
3156 |
msgid "Total"
|
3157 |
msgstr ""
|
3158 |
|
3159 |
+
#: app/services/RTMediaEncoding.php:346
|
3160 |
msgid "Your usage limit has been reached. Upgrade your plan."
|
3161 |
msgstr ""
|
3162 |
|
3163 |
+
#: app/services/RTMediaEncoding.php:349
|
3164 |
msgid "Your API key is not valid or is expired."
|
3165 |
msgstr ""
|
3166 |
|
3167 |
+
#: app/services/RTMediaEncoding.php:351
|
3168 |
msgid "Encoding Usage"
|
3169 |
msgstr ""
|
3170 |
|
3171 |
+
#: app/services/RTMediaEncoding.php:357
|
3172 |
msgid "Audio/Video encoding service"
|
3173 |
msgstr ""
|
3174 |
|
3175 |
+
#: app/services/RTMediaEncoding.php:359
|
3176 |
msgid "rtMedia team has started offering an audio/video encoding service."
|
3177 |
msgstr ""
|
3178 |
|
3179 |
+
#: app/services/RTMediaEncoding.php:362
|
3180 |
msgid "Enter API KEY"
|
3181 |
msgstr ""
|
3182 |
|
3183 |
+
#: app/services/RTMediaEncoding.php:366
|
3184 |
msgid "Save Key"
|
3185 |
msgstr ""
|
3186 |
|
3187 |
+
#: app/services/RTMediaEncoding.php:389
|
3188 |
msgid "Feature\\Plan"
|
3189 |
msgstr ""
|
3190 |
|
3191 |
+
#: app/services/RTMediaEncoding.php:390 app/services/RTMediaEncoding.php:442
|
3192 |
msgid "Free"
|
3193 |
msgstr ""
|
3194 |
|
3195 |
+
#: app/services/RTMediaEncoding.php:391
|
3196 |
msgid "Silver"
|
3197 |
msgstr ""
|
3198 |
|
3199 |
+
#: app/services/RTMediaEncoding.php:392
|
3200 |
msgid "Gold"
|
3201 |
msgstr ""
|
3202 |
|
3203 |
+
#: app/services/RTMediaEncoding.php:393
|
3204 |
msgid "Platinum"
|
3205 |
msgstr ""
|
3206 |
|
3207 |
+
#: app/services/RTMediaEncoding.php:399
|
3208 |
msgid "File Size Limit"
|
3209 |
msgstr ""
|
3210 |
|
3211 |
+
#: app/services/RTMediaEncoding.php:410
|
3212 |
msgid "Bandwidth (monthly)"
|
3213 |
msgstr ""
|
3214 |
|
3215 |
+
#: app/services/RTMediaEncoding.php:420
|
3216 |
msgid "Overage Bandwidth"
|
3217 |
msgstr ""
|
3218 |
|
3219 |
+
#: app/services/RTMediaEncoding.php:421 app/services/RTMediaEncoding.php:428
|
3220 |
+
#: app/services/RTMediaEncoding.php:433
|
3221 |
msgid "Not Available"
|
3222 |
msgstr ""
|
3223 |
|
3224 |
+
#: app/services/RTMediaEncoding.php:427
|
3225 |
msgid "Amazon S3 Support"
|
3226 |
msgstr ""
|
3227 |
|
3228 |
+
#: app/services/RTMediaEncoding.php:429 app/services/RTMediaEncoding.php:434
|
3229 |
+
#: app/services/RTMediaEncoding.php:438
|
3230 |
msgid "Coming Soon"
|
3231 |
msgstr ""
|
3232 |
|
3233 |
+
#: app/services/RTMediaEncoding.php:432
|
3234 |
msgid "HD Profile"
|
3235 |
msgstr ""
|
3236 |
|
3237 |
+
#: app/services/RTMediaEncoding.php:437
|
3238 |
msgid "Webcam Recording"
|
3239 |
msgstr ""
|
3240 |
|
3241 |
+
#: app/services/RTMediaEncoding.php:441
|
3242 |
msgid "Pricing"
|
3243 |
msgstr ""
|
3244 |
|
3245 |
+
#: app/services/RTMediaEncoding.php:443
|
3246 |
msgid "$9/month"
|
3247 |
msgstr ""
|
3248 |
|
3249 |
+
#: app/services/RTMediaEncoding.php:444
|
3250 |
msgid "$99/month"
|
3251 |
msgstr ""
|
3252 |
|
3253 |
+
#: app/services/RTMediaEncoding.php:445
|
3254 |
msgid "$999/month"
|
3255 |
msgstr ""
|
3256 |
|
3257 |
+
#: app/services/RTMediaEncoding.php:457
|
3258 |
msgid "Try Now"
|
3259 |
msgstr ""
|
3260 |
|
3261 |
+
#: app/services/RTMediaEncoding.php:583
|
3262 |
msgid "Could not read file."
|
3263 |
msgstr ""
|
3264 |
|
3265 |
+
#: app/services/RTMediaEncoding.php:587
|
3266 |
msgid ""
|
3267 |
"Something went wrong. The required attachment id does not exists. It must "
|
3268 |
"have been deleted."
|
3269 |
msgstr ""
|
3270 |
|
3271 |
+
#: app/services/RTMediaEncoding.php:604
|
3272 |
msgid "rtMedia Encoding: Download Failed"
|
3273 |
msgstr ""
|
3274 |
|
3275 |
+
#: app/services/RTMediaEncoding.php:606
|
3276 |
msgid " was successfully encoded but there was an error while downloading:"
|
3277 |
msgstr ""
|
3278 |
|
3279 |
+
#: app/services/RTMediaEncoding.php:607
|
3280 |
msgid "You can "
|
3281 |
msgstr ""
|
3282 |
|
3283 |
+
#: app/services/RTMediaEncoding.php:608
|
3284 |
msgid "retry the download"
|
3285 |
msgstr ""
|
3286 |
|
3287 |
+
#: app/services/RTMediaEncoding.php:622
|
3288 |
msgid "Done"
|
3289 |
msgstr ""
|
3290 |
|
3291 |
+
#: app/services/RTMediaEncoding.php:650 app/services/RTMediaEncoding.php:678
|
3292 |
msgid "Something went wrong please try again."
|
3293 |
msgstr ""
|
3294 |
|
3295 |
+
#: app/services/RTMediaEncoding.php:673
|
3296 |
msgid "Your subscription was cancelled successfully"
|
3297 |
msgstr ""
|
3298 |
|
3299 |
+
#: app/services/RTMediaEncoding.php:687
|
3300 |
msgid "Please enter the api key."
|
3301 |
msgstr ""
|
3302 |
|
3303 |
+
#: app/services/RTMediaEncoding.php:694
|
3304 |
msgid "Encoding disabled successfully."
|
3305 |
msgstr ""
|
3306 |
|
3307 |
+
#: app/services/RTMediaEncoding.php:700
|
3308 |
msgid "Encoding enabled successfully."
|
3309 |
msgstr ""
|
3310 |
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ License: GPLv2 or later
|
|
6 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
7 |
Requires at least: WordPress 3.6
|
8 |
Tested up to: 4.5.3
|
9 |
-
Stable tag: 4.0.
|
10 |
|
11 |
Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
|
12 |
|
@@ -138,6 +138,14 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
|
|
138 |
|
139 |
== Changelog ==
|
140 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
141 |
= 4.0.4 [Jul 08, 2016] =
|
142 |
* Backward compability for PHP 5.2
|
143 |
|
@@ -1182,8 +1190,8 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
|
|
1182 |
|
1183 |
== Upgrade Notice ==
|
1184 |
|
1185 |
-
= 4.0.
|
1186 |
-
Requires BuddyPress 1.7 or higher, if using BuddyPress. Bug fixes
|
1187 |
|
1188 |
== Sponsors ==
|
1189 |
|
6 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
7 |
Requires at least: WordPress 3.6
|
8 |
Tested up to: 4.5.3
|
9 |
+
Stable tag: 4.0.5
|
10 |
|
11 |
Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
|
12 |
|
138 |
|
139 |
== Changelog ==
|
140 |
|
141 |
+
= 4.0.5 [Jul 25, 2016] =
|
142 |
+
* Fix bulk edit not working on delete and move
|
143 |
+
* Fix issue more and less click on media description
|
144 |
+
* Fix html markup in support tab
|
145 |
+
* Make pagination work on opening page-link in new tab
|
146 |
+
* Fix hide rtMedia template files notice after click on dismiss
|
147 |
+
* Fix for profile pic not changing on uploading photo
|
148 |
+
|
149 |
= 4.0.4 [Jul 08, 2016] =
|
150 |
* Backward compability for PHP 5.2
|
151 |
|
1190 |
|
1191 |
== Upgrade Notice ==
|
1192 |
|
1193 |
+
= 4.0.5 =
|
1194 |
+
Requires BuddyPress 1.7 or higher, if using BuddyPress. Bug fixes.
|
1195 |
|
1196 |
== Sponsors ==
|
1197 |
|
templates/media/album-single-edit.php
CHANGED
@@ -81,7 +81,7 @@ $rtmedia_media = $media[0];
|
|
81 |
<p class="rtmedia-move-container">
|
82 |
<?php $global_albums = rtmedia_get_site_option( 'rtmedia-global-albums' ); ?>
|
83 |
<span><?php esc_html_e( 'Move selected media to the album : ', 'buddypress-media' ); ?></span>
|
84 |
-
<select name="album" class="rtmedia-user-album-list"><?php rtmedia_user_album_list() ?></select>
|
85 |
<input type="button" class="rtmedia-move-selected" name="move-selected"
|
86 |
value="<?php esc_attr_e( 'Move Selected', 'buddypress-media' ); ?>"/>
|
87 |
</p>
|
81 |
<p class="rtmedia-move-container">
|
82 |
<?php $global_albums = rtmedia_get_site_option( 'rtmedia-global-albums' ); ?>
|
83 |
<span><?php esc_html_e( 'Move selected media to the album : ', 'buddypress-media' ); ?></span>
|
84 |
+
<select name="album" class="rtmedia-user-album-list"><?php echo rtmedia_user_album_list() ?></select>
|
85 |
<input type="button" class="rtmedia-move-selected" name="move-selected"
|
86 |
value="<?php esc_attr_e( 'Move Selected', 'buddypress-media' ); ?>"/>
|
87 |
</p>
|