Version Description
= 4.6.11 = rtMedia 4.6.11 with some enhancements & minor UI/UX fixes.
Download this release
Release Info
Developer | pooja1210 |
Plugin | rtMedia for WordPress, BuddyPress and bbPress |
Version | v4.6.11 |
Comparing to | |
See all releases |
Code changes from version v4.6.10 to v4.6.11
- app/admin/RTMediaAdmin.php +62 -32
- app/assets/admin/css/admin.css +251 -19
- app/assets/admin/css/admin.min.css +1 -1
- app/assets/admin/css/sass/_addons.scss +3 -1
- app/assets/admin/css/sass/_components.scss +204 -20
- app/assets/admin/css/sass/_layout.scss +17 -0
- app/assets/admin/css/sass/_responsive.scss +5 -0
- app/assets/admin/css/sass/_rtmedia-pro.scss +22 -1
- app/assets/css/rtmedia.css +8 -7
- app/assets/css/rtmedia.min.css +1 -1
- app/assets/css/sass/_img-edit.scss +5 -4
- app/assets/css/sass/_rtm.scss +1 -1
- app/assets/js/rtMedia.backbone.js +3 -3
- app/assets/js/rtMedia.js +1293 -1292
- app/assets/js/rtmedia.min.js +1 -1
- app/helper/RTMediaAddon.php +42 -31
- app/helper/RTMediaAdminWidget.php +18 -4
- app/helper/RTMediaLicense.php +22 -5
- app/helper/RTMediaModel.php +30 -28
- app/helper/RTMediaSettings.php +1 -1
- app/helper/RTMediaSupport.php +7 -7
- app/helper/RTMediaThemes.php +1 -1
- app/helper/db/RTDBModel.php +7 -7
- app/main/RTMedia.php +3 -1
- app/main/controllers/api/RTMediaJsonApi.php +1 -1
- app/main/controllers/media/RTMediaAlbum.php +3 -3
- app/main/controllers/media/RTMediaTags.php +5 -2
- app/main/controllers/privacy/RTMediaPrivacy.php +4 -4
- app/main/controllers/template/RTMediaNav.php +28 -17
- app/main/controllers/template/RTMediaTemplate.php +20 -22
- app/main/controllers/template/rtmedia-actions.php +20 -17
- app/main/controllers/template/rtmedia-functions.php +46 -47
- app/main/controllers/upload/RTMediaUploadEndpoint.php +1 -1
- app/main/controllers/upload/RTMediaUploadModel.php +1 -1
- app/main/controllers/upload/processors/RTMediaUploadFile.php +1 -1
- app/main/routers/RTMediaRouter.php +1 -1
- app/main/routers/query/RTMediaQuery.php +1 -1
- index.php +10 -12
- languages/buddypress-media.po +323 -313
- readme.txt +63 -42
- templates/media/album-gallery-item.php +1 -1
- templates/media/album-gallery.php +58 -2
app/admin/RTMediaAdmin.php
CHANGED
@@ -107,8 +107,10 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
|
|
107 |
add_action( 'admin_bar_menu', array( $this, 'admin_bar_menu' ), 100, 1 );
|
108 |
}
|
109 |
} else {
|
110 |
-
if (
|
111 |
-
|
|
|
|
|
112 |
}
|
113 |
}
|
114 |
|
@@ -319,6 +321,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
|
|
319 |
if ( ! is_rtmedia_vip_plugin() ) {
|
320 |
$this->rtmedia_inspirebook_release_notice();
|
321 |
$this->rtmedia_premium_addon_notice();
|
|
|
322 |
}
|
323 |
}
|
324 |
}
|
@@ -329,20 +332,22 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
|
|
329 |
public function rtmedia_premium_addon_notice() {
|
330 |
$site_option = rtmedia_get_site_option( 'rtmedia_premium_addon_notice' );
|
331 |
|
|
|
332 |
if ( ( ! $site_option || 'hide' !== $site_option ) ) {
|
333 |
-
|
334 |
-
|
|
|
335 |
<div class="notice is-dismissible updated rtmedia-pro-split-notice">
|
336 |
<?php wp_nonce_field( 'rtcamp_pro_split', 'rtm_nonce' ); ?>
|
337 |
<p>
|
338 |
<span>
|
339 |
<?php
|
340 |
-
$product_page = esc_url( 'https://rtmedia.io/
|
341 |
|
342 |
// translators: 1. Product page link.
|
343 |
-
$message = sprintf( __( '
|
344 |
?>
|
345 |
-
<b><?php esc_html_e( 'rtMedia
|
346 |
<?php
|
347 |
echo wp_kses(
|
348 |
$message,
|
@@ -366,7 +371,8 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
|
|
366 |
});
|
367 |
});
|
368 |
</script>
|
369 |
-
|
|
|
370 |
}
|
371 |
}
|
372 |
|
@@ -497,27 +503,38 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
|
|
497 |
}
|
498 |
rtmedia_update_site_option( 'rtmedia-addon-update-notice-3_8', 'show' );
|
499 |
?>
|
500 |
-
<div class="error rtmedia-addon-
|
501 |
<p>
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
506 |
<?php wp_nonce_field( 'rtmedia-addon-update-notice-3_8', 'rtmedia-addon-notice' ); ?>
|
507 |
</p>
|
508 |
</div>
|
509 |
<script type="text/javascript">
|
510 |
-
|
|
|
511 |
var data = {
|
512 |
action: 'rtmedia_hide_addon_update_notice',
|
513 |
_rtm_nonce: jQuery('#rtmedia-addon-notice').val(),
|
514 |
};
|
515 |
jQuery.post(ajaxurl, data, function (response) {
|
516 |
-
|
517 |
-
if (response === "1")
|
518 |
-
jQuery('.rtmedia-addon-upate-notice').remove();
|
519 |
});
|
520 |
-
}
|
|
|
521 |
</script>
|
522 |
<?php
|
523 |
}
|
@@ -536,49 +553,49 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
|
|
536 |
// Check for rtMedia Instagram version.
|
537 |
if ( defined( 'RTMEDIA_INSTAGRAM_PATH' ) ) {
|
538 |
$plugin_info = get_plugin_data( RTMEDIA_INSTAGRAM_PATH . 'index.php' );
|
539 |
-
if (
|
540 |
$return_flag = true;
|
541 |
}
|
542 |
} elseif ( defined( 'RTMEDIA_PHOTO_TAGGING_PATH' ) ) {
|
543 |
// Check for rtMedia Photo Tagging version.
|
544 |
$plugin_info = get_plugin_data( RTMEDIA_PHOTO_TAGGING_PATH . 'index.php' );
|
545 |
-
if (
|
546 |
$return_flag = true;
|
547 |
}
|
548 |
} elseif ( defined( 'RTMEDIA_FFMPEG_PATH' ) ) {
|
549 |
// Check for rtMedia FFPMEG version.
|
550 |
$plugin_info = get_plugin_data( RTMEDIA_FFMPEG_PATH . 'index.php' );
|
551 |
-
if (
|
552 |
$return_flag = true;
|
553 |
}
|
554 |
} elseif ( defined( 'RTMEDIA_KALTURA_PATH' ) ) {
|
555 |
// Check for rtMedia Kaltura version.
|
556 |
$plugin_info = get_plugin_data( RTMEDIA_KALTURA_PATH . 'index.php' );
|
557 |
-
if (
|
558 |
$return_flag = true;
|
559 |
}
|
560 |
} elseif ( defined( 'RTMEDIA_PRO_PATH' ) ) {
|
561 |
// Check for rtMedia Pro version.
|
562 |
$plugin_info = get_plugin_data( RTMEDIA_PRO_PATH . 'index.php' );
|
563 |
-
if (
|
564 |
$return_flag = true;
|
565 |
}
|
566 |
} elseif ( defined( 'RTMEDIA_SOCIAL_SYNC_PATH' ) ) {
|
567 |
// Check for rtMedia Social Sync version.
|
568 |
$plugin_info = get_plugin_data( RTMEDIA_SOCIAL_SYNC_PATH . 'index.php' );
|
569 |
-
if (
|
570 |
$return_flag = true;
|
571 |
}
|
572 |
} elseif ( defined( 'RTMEDIA_MEMBERSHIP_PATH' ) ) {
|
573 |
// Check for rtMedia Membership version.
|
574 |
$plugin_info = get_plugin_data( RTMEDIA_MEMBERSHIP_PATH . 'index.php' );
|
575 |
-
if (
|
576 |
$return_flag = true;
|
577 |
}
|
578 |
} elseif ( defined( 'RTMEDIA_WATERMARK_PATH' ) ) {
|
579 |
// Check for rtMedia Photo Watermak version.
|
580 |
$plugin_info = get_plugin_data( RTMEDIA_WATERMARK_PATH . 'index.php' );
|
581 |
-
if (
|
582 |
$return_flag = true;
|
583 |
}
|
584 |
}
|
@@ -1597,10 +1614,23 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
|
|
1597 |
// translators: 1. Home url.
|
1598 |
$message = sprintf( esc_html__( 'I use @rtMediaWP http://rt.cx/rtmedia on %s', 'buddypress-media' ), home_url() );
|
1599 |
$addons = '<div id="social" class="rtm-social-share">
|
1600 |
-
<
|
1601 |
-
|
1602 |
-
|
1603 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1604 |
</div>';
|
1605 |
|
1606 |
new RTMediaAdminWidget( 'spread-the-word', esc_html__( 'Spread the Word', 'buddypress-media' ), $addons );
|
@@ -1766,7 +1796,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
|
|
1766 |
*/
|
1767 |
public function plugin_meta_premium_addon_link( $plugin_meta, $plugin_file ) {
|
1768 |
if ( plugin_basename( RTMEDIA_PATH . 'index.php' ) === $plugin_file ) {
|
1769 |
-
$plugin_meta[] = '<a href=https://rtmedia.io/products/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media" title="' . esc_attr__( 'Premium
|
1770 |
}
|
1771 |
|
1772 |
return $plugin_meta;
|
@@ -2086,7 +2116,7 @@ if ( ! class_exists( 'RTMediaAdmin' ) ) {
|
|
2086 |
if ( empty( $addon['args']['status'] ) || 'valid' !== $addon['args']['status'] ) {
|
2087 |
$message = sprintf(
|
2088 |
// translators: 1. License page link.
|
2089 |
-
__( 'We found an invalid or expired license key for
|
2090 |
admin_url( 'admin.php?page=rtmedia-license' )
|
2091 |
);
|
2092 |
echo '<div class="error"><p>' . wp_kses( $message, $args ) . '</p></div>';
|
107 |
add_action( 'admin_bar_menu', array( $this, 'admin_bar_menu' ), 100, 1 );
|
108 |
}
|
109 |
} else {
|
110 |
+
if ( is_array( $rtmedia->options ) ) {
|
111 |
+
if ( 1 === intval( $rtmedia->options['general_showAdminMenu'] ) ) {
|
112 |
+
add_action( 'admin_bar_menu', array( $this, 'admin_bar_menu' ), 100, 1 );
|
113 |
+
}
|
114 |
}
|
115 |
}
|
116 |
|
321 |
if ( ! is_rtmedia_vip_plugin() ) {
|
322 |
$this->rtmedia_inspirebook_release_notice();
|
323 |
$this->rtmedia_premium_addon_notice();
|
324 |
+
$this->rtmedia_addon_update_notice();
|
325 |
}
|
326 |
}
|
327 |
}
|
332 |
public function rtmedia_premium_addon_notice() {
|
333 |
$site_option = rtmedia_get_site_option( 'rtmedia_premium_addon_notice' );
|
334 |
|
335 |
+
$premium_addon_notice = apply_filters( 'rt_premium_addon_notice', true );
|
336 |
if ( ( ! $site_option || 'hide' !== $site_option ) ) {
|
337 |
+
if ( true === $premium_addon_notice ) {
|
338 |
+
rtmedia_update_site_option( 'rtmedia_premium_addon_notice', 'show' );
|
339 |
+
?>
|
340 |
<div class="notice is-dismissible updated rtmedia-pro-split-notice">
|
341 |
<?php wp_nonce_field( 'rtcamp_pro_split', 'rtm_nonce' ); ?>
|
342 |
<p>
|
343 |
<span>
|
344 |
<?php
|
345 |
+
$product_page = esc_url( 'https://rtmedia.io/rtmedia-premium' );
|
346 |
|
347 |
// translators: 1. Product page link.
|
348 |
+
$message = apply_filters( 'rt_premium_addon_notice_message', sprintf( __( 'comes with 35+ premium features & add-ons. Check it in our <a href="%s">store</a>.', 'buddypress-media' ), $product_page ), $product_page );
|
349 |
?>
|
350 |
+
<b><?php esc_html_e( 'rtMedia Premium ', 'buddypress-media' ); ?></b>
|
351 |
<?php
|
352 |
echo wp_kses(
|
353 |
$message,
|
371 |
});
|
372 |
});
|
373 |
</script>
|
374 |
+
<?php
|
375 |
+
}
|
376 |
}
|
377 |
}
|
378 |
|
503 |
}
|
504 |
rtmedia_update_site_option( 'rtmedia-addon-update-notice-3_8', 'show' );
|
505 |
?>
|
506 |
+
<div class="notice error is-dismissible rtmedia-addon-update-notice">
|
507 |
<p>
|
508 |
+
<?php
|
509 |
+
$message = apply_filters( 'rt_addon_update_notice', sprintf( __( ' rtMedia Premium update is available. Please update it from the plugins or download it from <a href = "https://rtmedia.io/my-account/" target="_blank" >your account</a>', 'buddypress-media' ) ) );
|
510 |
+
?>
|
511 |
+
<b><?php esc_html_e( 'rtMedia: ', 'buddypress-media' ); ?></b>
|
512 |
+
<?php
|
513 |
+
echo wp_kses(
|
514 |
+
$message,
|
515 |
+
array(
|
516 |
+
'a' => array(
|
517 |
+
'href' => array(),
|
518 |
+
'target' => array(),
|
519 |
+
),
|
520 |
+
)
|
521 |
+
);
|
522 |
+
?>
|
523 |
<?php wp_nonce_field( 'rtmedia-addon-update-notice-3_8', 'rtmedia-addon-notice' ); ?>
|
524 |
</p>
|
525 |
</div>
|
526 |
<script type="text/javascript">
|
527 |
+
jQuery( document ).ready( function() {
|
528 |
+
jQuery( '.rtmedia-addon-update-notice.is-dismissible' ).on( 'click', '.notice-dismiss', function() {
|
529 |
var data = {
|
530 |
action: 'rtmedia_hide_addon_update_notice',
|
531 |
_rtm_nonce: jQuery('#rtmedia-addon-notice').val(),
|
532 |
};
|
533 |
jQuery.post(ajaxurl, data, function (response) {
|
534 |
+
jQuery('.rtmedia-addon-update-notice').remove();
|
|
|
|
|
535 |
});
|
536 |
+
});
|
537 |
+
});
|
538 |
</script>
|
539 |
<?php
|
540 |
}
|
553 |
// Check for rtMedia Instagram version.
|
554 |
if ( defined( 'RTMEDIA_INSTAGRAM_PATH' ) ) {
|
555 |
$plugin_info = get_plugin_data( RTMEDIA_INSTAGRAM_PATH . 'index.php' );
|
556 |
+
if ( ! empty( $plugin_info['Version'] ) && ( - 1 === version_compare( $plugin_info['Version'], '2.1.14' ) ) ) {
|
557 |
$return_flag = true;
|
558 |
}
|
559 |
} elseif ( defined( 'RTMEDIA_PHOTO_TAGGING_PATH' ) ) {
|
560 |
// Check for rtMedia Photo Tagging version.
|
561 |
$plugin_info = get_plugin_data( RTMEDIA_PHOTO_TAGGING_PATH . 'index.php' );
|
562 |
+
if ( ! empty( $plugin_info['Version'] ) && ( - 1 === version_compare( $plugin_info['Version'], '2.2.14' ) ) ) {
|
563 |
$return_flag = true;
|
564 |
}
|
565 |
} elseif ( defined( 'RTMEDIA_FFMPEG_PATH' ) ) {
|
566 |
// Check for rtMedia FFPMEG version.
|
567 |
$plugin_info = get_plugin_data( RTMEDIA_FFMPEG_PATH . 'index.php' );
|
568 |
+
if ( ! empty( $plugin_info['Version'] ) && ( - 1 === version_compare( $plugin_info['Version'], '2.1.14' ) ) ) {
|
569 |
$return_flag = true;
|
570 |
}
|
571 |
} elseif ( defined( 'RTMEDIA_KALTURA_PATH' ) ) {
|
572 |
// Check for rtMedia Kaltura version.
|
573 |
$plugin_info = get_plugin_data( RTMEDIA_KALTURA_PATH . 'index.php' );
|
574 |
+
if ( ! empty( $plugin_info['Version'] ) && ( - 1 === version_compare( $plugin_info['Version'], '3.0.16' ) ) ) {
|
575 |
$return_flag = true;
|
576 |
}
|
577 |
} elseif ( defined( 'RTMEDIA_PRO_PATH' ) ) {
|
578 |
// Check for rtMedia Pro version.
|
579 |
$plugin_info = get_plugin_data( RTMEDIA_PRO_PATH . 'index.php' );
|
580 |
+
if ( ! empty( $plugin_info['Version'] ) && ( - 1 === version_compare( $plugin_info['Version'], '2.6' ) ) ) {
|
581 |
$return_flag = true;
|
582 |
}
|
583 |
} elseif ( defined( 'RTMEDIA_SOCIAL_SYNC_PATH' ) ) {
|
584 |
// Check for rtMedia Social Sync version.
|
585 |
$plugin_info = get_plugin_data( RTMEDIA_SOCIAL_SYNC_PATH . 'index.php' );
|
586 |
+
if ( ! empty( $plugin_info['Version'] ) && ( - 1 === version_compare( $plugin_info['Version'], '1.3.1' ) ) ) {
|
587 |
$return_flag = true;
|
588 |
}
|
589 |
} elseif ( defined( 'RTMEDIA_MEMBERSHIP_PATH' ) ) {
|
590 |
// Check for rtMedia Membership version.
|
591 |
$plugin_info = get_plugin_data( RTMEDIA_MEMBERSHIP_PATH . 'index.php' );
|
592 |
+
if ( ! empty( $plugin_info['Version'] ) && ( - 1 === version_compare( $plugin_info['Version'], '2.1.5' ) ) ) {
|
593 |
$return_flag = true;
|
594 |
}
|
595 |
} elseif ( defined( 'RTMEDIA_WATERMARK_PATH' ) ) {
|
596 |
// Check for rtMedia Photo Watermak version.
|
597 |
$plugin_info = get_plugin_data( RTMEDIA_WATERMARK_PATH . 'index.php' );
|
598 |
+
if ( ! empty( $plugin_info['Version'] ) && ( - 1 === version_compare( $plugin_info['Version'], '1.1.8' ) ) ) {
|
599 |
$return_flag = true;
|
600 |
}
|
601 |
}
|
1614 |
// translators: 1. Home url.
|
1615 |
$message = sprintf( esc_html__( 'I use @rtMediaWP http://rt.cx/rtmedia on %s', 'buddypress-media' ), home_url() );
|
1616 |
$addons = '<div id="social" class="rtm-social-share">
|
1617 |
+
<a href="http://twitter.com/share?text=' . esc_attr( $message ) . '" class="button twitter" target= "_blank" title="' . esc_attr__( 'Post to Twitter Now', 'buddypress-media' ) . '">
|
1618 |
+
<span class="dashicons dashicons-twitter"></span>
|
1619 |
+
<span class="icon-message">' . esc_html__( 'Post to Twitter', 'buddypress-media' ) . '</span>
|
1620 |
+
</a>
|
1621 |
+
<a href="https://www.facebook.com/sharer/sharer.php?u=https://rtmedia.io/" class="button facebook" target="_blank" title="' . esc_attr__( 'Share on Facebook Now', 'buddypress-media' ) . '">
|
1622 |
+
<span class="dashicons dashicons-facebook"></span>
|
1623 |
+
<span class="icon-message">' . esc_html__( 'Post to Facebook', 'buddypress-media' ) . '</span>
|
1624 |
+
</a>
|
1625 |
+
<a href="https://wordpress.org/support/plugin/buddypress-media/reviews/#new-post" class="button wordpress" target= "_blank" title="' . esc_attr__( 'Rate rtMedia on Wordpress.org', 'buddypress-media' ) . '">
|
1626 |
+
<span class="dashicons dashicons-wordpress"></span>
|
1627 |
+
<span class="icon-message">' . esc_html__( 'Rate us on Wordpress.org', 'buddypress-media' ) . '</span>
|
1628 |
+
|
1629 |
+
</a>
|
1630 |
+
<a href="' . sprintf( '%s', 'https://rtmedia.io/feed/' ) . '" class="button rss" target="_blank" title="' . esc_attr__( 'Subscribe to our Feeds', 'buddypress-media' ) . '">
|
1631 |
+
<span class="dashicons dashicons-rss"></span>
|
1632 |
+
<span class="icon-message">' . esc_html__( 'Subscribe to our Feeds', 'buddypress-media' ) . '</span>
|
1633 |
+
</a>
|
1634 |
</div>';
|
1635 |
|
1636 |
new RTMediaAdminWidget( 'spread-the-word', esc_html__( 'Spread the Word', 'buddypress-media' ), $addons );
|
1796 |
*/
|
1797 |
public function plugin_meta_premium_addon_link( $plugin_meta, $plugin_file ) {
|
1798 |
if ( plugin_basename( RTMEDIA_PATH . 'index.php' ) === $plugin_file ) {
|
1799 |
+
$plugin_meta[] = '<a href=https://rtmedia.io/products/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media" title="' . esc_attr__( 'Premium Plugin', 'buddypress-media' ) . '">' . esc_html__( 'Premium Plugin', 'buddypress-media' ) . '</a>';
|
1800 |
}
|
1801 |
|
1802 |
return $plugin_meta;
|
2116 |
if ( empty( $addon['args']['status'] ) || 'valid' !== $addon['args']['status'] ) {
|
2117 |
$message = sprintf(
|
2118 |
// translators: 1. License page link.
|
2119 |
+
__( 'We found an invalid or expired license key for rtMedia Premium. Please go to the <a href="%1$s">Licenses page</a> to fix this issue.', 'buddypress-media' ),
|
2120 |
admin_url( 'admin.php?page=rtmedia-license' )
|
2121 |
);
|
2122 |
echo '<div class="error"><p>' . wp_kses( $message, $args ) . '</p></div>';
|
app/assets/admin/css/admin.css
CHANGED
@@ -130,12 +130,23 @@
|
|
130 |
|
131 |
#mce-EMAIL {
|
132 |
width: 100%;
|
|
|
133 |
}
|
134 |
|
135 |
#mc-embedded-subscribe {
|
136 |
display: block;
|
137 |
margin: 10px auto 0;
|
138 |
width: 100%;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
}
|
140 |
|
141 |
.license-row {
|
@@ -161,6 +172,11 @@
|
|
161 |
flex: 0 0 auto;
|
162 |
padding-right: .5rem;
|
163 |
padding-left: .5rem;
|
|
|
|
|
|
|
|
|
|
|
164 |
}
|
165 |
|
166 |
.large-4 {
|
@@ -195,18 +211,33 @@
|
|
195 |
letter-spacing: 0.5px;
|
196 |
}
|
197 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
198 |
.rtm-setting-title {
|
199 |
border-bottom: 1px solid #EEEEEE;
|
200 |
font-size: 22px;
|
201 |
font-weight: 400;
|
202 |
line-height: 1;
|
203 |
margin-bottom: 20px;
|
204 |
-
margin-top:
|
205 |
padding-bottom: 14px;
|
206 |
display: none;
|
207 |
}
|
208 |
.rtm-setting-title.rtm-show {
|
209 |
-
display: block;
|
210 |
}
|
211 |
|
212 |
.rtm-option-wrapper {
|
@@ -318,33 +349,144 @@
|
|
318 |
text-transform: uppercase;
|
319 |
}
|
320 |
|
|
|
|
|
|
|
|
|
|
|
|
|
321 |
.rtm-sidebar .button {
|
322 |
-
|
323 |
-
|
324 |
-
position: relative;
|
325 |
text-decoration: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
326 |
}
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
top: 4px;
|
333 |
}
|
|
|
334 |
.rtm-social-share .twitter .dashicons {
|
335 |
color: #45b0e3;
|
336 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
337 |
.rtm-social-share .facebook .dashicons {
|
338 |
color: #3b5998;
|
339 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
340 |
.rtm-social-share .wordpress .dashicons {
|
341 |
color: #21759b;
|
342 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
343 |
.rtm-social-share .rss .dashicons {
|
344 |
color: #FF6600;
|
345 |
}
|
346 |
-
.rtm-social-share
|
347 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
348 |
}
|
349 |
|
350 |
.rtm-notice {
|
@@ -483,14 +625,36 @@
|
|
483 |
margin: .5rem 0;
|
484 |
background-color: #fff;
|
485 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
486 |
.rtm-addon-license .title {
|
487 |
background-color: #fafafa;
|
488 |
border-bottom: 1px solid #ddd;
|
489 |
margin: 0;
|
490 |
padding: 15px 10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
491 |
}
|
492 |
.rtm-addon-license .license-inner {
|
493 |
padding: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
494 |
}
|
495 |
|
496 |
form.license-form {
|
@@ -498,17 +662,33 @@ form.license-form {
|
|
498 |
margin: 0;
|
499 |
}
|
500 |
form.license-form input[type="text"] {
|
501 |
-
width:
|
502 |
-
|
503 |
-
|
504 |
-
|
|
|
|
|
|
|
|
|
505 |
}
|
506 |
form.license-form input[type="submit"] {
|
507 |
margin: 10px 0 0;
|
508 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
509 |
|
510 |
.license-message {
|
511 |
-
margin: 15px
|
512 |
padding: 8px;
|
513 |
}
|
514 |
.license-message.warning {
|
@@ -536,6 +716,31 @@ form.license-form input[type="submit"] {
|
|
536 |
padding-bottom: 10px;
|
537 |
}
|
538 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
539 |
#rtmedia-encoding-usage strong {
|
540 |
display: inline-block;
|
541 |
min-width: 120px;
|
@@ -847,7 +1052,7 @@ input[type=checkbox]:checked ~ .switch-handle {
|
|
847 |
.rtm-plugin-card.plugin-card .rtm-logo img {
|
848 |
height: auto;
|
849 |
/*margin: -10px 0 0 -10px;*/
|
850 |
-
max-width:
|
851 |
}
|
852 |
.rtm-plugin-card.plugin-card .desc, .rtm-plugin-card.plugin-card .name {
|
853 |
margin-left: 0;
|
@@ -878,6 +1083,8 @@ input[type=checkbox]:checked ~ .switch-handle {
|
|
878 |
}
|
879 |
#rtm-plugins .plugin-card-top {
|
880 |
padding: 10px;
|
|
|
|
|
881 |
}
|
882 |
|
883 |
.rtm-encoding-table {
|
@@ -1001,9 +1208,29 @@ input[type=checkbox]:checked ~ .switch-handle {
|
|
1001 |
|
1002 |
.rtm-hire-points {
|
1003 |
font-size: 14px;
|
|
|
1004 |
margin-bottom: 24px;
|
1005 |
}
|
1006 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1007 |
@media only screen and (min-width: 1025px) {
|
1008 |
.rtm-setting-container {
|
1009 |
float: left;
|
@@ -1110,6 +1337,11 @@ input[type=checkbox]:checked ~ .switch-handle {
|
|
1110 |
.rtmedia-settings-submit {
|
1111 |
margin-bottom: 0 !important;
|
1112 |
}
|
|
|
|
|
|
|
|
|
|
|
1113 |
}
|
1114 |
@media only screen and (min-width: 641px) {
|
1115 |
.rtm-pro-feature-list li:nth-child(3n+1) {
|
130 |
|
131 |
#mce-EMAIL {
|
132 |
width: 100%;
|
133 |
+
background: #f6f7f7;
|
134 |
}
|
135 |
|
136 |
#mc-embedded-subscribe {
|
137 |
display: block;
|
138 |
margin: 10px auto 0;
|
139 |
width: 100%;
|
140 |
+
padding: 2px 0px;
|
141 |
+
background: #2e81be;
|
142 |
+
border-color: #2e81be;
|
143 |
+
border-radius: 3px;
|
144 |
+
color: #fff;
|
145 |
+
}
|
146 |
+
#mc-embedded-subscribe:hover, #mc-embedded-subscribe:focus {
|
147 |
+
background: #0c73bd;
|
148 |
+
border-color: #0c73bd;
|
149 |
+
color: #fff;
|
150 |
}
|
151 |
|
152 |
.license-row {
|
172 |
flex: 0 0 auto;
|
173 |
padding-right: .5rem;
|
174 |
padding-left: .5rem;
|
175 |
+
width: 100%;
|
176 |
+
}
|
177 |
+
|
178 |
+
.license-inner-message {
|
179 |
+
padding: 10px;
|
180 |
}
|
181 |
|
182 |
.large-4 {
|
211 |
letter-spacing: 0.5px;
|
212 |
}
|
213 |
|
214 |
+
.theme-browser .theme .theme-actions {
|
215 |
+
position: absolute;
|
216 |
+
top: unset;
|
217 |
+
-webkit-transform: translateY(-100%);
|
218 |
+
-ms-transform: translateY(-100%);
|
219 |
+
transform: translateY(-100%);
|
220 |
+
right: 0;
|
221 |
+
padding: 9px 15px;
|
222 |
+
}
|
223 |
+
|
224 |
+
.dashicons-groups {
|
225 |
+
font-size: 25px;
|
226 |
+
margin-right: 10px;
|
227 |
+
}
|
228 |
+
|
229 |
.rtm-setting-title {
|
230 |
border-bottom: 1px solid #EEEEEE;
|
231 |
font-size: 22px;
|
232 |
font-weight: 400;
|
233 |
line-height: 1;
|
234 |
margin-bottom: 20px;
|
235 |
+
margin-top: 2px;
|
236 |
padding-bottom: 14px;
|
237 |
display: none;
|
238 |
}
|
239 |
.rtm-setting-title.rtm-show {
|
240 |
+
display: inline-block;
|
241 |
}
|
242 |
|
243 |
.rtm-option-wrapper {
|
349 |
text-transform: uppercase;
|
350 |
}
|
351 |
|
352 |
+
.rtm-sidebar .hndle .dashicons-share,
|
353 |
+
.rtm-sidebar .hndle .dashicons-bell {
|
354 |
+
color: #2e81be;
|
355 |
+
font-size: 22px;
|
356 |
+
margin-right: 7px;
|
357 |
+
}
|
358 |
.rtm-sidebar .button {
|
359 |
+
min-width: 110px;
|
360 |
+
padding: 6px 15px;
|
|
|
361 |
text-decoration: none;
|
362 |
+
display: -webkit-box;
|
363 |
+
display: -ms-flexbox;
|
364 |
+
display: flex;
|
365 |
+
-webkit-box-align: center;
|
366 |
+
-ms-flex-align: center;
|
367 |
+
align-items: center;
|
368 |
+
-webkit-transition: all .2s ease-in-out;
|
369 |
+
transition: all .2s ease-in-out;
|
370 |
+
margin: 5px 0;
|
371 |
+
border: 1px solid lightgray;
|
372 |
+
border-radius: 12px;
|
373 |
+
white-space: nowrap;
|
374 |
+
overflow: hidden;
|
375 |
+
text-overflow: ellipsis;
|
376 |
+
}
|
377 |
+
.rtm-sidebar .button span.dashicons {
|
378 |
+
font-size: 25px;
|
379 |
+
margin-right: 15px;
|
380 |
+
-webkit-transition: all .3s ease-in-out;
|
381 |
+
transition: all .3s ease-in-out;
|
382 |
+
}
|
383 |
+
.rtm-sidebar .button span.icon-message {
|
384 |
+
-webkit-transform: translateX(0px);
|
385 |
+
-ms-transform: translateX(0px);
|
386 |
+
transform: translateX(0px);
|
387 |
+
-webkit-transition: all .1s ease-in-out;
|
388 |
+
transition: all .1s ease-in-out;
|
389 |
+
opacity: 1;
|
390 |
+
color: #303030;
|
391 |
}
|
392 |
+
.rtm-sidebar .button:active {
|
393 |
+
-webkit-transform: scale(1);
|
394 |
+
-ms-transform: scale(1);
|
395 |
+
transform: scale(1);
|
396 |
+
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
|
|
|
397 |
}
|
398 |
+
|
399 |
.rtm-social-share .twitter .dashicons {
|
400 |
color: #45b0e3;
|
401 |
}
|
402 |
+
.rtm-social-share .twitter:hover {
|
403 |
+
background: -webkit-gradient(linear, left top, right top, from(#45b0e3), to(#fff));
|
404 |
+
background: -webkit-linear-gradient(left, #45b0e3 0%, #fff 100%);
|
405 |
+
background: linear-gradient(to right, #45b0e3 0%, #fff 100%);
|
406 |
+
box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
|
407 |
+
border: 1px solid lightgray;
|
408 |
+
}
|
409 |
+
.rtm-social-share .twitter:hover span.dashicons {
|
410 |
+
-webkit-transform: translateX(70px);
|
411 |
+
-ms-transform: translateX(70px);
|
412 |
+
transform: translateX(70px);
|
413 |
+
padding-right: 0;
|
414 |
+
color: #FFF;
|
415 |
+
}
|
416 |
+
.rtm-social-share .twitter:hover span.icon-message {
|
417 |
+
-webkit-transform: translateX(30px);
|
418 |
+
-ms-transform: translateX(30px);
|
419 |
+
transform: translateX(30px);
|
420 |
+
opacity: 0;
|
421 |
+
}
|
422 |
.rtm-social-share .facebook .dashicons {
|
423 |
color: #3b5998;
|
424 |
}
|
425 |
+
.rtm-social-share .facebook:hover {
|
426 |
+
background: -webkit-gradient(linear, left top, right top, from(#3b5998), to(#fff));
|
427 |
+
background: -webkit-linear-gradient(left, #3b5998 0%, #fff 100%);
|
428 |
+
background: linear-gradient(to right, #3b5998 0%, #fff 100%);
|
429 |
+
box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
|
430 |
+
border: 1px solid lightgray;
|
431 |
+
}
|
432 |
+
.rtm-social-share .facebook:hover span.dashicons {
|
433 |
+
-webkit-transform: translateX(70px);
|
434 |
+
-ms-transform: translateX(70px);
|
435 |
+
transform: translateX(70px);
|
436 |
+
padding-right: 0;
|
437 |
+
color: #FFF;
|
438 |
+
}
|
439 |
+
.rtm-social-share .facebook:hover span.icon-message {
|
440 |
+
-webkit-transform: translateX(30px);
|
441 |
+
-ms-transform: translateX(30px);
|
442 |
+
transform: translateX(30px);
|
443 |
+
opacity: 0;
|
444 |
+
}
|
445 |
.rtm-social-share .wordpress .dashicons {
|
446 |
color: #21759b;
|
447 |
}
|
448 |
+
.rtm-social-share .wordpress:hover {
|
449 |
+
background: -webkit-gradient(linear, left top, right top, from(#21759b), to(#fff));
|
450 |
+
background: -webkit-linear-gradient(left, #21759b 0%, #fff 100%);
|
451 |
+
background: linear-gradient(to right, #21759b 0%, #fff 100%);
|
452 |
+
box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
|
453 |
+
border: 1px solid lightgray;
|
454 |
+
}
|
455 |
+
.rtm-social-share .wordpress:hover span.dashicons {
|
456 |
+
-webkit-transform: translateX(70px);
|
457 |
+
-ms-transform: translateX(70px);
|
458 |
+
transform: translateX(70px);
|
459 |
+
padding-right: 0;
|
460 |
+
color: #FFF;
|
461 |
+
}
|
462 |
+
.rtm-social-share .wordpress:hover span.icon-message {
|
463 |
+
-webkit-transform: translateX(30px);
|
464 |
+
-ms-transform: translateX(30px);
|
465 |
+
transform: translateX(30px);
|
466 |
+
opacity: 0;
|
467 |
+
}
|
468 |
.rtm-social-share .rss .dashicons {
|
469 |
color: #FF6600;
|
470 |
}
|
471 |
+
.rtm-social-share .rss:hover {
|
472 |
+
background: -webkit-gradient(linear, left top, right top, from(#FF6600), to(#fff));
|
473 |
+
background: -webkit-linear-gradient(left, #FF6600 0%, #fff 100%);
|
474 |
+
background: linear-gradient(to right, #FF6600 0%, #fff 100%);
|
475 |
+
box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
|
476 |
+
border: 1px solid lightgray;
|
477 |
+
}
|
478 |
+
.rtm-social-share .rss:hover span.dashicons {
|
479 |
+
-webkit-transform: translateX(70px);
|
480 |
+
-ms-transform: translateX(70px);
|
481 |
+
transform: translateX(70px);
|
482 |
+
padding-right: 0;
|
483 |
+
color: #FFF;
|
484 |
+
}
|
485 |
+
.rtm-social-share .rss:hover span.icon-message {
|
486 |
+
-webkit-transform: translateX(30px);
|
487 |
+
-ms-transform: translateX(30px);
|
488 |
+
transform: translateX(30px);
|
489 |
+
opacity: 0;
|
490 |
}
|
491 |
|
492 |
.rtm-notice {
|
625 |
margin: .5rem 0;
|
626 |
background-color: #fff;
|
627 |
}
|
628 |
+
.rtm-addon-license .dashicons-privacy {
|
629 |
+
font-size: 33px;
|
630 |
+
margin-right: 10px;
|
631 |
+
color: #2e81be;
|
632 |
+
margin-top: -5px;
|
633 |
+
}
|
634 |
.rtm-addon-license .title {
|
635 |
background-color: #fafafa;
|
636 |
border-bottom: 1px solid #ddd;
|
637 |
margin: 0;
|
638 |
padding: 15px 10px;
|
639 |
+
font-size: 20px;
|
640 |
+
}
|
641 |
+
.rtm-addon-license .license-inner-message p {
|
642 |
+
font-weight: 600;
|
643 |
+
font-size: 13px;
|
644 |
+
letter-spacing: 0.5px;
|
645 |
}
|
646 |
.rtm-addon-license .license-inner {
|
647 |
padding: 10px;
|
648 |
+
display: -webkit-box;
|
649 |
+
display: -ms-flexbox;
|
650 |
+
display: flex;
|
651 |
+
margin: 0 0 10px 0;
|
652 |
+
}
|
653 |
+
.rtm-addon-license .license-inner .dashicons-admin-network {
|
654 |
+
font-size: 26px;
|
655 |
+
position: absolute;
|
656 |
+
padding: 10px;
|
657 |
+
color: #2e81be;
|
658 |
}
|
659 |
|
660 |
form.license-form {
|
662 |
margin: 0;
|
663 |
}
|
664 |
form.license-form input[type="text"] {
|
665 |
+
width: 40%;
|
666 |
+
height: 40px;
|
667 |
+
background-color: #f3f3f3 !important;
|
668 |
+
padding-left: 40px;
|
669 |
+
padding-right: 20px;
|
670 |
+
letter-spacing: 1px;
|
671 |
+
margin-right: 10px;
|
672 |
+
background: transparent;
|
673 |
}
|
674 |
form.license-form input[type="submit"] {
|
675 |
margin: 10px 0 0;
|
676 |
}
|
677 |
+
form.license-form .button-secondary {
|
678 |
+
margin: 0 !important;
|
679 |
+
font-size: 15px;
|
680 |
+
background: #2e81be;
|
681 |
+
border-color: #2e81be;
|
682 |
+
color: #fff;
|
683 |
+
}
|
684 |
+
form.license-form .button-secondary:hover, form.license-form .button-secondary:focus {
|
685 |
+
background: #0c73bd;
|
686 |
+
border-color: #0c73bd;
|
687 |
+
color: #fff;
|
688 |
+
}
|
689 |
|
690 |
.license-message {
|
691 |
+
margin: 15px 10px;
|
692 |
padding: 8px;
|
693 |
}
|
694 |
.license-message.warning {
|
716 |
padding-bottom: 10px;
|
717 |
}
|
718 |
|
719 |
+
.upload_attachment {
|
720 |
+
height: 37px;
|
721 |
+
background: #fff;
|
722 |
+
border-radius: 7px;
|
723 |
+
border: 1px solid #8c8f94;
|
724 |
+
width: 350px;
|
725 |
+
outline: none;
|
726 |
+
padding: 0 !important;
|
727 |
+
}
|
728 |
+
|
729 |
+
::-webkit-file-upload-button {
|
730 |
+
color: #fff;
|
731 |
+
height: 35px;
|
732 |
+
margin-right: 20px;
|
733 |
+
background: #2271b1;
|
734 |
+
border-top-left-radius: 7px;
|
735 |
+
border-bottom-left-radius: 7px;
|
736 |
+
border: none;
|
737 |
+
outline: none;
|
738 |
+
}
|
739 |
+
::-webkit-file-upload-button:hover {
|
740 |
+
background: #135e96;
|
741 |
+
cursor: pointer;
|
742 |
+
}
|
743 |
+
|
744 |
#rtmedia-encoding-usage strong {
|
745 |
display: inline-block;
|
746 |
min-width: 120px;
|
1052 |
.rtm-plugin-card.plugin-card .rtm-logo img {
|
1053 |
height: auto;
|
1054 |
/*margin: -10px 0 0 -10px;*/
|
1055 |
+
max-width: 110px;
|
1056 |
}
|
1057 |
.rtm-plugin-card.plugin-card .desc, .rtm-plugin-card.plugin-card .name {
|
1058 |
margin-left: 0;
|
1083 |
}
|
1084 |
#rtm-plugins .plugin-card-top {
|
1085 |
padding: 10px;
|
1086 |
+
min-height: 165px;
|
1087 |
+
top: 20px;
|
1088 |
}
|
1089 |
|
1090 |
.rtm-encoding-table {
|
1208 |
|
1209 |
.rtm-hire-points {
|
1210 |
font-size: 14px;
|
1211 |
+
margin-left: 0px;
|
1212 |
margin-bottom: 24px;
|
1213 |
}
|
1214 |
|
1215 |
+
ol.rtm-hire-points {
|
1216 |
+
list-style-type: none;
|
1217 |
+
}
|
1218 |
+
ol.rtm-hire-points > li {
|
1219 |
+
font-size: initial;
|
1220 |
+
background: #fff;
|
1221 |
+
border: 2px solid #eee;
|
1222 |
+
border-radius: 0.5rem;
|
1223 |
+
box-shadow: 0.25rem 0.25rem 0.6rem rgba(0, 0, 0, 0.05), 0 0.5rem 1.125rem rgba(75, 0, 0, 0.05);
|
1224 |
+
margin-top: 1rem;
|
1225 |
+
padding: 1rem 1rem 1rem 1rem;
|
1226 |
+
}
|
1227 |
+
ol.rtm-hire-points .dashicons {
|
1228 |
+
color: #2e81be;
|
1229 |
+
font-size: 25px;
|
1230 |
+
margin-right: 15px;
|
1231 |
+
line-height: 20px;
|
1232 |
+
}
|
1233 |
+
|
1234 |
@media only screen and (min-width: 1025px) {
|
1235 |
.rtm-setting-container {
|
1236 |
float: left;
|
1337 |
.rtmedia-settings-submit {
|
1338 |
margin-bottom: 0 !important;
|
1339 |
}
|
1340 |
+
|
1341 |
+
.upload_attachment {
|
1342 |
+
width: 230px;
|
1343 |
+
padding: 0 !important;
|
1344 |
+
}
|
1345 |
}
|
1346 |
@media only screen and (min-width: 641px) {
|
1347 |
.rtm-pro-feature-list li:nth-child(3n+1) {
|
app/assets/admin/css/admin.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.alignleft{float:left}.alignright{float:right}.aligncenter{display:block;margin-left:auto;margin-right:auto;text-align:center}.clear-both{clear:both}.clear-none{clear:none}.clear-left{clear:left}.clear-right{clear:right}.rtm-inline-block{display:inline-block}.rtm-text-left{text-align:left}.rtm-text-right{text-align:right}.rtm-text-center{text-align:center}.rtm-border-0{border:0 !important}.hide{display:none}.clearfix:after{content:"";display:table;clear:both}.rtm-row-container{padding-top:10px}.rtm-admin-tab-container{display:table;width:100%}.rtm-admin-tab-container .rtm-tabs-content{background:#fff;border-left:1px solid #e7e7e7;display:table-cell;min-height:300px;padding:20px 30px;vertical-align:top}.rtm-admin-tab-container .rtm-tabs-content #debug tbody{display:block;height:400px;overflow-y:auto}.rtm-admin-tab-container .rtm-tabs-content #debug .rtm-download-debuginfo{float:right;margin-top:14px}.rtm-setting-container{background-color:#f5f5f5;border:1px solid #dedede;box-shadow:0 1px 1px rgba(0,0,0,0.04);margin-top:10px}.rtm-sidebar .postbox .hndle{cursor:default}.rtm-tabs{display:table-cell;list-style:none;margin:0;min-height:300px;width:202px}.rtm-button-container{background:#f3f3f3;border-bottom:1px solid #dedede;box-shadow:0 1px 0 #fcfcfc inset;overflow:hidden;padding:6px 10px 6px 6px;position:relative;text-align:right}.rtm-button-container.bottom{background:#eee;border-top:1px solid #e7e7e7;box-shadow:0 0 0;z-index:999}#mce-EMAIL{width:100%}#mc-embedded-subscribe{display:block;margin:10px auto 0;width:100%}.license-row{box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}.license-column,.license-column{box-sizing:border-box;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:.5rem;padding-left:.5rem}.large-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}@media screen and (max-width: 768px){.medium-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}}@media screen and (max-width: 667px){.small-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}}.rtm-social-links a{display:inline-block;margin:4px 0 4px 4px;text-decoration:none}.nav-tab.rtm-premium{background:#e74c3c;color:white;letter-spacing:0.5px}.rtm-setting-title{border-bottom:1px solid #eee;font-size:22px;font-weight:400;line-height:1;margin-bottom:20px;margin-top:0;padding-bottom:14px;display:none}.rtm-setting-title.rtm-show{display:block}.rtm-option-wrapper{margin-bottom:40px}.rtm-option-wrapper:last-child{margin-bottom:20px}.rtm-setting-title+.rtm-option-wrapper{margin-top:0}.rtm-option-wrapper:last-child{border-bottom:0}.rtm-option-wrapper .form-table{clear:none}.rtm-option-wrapper .rtm-field-wrap{float:left}.rtm-option-wrapper a{text-decoration:none}.rtm-option-wrapper .form-table th{color:#444;font-size:13px;font-weight:400;padding:5px 30px 5px 0;vertical-align:top;width:48%}.rtm-option-wrapper .form-table td{font-size:13px;padding:0 0 5px;vertical-align:top}.rtm-option-wrapper .form-table td fieldset label{display:block;margin:0 !important}.rtm-option-wrapper .form-table .rtm-form-radio label{margin-top:5px !important}.rtm-option-wrapper .form-table .rtm-form-radio label input{margin-left:5px;margin-bottom:2px}.rtm-option-wrapper .form-table .wp-picker-input-wrap label{display:inline}.rtm-option-wrapper .form-table .wp-picker-clear{margin-left:5px}.rtm-option-wrapper textarea,.rtm-option-wrapper select,.rtm-option-wrapper input[type=text],.rtm-option-wrapper input[type=number]{border-radius:3px}.rtm-option-wrapper input[type=number]{width:60px}.rtm-option-wrapper .rt-form-radio{height:28px;line-height:24px}.rtm-option-wrapper .rt-form-radio label:first-child{margin-right:12px !important}.rtm-option-wrapper .dashicons-info{color:#aaa;font-size:14px;height:26px;line-height:26px;position:relative}.rtm-option-wrapper .rtm-debug-info{margin-top:32px}.rtm-option-wrapper .rtm-debug-info tr{border-bottom:1px solid #eee}.rtm-option-wrapper .rtm-debug-info tr:first-child{border-top:1px solid #eee}.rtm-option-wrapper .rtm-debug-info tr:nth-child(2n){background-color:#f8f8f8}.rtm-option-wrapper .rtm-debug-info th{border-right:1px solid #eee;font-weight:600;width:auto}.rtm-option-wrapper .rtm-debug-info th,.rtm-option-wrapper .rtm-debug-info td{padding:10px}.rtm-option-wrapper .rtm-form-link{line-height:26px}.rtm-option-title{border-bottom:1px solid #eee;font-size:14px;letter-spacing:0.02rem;margin-bottom:12px;margin-top:0;padding:0 0 6px;text-transform:uppercase}.rtm-sidebar .button{display:block;opacity:0.8;position:relative;text-decoration:none}.rtm-social-share .dashicons{font-size:18px;position:absolute;right:10px;top:4px}.rtm-social-share .twitter .dashicons{color:#45b0e3}.rtm-social-share .facebook .dashicons{color:#3b5998}.rtm-social-share .wordpress .dashicons{color:#21759b}.rtm-social-share .rss .dashicons{color:#FF6600}.rtm-social-share p:last-child{margin-bottom:0}.rtm-notice{background:rgba(238,238,238,0.8);color:#777;font-size:12px;line-height:1.6;margin-top:10px;overflow:hidden;padding:0 10px}.rtm-notice p{font-size:inherit;line-height:inherit;margin:10px 0}.rtm-warning{background-color:#fcf8e3;border-bottom:1px solid #EEE;color:#c09853;padding:10px 15px}.rtmedia-theme-warning{margin-bottom:26px}.rtm-success{background-color:#dff0d8;border-bottom:1px solid #e7e7e7;color:#468847;margin:0;padding:8px 35px 8px 14px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.rtm-fly-warning{border-bottom:0;left:-10px;letter-spacing:1px;line-height:22px;margin-bottom:0;padding:14px 25px;position:absolute;top:-5px}.rtm-field-wrap{max-width:92%;position:relative;overflow:hidden;display:inline-block}.rtm-field-wrap input[type=file]{font-size:100px;position:absolute;left:0;top:0;opacity:0;width:75px;height:24px}#rtmedia-types .form-table th{line-height:26px;padding:5px 0 20px;width:33%}#rtmedia-types .form-table td{padding:0 0 12px}#rtmedia-custom-css-settings .form-table th{width:35%}#rtmedia-custom-css-settings .form-table:last-child .rtm-field-wrap{width:92%}#rtmedia-custom-css-settings textarea{height:300px;width:100%}.rtm-img-size-setting .form-table th{border-bottom:1px solid #eee;padding-bottom:10px;padding-top:10px;width:20%}.rtm-img-size-setting .form-table tr:nth-child(2) td{padding-top:20px}.rtm-img-size-setting .form-table tr:nth-child(4){border-bottom:1px solid #eee}.rtm-img-size-setting .form-table tr:nth-child(4) td{padding-bottom:20px}.rtm-img-size-setting .form-table tr:nth-child(5) td{padding-top:20px}.rtm-img-size-setting .form-table tr:nth-child(6) td{padding-bottom:20px}.rtm-img-size-setting .form-table tr:nth-child(7){border-top:1px solid #eee}.rtm-img-size-setting .form-table tr:nth-child(7) td{padding-top:20px}.rtm-img-size-setting .form-table tr:nth-last-child(2) td{padding-bottom:20px}.rtm-img-size-setting .form-table tr:last-child{border-top:1px solid #eee}.rtm-img-size-setting .form-table tr:last-child td{padding-top:20px;padding-bottom:20px}.rtm-img-size-setting .form-table .rtm-row-title{font-weight:600}#rtmedia-privacy .rt-form-radio{font-size:12px}#rtmedia-privacy .rt-form-radio strong{font-size:13px}.rtm-addon-license{border:1px solid #ddd;margin:.5rem 0;background-color:#fff}.rtm-addon-license .title{background-color:#fafafa;border-bottom:1px solid #ddd;margin:0;padding:15px 10px}.rtm-addon-license .license-inner{padding:10px}form.license-form{padding:0;margin:0}form.license-form input[type="text"]{width:100%;max-width:100%;height:35px;line-height:35px}form.license-form input[type="submit"]{margin:10px 0 0}.license-message{margin:15px 0 0 0;padding:8px}.license-message.warning{background:rgba(255,185,0,0.1);border:1px solid #ffb900}.license-message.success{background:rgba(70,180,80,0.1);border:1px solid #46b450}.license-message.info{background:rgba(0,160,210,0.1);border:1px solid #00a0d2}.license-message.alert{background:rgba(220,50,50,0.1);border:1px solid #dc3232}.rtml-submit-wrapper .submit{margin-left:8px;margin-right:8px;margin-top:0;padding-top:0;padding-bottom:10px}#rtmedia-encoding-usage strong{display:inline-block;min-width:120px}#rtmedia-encoding-usage p{overflow:hidden}.encoding-used,.encoding-remaining{background:#7AD03A;float:right;height:12px;margin-top:3px;width:12px}.encoding-remaining{background:#dedede}#rtprogressbar{background:#dedede;height:10px;position:relative}#rtprogressbar div{background:#7AD03A;height:10px;left:0;position:absolute}.rtm-tabs li{margin:0}.rtm-tabs li.error{border-left:4px solid #dc3232}.rtm-tabs a{border-bottom:1px solid #e7e7e7;border-top:1px solid #f2f2f2;color:#222;display:block;font-weight:700;outline:none;opacity:0.8;padding:10px 4px 10px 14px;position:relative;text-decoration:none;z-index:10}.rtm-tabs a:hover{background:#eee;color:#269ad6;margin-right:0;opacity:1;width:auto}.rtm-tabs a:focus{background:#fff;box-shadow:0 0 0}.rtm-tabs .active{background:white;position:relative}.rtm-tabs .active:after{background:#fff;content:' ';height:100%;position:absolute;right:-1px;top:0;width:1px}.rtm-tabs .active a{border-top-color:#fff;color:#222;opacity:1}.rtm-tabs .active a:hover{background:#fff}.rtm-tabs span{display:block;padding:0 0 0 25px}.rtm-tabs .dashicons{font-size:14px;height:auto;line-height:1;margin-top:3px;position:absolute;vertical-align:middle;width:auto}.rtm-horizotanl-tabs .rtm-tabs{list-style:none;margin:0;display:block;width:auto;min-height:0}.rtm-horizotanl-tabs .rtm-tabs-content{border-left:none;background:#fff;min-height:300px;padding:20px 30px;vertical-align:top}.rtm-horizotanl-tabs .rtm-tabs a{border-bottom:none}.rtm-horizotanl-tabs .rtm-tabs li{display:inline-block}.rtm-horizotanl-tabs.rtm-admin-tab-container{width:100%;display:block}.switch{position:relative;display:inline-block;vertical-align:top;width:58px;height:22px;padding:3px;border-radius:18px}.switch input[type=checkbox]{position:absolute;top:0;left:0;opacity:0}.switch-label{position:relative;display:block;height:inherit;color:#fff;font-size:12px;text-transform:uppercase;background:#b4b4b4;border-radius:inherit;-webkit-transition:0.15s ease-out;transition:0.15s ease-out;-webkit-transition-property:opacity background;transition-property:opacity background}.switch-label:before,.switch-label:after{position:absolute;top:50%;margin-top:-.5em;line-height:1;-webkit-transition:inherit;transition:inherit}.switch-label:before{content:attr(data-off);right:11px;color:#fff}.switch-label:after{content:attr(data-on);left:11px;opacity:0}input[type=checkbox]:checked ~ .switch-label{background:#33a7d1}input[type=checkbox]:checked ~ .switch-label:before{opacity:0}input[type=checkbox]:checked ~ .switch-label:after{opacity:1}.switch-handle{position:absolute;top:5px;left:5px;width:18px;height:18px;background:white;border-radius:10px;box-shadow:1px 1px 5px rgba(0,0,0,0.2);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(40%, #fff), to(#f0f0f0));background-image:-webkit-linear-gradient(top, #fff 40%, #f0f0f0);background-image:linear-gradient(to bottom, #fff 40%, #f0f0f0);-webkit-transition:left 0.15s ease-out;transition:left 0.15s ease-out}.switch-handle:before{content:'';position:absolute;top:50%;left:50%;margin:-6px 0 0 -6px;width:12px;height:12px;background:#f9f9f9;border-radius:6px;box-shadow:inset 0 1px rgba(0,0,0,0.02);background-image:-webkit-gradient(linear, left top, left bottom, from(#eee), to(#fff));background-image:-webkit-linear-gradient(top, #eee, #fff);background-image:linear-gradient(to bottom, #eee, #fff)}input[type=checkbox]:checked ~ .switch-handle{left:41px;box-shadow:-1px 1px 5px rgba(0,0,0,0.2)}.rtm-tooltip{display:inline-block;margin-left:3px;position:relative}.rtm-tooltip:hover .rtm-tip-top,.rtm-tooltip:hover .rtm-tip{margin-left:0;opacity:1;visibility:visible}.rtm-tooltip .rtm-title{border-bottom:1px dotted;padding-bottom:2px}.rtm-tip-top,.rtm-tip{background:#fffAF0;border:1px solid #f5deaf;border-radius:3px;font-size:12px;left:24px;margin-top:-4px;margin-left:-10px;line-height:1.5;opacity:0;padding:6px 12px;position:absolute;top:0;visibility:hidden;width:210px;z-index:9999;-webkit-transition:all ease-in-out 0.4s;transition:all ease-in-out 0.4s}.rtm-tip-top{bottom:26px;left:auto;right:-66px;top:auto;width:200px}.rtm-tip-top:after,.rtm-tip-top:before{right:auto;top:100%;left:50%;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none}.rtm-tip-top:after{border-color:rgba(255,250,240,0);border-top-color:#fffAF0;border-width:6px;margin-left:-6px}.rtm-tip-top:before{border-color:rgba(245,222,175,0);border-top-color:#f5deaf;border-width:8px;margin-left:-8px}.rtm-extensions .dashicons{font-size:12px;margin-left:-4px;position:relative;top:-3px}.rtm-extensions.rtm-set-top .dashicons{top:1px}.rtm-plugin-card.plugin-card{margin:1%;overflow:hidden;width:48%}.rtm-plugin-card.plugin-card .rtm-logo{float:left;margin-right:10px;max-width:200px;width:auto}.rtm-plugin-card.plugin-card .rtm-logo img{height:auto;max-width:120px}.rtm-plugin-card.plugin-card .desc,.rtm-plugin-card.plugin-card .name{margin-left:0;margin-right:0;overflow:hidden}.rtm-plugin-card.plugin-card h4{margin-bottom:0;margin-top:0}.rtm-plugin-card.plugin-card a{text-decoration:none}.rtm-plugin-card.plugin-card .rtm-live-demo{margin-right:10px}.rtm-plugin-card.plugin-card .price{color:#269ad6;font-size:22px;line-height:1.2}#rtm-plugins .rtm-option-title{margin-top:50px}#rtm-plugins .rtm-setting-title+.rtm-option-title{margin-top:0}#rtm-plugins .plugin-card-top{padding:10px}.rtm-encoding-table{border-collapse:collapse;clear:none}.rtm-encoding-table th,.rtm-encoding-table td{border:1px solid #e7e7e7}.rtm-encoding-table th{font-size:13px;font-weight:600}.rtm-theme-browser .rtm-themes{clear:none;padding:0}.rtm-theme-browser .rtm-themes .rtm-theme{width:48%}.rtm-theme-browser .rtm-themes .rtm-theme:nth-child(even){margin-right:0 !important}.rtm-theme-browser .rtm-themes .rtm-theme:nth-child(3n){margin-right:4%}.admin-bar .theme-overlay .theme-wrap{z-index:99999}.rtm-support-container{min-height:300px}.rtm-support-form .rtm-form-filed{clear:both;margin:15px 0}.rtm-support-form label{float:left;width:15%}.rtm-support-form .bp-media-textarea{height:80px}.rtm-button-wrapper{padding-left:15%}.rtm-page-container{background:#fff;overflow:hidden;padding:20px}.rtm-pro-feature-list li{box-sizing:border-box;float:left;padding:0 10px 20px;width:33%}.rtm-pro-feature-list .rtm-icon-wrap{float:left;margin-top:15px;width:30px}.rtm-pro-feature-list .dashicons{font-size:18px}.rtm-pro-feature-list .rtm-title{font-size:18px;margin-left:30px;margin-top:0px}.rtm-pro-feature-list .rtm-content{font-size:14px;line-height:25px;margin-left:30px;color:#8a8a8a;width:auto}.rtm-update-to-pro{text-align:center}.rtm-button{background-color:#269ad6;border:0;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:13px;letter-spacing:1px;line-height:1;margin-bottom:10px;padding:12px 26px;text-align:center;text-decoration:none;text-transform:uppercase}.rtm-button:hover,.rtm-button:focus{background-color:#228ac0;color:#fff}.rtm-button.large{font-size:16px;margin-bottom:20px;padding:20px 40px}.rtm-button.rtm-button-success{background-color:#2ecc71}.rtm-button.rtm-button-success:hover,.rtm-button.rtm-button-success:focus{background-color:#2fab41}.rtm-hire-points{font-size:14px;margin-bottom:24px}@media only screen and (min-width: 1025px){.rtm-setting-container{float:left;width:78.2%}.rtm-sidebar{float:right;width:20%}.rtm-sidebar .postbox{min-width:0}.rtm-field-wrap{max-width:92%}.rtm-tip:after,.rtm-tip:before{right:100%;top:15px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.rtm-tip:after{border-color:rgba(255,250,240,0);border-right-color:#fffAF0;border-width:6px;margin-top:-6px}.rtm-tip:before{border-color:rgba(221,204,170,0);border-right-color:#f5deaf;border-width:7px;margin-top:-7px}.rtm-support-form .bp-media-input,.rtm-support-form .bp-media-textarea{float:left;width:40%}}@media only screen and (min-width: 641px) and (max-width: 1024px){.rtm-sidebar{width:100%}.rtm-sidebar .postbox{display:inline-block;margin-left:5px;vertical-align:top}.rtm-sidebar .postbox:first-child{margin-left:0}}@media screen and (max-width: 1024px){.rtm-tip{bottom:26px;left:auto;right:-102px;top:auto;width:200px}.rtm-tip:after,.rtm-tip:before{right:auto;top:100%;left:50%;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none}.rtm-tip:after{border-color:rgba(255,250,240,0);border-top-color:#fffAF0;border-width:6px;margin-left:-6px}.rtm-tip:before{border-color:rgba(245,222,175,0);border-top-color:#f5deaf;border-width:7px;margin-left:-7px}#rtmedia-custom-css-settings .form-table:last-child .rtm-field-wrap{width:100%}.rtm-field-wrap input[type=text]{max-width:140px !important}.theme-browser .theme:nth-child(2n+1){margin-right:4%}.rtmedia-settings-submit{margin-bottom:0 !important}}@media only screen and (min-width: 641px){.rtm-pro-feature-list li:nth-child(3n+1){clear:left}}@media screen and (min-width: 421px) and (max-width: 782px){.rtm-option-wrapper .form-table td{display:table-cell}.rtm-option-wrapper .form-table th{display:table-cell}}@media only screen and (max-width: 640px){.rtm-pro-feature-list li{width:50%}.rtm-pro-feature-list li:nth-child(2n+1){clear:left}.rtm-tabs{width:40px}.rtm-tabs li{width:40px}.rtm-tabs a{height:18px}.rtm-tabs a:hover{width:140px}.rtm-tabs a:hover span{display:block}.rtm-tabs span{display:none;padding:0 0 0 28px;position:absolute}.rtm-support-form label{width:100%;margin-bottom:5px}.rtm-support-form .bp-media-input,.rtm-support-form .bp-media-textarea{width:70%}.rtm-button-wrapper{padding-left:0}}@media screen and (max-width: 481px){.rtm-plugin-card.plugin-card .rtm-logo{display:inline-block;float:none}.rtm-theme-browser .rtm-themes .rtm-theme{margin:0 0 20px;width:100%}}@media screen and (max-width: 420px){.rtm-option-wrapper .form-table th{padding-bottom:15px;width:100%}#rtmedia-types .form-table th,#rtmedia-custom-css-settings .form-table th{width:100%}.rtm-pro-feature-list li{width:100%}.rtm-tip-top{right:-115px}}body.rtl .rtm-tabs a{padding:10px 32px 10px 4px}body.rtl .rtm-tabs .dashicons{right:10px}body.rtl .rtm-social-share .dashicons{left:10px;right:auto}body.rtl .rtm-option-wrapper .rtm-field-wrap{float:right}body.rtl .rtm-tip-top,body.rtl .rtm-tip{left:auto;right:24px}body.rtl .rtm-tip-top:after,body.rtl .rtm-tip-top:before,body.rtl .rtm-tip:after,body.rtl .rtm-tip:before{display:none}body.rtl .rtm-edit-td,body.rtl .rtm-delete-td{float:right;margin-left:0}body.rtl .rtm-edit-td{margin-right:-15px}body.rtl #rtmedia-membership span.float-right{float:left}body.rtl .theme-browser .theme{float:left;margin:0 4% 4% 0}.rtmedia-license .rtm-tabs span{padding:0}
|
1 |
+
.alignleft{float:left}.alignright{float:right}.aligncenter{display:block;margin-left:auto;margin-right:auto;text-align:center}.clear-both{clear:both}.clear-none{clear:none}.clear-left{clear:left}.clear-right{clear:right}.rtm-inline-block{display:inline-block}.rtm-text-left{text-align:left}.rtm-text-right{text-align:right}.rtm-text-center{text-align:center}.rtm-border-0{border:0 !important}.hide{display:none}.clearfix:after{content:"";display:table;clear:both}.rtm-row-container{padding-top:10px}.rtm-admin-tab-container{display:table;width:100%}.rtm-admin-tab-container .rtm-tabs-content{background:#fff;border-left:1px solid #e7e7e7;display:table-cell;min-height:300px;padding:20px 30px;vertical-align:top}.rtm-admin-tab-container .rtm-tabs-content #debug tbody{display:block;height:400px;overflow-y:auto}.rtm-admin-tab-container .rtm-tabs-content #debug .rtm-download-debuginfo{float:right;margin-top:14px}.rtm-setting-container{background-color:#f5f5f5;border:1px solid #dedede;box-shadow:0 1px 1px rgba(0,0,0,0.04);margin-top:10px}.rtm-sidebar .postbox .hndle{cursor:default}.rtm-tabs{display:table-cell;list-style:none;margin:0;min-height:300px;width:202px}.rtm-button-container{background:#f3f3f3;border-bottom:1px solid #dedede;box-shadow:0 1px 0 #fcfcfc inset;overflow:hidden;padding:6px 10px 6px 6px;position:relative;text-align:right}.rtm-button-container.bottom{background:#eee;border-top:1px solid #e7e7e7;box-shadow:0 0 0;z-index:999}#mce-EMAIL{width:100%;background:#f6f7f7}#mc-embedded-subscribe{display:block;margin:10px auto 0;width:100%;padding:2px 0px;background:#2e81be;border-color:#2e81be;border-radius:3px;color:#fff}#mc-embedded-subscribe:hover,#mc-embedded-subscribe:focus{background:#0c73bd;border-color:#0c73bd;color:#fff}.license-row{box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}.license-column,.license-column{box-sizing:border-box;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:.5rem;padding-left:.5rem;width:100%}.license-inner-message{padding:10px}.large-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}@media screen and (max-width: 768px){.medium-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}}@media screen and (max-width: 667px){.small-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}}.rtm-social-links a{display:inline-block;margin:4px 0 4px 4px;text-decoration:none}.nav-tab.rtm-premium{background:#e74c3c;color:white;letter-spacing:0.5px}.theme-browser .theme .theme-actions{position:absolute;top:unset;-webkit-transform:translateY(-100%);-ms-transform:translateY(-100%);transform:translateY(-100%);right:0;padding:9px 15px}.dashicons-groups{font-size:25px;margin-right:10px}.rtm-setting-title{border-bottom:1px solid #eee;font-size:22px;font-weight:400;line-height:1;margin-bottom:20px;margin-top:2px;padding-bottom:14px;display:none}.rtm-setting-title.rtm-show{display:inline-block}.rtm-option-wrapper{margin-bottom:40px}.rtm-option-wrapper:last-child{margin-bottom:20px}.rtm-setting-title+.rtm-option-wrapper{margin-top:0}.rtm-option-wrapper:last-child{border-bottom:0}.rtm-option-wrapper .form-table{clear:none}.rtm-option-wrapper .rtm-field-wrap{float:left}.rtm-option-wrapper a{text-decoration:none}.rtm-option-wrapper .form-table th{color:#444;font-size:13px;font-weight:400;padding:5px 30px 5px 0;vertical-align:top;width:48%}.rtm-option-wrapper .form-table td{font-size:13px;padding:0 0 5px;vertical-align:top}.rtm-option-wrapper .form-table td fieldset label{display:block;margin:0 !important}.rtm-option-wrapper .form-table .rtm-form-radio label{margin-top:5px !important}.rtm-option-wrapper .form-table .rtm-form-radio label input{margin-left:5px;margin-bottom:2px}.rtm-option-wrapper .form-table .wp-picker-input-wrap label{display:inline}.rtm-option-wrapper .form-table .wp-picker-clear{margin-left:5px}.rtm-option-wrapper textarea,.rtm-option-wrapper select,.rtm-option-wrapper input[type=text],.rtm-option-wrapper input[type=number]{border-radius:3px}.rtm-option-wrapper input[type=number]{width:60px}.rtm-option-wrapper .rt-form-radio{height:28px;line-height:24px}.rtm-option-wrapper .rt-form-radio label:first-child{margin-right:12px !important}.rtm-option-wrapper .dashicons-info{color:#aaa;font-size:14px;height:26px;line-height:26px;position:relative}.rtm-option-wrapper .rtm-debug-info{margin-top:32px}.rtm-option-wrapper .rtm-debug-info tr{border-bottom:1px solid #eee}.rtm-option-wrapper .rtm-debug-info tr:first-child{border-top:1px solid #eee}.rtm-option-wrapper .rtm-debug-info tr:nth-child(2n){background-color:#f8f8f8}.rtm-option-wrapper .rtm-debug-info th{border-right:1px solid #eee;font-weight:600;width:auto}.rtm-option-wrapper .rtm-debug-info th,.rtm-option-wrapper .rtm-debug-info td{padding:10px}.rtm-option-wrapper .rtm-form-link{line-height:26px}.rtm-option-title{border-bottom:1px solid #eee;font-size:14px;letter-spacing:0.02rem;margin-bottom:12px;margin-top:0;padding:0 0 6px;text-transform:uppercase}.rtm-sidebar .hndle .dashicons-share,.rtm-sidebar .hndle .dashicons-bell{color:#2e81be;font-size:22px;margin-right:7px}.rtm-sidebar .button{min-width:110px;padding:6px 15px;text-decoration:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;margin:5px 0;border:1px solid #d3d3d3;border-radius:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rtm-sidebar .button span.dashicons{font-size:25px;margin-right:15px;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.rtm-sidebar .button span.icon-message{-webkit-transform:translateX(0px);-ms-transform:translateX(0px);transform:translateX(0px);-webkit-transition:all .1s ease-in-out;transition:all .1s ease-in-out;opacity:1;color:#303030}.rtm-sidebar .button:active{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1);box-shadow:0px 2px 10px rgba(0,0,0,0.1)}.rtm-social-share .twitter .dashicons{color:#45b0e3}.rtm-social-share .twitter:hover{background:-webkit-gradient(linear, left top, right top, from(#45b0e3), to(#fff));background:-webkit-linear-gradient(left, #45b0e3 0%, #fff 100%);background:linear-gradient(to right, #45b0e3 0%, #fff 100%);box-shadow:0px 10px 30px rgba(0,0,0,0.1);border:1px solid #d3d3d3}.rtm-social-share .twitter:hover span.dashicons{-webkit-transform:translateX(70px);-ms-transform:translateX(70px);transform:translateX(70px);padding-right:0;color:#FFF}.rtm-social-share .twitter:hover span.icon-message{-webkit-transform:translateX(30px);-ms-transform:translateX(30px);transform:translateX(30px);opacity:0}.rtm-social-share .facebook .dashicons{color:#3b5998}.rtm-social-share .facebook:hover{background:-webkit-gradient(linear, left top, right top, from(#3b5998), to(#fff));background:-webkit-linear-gradient(left, #3b5998 0%, #fff 100%);background:linear-gradient(to right, #3b5998 0%, #fff 100%);box-shadow:0px 10px 30px rgba(0,0,0,0.1);border:1px solid #d3d3d3}.rtm-social-share .facebook:hover span.dashicons{-webkit-transform:translateX(70px);-ms-transform:translateX(70px);transform:translateX(70px);padding-right:0;color:#FFF}.rtm-social-share .facebook:hover span.icon-message{-webkit-transform:translateX(30px);-ms-transform:translateX(30px);transform:translateX(30px);opacity:0}.rtm-social-share .wordpress .dashicons{color:#21759b}.rtm-social-share .wordpress:hover{background:-webkit-gradient(linear, left top, right top, from(#21759b), to(#fff));background:-webkit-linear-gradient(left, #21759b 0%, #fff 100%);background:linear-gradient(to right, #21759b 0%, #fff 100%);box-shadow:0px 10px 30px rgba(0,0,0,0.1);border:1px solid #d3d3d3}.rtm-social-share .wordpress:hover span.dashicons{-webkit-transform:translateX(70px);-ms-transform:translateX(70px);transform:translateX(70px);padding-right:0;color:#FFF}.rtm-social-share .wordpress:hover span.icon-message{-webkit-transform:translateX(30px);-ms-transform:translateX(30px);transform:translateX(30px);opacity:0}.rtm-social-share .rss .dashicons{color:#FF6600}.rtm-social-share .rss:hover{background:-webkit-gradient(linear, left top, right top, from(#f60), to(#fff));background:-webkit-linear-gradient(left, #f60 0%, #fff 100%);background:linear-gradient(to right, #f60 0%, #fff 100%);box-shadow:0px 10px 30px rgba(0,0,0,0.1);border:1px solid #d3d3d3}.rtm-social-share .rss:hover span.dashicons{-webkit-transform:translateX(70px);-ms-transform:translateX(70px);transform:translateX(70px);padding-right:0;color:#FFF}.rtm-social-share .rss:hover span.icon-message{-webkit-transform:translateX(30px);-ms-transform:translateX(30px);transform:translateX(30px);opacity:0}.rtm-notice{background:rgba(238,238,238,0.8);color:#777;font-size:12px;line-height:1.6;margin-top:10px;overflow:hidden;padding:0 10px}.rtm-notice p{font-size:inherit;line-height:inherit;margin:10px 0}.rtm-warning{background-color:#fcf8e3;border-bottom:1px solid #EEE;color:#c09853;padding:10px 15px}.rtmedia-theme-warning{margin-bottom:26px}.rtm-success{background-color:#dff0d8;border-bottom:1px solid #e7e7e7;color:#468847;margin:0;padding:8px 35px 8px 14px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.rtm-fly-warning{border-bottom:0;left:-10px;letter-spacing:1px;line-height:22px;margin-bottom:0;padding:14px 25px;position:absolute;top:-5px}.rtm-field-wrap{max-width:92%;position:relative;overflow:hidden;display:inline-block}.rtm-field-wrap input[type=file]{font-size:100px;position:absolute;left:0;top:0;opacity:0;width:75px;height:24px}#rtmedia-types .form-table th{line-height:26px;padding:5px 0 20px;width:33%}#rtmedia-types .form-table td{padding:0 0 12px}#rtmedia-custom-css-settings .form-table th{width:35%}#rtmedia-custom-css-settings .form-table:last-child .rtm-field-wrap{width:92%}#rtmedia-custom-css-settings textarea{height:300px;width:100%}.rtm-img-size-setting .form-table th{border-bottom:1px solid #eee;padding-bottom:10px;padding-top:10px;width:20%}.rtm-img-size-setting .form-table tr:nth-child(2) td{padding-top:20px}.rtm-img-size-setting .form-table tr:nth-child(4){border-bottom:1px solid #eee}.rtm-img-size-setting .form-table tr:nth-child(4) td{padding-bottom:20px}.rtm-img-size-setting .form-table tr:nth-child(5) td{padding-top:20px}.rtm-img-size-setting .form-table tr:nth-child(6) td{padding-bottom:20px}.rtm-img-size-setting .form-table tr:nth-child(7){border-top:1px solid #eee}.rtm-img-size-setting .form-table tr:nth-child(7) td{padding-top:20px}.rtm-img-size-setting .form-table tr:nth-last-child(2) td{padding-bottom:20px}.rtm-img-size-setting .form-table tr:last-child{border-top:1px solid #eee}.rtm-img-size-setting .form-table tr:last-child td{padding-top:20px;padding-bottom:20px}.rtm-img-size-setting .form-table .rtm-row-title{font-weight:600}#rtmedia-privacy .rt-form-radio{font-size:12px}#rtmedia-privacy .rt-form-radio strong{font-size:13px}.rtm-addon-license{border:1px solid #ddd;margin:.5rem 0;background-color:#fff}.rtm-addon-license .dashicons-privacy{font-size:33px;margin-right:10px;color:#2e81be;margin-top:-5px}.rtm-addon-license .title{background-color:#fafafa;border-bottom:1px solid #ddd;margin:0;padding:15px 10px;font-size:20px}.rtm-addon-license .license-inner-message p{font-weight:600;font-size:13px;letter-spacing:0.5px}.rtm-addon-license .license-inner{padding:10px;display:-webkit-box;display:-ms-flexbox;display:flex;margin:0 0 10px 0}.rtm-addon-license .license-inner .dashicons-admin-network{font-size:26px;position:absolute;padding:10px;color:#2e81be}form.license-form{padding:0;margin:0}form.license-form input[type="text"]{width:40%;height:40px;background-color:#f3f3f3 !important;padding-left:40px;padding-right:20px;letter-spacing:1px;margin-right:10px;background:transparent}form.license-form input[type="submit"]{margin:10px 0 0}form.license-form .button-secondary{margin:0 !important;font-size:15px;background:#2e81be;border-color:#2e81be;color:#fff}form.license-form .button-secondary:hover,form.license-form .button-secondary:focus{background:#0c73bd;border-color:#0c73bd;color:#fff}.license-message{margin:15px 10px;padding:8px}.license-message.warning{background:rgba(255,185,0,0.1);border:1px solid #ffb900}.license-message.success{background:rgba(70,180,80,0.1);border:1px solid #46b450}.license-message.info{background:rgba(0,160,210,0.1);border:1px solid #00a0d2}.license-message.alert{background:rgba(220,50,50,0.1);border:1px solid #dc3232}.rtml-submit-wrapper .submit{margin-left:8px;margin-right:8px;margin-top:0;padding-top:0;padding-bottom:10px}.upload_attachment{height:37px;background:#fff;border-radius:7px;border:1px solid #8c8f94;width:350px;outline:none;padding:0 !important}::-webkit-file-upload-button{color:#fff;height:35px;margin-right:20px;background:#2271b1;border-top-left-radius:7px;border-bottom-left-radius:7px;border:none;outline:none}::-webkit-file-upload-button:hover{background:#135e96;cursor:pointer}#rtmedia-encoding-usage strong{display:inline-block;min-width:120px}#rtmedia-encoding-usage p{overflow:hidden}.encoding-used,.encoding-remaining{background:#7AD03A;float:right;height:12px;margin-top:3px;width:12px}.encoding-remaining{background:#dedede}#rtprogressbar{background:#dedede;height:10px;position:relative}#rtprogressbar div{background:#7AD03A;height:10px;left:0;position:absolute}.rtm-tabs li{margin:0}.rtm-tabs li.error{border-left:4px solid #dc3232}.rtm-tabs a{border-bottom:1px solid #e7e7e7;border-top:1px solid #f2f2f2;color:#222;display:block;font-weight:700;outline:none;opacity:0.8;padding:10px 4px 10px 14px;position:relative;text-decoration:none;z-index:10}.rtm-tabs a:hover{background:#eee;color:#269ad6;margin-right:0;opacity:1;width:auto}.rtm-tabs a:focus{background:#fff;box-shadow:0 0 0}.rtm-tabs .active{background:white;position:relative}.rtm-tabs .active:after{background:#fff;content:' ';height:100%;position:absolute;right:-1px;top:0;width:1px}.rtm-tabs .active a{border-top-color:#fff;color:#222;opacity:1}.rtm-tabs .active a:hover{background:#fff}.rtm-tabs span{display:block;padding:0 0 0 25px}.rtm-tabs .dashicons{font-size:14px;height:auto;line-height:1;margin-top:3px;position:absolute;vertical-align:middle;width:auto}.rtm-horizotanl-tabs .rtm-tabs{list-style:none;margin:0;display:block;width:auto;min-height:0}.rtm-horizotanl-tabs .rtm-tabs-content{border-left:none;background:#fff;min-height:300px;padding:20px 30px;vertical-align:top}.rtm-horizotanl-tabs .rtm-tabs a{border-bottom:none}.rtm-horizotanl-tabs .rtm-tabs li{display:inline-block}.rtm-horizotanl-tabs.rtm-admin-tab-container{width:100%;display:block}.switch{position:relative;display:inline-block;vertical-align:top;width:58px;height:22px;padding:3px;border-radius:18px}.switch input[type=checkbox]{position:absolute;top:0;left:0;opacity:0}.switch-label{position:relative;display:block;height:inherit;color:#fff;font-size:12px;text-transform:uppercase;background:#b4b4b4;border-radius:inherit;-webkit-transition:0.15s ease-out;transition:0.15s ease-out;-webkit-transition-property:opacity background;transition-property:opacity background}.switch-label:before,.switch-label:after{position:absolute;top:50%;margin-top:-.5em;line-height:1;-webkit-transition:inherit;transition:inherit}.switch-label:before{content:attr(data-off);right:11px;color:#fff}.switch-label:after{content:attr(data-on);left:11px;opacity:0}input[type=checkbox]:checked ~ .switch-label{background:#33a7d1}input[type=checkbox]:checked ~ .switch-label:before{opacity:0}input[type=checkbox]:checked ~ .switch-label:after{opacity:1}.switch-handle{position:absolute;top:5px;left:5px;width:18px;height:18px;background:white;border-radius:10px;box-shadow:1px 1px 5px rgba(0,0,0,0.2);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(40%, #fff), to(#f0f0f0));background-image:-webkit-linear-gradient(top, #fff 40%, #f0f0f0);background-image:linear-gradient(to bottom, #fff 40%, #f0f0f0);-webkit-transition:left 0.15s ease-out;transition:left 0.15s ease-out}.switch-handle:before{content:'';position:absolute;top:50%;left:50%;margin:-6px 0 0 -6px;width:12px;height:12px;background:#f9f9f9;border-radius:6px;box-shadow:inset 0 1px rgba(0,0,0,0.02);background-image:-webkit-gradient(linear, left top, left bottom, from(#eee), to(#fff));background-image:-webkit-linear-gradient(top, #eee, #fff);background-image:linear-gradient(to bottom, #eee, #fff)}input[type=checkbox]:checked ~ .switch-handle{left:41px;box-shadow:-1px 1px 5px rgba(0,0,0,0.2)}.rtm-tooltip{display:inline-block;margin-left:3px;position:relative}.rtm-tooltip:hover .rtm-tip-top,.rtm-tooltip:hover .rtm-tip{margin-left:0;opacity:1;visibility:visible}.rtm-tooltip .rtm-title{border-bottom:1px dotted;padding-bottom:2px}.rtm-tip-top,.rtm-tip{background:#fffAF0;border:1px solid #f5deaf;border-radius:3px;font-size:12px;left:24px;margin-top:-4px;margin-left:-10px;line-height:1.5;opacity:0;padding:6px 12px;position:absolute;top:0;visibility:hidden;width:210px;z-index:9999;-webkit-transition:all ease-in-out 0.4s;transition:all ease-in-out 0.4s}.rtm-tip-top{bottom:26px;left:auto;right:-66px;top:auto;width:200px}.rtm-tip-top:after,.rtm-tip-top:before{right:auto;top:100%;left:50%;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none}.rtm-tip-top:after{border-color:rgba(255,250,240,0);border-top-color:#fffAF0;border-width:6px;margin-left:-6px}.rtm-tip-top:before{border-color:rgba(245,222,175,0);border-top-color:#f5deaf;border-width:8px;margin-left:-8px}.rtm-extensions .dashicons{font-size:12px;margin-left:-4px;position:relative;top:-3px}.rtm-extensions.rtm-set-top .dashicons{top:1px}.rtm-plugin-card.plugin-card{margin:1%;overflow:hidden;width:48%}.rtm-plugin-card.plugin-card .rtm-logo{float:left;margin-right:10px;max-width:200px;width:auto}.rtm-plugin-card.plugin-card .rtm-logo img{height:auto;max-width:110px}.rtm-plugin-card.plugin-card .desc,.rtm-plugin-card.plugin-card .name{margin-left:0;margin-right:0;overflow:hidden}.rtm-plugin-card.plugin-card h4{margin-bottom:0;margin-top:0}.rtm-plugin-card.plugin-card a{text-decoration:none}.rtm-plugin-card.plugin-card .rtm-live-demo{margin-right:10px}.rtm-plugin-card.plugin-card .price{color:#269ad6;font-size:22px;line-height:1.2}#rtm-plugins .rtm-option-title{margin-top:50px}#rtm-plugins .rtm-setting-title+.rtm-option-title{margin-top:0}#rtm-plugins .plugin-card-top{padding:10px;min-height:165px;top:20px}.rtm-encoding-table{border-collapse:collapse;clear:none}.rtm-encoding-table th,.rtm-encoding-table td{border:1px solid #e7e7e7}.rtm-encoding-table th{font-size:13px;font-weight:600}.rtm-theme-browser .rtm-themes{clear:none;padding:0}.rtm-theme-browser .rtm-themes .rtm-theme{width:48%}.rtm-theme-browser .rtm-themes .rtm-theme:nth-child(even){margin-right:0 !important}.rtm-theme-browser .rtm-themes .rtm-theme:nth-child(3n){margin-right:4%}.admin-bar .theme-overlay .theme-wrap{z-index:99999}.rtm-support-container{min-height:300px}.rtm-support-form .rtm-form-filed{clear:both;margin:15px 0}.rtm-support-form label{float:left;width:15%}.rtm-support-form .bp-media-textarea{height:80px}.rtm-button-wrapper{padding-left:15%}.rtm-page-container{background:#fff;overflow:hidden;padding:20px}.rtm-pro-feature-list li{box-sizing:border-box;float:left;padding:0 10px 20px;width:33%}.rtm-pro-feature-list .rtm-icon-wrap{float:left;margin-top:15px;width:30px}.rtm-pro-feature-list .dashicons{font-size:18px}.rtm-pro-feature-list .rtm-title{font-size:18px;margin-left:30px;margin-top:0px}.rtm-pro-feature-list .rtm-content{font-size:14px;line-height:25px;margin-left:30px;color:#8a8a8a;width:auto}.rtm-update-to-pro{text-align:center}.rtm-button{background-color:#269ad6;border:0;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:13px;letter-spacing:1px;line-height:1;margin-bottom:10px;padding:12px 26px;text-align:center;text-decoration:none;text-transform:uppercase}.rtm-button:hover,.rtm-button:focus{background-color:#228ac0;color:#fff}.rtm-button.large{font-size:16px;margin-bottom:20px;padding:20px 40px}.rtm-button.rtm-button-success{background-color:#2ecc71}.rtm-button.rtm-button-success:hover,.rtm-button.rtm-button-success:focus{background-color:#2fab41}.rtm-hire-points{font-size:14px;margin-left:0px;margin-bottom:24px}ol.rtm-hire-points{list-style-type:none}ol.rtm-hire-points>li{font-size:initial;background:#fff;border:2px solid #eee;border-radius:0.5rem;box-shadow:0.25rem 0.25rem 0.6rem rgba(0,0,0,0.05),0 0.5rem 1.125rem rgba(75,0,0,0.05);margin-top:1rem;padding:1rem 1rem 1rem 1rem}ol.rtm-hire-points .dashicons{color:#2e81be;font-size:25px;margin-right:15px;line-height:20px}@media only screen and (min-width: 1025px){.rtm-setting-container{float:left;width:78.2%}.rtm-sidebar{float:right;width:20%}.rtm-sidebar .postbox{min-width:0}.rtm-field-wrap{max-width:92%}.rtm-tip:after,.rtm-tip:before{right:100%;top:15px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.rtm-tip:after{border-color:rgba(255,250,240,0);border-right-color:#fffAF0;border-width:6px;margin-top:-6px}.rtm-tip:before{border-color:rgba(221,204,170,0);border-right-color:#f5deaf;border-width:7px;margin-top:-7px}.rtm-support-form .bp-media-input,.rtm-support-form .bp-media-textarea{float:left;width:40%}}@media only screen and (min-width: 641px) and (max-width: 1024px){.rtm-sidebar{width:100%}.rtm-sidebar .postbox{display:inline-block;margin-left:5px;vertical-align:top}.rtm-sidebar .postbox:first-child{margin-left:0}}@media screen and (max-width: 1024px){.rtm-tip{bottom:26px;left:auto;right:-102px;top:auto;width:200px}.rtm-tip:after,.rtm-tip:before{right:auto;top:100%;left:50%;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none}.rtm-tip:after{border-color:rgba(255,250,240,0);border-top-color:#fffAF0;border-width:6px;margin-left:-6px}.rtm-tip:before{border-color:rgba(245,222,175,0);border-top-color:#f5deaf;border-width:7px;margin-left:-7px}#rtmedia-custom-css-settings .form-table:last-child .rtm-field-wrap{width:100%}.rtm-field-wrap input[type=text]{max-width:140px !important}.theme-browser .theme:nth-child(2n+1){margin-right:4%}.rtmedia-settings-submit{margin-bottom:0 !important}.upload_attachment{width:230px;padding:0 !important}}@media only screen and (min-width: 641px){.rtm-pro-feature-list li:nth-child(3n+1){clear:left}}@media screen and (min-width: 421px) and (max-width: 782px){.rtm-option-wrapper .form-table td{display:table-cell}.rtm-option-wrapper .form-table th{display:table-cell}}@media only screen and (max-width: 640px){.rtm-pro-feature-list li{width:50%}.rtm-pro-feature-list li:nth-child(2n+1){clear:left}.rtm-tabs{width:40px}.rtm-tabs li{width:40px}.rtm-tabs a{height:18px}.rtm-tabs a:hover{width:140px}.rtm-tabs a:hover span{display:block}.rtm-tabs span{display:none;padding:0 0 0 28px;position:absolute}.rtm-support-form label{width:100%;margin-bottom:5px}.rtm-support-form .bp-media-input,.rtm-support-form .bp-media-textarea{width:70%}.rtm-button-wrapper{padding-left:0}}@media screen and (max-width: 481px){.rtm-plugin-card.plugin-card .rtm-logo{display:inline-block;float:none}.rtm-theme-browser .rtm-themes .rtm-theme{margin:0 0 20px;width:100%}}@media screen and (max-width: 420px){.rtm-option-wrapper .form-table th{padding-bottom:15px;width:100%}#rtmedia-types .form-table th,#rtmedia-custom-css-settings .form-table th{width:100%}.rtm-pro-feature-list li{width:100%}.rtm-tip-top{right:-115px}}body.rtl .rtm-tabs a{padding:10px 32px 10px 4px}body.rtl .rtm-tabs .dashicons{right:10px}body.rtl .rtm-social-share .dashicons{left:10px;right:auto}body.rtl .rtm-option-wrapper .rtm-field-wrap{float:right}body.rtl .rtm-tip-top,body.rtl .rtm-tip{left:auto;right:24px}body.rtl .rtm-tip-top:after,body.rtl .rtm-tip-top:before,body.rtl .rtm-tip:after,body.rtl .rtm-tip:before{display:none}body.rtl .rtm-edit-td,body.rtl .rtm-delete-td{float:right;margin-left:0}body.rtl .rtm-edit-td{margin-right:-15px}body.rtl #rtmedia-membership span.float-right{float:left}body.rtl .theme-browser .theme{float:left;margin:0 4% 4% 0}.rtmedia-license .rtm-tabs span{padding:0}
|
app/assets/admin/css/sass/_addons.scss
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
img {
|
13 |
height: auto;
|
14 |
/*margin: -10px 0 0 -10px;*/
|
15 |
-
max-width:
|
16 |
}
|
17 |
}
|
18 |
|
@@ -52,6 +52,8 @@
|
|
52 |
}
|
53 |
.plugin-card-top {
|
54 |
padding: 10px;
|
|
|
|
|
55 |
}
|
56 |
}
|
57 |
|
12 |
img {
|
13 |
height: auto;
|
14 |
/*margin: -10px 0 0 -10px;*/
|
15 |
+
max-width: 110px;
|
16 |
}
|
17 |
}
|
18 |
|
52 |
}
|
53 |
.plugin-card-top {
|
54 |
padding: 10px;
|
55 |
+
min-height: 165px;
|
56 |
+
top: 20px;
|
57 |
}
|
58 |
}
|
59 |
|
app/assets/admin/css/sass/_components.scss
CHANGED
@@ -14,18 +14,35 @@
|
|
14 |
letter-spacing: 0.5px;
|
15 |
}
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
.rtm-setting-title {
|
18 |
border-bottom: 1px solid $light;
|
19 |
font-size: 22px;
|
20 |
font-weight: 400;
|
21 |
line-height: 1;
|
22 |
margin-bottom: 20px;
|
23 |
-
margin-top:
|
24 |
padding-bottom: 14px;
|
25 |
display: none;
|
26 |
|
27 |
&.rtm-show {
|
28 |
-
display: block;
|
29 |
}
|
30 |
}
|
31 |
|
@@ -174,48 +191,145 @@
|
|
174 |
}
|
175 |
|
176 |
.rtm-sidebar {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
.button {
|
178 |
-
|
179 |
-
|
180 |
-
position: relative;
|
181 |
text-decoration: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
}
|
183 |
}
|
184 |
|
185 |
.rtm-social-share {
|
186 |
-
.dashicons {
|
187 |
-
font-size: 18px;
|
188 |
-
position: absolute;
|
189 |
-
right: 10px;
|
190 |
-
top: 4px;
|
191 |
-
}
|
192 |
-
|
193 |
.twitter {
|
194 |
.dashicons {
|
195 |
color: #45b0e3;
|
196 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
197 |
}
|
198 |
|
199 |
.facebook {
|
200 |
.dashicons {
|
201 |
color: #3b5998;
|
202 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
}
|
204 |
|
205 |
.wordpress {
|
206 |
.dashicons {
|
207 |
color: #21759b;
|
208 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
209 |
}
|
210 |
|
211 |
.rss {
|
212 |
.dashicons {
|
213 |
color: #FF6600;
|
214 |
}
|
215 |
-
}
|
216 |
|
217 |
-
|
218 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
219 |
}
|
220 |
}
|
221 |
|
@@ -392,15 +506,40 @@
|
|
392 |
margin: .5rem 0;
|
393 |
background-color: #fff;
|
394 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
395 |
.title {
|
396 |
background-color: #fafafa;
|
397 |
border-bottom: 1px solid #ddd;
|
398 |
margin: 0;
|
399 |
padding: 15px 10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
400 |
}
|
401 |
|
402 |
.license-inner {
|
403 |
padding: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
404 |
}
|
405 |
}
|
406 |
|
@@ -409,19 +548,37 @@ form.license-form {
|
|
409 |
margin: 0;
|
410 |
|
411 |
input[type="text"] {
|
412 |
-
width:
|
413 |
-
|
414 |
-
|
415 |
-
|
|
|
|
|
|
|
|
|
416 |
}
|
417 |
|
418 |
input[type="submit"] {
|
419 |
margin: 10px 0 0;
|
420 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
421 |
}
|
422 |
|
423 |
.license-message {
|
424 |
-
margin: 15px
|
425 |
padding: 8px;
|
426 |
|
427 |
&.warning {
|
@@ -454,3 +611,30 @@ form.license-form {
|
|
454 |
padding-bottom: 10px;
|
455 |
}
|
456 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
letter-spacing: 0.5px;
|
15 |
}
|
16 |
|
17 |
+
.theme-browser {
|
18 |
+
.theme {
|
19 |
+
.theme-actions {
|
20 |
+
position: absolute;
|
21 |
+
top: unset;
|
22 |
+
transform: translateY(-100%);
|
23 |
+
right: 0;
|
24 |
+
padding: 9px 15px;
|
25 |
+
}
|
26 |
+
}
|
27 |
+
}
|
28 |
+
|
29 |
+
.dashicons-groups {
|
30 |
+
font-size: 25px;
|
31 |
+
margin-right: 10px;
|
32 |
+
}
|
33 |
+
|
34 |
.rtm-setting-title {
|
35 |
border-bottom: 1px solid $light;
|
36 |
font-size: 22px;
|
37 |
font-weight: 400;
|
38 |
line-height: 1;
|
39 |
margin-bottom: 20px;
|
40 |
+
margin-top: 2px;
|
41 |
padding-bottom: 14px;
|
42 |
display: none;
|
43 |
|
44 |
&.rtm-show {
|
45 |
+
display: inline-block;
|
46 |
}
|
47 |
}
|
48 |
|
191 |
}
|
192 |
|
193 |
.rtm-sidebar {
|
194 |
+
|
195 |
+
.hndle {
|
196 |
+
.dashicons-share,
|
197 |
+
.dashicons-bell {
|
198 |
+
color: #2e81be;
|
199 |
+
font-size: 22px;
|
200 |
+
margin-right: 7px;
|
201 |
+
}
|
202 |
+
}
|
203 |
+
|
204 |
.button {
|
205 |
+
min-width: 110px;
|
206 |
+
padding: 6px 15px;
|
|
|
207 |
text-decoration: none;
|
208 |
+
display: flex;
|
209 |
+
align-items: center;
|
210 |
+
transition: all .2s ease-in-out;
|
211 |
+
margin: 5px 0;
|
212 |
+
border: 1px solid rgb(211, 211, 211);
|
213 |
+
border-radius: 12px;
|
214 |
+
white-space: nowrap;
|
215 |
+
overflow: hidden;
|
216 |
+
text-overflow: ellipsis;
|
217 |
+
|
218 |
+
span.dashicons {
|
219 |
+
font-size: 25px;
|
220 |
+
margin-right: 15px;
|
221 |
+
transition: all .3s ease-in-out;
|
222 |
+
}
|
223 |
+
|
224 |
+
span.icon-message {
|
225 |
+
transform: translateX(0px);
|
226 |
+
transition: all .1s ease-in-out;
|
227 |
+
opacity: 1;
|
228 |
+
color: #303030;
|
229 |
+
}
|
230 |
+
|
231 |
+
&:active {
|
232 |
+
transform: scale(1);
|
233 |
+
box-shadow: 0px 2px 10px rgba(0,0,0,0.10);
|
234 |
+
}
|
235 |
}
|
236 |
}
|
237 |
|
238 |
.rtm-social-share {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
.twitter {
|
240 |
.dashicons {
|
241 |
color: #45b0e3;
|
242 |
}
|
243 |
+
|
244 |
+
&:hover {
|
245 |
+
background: linear-gradient(to right, #45b0e3 0%,#fff 100%);
|
246 |
+
box-shadow: 0px 10px 30px rgba(0,0,0,0.10);
|
247 |
+
border: 1px solid rgb(211, 211, 211);
|
248 |
+
|
249 |
+
span.dashicons {
|
250 |
+
transform: translateX(70px);
|
251 |
+
padding-right: 0;
|
252 |
+
color: #FFF;
|
253 |
+
}
|
254 |
+
|
255 |
+
span.icon-message {
|
256 |
+
transform: translateX(30px);
|
257 |
+
opacity: 0;
|
258 |
+
}
|
259 |
+
|
260 |
+
}
|
261 |
}
|
262 |
|
263 |
.facebook {
|
264 |
.dashicons {
|
265 |
color: #3b5998;
|
266 |
}
|
267 |
+
|
268 |
+
&:hover {
|
269 |
+
background: linear-gradient(to right, #3b5998 0%,#fff 100%);
|
270 |
+
box-shadow: 0px 10px 30px rgba(0,0,0,0.10);
|
271 |
+
border: 1px solid rgb(211, 211, 211);
|
272 |
+
|
273 |
+
span.dashicons {
|
274 |
+
transform: translateX(70px);
|
275 |
+
padding-right: 0;
|
276 |
+
color: #FFF;
|
277 |
+
}
|
278 |
+
|
279 |
+
span.icon-message {
|
280 |
+
transform: translateX(30px);
|
281 |
+
opacity: 0;
|
282 |
+
}
|
283 |
+
|
284 |
+
}
|
285 |
}
|
286 |
|
287 |
.wordpress {
|
288 |
.dashicons {
|
289 |
color: #21759b;
|
290 |
}
|
291 |
+
|
292 |
+
&:hover {
|
293 |
+
background: linear-gradient(to right, #21759b 0%,#fff 100%);
|
294 |
+
box-shadow: 0px 10px 30px rgba(0,0,0,0.10);
|
295 |
+
border: 1px solid rgb(211, 211, 211);
|
296 |
+
|
297 |
+
span.dashicons {
|
298 |
+
transform: translateX(70px);
|
299 |
+
padding-right: 0;
|
300 |
+
color: #FFF;
|
301 |
+
}
|
302 |
+
|
303 |
+
span.icon-message {
|
304 |
+
transform: translateX(30px);
|
305 |
+
opacity: 0;
|
306 |
+
}
|
307 |
+
|
308 |
+
}
|
309 |
}
|
310 |
|
311 |
.rss {
|
312 |
.dashicons {
|
313 |
color: #FF6600;
|
314 |
}
|
|
|
315 |
|
316 |
+
&:hover {
|
317 |
+
background: linear-gradient(to right, #FF6600 0%,#fff 100%);
|
318 |
+
box-shadow: 0px 10px 30px rgba(0,0,0,0.10);
|
319 |
+
border: 1px solid rgb(211, 211, 211);
|
320 |
+
|
321 |
+
span.dashicons {
|
322 |
+
transform: translateX(70px);
|
323 |
+
padding-right: 0;
|
324 |
+
color: #FFF;
|
325 |
+
}
|
326 |
+
|
327 |
+
span.icon-message {
|
328 |
+
transform: translateX(30px);
|
329 |
+
opacity: 0;
|
330 |
+
}
|
331 |
+
|
332 |
+
}
|
333 |
}
|
334 |
}
|
335 |
|
506 |
margin: .5rem 0;
|
507 |
background-color: #fff;
|
508 |
|
509 |
+
.dashicons-privacy {
|
510 |
+
font-size: 33px;
|
511 |
+
margin-right: 10px;
|
512 |
+
color: #2e81be;
|
513 |
+
margin-top: -5px;
|
514 |
+
}
|
515 |
+
|
516 |
.title {
|
517 |
background-color: #fafafa;
|
518 |
border-bottom: 1px solid #ddd;
|
519 |
margin: 0;
|
520 |
padding: 15px 10px;
|
521 |
+
font-size: 20px;
|
522 |
+
}
|
523 |
+
|
524 |
+
.license-inner-message {
|
525 |
+
p {
|
526 |
+
font-weight: 600;
|
527 |
+
font-size: 13px;
|
528 |
+
letter-spacing: 0.5px;
|
529 |
+
}
|
530 |
}
|
531 |
|
532 |
.license-inner {
|
533 |
padding: 10px;
|
534 |
+
display: flex;
|
535 |
+
margin: 0 0 10px 0;
|
536 |
+
|
537 |
+
.dashicons-admin-network {
|
538 |
+
font-size: 26px;
|
539 |
+
position: absolute;
|
540 |
+
padding: 10px;
|
541 |
+
color: #2e81be;
|
542 |
+
}
|
543 |
}
|
544 |
}
|
545 |
|
548 |
margin: 0;
|
549 |
|
550 |
input[type="text"] {
|
551 |
+
width: 40%;
|
552 |
+
height: 40px;
|
553 |
+
background-color:#f3f3f3 !important;
|
554 |
+
padding-left:40px;
|
555 |
+
padding-right:20px;
|
556 |
+
letter-spacing:1px;
|
557 |
+
margin-right:10px;
|
558 |
+
background: transparent;
|
559 |
}
|
560 |
|
561 |
input[type="submit"] {
|
562 |
margin: 10px 0 0;
|
563 |
}
|
564 |
+
|
565 |
+
.button-secondary {
|
566 |
+
margin: 0 !important;
|
567 |
+
font-size: 15px;
|
568 |
+
background: #2e81be;
|
569 |
+
border-color:#2e81be;
|
570 |
+
color: #fff;
|
571 |
+
|
572 |
+
&:hover, &:focus {
|
573 |
+
background: #0c73bd;
|
574 |
+
border-color:#0c73bd;
|
575 |
+
color: #fff;
|
576 |
+
}
|
577 |
+
}
|
578 |
}
|
579 |
|
580 |
.license-message {
|
581 |
+
margin: 15px 10px;
|
582 |
padding: 8px;
|
583 |
|
584 |
&.warning {
|
611 |
padding-bottom: 10px;
|
612 |
}
|
613 |
}
|
614 |
+
|
615 |
+
// Support form attachment design
|
616 |
+
.upload_attachment {
|
617 |
+
height: 37px;
|
618 |
+
background: #fff;
|
619 |
+
border-radius: 7px;
|
620 |
+
border: 1px solid #8c8f94;
|
621 |
+
width: 350px;
|
622 |
+
outline: none;
|
623 |
+
padding: 0 !important;
|
624 |
+
}
|
625 |
+
|
626 |
+
::-webkit-file-upload-button {
|
627 |
+
color: #fff;
|
628 |
+
height: 35px;
|
629 |
+
margin-right: 20px;
|
630 |
+
background: #2271b1;
|
631 |
+
border-top-left-radius: 7px;
|
632 |
+
border-bottom-left-radius: 7px;
|
633 |
+
border: none;
|
634 |
+
outline: none;
|
635 |
+
|
636 |
+
&:hover {
|
637 |
+
background: #135e96;
|
638 |
+
cursor: pointer;
|
639 |
+
}
|
640 |
+
}
|
app/assets/admin/css/sass/_layout.scss
CHANGED
@@ -77,12 +77,24 @@ $container-min-height: 300px;
|
|
77 |
|
78 |
#mce-EMAIL {
|
79 |
width: 100%;
|
|
|
80 |
}
|
81 |
|
82 |
#mc-embedded-subscribe {
|
83 |
display: block;
|
84 |
margin: 10px auto 0;
|
85 |
width: 100%;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
}
|
87 |
|
88 |
.license-row {
|
@@ -98,6 +110,11 @@ $container-min-height: 300px;
|
|
98 |
flex: 0 0 auto;
|
99 |
padding-right: .5rem;
|
100 |
padding-left: .5rem;
|
|
|
|
|
|
|
|
|
|
|
101 |
}
|
102 |
|
103 |
.large-4 {
|
77 |
|
78 |
#mce-EMAIL {
|
79 |
width: 100%;
|
80 |
+
background: #f6f7f7;
|
81 |
}
|
82 |
|
83 |
#mc-embedded-subscribe {
|
84 |
display: block;
|
85 |
margin: 10px auto 0;
|
86 |
width: 100%;
|
87 |
+
padding: 2px 0px;
|
88 |
+
background: #2e81be;
|
89 |
+
border-color:#2e81be;
|
90 |
+
border-radius: 3px;
|
91 |
+
color: #fff;
|
92 |
+
|
93 |
+
&:hover, &:focus {
|
94 |
+
background: #0c73bd;
|
95 |
+
border-color:#0c73bd;
|
96 |
+
color: #fff;
|
97 |
+
}
|
98 |
}
|
99 |
|
100 |
.license-row {
|
110 |
flex: 0 0 auto;
|
111 |
padding-right: .5rem;
|
112 |
padding-left: .5rem;
|
113 |
+
width: 100%;
|
114 |
+
}
|
115 |
+
|
116 |
+
.license-inner-message {
|
117 |
+
padding: 10px;
|
118 |
}
|
119 |
|
120 |
.large-4 {
|
app/assets/admin/css/sass/_responsive.scss
CHANGED
@@ -126,6 +126,11 @@
|
|
126 |
.rtmedia-settings-submit {
|
127 |
margin-bottom: 0 !important;
|
128 |
}
|
|
|
|
|
|
|
|
|
|
|
129 |
}
|
130 |
|
131 |
@media #{$medium-up} {
|
126 |
.rtmedia-settings-submit {
|
127 |
margin-bottom: 0 !important;
|
128 |
}
|
129 |
+
|
130 |
+
.upload_attachment {
|
131 |
+
width: 230px;
|
132 |
+
padding: 0 !important;
|
133 |
+
}
|
134 |
}
|
135 |
|
136 |
@media #{$medium-up} {
|
app/assets/admin/css/sass/_rtmedia-pro.scss
CHANGED
@@ -80,5 +80,26 @@
|
|
80 |
|
81 |
.rtm-hire-points {
|
82 |
font-size: 14px;
|
|
|
83 |
margin-bottom: 24px;
|
84 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
|
81 |
.rtm-hire-points {
|
82 |
font-size: 14px;
|
83 |
+
margin-left: 0px;
|
84 |
margin-bottom: 24px;
|
85 |
+
}
|
86 |
+
|
87 |
+
ol.rtm-hire-points {
|
88 |
+
list-style-type: none;
|
89 |
+
> li {
|
90 |
+
font-size: initial;
|
91 |
+
background: #fff;
|
92 |
+
border: 2px solid #eee;
|
93 |
+
border-radius: 0.5rem;
|
94 |
+
box-shadow: 0.25rem 0.25rem 0.6rem rgba(0,0,0,0.05), 0 0.5rem 1.125rem rgba(75,0,0,0.05);
|
95 |
+
margin-top: 1rem;
|
96 |
+
padding: 1rem 1rem 1rem 1rem;
|
97 |
+
}
|
98 |
+
|
99 |
+
.dashicons {
|
100 |
+
color: #2e81be;
|
101 |
+
font-size: 25px;
|
102 |
+
margin-right: 15px;
|
103 |
+
line-height: 20px;
|
104 |
+
}
|
105 |
+
}
|
app/assets/css/rtmedia.css
CHANGED
@@ -355,7 +355,7 @@ button#rtmedia-add-media-button-post-update .dashicons {
|
|
355 |
}
|
356 |
|
357 |
#buddypress a.rtm-button-back {
|
358 |
-
padding:
|
359 |
}
|
360 |
#buddypress div.rtmedia-page-no.rtm-page-number a.rtmedia-page-link.button {
|
361 |
padding: 5px 10px;
|
@@ -884,7 +884,7 @@ button::-moz-focus-inner {
|
|
884 |
padding: 0;
|
885 |
width: 90px;
|
886 |
height: 110px;
|
887 |
-
-webkit-tap-highlight-color:
|
888 |
opacity: 0;
|
889 |
z-index: 10;
|
890 |
-webkit-transition: all 300ms ease-out;
|
@@ -2508,6 +2508,7 @@ td.imgedit-settings input {
|
|
2508 |
.wp_attachment_image .button,
|
2509 |
.A1B1 .button {
|
2510 |
float: left;
|
|
|
2511 |
}
|
2512 |
|
2513 |
.no-js .wp_attachment_image .button {
|
@@ -2537,7 +2538,7 @@ td.imgedit-settings input {
|
|
2537 |
}
|
2538 |
|
2539 |
.imgedit-crop {
|
2540 |
-
margin: 0
|
2541 |
}
|
2542 |
|
2543 |
.imgedit-crop.disabled:hover {
|
@@ -2561,7 +2562,7 @@ td.imgedit-settings input {
|
|
2561 |
}
|
2562 |
|
2563 |
.imgedit-rright {
|
2564 |
-
margin: 0
|
2565 |
}
|
2566 |
|
2567 |
.imgedit-rright.disabled:hover {
|
@@ -2597,7 +2598,7 @@ td.imgedit-settings input {
|
|
2597 |
}
|
2598 |
|
2599 |
.imgedit-undo {
|
2600 |
-
margin:
|
2601 |
}
|
2602 |
|
2603 |
.imgedit-undo.disabled:hover {
|
@@ -2609,7 +2610,7 @@ td.imgedit-settings input {
|
|
2609 |
}
|
2610 |
|
2611 |
.imgedit-redo {
|
2612 |
-
margin:
|
2613 |
}
|
2614 |
|
2615 |
.imgedit-redo.disabled:hover {
|
@@ -3072,7 +3073,7 @@ a.rtmedia-upload-media-link {
|
|
3072 |
#buddypress .mejs-controls button {
|
3073 |
padding: 4px 8px;
|
3074 |
border: none;
|
3075 |
-
background:
|
3076 |
}
|
3077 |
#buddypress .mejs-controls .mejs-play > button {
|
3078 |
background-position: 0 0;
|
355 |
}
|
356 |
|
357 |
#buddypress a.rtm-button-back {
|
358 |
+
padding: 4px 10px;
|
359 |
}
|
360 |
#buddypress div.rtmedia-page-no.rtm-page-number a.rtmedia-page-link.button {
|
361 |
padding: 5px 10px;
|
884 |
padding: 0;
|
885 |
width: 90px;
|
886 |
height: 110px;
|
887 |
+
-webkit-tap-highlight-color: transparent;
|
888 |
opacity: 0;
|
889 |
z-index: 10;
|
890 |
-webkit-transition: all 300ms ease-out;
|
2508 |
.wp_attachment_image .button,
|
2509 |
.A1B1 .button {
|
2510 |
float: left;
|
2511 |
+
margin: 10px 0px;
|
2512 |
}
|
2513 |
|
2514 |
.no-js .wp_attachment_image .button {
|
2538 |
}
|
2539 |
|
2540 |
.imgedit-crop {
|
2541 |
+
margin: 0 3px 0 0;
|
2542 |
}
|
2543 |
|
2544 |
.imgedit-crop.disabled:hover {
|
2562 |
}
|
2563 |
|
2564 |
.imgedit-rright {
|
2565 |
+
margin: 0 3px 0 3px;
|
2566 |
}
|
2567 |
|
2568 |
.imgedit-rright.disabled:hover {
|
2598 |
}
|
2599 |
|
2600 |
.imgedit-undo {
|
2601 |
+
margin: 5px 3px 0px 0px;
|
2602 |
}
|
2603 |
|
2604 |
.imgedit-undo.disabled:hover {
|
2610 |
}
|
2611 |
|
2612 |
.imgedit-redo {
|
2613 |
+
margin: 5px 0px 0px 3px;
|
2614 |
}
|
2615 |
|
2616 |
.imgedit-redo.disabled:hover {
|
3073 |
#buddypress .mejs-controls button {
|
3074 |
padding: 4px 8px;
|
3075 |
border: none;
|
3076 |
+
background: transparent url("../../../lib/media-element/mejs-controls.png") no-repeat;
|
3077 |
}
|
3078 |
#buddypress .mejs-controls .mejs-play > button {
|
3079 |
background-position: 0 0;
|
app/assets/css/rtmedia.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.alignleft{float:left}.alignright{float:right}.aligncenter{display:block;margin-left:auto;margin-right:auto;text-align:center}.clear-both{clear:both}.clear-none{clear:none}.clear-left{clear:left}.clear-right{clear:right}.rtm-inline-block{display:inline-block}.rtm-text-left{text-align:left}.rtm-text-right{text-align:right}.rtm-text-center{text-align:center}.rtm-border-0{border:0 !important}.hide{display:none}.rtmedia-success,.rtmedia-warning{margin:10px 0;padding:8px 14px 8px 14px;text-shadow:0 1px 0 rgba(255,255,255,0.5);border-bottom:1px solid #e7e7e7;cursor:pointer}.rtmedia-success{background-color:#dff0d8;color:#468847}.rtmedia-warning{background-color:#F0D8DD;color:#884646}.clearfix:after{content:"";display:table;clear:both}#buddypress form#whats-new-form textarea{box-sizing:border-box;width:100%}#buddypress #whats-new-form .rtmedia-uploader-div{display:none}#buddypress #whats-new-form #whats-new-options .rtmedia-uploader-div{display:block}#buddypress #whats-new-options{height:auto !important;overflow:hidden}#buddypress form#whats-new-form p.activity-greeting{line-height:1}#buddypress form#whats-new-form #whats-new-options select{border:1px solid #ccc;font-size:12px;margin-top:3px;margin-right:10px;line-height:12px}#whats-new-submit #aw-whats-new-submit{font-size:12px;line-height:18px}#whats-new-post-in-box{float:left;font-size:13px}#buddypress form#whats-new-form #whats-new-submit{margin-top:0}#whats-new-textarea{margin-bottom:10px}body.media.buddypress{overflow-y:auto}#buddypress input[type=submit]:focus{background:#ededed;border:1px solid #bbb;color:#555;outline:0;text-decoration:none}#buddypress ul.activity-list li.activity-item .activity-comments .rtmedia-uploader-div{color:#767676;margin-left:50px;padding-left:15px}#buddypress ul.activity-list li.activity-item .activity-comments .rtmedia-uploader-div .rtm-plupload-list .plupload_queue_li{padding:5px}#buddypress ul.activity-list li.activity-item .activity-comments .rtmedia-uploader-div .rtm-plupload-list .rtm-upload-edit-desc{background:#fff;border:solid 1px #ccc}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{margin-top:0}#whats-new-post-in-box{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.rtmedia-container{box-sizing:border-box}.rtmedia-container *,.rtmedia-container *:before,.rtmedia-container *:after{box-sizing:inherit}.rtmedia-list.rtmedia-list{list-style:none;margin:0;padding:0}.rtmedia-list-item>a{border:0;display:inline-block;text-decoration:none}.rtmedia-list-item>a:focus{outline:0}.rtmedia-list-item>a+p{display:none}.rtmedia-list-item>a .rtmedia-item-thumbnail{width:150px;text-align:center}.rtmedia-list-item>a .rtmedia-item-thumbnail img{display:inline-block;max-height:inherit}#rtmedia-uploader-form .rtm-plupload-list,form .rtmedia-container .rtm-plupload-list,#rtmedia_uploader_filelist{list-style:none;margin-left:-4px;margin-right:-4px;padding-left:0;padding-top:10px}#rtmedia-uploader-form .rtm-plupload-list li,form .rtmedia-container .rtm-plupload-list li,#rtmedia_uploader_filelist li{background:#eee;float:left;margin:4px;max-width:110px;padding:5px;z-index:1;position:relative}#rtmedia-uploader-form .rtm-plupload-list li.upload-error,form .rtmedia-container .rtm-plupload-list li.upload-error,#rtmedia_uploader_filelist li.upload-error{border:1px solid red}#rtmedia-uploader-form .rtm-plupload-list img,form .rtmedia-container .rtm-plupload-list img,#rtmedia_uploader_filelist img{max-width:100%}#rtmedia-uploader-form .rtm-plupload-list canvas,form .rtmedia-container .rtm-plupload-list canvas,#rtmedia_uploader_filelist canvas{display:block;width:100px;height:100px}#rtmedia-uploader-form .rtm-plupload-list .rtm-upload-edit-title,form .rtmedia-container .rtm-plupload-list .rtm-upload-edit-title,#rtmedia_uploader_filelist .rtm-upload-edit-title{font-size:12px}#rtmedia-uploader-form .rtm-plupload-list .rtm-upload-edit-desc,form .rtmedia-container .rtm-plupload-list .rtm-upload-edit-desc,#rtmedia_uploader_filelist .rtm-upload-edit-desc{font-size:12px;display:block}#rtmedia-uploader-form .rtm-plupload-list .rtm-upload-edit-title-wrapper label,#rtmedia-uploader-form .rtm-plupload-list .rtm-upload-edit-desc-wrapper label,form .rtmedia-container .rtm-plupload-list .rtm-upload-edit-title-wrapper label,form .rtmedia-container .rtm-plupload-list .rtm-upload-edit-desc-wrapper label,#rtmedia_uploader_filelist .rtm-upload-edit-title-wrapper label,#rtmedia_uploader_filelist .rtm-upload-edit-desc-wrapper label{display:block}#rtmedia-uploader-form .rtm-plupload-list .rtm-upload-edit-title-wrapper input.rtm-upload-edit-title,#rtmedia-uploader-form .rtm-plupload-list .rtm-upload-edit-desc-wrapper input.rtm-upload-edit-title,form .rtmedia-container .rtm-plupload-list .rtm-upload-edit-title-wrapper input.rtm-upload-edit-title,form .rtmedia-container .rtm-plupload-list .rtm-upload-edit-desc-wrapper input.rtm-upload-edit-title,#rtmedia_uploader_filelist .rtm-upload-edit-title-wrapper input.rtm-upload-edit-title,#rtmedia_uploader_filelist .rtm-upload-edit-desc-wrapper input.rtm-upload-edit-title{min-width:100%;margin-top:1px;display:block}.rtm-plupload-list:empty{display:none}.rtmedia-uploader-div,.rtmedia-uploader{clear:both}.rtm-upload-button-wrapper button.rtmedia-comment-media-upload,button.rtmedia-comment-media-upload{padding:3px 6px}.rtm-upload-button-wrapper button.rtmedia-comment-media-upload .dashicons,button.rtmedia-comment-media-upload .dashicons{font-size:18px;line-height:20px}button#rtmedia-add-media-button-post-update{padding:3px 6px;margin-bottom:10px}button#rtmedia-add-media-button-post-update .dashicons{font-size:18px;line-height:20px}.plupload_file_name{font-size:11px;font-weight:bold;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plupload_file_size{color:#666;font-size:10px}.plupload_file_action{background:#eee;position:absolute;height:18px;right:4px;top:0;width:18px;z-index:10}.plupload_file_action .dashicons{color:#DD3D36;cursor:pointer;font-size:16px;height:18px;padding:2px 1px;width:18px}.plupload_file_status{height:15px;margin-bottom:5px;overflow:hidden}.plupload_file_progress{background:#7AD03A;height:100%;font-size:10px;line-height:15px;text-align:center;word-wrap:initial}.rtm-form .rtm-field-wrap{margin-bottom:20px}.rtm-form .rtm-field-wrap .rtmedia-title-editor{width:100%}#buddypress a.rtm-button-back{padding:3px 10px}#buddypress div.rtmedia-page-no.rtm-page-number a.rtmedia-page-link.button{padding:5px 10px}.rtmedia_next_prev{padding:0 10px}.rtm-page-number{float:left}.rtm-page-number .rtm-label{line-height:30px}.rtm-page-number .rtm-label,.rtm-page-number .rtm-go-to-num,.rtm-page-number .rtmedia-page-link{float:left}.rtm-page-number .rtm-go-to-num,.rtm-page-number .rtmedia-page-link{line-height:1.5}.rtm-pagination{background:transparent;border:none;color:#888;font-size:small;margin:0;position:relative;display:block;float:left;width:100%;padding:10px 0}.rtm-pagination .rtm-paginate{float:right;font-size:15px}.rtm-pagination .rtm-paginate a,.rtm-pagination .rtm-paginate span{display:inline-block;line-height:1;margin:0 2px;padding:8px;text-decoration:none}.rtm-pagination .rtm-paginate a.rtmedia-page-link{padding:8px}.rtm-pagination .dashicons{font-size:14px;height:auto;line-height:1.2;margin:0;padding:0;width:auto}#rtmedia_go_to_num{font-size:16px;margin:0 5px;padding:3px 5px;width:80px}.rtmedia-upload-not-allowed{background-color:#fcf8e3;border-bottom:1px solid #eee;color:#c09853;margin-bottom:20px;padding:10px 15px}.plupload_file_name{position:relative}.plupload_file_name .dashicons{background:#eee;color:#DD3D36;cursor:pointer;font-size:14px;height:auto;padding:0 2px 0 5px;position:absolute;right:0;top:0;width:auto}.plupload_file_name .dashicons-yes{color:#7AD03A}.rtmedia-gallery-item-actions{background-color:rgba(0,0,0,0.6);opacity:0;position:absolute;text-align:center;-webkit-transition:all ease-in-out 0.4s;transition:all ease-in-out 0.4s;width:100%;z-index:9}.rtmedia-gallery-item-actions a{border:0;box-shadow:0 0 0;color:#fff;display:inline-block;font-size:12px;outline:none;padding:4px;text-align:left;text-decoration:none;text-transform:uppercase}.rtmedia-gallery-item-actions .dashicons{font-size:17px;margin-right:2px;position:relative;top:1px}.rtmedia-gallery-item-actions .dashicons-trash{font-size:15px}.rtm-pro-allow-action .rtmedia-list-item:hover .rtmedia-gallery-item-actions{opacity:1}.rtm-pro-allow-action .rtmedia-list-item:hover .rtmedia-bulk-edit-item-wrap+.rtmedia-gallery-item-actions{opacity:0}.rtmedia-footer-link{clear:both;overflow:hidden;padding:16px 0;position:relative;text-align:center}.rtmedia-text-link-decoration,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit a,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit span,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete a,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete span,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-title a,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-title span{text-decoration:none}.rtmedia-text-link-decoration:hover,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit a:hover,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit span:hover,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete a:hover,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete span:hover,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-title a:hover,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-title span:hover{text-decoration:underline}.rtmedia-container .rtmedia-edit-list-media-table{max-height:300px;overflow-y:auto}.rtmedia-container .rtmedia-edit-list-media-table thead tr{background-color:#50a1d7}.rtmedia-container .rtmedia-edit-list-media-table thead th{text-align:center;color:#fff}.rtmedia-container .rtmedia-edit-list-media-table tbody tr:nth-child(odd){background:#fff}.rtmedia-container .rtmedia-edit-list-media-table tbody tr:nth-child(even){background:#dcdcdc}table.rtmedia-edit-media-list tr{line-height:30px}table.rtmedia-edit-media-list tr th{color:#333;padding:4px 10px;line-height:20px}table.rtmedia-edit-media-list tr .rtm-edit-media-list-heading{width:44%}table.rtmedia-edit-media-list tr .rtm-edit-media-list-title-heading{width:56%}table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-title{padding:4px;font-size:14px;line-height:24px}table.rtmedia-edit-media-list tr td.rtm-edit-media-list-title a{text-decoration:none;color:#333}table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit{text-align:center}table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit a{color:#333;font-size:13px}table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete{text-align:center}table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete span{color:#ff0000;cursor:pointer;font-size:13px}.rtm-hide{display:none}.rtmedia-list-item .rtmedia-album-media-count{position:absolute;top:0;right:0;background-color:black;color:white;padding:0 5px}.rtmedia-actions-before-description>div{margin-bottom:5px}input.imgedit-submit-btn{display:none}.rtmedia-no-media-found,.rtmedia-list-media{min-height:95px}.privacy_message_wrapper{background:rgba(0,0,0,0.95);z-index:999;color:#fff;display:block;position:fixed;width:100%;padding:5px}.privacy_message_wrapper p{margin:20px 25px;width:-webkit-calc(100% - 100px);width:calc(100% - 100px);max-width:100%;font-size:85%;text-align:justify;word-wrap:break-word;display:inline-block}.privacy_message_wrapper p a{color:#fff;text-decoration:underline}.privacy_message_wrapper p a:hover{color:#000}.privacy_message_wrapper #close_rtm_privacy_message{margin:0px;float:right;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);position:absolute;display:inline-block;color:inherit;font-size:25px}.privacy_message_wrapper #close_rtm_privacy_message:hover{cursor:pointer}.hide_privacy_wrapper{display:none}.rtm-activity-privacy-opt{margin-left:5px}.rtm-tabs.rtm-tabs{border-bottom:1px solid #eee;list-style:none;margin:0 0 20px;padding:0}.rtm-tabs li{border:1px solid #eee;border-bottom:0;float:left;margin:0 5px;padding:0}.rtm-tabs a{border:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:5px 15px;text-decoration:none}.rtm-tabs a:focus{background:transparent;box-shadow:0 0 0}.rtm-tabs .active{position:relative}.rtm-tabs .active:after{background:#fff;bottom:-1px;content:' ';height:1px;left:0;position:absolute;width:100%}.rtm-tabs .dashicons{font-size:16px;height:auto;line-height:20px;margin-right:8px;width:auto}.rtmedia-edit-media-tabs .rtm-tabs a{border-bottom:0 none}.mfp-bg{top:0;left:0;width:100%;height:100%;z-index:104211;overflow:hidden;position:fixed;background:rgba(0,0,0,0.9)}.mfp-wrap{top:0;left:0;width:100%;height:100%;z-index:104311;position:fixed;outline:none !important;-webkit-backface-visibility:hidden}.mfp-container{text-align:center;position:absolute;width:100%;max-width:84%;margin:0 auto;right:0;height:100%;left:0;top:0;padding:0 8px;box-sizing:border-box}.mfp-container:before{content:' ';display:inline-block;height:100%;vertical-align:middle}.mfp-align-top .mfp-container:before{display:none}.mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:left;z-index:1045}.mfp-inline-holder .mfp-content,.mfp-ajax-holder .mfp-content{width:100%;cursor:auto}.mfp-ajax-cur{cursor:progress}.mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor:zoom-out}.mfp-zoom{cursor:pointer;cursor:zoom-in}.mfp-auto-cursor .mfp-content{cursor:auto}.mfp-close,.mfp-arrow,.mfp-preloader,.mfp-counter{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none !important}.mfp-s-ready .mfp-preloader{display:none}.mfp-s-error .mfp-content{display:none}button.mfp-close,button.mfp-arrow{overflow:visible;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;display:block;outline:none;padding:0;z-index:1046;box-shadow:none}button::-moz-focus-inner{padding:0;border:0}.mfp-close{background:#fff;color:#999;cursor:pointer;font-size:24px;font-style:normal;height:30px;line-height:30px;padding:0;position:absolute;right:1px;text-align:center;text-decoration:none;text-indent:2px;top:0;width:32px;z-index:12}.mfp-close:hover,.mfp-close:focus{opacity:1;filter:alpha(opacity=100)}.mfp-close:active{top:1px}.mfp-image-holder .mfp-close,.mfp-iframe-holder .mfp-close{color:#FFF;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-counter{position:absolute;top:0;right:0;color:#CCC;font-size:12px;line-height:18px;white-space:nowrap}.mfp-arrow{cursor:pointer;position:absolute;opacity:0.65;filter:alpha(opacity=65);margin:0;top:50%;margin-top:-55px;padding:0;width:90px;height:110px;-webkit-tap-highlight-color:transparent;opacity:0;z-index:10;-webkit-transition:all 300ms ease-out;transition:all 300ms ease-out}.rtm-single-media:hover .mfp-arrow{opacity:1}@media (max-device-width: 640px){.mfp-arrow{display:none}.rtm-single-media:hover .mfp-arrow{display:none}}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:hover,.mfp-arrow:focus{opacity:1;filter:alpha(opacity=100)}.mfp-arrow:before,.mfp-arrow:after,.mfp-arrow .mfp-b,.mfp-arrow .mfp-a{content:'';display:block;width:0;height:0;position:absolute;left:0;top:0;margin-top:40%;margin-left:40%;border:medium inset transparent}.mfp-arrow:after,.mfp-arrow .mfp-a{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow:before,.mfp-arrow .mfp-b{border-top-width:21px;border-bottom-width:21px;opacity:0.7}.mfp-arrow-left{left:0}.mfp-arrow-left:after,.mfp-arrow-left .mfp-a{border-right:17px solid #FFF;margin-left:32%}.mfp-arrow-left:before,.mfp-arrow-left .mfp-b{margin-left:25%;border-right:27px solid #3F3F3F}.mfp-arrow-right{right:0}.mfp-arrow-right:after,.mfp-arrow-right .mfp-a{border-left:17px solid #FFF;margin-left:44%}.mfp-arrow-right:before,.mfp-arrow-right .mfp-b{border-left:27px solid #3F3F3F}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-iframe-holder .mfp-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,0.6);background:#000}img.mfp-img{width:auto;max-width:100%;height:auto;display:block;line-height:0;box-sizing:border-box;padding:40px 0 40px;margin:0 auto}.mfp-figure{line-height:0}.mfp-figure:after{content:'';position:absolute;left:0;top:40px;bottom:40px;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,0.6);background:#444}.mfp-figure small{color:#BDBDBD;display:block;font-size:12px;line-height:14px}.mfp-figure figure{margin:0}.mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;left:0;width:100%;cursor:auto}.mfp-title{text-align:left;line-height:18px;color:#F3F3F3;word-wrap:break-word;padding-right:36px}.mfp-image-holder .mfp-content{max-width:100%}.mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}.mfp-preloader{position:absolute;top:50%;left:0;right:0;margin-top:-36px;z-index:1044;font-size:0;width:36px;height:36px;margin-left:auto;margin-right:auto}.mfp-preloader:before{content:'Loading…';position:absolute;width:30px;height:30px}.mfp-preloader:not(:required):before{content:'';border-radius:50%;border:3px solid rgba(255,255,255,0.27);border-top-color:rgba(255,255,255,0.9);animation:spinner .6s linear infinite;-webkit-animation:spinner .6s linear infinite}@keyframes spinner{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner{to{-webkit-transform:rotate(360deg)}}@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px){.mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,0.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-img-mobile .mfp-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,0.6);position:fixed;text-align:center;padding:0}}@media all and (max-width: 900px){.mfp-arrow{-webkit-transform:scale(0.75);-ms-transform:scale(0.75);transform:scale(0.75)}.mfp-arrow-left{-webkit-transform-origin:0;-ms-transform-origin:0;transform-origin:0}.mfp-arrow-right{-webkit-transform-origin:100%;-ms-transform-origin:100%;transform-origin:100%}.mfp-container{padding-left:6px;padding-right:6px}}.atwho-container #atwho-ground-comment_content .atwho-view{z-index:2147483647}@-webkit-keyframes open{0%{opacity:0}100%{opacity:1}}@keyframes open{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes close{0%{opacity:1}100%{opacity:0}}@keyframes close{0%{opacity:1}100%{opacity:0}}.mfp-content .rtm-lightbox-container{background:#000;-webkit-animation:open 1s;animation:open 1s;margin:0 auto;position:relative}.mfp-content .rtm-lightbox-container .rtmedia-comment-media-list{overflow:hidden;margin:0;padding:0}.mfp-content .rtm-lightbox-container .rtmedia-comment-media-list .mejs-container.mejs-video{min-height:200px;min-width:200px}.mfp-content .rtm-lightbox-container .rtm-plupload-list .rtm-upload-edit-desc{background:#fff;min-height:70px;width:100px}.mfp-content .rtm-single-meta{background:#fff;overflow:hidden;padding:20px 20px 110px;position:relative;vertical-align:top}.rtm-single-media{overflow:hidden;position:relative;text-align:center;vertical-align:middle}.rtm-single-media .mejs-container{margin:0 auto;max-width:inherit}.rtm-single-media .rtmedia-message-container{position:absolute;top:45%;left:0;right:0;margin-left:auto;margin-right:auto}@media (max-device-width: 640px){.rtm-single-media .rtmedia-message-container{top:25%}}.rtm-ltb-action-container{background-color:rgba(0,0,0,0.6);bottom:0;color:#fff;line-height:38px;opacity:0;padding:0 10px;position:absolute;width:100%;-webkit-transition:all 300ms ease-out;transition:all 300ms ease-out}.rtm-single-media:hover .rtm-ltb-action-container{opacity:1}@media (max-device-width: 640px){.rtm-ltb-action-container{clear:both;position:relative;opacity:1}.rtm-single-media:hover .rtm-ltb-action-container{opacity:1}}#buddypress #rtmedia-single-media-container.rtmedia-single-media .button{background:transparent;border:0 none;border-radius:2px;color:rgba(255,255,255,0.5);display:block;font-family:inherit;font-weight:normal;line-height:24px;margin:0;padding:0 6px;text-shadow:0 0 0;text-transform:none}#buddypress #rtmedia-single-media-container.rtmedia-single-media .button:hover{background:rgba(255,255,255,0.2);color:rgba(255,255,255,0.8)}#buddypress #rtmedia-single-media-container.rtmedia-single-media .rtm-options .button{color:#333;margin:0 auto;padding:0 4px 0 0}#buddypress #rtm-media-options-list .rtm-options .button{background:transparent;border:0 none;border-radius:2px;color:rgba(255,255,255,0.5);float:left;font-family:inherit;font-weight:normal;line-height:24px;padding:0 6px;text-transform:none}#buddypress #rtm-media-options-list .rtm-options .rtmedia-delete-favlist{color:#fff;padding:0}#buddypress #rtm-media-options-list .rtm-options form button{font-size:14px}#buddypress #rtm-media-options-list .rtm-options i{line-height:1.7}.rtm-options.rtm-options{background:#666;color:#fff;display:none;font-size:14px;list-style:none;margin:0;padding:8px 10px;position:absolute;left:0;top:38px;width:190px;z-index:10}.rtm-options li{margin:0;overflow:hidden;padding:2px 0}.rtm-media-options .rtm-options:after{bottom:100%;left:20px;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none;border-color:rgba(255,255,255,0);border-bottom-color:#666;border-width:6px;margin-left:-6px}.mfp-content .rtm-options{background:#fff;color:#333;bottom:38px;right:0;left:auto;top:auto}.mfp-content .rtm-options:after{top:100%;right:22px;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none;border-color:rgba(255,255,255,0);border-top-color:#fff;border-width:6px;margin-left:-6px}.rtm-options .dashicons{font-size:14px;line-height:24px;margin-right:2px}.rtm-media-options .rtm-options a{border:0;color:#fff;display:block;text-decoration:none}.rtm-ltb-title{color:rgba(255,255,255,0.7);float:left;font-size:13px}.rtm-ltb-title a{color:inherit}.rtm-ltb-title a:hover{border-bottom:1px dotted;color:#fff}.rtm-item-actions{float:right}.rtm-item-actions>div,.rtm-item-actions>form{float:left;margin:0 4px 0 0;padding:7px 0;position:relative}.rtmedia-media{margin:0 auto}.rtmedia-media img{display:inline-block;max-height:inherit;height:auto;max-width:100%;width:auto}@media only screen and (max-device-width: 1024px){.rtmedia-media{margin:40px 0}}.rtm-user-meta-details .username{font-size:16px;line-height:1;margin-bottom:6px}.userprofile{float:left;margin:0 16px 16px 0;max-width:54px}.userprofile a{display:block}.userprofile img{height:auto;max-width:100%}.rtm-time-privacy{color:#999;font-size:12px}.rtm-time-privacy .dashicons{font-size:14px;line-height:1.5;margin-top:-2px}.rtmedia-actions-before-comments>span{float:left;margin-right:10px}.rtmedia-actions-before-comments .rtmedia-comment-link,.rtmedia-actions-before-comments .rtmedia-view-conversation,#buddypress .rtmedia-actions-before-comments .rtmedia-like{border:0;font-size:13px;font-weight:normal;line-height:2;padding:0;text-transform:none}.rtmedia-actions-before-comments .rtmedia-comment-link:hover,.rtmedia-actions-before-comments .rtmedia-view-conversation:hover,#buddypress .rtmedia-actions-before-comments .rtmedia-like:hover{background:transparent}.rtmedia-comment-user-pic{float:left;margin-right:10px;max-width:36px}.rtmedia-comment-user-pic img{height:auto;max-width:100%}.rtm-comment-list.rtm-comment-list{max-height:340px;list-style:none;margin:0;overflow:auto;padding:0}.rtm-comment-list li.rtmedia-list-item.media-type-music{display:inline}.rtm-comment-list li.rtmedia-list-item.media-type-music .rtmedia-item-title{padding-left:10px}.rtm-comment-list li.rtmedia-list-item.media-type-video{display:inline}.rtm-comment-list li.rtmedia-list-item.media-type-video .rtmedia-item-title{padding-left:10px}.rtm-comment-list li.rtmedia-list-item.media-type-video .mejs-overlay-play{height:100% !important;width:100% !important;margin:auto}.rtm-comment-list li{background:#edeff4;font-size:12px;margin-bottom:1px;padding:10px;position:relative}.rtm-comment-list li:hover .rtmedia-delete-comment{opacity:1}.rtm-comment-list .rtmedia-no-comments{margin:0;padding:5px 10px}.rtmedia-like-info{background:#edeff4;font-size:12px;margin-bottom:1px;padding:5px 10px;position:relative}.rtm-comment-wrap{overflow:hidden}.rtm-comment-wrap .rtmedia-comment-author{font-weight:700}.rtm-comment-wrap .rtmedia-comment-date{color:#999;font-size:11px}.rtmedia-comment-content{margin-top:2px}.rtmedia-delete-comment{color:#999;cursor:pointer;font-size:16px;opacity:0;position:absolute;right:5px;top:5px}.rtmedia-comment-content p{margin:0}.rtmedia-comment-content .rtmedia-comment-media-container{margin:0}.rtmedia-comment-content .rtmedia-comment{margin:auto}.rtmedia-comment-details{line-height:1.5;margin-top:-3px}.rt_media_comment_form textarea{display:inline-block;margin-bottom:5px}.rt_media_comment_form input[type=submit]{padding:3px 6px}.rtmedia-item-comments textarea{font-size:14px;padding:4px}.rtm-media-single-comments{bottom:20px;padding:10px;width:100%}.rtm-media-single-comments textarea{background-color:#edeff4;font-size:12px;line-height:14px;max-height:40px;min-height:30px;padding:4px}.rtmedia-popup{background:#fff;margin:20px auto;max-width:600px;padding:20px;position:relative;width:auto}.rtmedia-popup .rtm-modal-title{font-size:24px;margin-bottom:20px;margin-top:0}.rtmedia-popup label{display:block;margin-bottom:5px}#rtm-modal-container p{margin-bottom:10px}#rtm-mejs-video-container{margin:0 auto}.rtmedia-media-name{float:left;max-width:140px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.rtm-single-media.rtm-media-type-video{padding-bottom:40px;padding-top:40px}.rtmedia-gallery-alert-container{position:fixed;top:0;left:0;height:100%;width:100%;background-color:rgba(0,0,0,0.6);z-index:999997}.rtmedia-gallery-message-box{position:fixed;top:40%;left:50%;margin-left:auto;margin-right:auto;z-index:999999}.rtmedia-gallery-message-box span{position:relative;left:-50%}#mobile-swipe-overlay{position:absolute;display:none;width:100%;height:100%;top:0;left:0;right:0;bottom:0;background-color:rgba(255,255,255,0.7);z-index:15;cursor:pointer}#mobile-swipe-overlay .swipe-icon{position:absolute;top:30%;left:50%;font-size:50px;color:#000;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);width:200px}#mobile-swipe-overlay .swipe-icon img{width:100%}#mobile-swipe-overlay .swipe-tootlip{font-weight:800;position:absolute;padding:20px;top:45%;width:100%;text-align:center}.rtmedia-activity-container{box-sizing:border-box}.rtmedia-activity-container *,.rtmedia-activity-container *:before,.rtmedia-activity-container *:after{box-sizing:inherit}.rtmedia-activity-container .rtmedia-list.masonry{list-style:none;padding:0}.rtmedia-activity-container .rtmedia-list.masonry p{display:none}.rtmedia-activity-container .rtmedia-list.masonry:after{content:'';display:block;clear:both}.rtmedia-activity-container .rtmedia-list-item.masonry-brick{display:inline-block;float:left;width:32%;padding:0 !important}.rtmedia-activity-container .rtmedia-list-item.masonry-brick .mejs-container{min-width:33% !important;margin:0 0 5px 0;width:100% !important}.rtmedia-activity-container .rtmedia-list-item.masonry-brick .mejs-container .mejs-controls{width:100%}.rtmedia-activity-container .rtmedia-list-item.masonry-brick .mejs-container .mejs-controls .mejs-time-total{display:none}.rtmedia-activity-container .rtmedia-list-item.masonry-brick .mejs-container .mejs-controls .mejs-horizontal-volume-slider{width:20%;padding-left:5px}.rtmedia-activity-container .rtmedia-list-item.masonry-brick .mejs-container .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total{width:100%}.rtmedia-activity-container .rtmedia-list-item.masonry-brick .mejs-container .mejs-controls .mejs-horizontal-volume-slider .mejs-time-loaded{display:none}.rtmedia-activity-container .rtmedia-list-item.masonry-brick img{display:block;max-width:100%}.rtmedia-activity-container .rtmedia-list-item.masonry-brick .rtmedia-item-title{display:none}#buddypress ul.rtmedia-list li{border-bottom:0;padding-bottom:0}#buddypress .activity #activity-stream li.plupload_queue_li{padding:5px}#buddypress .activity #activity-stream li.plupload_queue_li .plupload_file_name .rtm-upload-edit-desc-wrapper textarea{width:100px}.rtmedia-activity-container .rtmedia-item-actions{display:none}.rtmedia-activity-container .rtmedia-item-title,.rtmedia-activity-container .rtmedia-item-title a{border:0;color:#666;font-size:13px;margin:5px 0 0;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}#rtmedia-whts-new-upload-container div{left:0 !important;position:absolute;top:0 !important}#whats-new-submit{display:-webkit-box;display:-ms-flexbox;display:flex}#aw-whats-new-submit,.rtmedia-add-media-button{display:block;line-height:initial}#aw-whats-new-reset{background:#fff;border:1px solid #dedede}#aw-whats-new-reset:hover{text-decoration:none;border:1px solid #999;background:#ededed;outline:0;color:#333}.rtm-drag-drop-active{border:4px dashed green !important;display:block;height:100%;opacity:0.5;z-index:9999}#rtm-drop-files-title{background:rgba(0,0,0,0.2);display:none;font-size:14px;height:100%;padding:20px;position:absolute;top:0;width:100%}#rtSelectPrivacy{float:right}form.rt_media_comment_form .rtmedia-plupload-container{overflow:hidden}.rtmedia-plupload-container{position:relative;float:left}.rtm-upload-button-wrapper{float:left;margin-right:5px}#rtmedia-action-update{margin-right:10px}.rtmedia-list-item.media-type-photo,.rtmedia-list-item.media-type-document,.rtmedia-list-item.media-type-music,.rtmedia-list-item.media-type-video{display:inline-block}.media-type-music .mejs-container{margin-bottom:10px}.previous-pagination{float:left;margin-top:10px}.next-pagination{float:right;margin-top:10px}@media screen and (max-width: 500px){#activity-stream li .media-type-video{width:100%}#activity-stream li .media-type-video .mejs-video{max-width:100%;min-width:100%}}#rtmedia_show_all_comment{cursor:pointer}#rtmedia_show_all_comment:hover{text-decoration:underline}#whats-new-options{opacity:0;display:none}#whats-new-options .rtmedia-uploader-div{opacity:0;display:none;visibility:hidden}.bp-nouveau .activity-update-form .rtmedia-uploader-div{margin-left:8.5%}.bp-nouveau .activity-update-form .rtmedia-plupload-container{width:-webkit-fit-content;width:fit-content}.bp-nouveau .activity-update-form .rtmedia-upload-terms{float:left}.bp-nouveau .activity-update-form .rtmedia-upload-terms #rtmedia_upload_terms_conditions{margin-left:20px}.bp-nouveau .activity-update-form #aw-whats-new-submit{margin-top:15px}.bp-nouveau .activity-update-form #aw-whats-new-reset{margin-top:15px}.ac-form .rtmedia-uploader-div,.rt_media_comment_form .rtmedia-uploader-div{opacity:1;display:block;visibility:visible}#whats-new-options{opacity:0;display:none}a.rtmedia-comment-link{display:none}a.rtmedia-comment-link.rtmedia-comments-link{display:initial}.mejs-poster.mejs-layer{height:0 !important}.bp-legacy #buddypress #activity-stream .rtmedia-item-title{margin:0px}.bp-legacy #buddypress #activity-stream .rtmedia-item-title p{margin:0px}.bp-legacy #buddypress #activity-stream .media-type-video .rtmedia-item-title{margin:-20px}.rtmedia-album-edit .rtm-checkbox-wrap{background:rgba(255,255,255,0.9);height:30px;line-height:1;padding:10px;position:absolute;z-index:10}.rtmedia-album-edit .rtmedia-item-selector{position:relative;top:-7px}.rtmedia-album-edit .rtmedia-move-container{display:none}.rtm-single-actions.rtm-item-actions{float:none}.rtm-media-type-music .rtmedia-media{width:100%}#buddypress ul.rtmedia-album-list li.rtmedia-list-item{border:1px solid #ddd;padding:5px;border-radius:5px;width:auto}.media-item .describe{border-collapse:collapse;width:100%;border-top-style:solid;border-top-width:1px;clear:both;cursor:default}.media-item.media-blank .describe{border:0}.media-item .describe th{vertical-align:top;text-align:left;padding:5px 10px 10px;width:140px}.media-item .describe .align th{padding-top:0}.media-item .media-item-info tr{background-color:transparent}.media-item .describe td{padding:0 8px 8px 0;vertical-align:top}.media-item thead.media-item-info td{padding:4px 10px 0}.media-item .media-item-info .A1B1{padding:0 0 0 10px}.media-item td.savesend{padding-bottom:15px}.media-item .thumbnail{max-height:128px;max-width:128px}#wpbody-content #async-upload-wrap a{display:none}.media-upload-form{margin-top:20px}.media-upload-form td label{margin-right:6px;margin-left:2px}.media-upload-form .align .field label{display:inline;padding:0 0 0 23px;margin:0 1em 0 3px;font-weight:bold}.media-upload-form tr.image-size label{margin:0 0 0 5px;font-weight:bold}.media-upload-form th.label label{font-weight:bold;margin:0.5em;font-size:13px}.media-upload-form th.label label span{padding:0 5px}abbr.required{border:medium none;text-decoration:none}.media-item .describe input[type="text"],.media-item .describe textarea{width:460px}.media-item .describe p.help{margin:0;padding:0 0 0 5px}.media-item .edit-attachment,.describe-toggle-on,.describe-toggle-off{display:block;line-height:36px;float:right;margin-right:15px}.media-item .describe-toggle-off,.media-item.open .describe-toggle-on{display:none}.media-item.open .describe-toggle-off{display:block}#media-items .media-item{border-style:solid;border-width:1px;min-height:36px;position:relative;margin-top:-1px;width:100%}#media-items{width:623px}.media-new-php #media-items{margin:1em 0}#media-items:empty{border:0 none}.media-item .filename{line-height:36px;overflow:hidden;padding:0 10px}.media-item .error-div{padding-left:10px}.media-item .pinkynail{float:left;margin:2px 2px 0;max-width:40px;max-height:32px}.media-item .startopen,.media-item .startclosed{display:none}.media-item .original{position:relative;height:34px}.media-item .progress{float:right;height:22px;margin:6px 10px 0 0;width:200px;line-height:2em;padding:0;overflow:hidden;margin-bottom:2px;border:1px solid #d1d1d1;background:#f7f7f7;background-image:-webkit-gradient(linear, left bottom, left top, from(#fff), to(#f7f7f7));background-image:-webkit-linear-gradient(bottom, #fff, #f7f7f7);background-image:linear-gradient(to top, #fff, #f7f7f7);border-radius:3px;box-shadow:inset 0 0 3px rgba(0,0,0,0.1)}.media-item .bar{z-index:9;width:0;height:100%;margin-top:-24px;background-color:#8cc1e9;background-image:-webkit-gradient(linear, left bottom, left top, from(#72a7cf), to(#8cc1e9));background-image:-webkit-linear-gradient(bottom, #72a7cf, #8cc1e9);background-image:linear-gradient(to top, #72a7cf, #8cc1e9);border-radius:3px;box-shadow:0 0 3px rgba(0,0,0,0.3)}.media-item .progress .percent{z-index:10;position:relative;width:200px;padding:0 8px;text-shadow:0 1px 0 rgba(255,255,255,0.4);color:rgba(0,0,0,0.6)}.upload-php .fixed .column-parent{width:15%}.js .html-uploader #plupload-upload-ui{display:none}.js .html-uploader #html-upload-ui{display:block}.media-upload-form .media-item.error{margin:0;padding:0}.media-upload-form .media-item.error p,.media-item .error-div{line-height:16px;margin:5px 10px;padding:0}.media-item .error-div a.dismiss{display:block;float:right;margin:5px 4px 0 15px}.find-box{width:600px;height:300px;overflow:hidden;padding:33px 0 51px;position:absolute;z-index:1000}.find-box-head{cursor:move;font-weight:bold;height:2em;line-height:2em;padding:1px 12px;position:absolute;top:5px;width:100%}.find-box-inside{overflow:auto;padding:6px;height:100%}.find-box-search{overflow:hidden;padding:9px;position:relative}.find-box-search .spinner{float:none;left:125px;position:absolute;top:9px}#find-posts-input{float:left;width:140px;height:24px}#find-posts-search{float:left;margin:1px 4px 0 3px}#find-posts-response{margin:8px 0;padding:0 1px 6px}#find-posts-response table{width:100%}#find-posts-response .found-radio{padding:3px 0 0 8px;width:15px}.find-box-buttons{padding:8px;overflow:hidden}.find-box #resize-se{position:absolute;right:1px;bottom:1px}.ui-find-overlay{position:absolute;top:0;left:0;background-color:#000;opacity:0.6;filter:alpha(opacity=60)}ul#dismissed-updates{display:none}form.upgrade{margin-top:8px}form.upgrade .hint{font-style:italic;font-size:85%;margin:-0.5em 0 2em 0}#poststuff .inside .the-tagcloud{margin:5px 0 10px;padding:8px;border-width:1px;border-style:solid;line-height:1.8em;word-spacing:3px;border-radius:6px}.drag-drop #drag-drop-area{border:4px dashed #DDDDDD;height:200px}.drag-drop .drag-drop-inside{margin:70px auto 0;width:250px}.drag-drop-inside p{color:#aaa;font-size:14px;margin:5px 0;display:none}.drag-drop .drag-drop-inside p{text-align:center}.drag-drop-inside p.drag-drop-info{font-size:20px}.drag-drop .drag-drop-inside p,.drag-drop-inside p.drag-drop-buttons{display:block}.drag-drop.drag-over #drag-drop-area{border-color:#83b4d8}#plupload-upload-ui{position:relative}.describe .image-editor{vertical-align:top}.imgedit-wrap{position:relative}#item-body .imgedit-settings .imgedit-group-top h2{display:inline-block;margin:0}.rtmedia-container .rtmedia-image-editor-cotnainer label{display:inline-block;float:none;margin-right:0}.rtmedia-container .rtmedia-image-editor-cotnainer .dashicons-editor-help{padding:0;height:auto;margin-top:10px}.rtmedia-container .rtmedia-image-editor-cotnainer .hidden{display:none}.imgedit-settings p{margin:8px 0}.post-php .imgedit-wrap table{width:100%}.describe .imgedit-wrap table td,.wp_attachment_holder .imgedit-wrap table td{vertical-align:top;padding-top:0}.describe .imgedit-wrap table td.imgedit-settings{padding:0 5px}.wp_attachment_holder .imgedit-wrap table td.imgedit-settings{width:250px}td.imgedit-settings input{margin-top:0;vertical-align:middle}.imgedit-wait{position:absolute;top:0;background:#fff url(../../../../../../wp-admin/images/wpspin_light.gif) no-repeat scroll 22px 10px;background-size:16px 16px;opacity:0.7;filter:alpha(opacity=70);width:100%;height:500px;display:none}.spinner{background:url(../../../../../../wp-admin/images/wpspin_light.gif) no-repeat;background-size:16px 16px;display:none;float:right;opacity:0.7;filter:alpha(opacity=70);width:16px;height:16px;margin:5px 5px 0}.no-float{float:none}.media-disabled,.imgedit-settings .disabled{color:grey}.wp_attachment_image,.A1B1{overflow:hidden}.wp_attachment_image .button,.A1B1 .button{float:left}.no-js .wp_attachment_image .button{display:none}.wp_attachment_image .spinner,.A1B1 .spinner{float:left;padding:0 4px 4px;vertical-align:bottom}.imgedit-menu{margin:0 0 12px;min-width:300px}.imgedit-menu div{float:left;width:32px;height:32px}.imgedit-crop-wrap{position:relative}.imgedit-crop{margin:0 8px 0 0}.imgedit-crop.disabled:hover{background-position:-9px -31px}.imgedit-crop:hover{background-position:-9px -1px}.imgedit-rleft{margin:0 3px}.imgedit-rleft.disabled:hover{background-position:-46px -31px}.imgedit-rleft:hover{background-position:-46px -1px}.imgedit-rright{margin:0 8px 0 3px}.imgedit-rright.disabled:hover{background-position:-77px -31px}.imgedit-rright:hover{background-position:-77px -1px}.imgedit-flipv{margin:0 3px}.imgedit-flipv.disabled:hover{background-position:-115px -31px}.imgedit-flipv:hover{background-position:-115px -1px}.imgedit-fliph{margin:0 8px 0 3px}.imgedit-fliph.disabled:hover{background-position:-147px -31px}.imgedit-fliph:hover{background-position:-147px -1px}.imgedit-undo{margin:0 3px}.imgedit-undo.disabled:hover{background-position:-184px -31px}.imgedit-undo:hover{background-position:-184px -1px}.imgedit-redo{margin:0 8px 0 3px}.imgedit-redo.disabled:hover{background-position:-215px -31px}.imgedit-redo:hover{background-position:-215px -1px}.imgedit-applyto img{margin:0 8px 0 0}.imgedit-group h3{font-size:18px}.imgedit-group .dashicons{border:0;line-height:1.2}.imgedit-group-top{margin:5px 0}.imgedit-applyto .imgedit-label{padding:2px 0 0;display:block}.imgedit-help{display:none;font-style:italic;margin-bottom:8px}a.imgedit-help-toggle{text-decoration:none}.form-table td.imgedit-response{padding:0}.imgedit-submit{margin:8px 0}.imgedit-submit-btn{margin-left:20px}.imgedit-wrap .nowrap{white-space:nowrap}span.imgedit-scale-warn{color:red;font-size:20px;font-style:normal;visibility:hidden;vertical-align:middle}.wp_attachment_details{margin-bottom:20px}.imgedit-menu div{border-color:#d5d5d5;background-color:#f1f1f1}.imgedit-menu div:hover{border-color:#c1c1c1;background-color:#eaeaea}.imgedit-menu div.disabled{border-color:#ccc;background-color:#ddd;filter:alpha(opacity=50);opacity:0.5}.bp-media-image-editor-cotnainer{margin-top:35px}.wp_attachment_image .bp-media-image-edit{float:left}.wp_attachment_image .spinner{display:none}.bp-media-image-editor-cotnainer .hidden{display:none}.bp-media-image-editor-cotnainer div.updated{margin:5px 0 15px;background-color:#ffffe0;border-color:#e6db55;padding:0 .6em;border-radius:3px;border-width:1px;border-style:solid}.bp-media-image-editor-cotnainer div.updated p{margin:.5em 0;padding:2px}body article.bp_members.bp_member .entry-content,body div.bp_members.bp_member .entry-content{width:100%}.rtm-media-gallery-uploader{display:none}h2.rtm-gallery-title{margin:10px 0}.rtmedia-uploader .drag-drop{border:4px dashed #DDD;text-align:center;background:#fafafa;overflow:hidden;color:#AAAAAA;margin-top:20px;padding:25px 0}.rtmedia-uploader .drag-drop.dragover{border-color:#83b4d8}.rtmedia-uploader .drag-drop .drag-drop-info{font-size:20px;line-height:24px}.rtmedia-uploader .drag-drop .rtm-select-files span{vertical-align:middle}.rtmedia-uploader .drag-drop .rtm-seperator{margin:0px 20px}.rtmedia-uploader .drag-drop .start-media-upload{display:none;margin-top:20px}.rtmedia-uploader .drag-drop .rtm-file-size-limit{vertical-align:middle;font-size:16px;line-height:24px}.rtm-uploader-main-wrapper .rtm-uploader-tabs{margin-bottom:10px;text-align:left}.rtm-uploader-main-wrapper ul{border-bottom:1px solid #CCC}.rtm-uploader-main-wrapper li{margin:0 0 -1px 10px;display:inline-block;padding:5px 10px;line-height:25px;background-color:#e4e4e4;border:1px solid #CCC}.rtm-uploader-main-wrapper li.active{background:transparent;border-left:1px solid #CCC;border-top:1px solid #CCC;border-right:1px solid #CCC;border-bottom:1px solid #fafafa}.rtm-uploader-main-wrapper li:hover{cursor:pointer}.rtmedia-container .rtmedia-list{margin:10px -5px}.rtmedia-container .rtmedia-list .rtmedia-list-item{float:left;margin:5px;position:relative}.rtmedia-container .rtmedia-list .rtmedia-list-item>a{display:block}.rtmedia-container .rtmedia-list .rtmedia_time{background-color:#000;color:#fff;display:inline-block;font-size:11px;font-weight:bold;line-height:14px;opacity:0.75;padding:0 4px;position:absolute;right:2px;top:2px}.rtmedia-container .rtmedia-list img{vertical-align:top}.rtmedia-container .rtmedia-list .rtmedia-item-title h4{color:#666;font-size:12px;font-weight:normal;margin:5px 0 0;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}.rtm-load-more{background:#eee;text-align:center;line-height:50px}.rtmedia-container .rtm-load-more a{border:0;padding:10px 0}.rtm-load-more .rtm-media-loading{padding:10px 0}.rtm-media-options.rtm-media-search-enable>*:nth-last-child(2){border-right:none}.rtm-media-options{line-height:1.4;margin-bottom:10px;clear:both}.rtm-media-options>div{display:inline-block;cursor:pointer}.rtm-media-options .rtm-media-options-list{margin-right:5px;padding-right:10px;position:relative}.rtm-media-options>*{border-right:1px solid #999}.rtm-media-options>*:last-child{border-right:none}.rtm-media-options .dashicons{font-size:inherit;line-height:1.4}#buddypress .media_search.media_search .search_by{margin-top:3px}.bp-legacy.media #buddypress #item-header-cover-image .user-nicename{margin-bottom:20px}.bp-legacy.media #buddypress div#item-header div#item-header-content ul li,.bp-legacy.media #buddypress div#item-header div#item-header-content ul div{float:left;margin:2px 10px}.bp-legacy.media #buddypress div#item-header div#item-header-content button,.bp-legacy.media #buddypress div#item-header div#item-header-content a{background:#fff;border:1px solid #ccc;color:#767676;font-size:small;cursor:pointer;outline:none;padding:4px 10px;text-align:center;text-decoration:none}.bp-legacy.media #buddypress div#item-header div#item-header-content button:hover,.bp-legacy.media #buddypress div#item-header div#item-header-content a:hover{background:#ededed;border:1px solid #bbb;color:#555;outline:none}.bp-nouveau.media .entry-title{font-size:34px;font-weight:inherit;margin-bottom:0}.bp-nouveau.media .entry-title a{color:#767676}.bp-nouveau.media #buddypress #item-header-cover-image .user-nicename{margin-top:15px;margin-bottom:30px}.bp-nouveau.media #buddypress div#item-header div#item-header-content ul li,.bp-nouveau.media #buddypress div#item-header div#item-header-content ul div{float:left;margin:2px 10px}.bp-nouveau.media #buddypress div#item-header div#item-header-content button,.bp-nouveau.media #buddypress div#item-header div#item-header-content a{background:#fff;border-color:#ccc;border-style:solid;border-width:1px;color:#555;cursor:pointer;font-size:inherit;font-weight:400;outline:none;padding:0.3em 0.5em;text-align:center;text-decoration:none;width:auto}.bp-nouveau.media #buddypress div#item-header div#item-header-content button:hover,.bp-nouveau.media #buddypress div#item-header div#item-header-content a:hover{background:#ededed;border-color:#999999;color:#333;outline:none;text-decoration:none}.media_search.media_search{float:right;border:1px solid #ccc;margin-left:5px;padding:3px 0}.media_search.media_search .media_search_input{width:200px;outline:0;max-width:200px;margin:0;box-shadow:none;padding:5px 6px;border:none;background:transparent;float:left;max-height:30px}.media_search.media_search #media_fatch_loader.load{float:left;width:20px;height:30px;position:relative}.media_search.media_search #media_fatch_loader.load:before{content:'';border-radius:50%;border:1px solid #aaa;border-top-color:rgba(255,255,255,0.9);animation:spinner .8s linear infinite;-webkit-animation:spinner .8s linear infinite;position:absolute;width:15px;height:15px;top:24%}.media_search.media_search .search_option{padding:0;background:transparent;color:#000;margin-bottom:0;line-height:1;border:none}.media_search.media_search .media_search_remove.search_option{display:none}.media_search.media_search .media_search_remove.search_option i{margin-top:4px}.media_search.media_search .search_by{background:transparent;margin-top:3px;float:left;width:auto;margin-bottom:0;height:auto;padding-top:0;padding-bottom:0}@keyframes spinner{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner{to{-webkit-transform:rotate(360deg)}}.rtmedia-upload-media-link{cursor:pointer}a.rtmedia-upload-media-link{border:none}.rtm-album-privacy span{font-size:16px;display:inline-block;margin:0 20px 20px 20px;vertical-align:top}.rtm-album-privacy label{margin-right:8px}.rtm-album-privacy .dashicons{font-size:16px;line-height:1.6;margin-right:5px}#rtm-media-options-list .rtmedia-delete-album{background:transparent;border:0;color:#fff;font-family:inherit;font-size:inherit;font-weight:inherit;padding:0;text-transform:inherit}#rtm-media-options-list .rtmedia-delete-album:hover{background:transparent;border:0;color:#fff}.rtmedia-single-container button.rtmedia-like{background-color:transparent;color:inherit}#buddypress #item-body{padding:0 20px}#buddypress .mejs-controls button{padding:4px 8px;border:none;background:transparent url("../../../lib/media-element/mejs-controls.png") no-repeat}#buddypress .mejs-controls .mejs-play>button{background-position:0 0}#buddypress .mejs-controls .mejs-pause>button{background-position:-20px 0}#buddypress .mejs-controls .mejs-unmute>button{background-position:-40px 0}#buddypress .mejs-controls .mejs-mute>button{background-position:-60px 0}#buddypress .mejs-controls .mejs-fullscreen-button>button{background-position:-80px 0}#buddypress .mejs-controls .mejs-unfullscreen>button{background-position:-100px 0}#buddypress .mejs-controls .mejs-replay>button{background-position:-160px 0}.mejs-container .mejs-controls .mejs-time{padding:15px 3px 0;content:''}.rtmedia-activity-container .mejs-playpause-button.mejs-play button:before,.rtmedia-activity-container .mejs-playpause-button.mejs-pause button:before,.rtmedia-activity-container .mejs-volume-button.mejs-mute button:before,.rtmedia-activity-container .mejs-fullscreen-button button:before,.rtmedia-media .mejs-playpause-button.mejs-play button:before,.rtmedia-media .mejs-playpause-button.mejs-pause button:before,.rtmedia-media .mejs-volume-button.mejs-mute button:before,.rtmedia-media .mejs-fullscreen-button button:before{content:''}@media only screen and (min-width: 1025px){.mfp-content .rtm-lightbox-container{display:-webkit-box;display:-ms-flexbox;display:flex;table-layout:fixed;width:100%;min-height:473px}.mfp-content .rtm-mfp-close{background:transparent}.mfp-content .rtm-single-media{display:-webkit-box;display:-ms-flexbox;display:flex;width:66.6667%;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mfp-content .rtm-single-meta{display:block;width:33.3333%;padding:20px}.mfp-content .rtm-single-meta .rtmedia-scroll{height:100%;overflow-X:hidden}}@media screen and (max-width: 562px){.media_search.media_search{float:left}}.rtl #rtSelectPrivacy{float:left}.rtl .rtmedia-plupload-container{float:right}.rtl .rtm-upload-button-wrapper{float:right}.rtl #whats-new-post-in-box{float:right}.rtl .describe-toggle-off{float:left}.rtl .media-item .pinkynail{float:right}.rtl .media-item .progress{float:left}.rtl .media-item .error-div a.dismiss{float:left}.rtl #find-posts-input{float:right}.rtl #find-posts-search{float:right}.rtl .spinner{float:left}.rtl .wp_attachment_image .button,.rtl .A1B1 .button{float:right}.rtl .wp_attachment_image .spinner,.rtl .A1B1 .spinner{float:right}.rtl .imgedit-menu div{float:right}.rtl .wp_attachment_image .bp-media-image-edit{float:right}.rtl .rtmedia-container .rtmedia-list .rtmedia-list-item{float:right}.rtl #buddypress #rtm-media-options-list .rtm-options .button{float:right}.rtl .rtm-ltb-title{float:right}.rtl .rtm-item-actions{float:left}.rtl .rtm-item-actions>div,.rtl .rtm-item-actions>form{float:right}.rtl .userprofile{float:right}.rtl .rtmedia-actions-before-comments>span{float:right}.rtl .rtmedia-comment-user-pic{float:right}.rtl .rtmedia-media-name{float:right}.rtl #rtmedia-uploader-form .rtm-plupload-list li,.rtl #rtmedia_uploader_filelist li{float:right}.rtl #rtmedia-uploader-form .rtm-plupload-list canvas,.rtl #rtmedia_uploader_filelist canvas{display:block;width:100px;height:100px}.rtl .rtm-page-number{float:right}.rtl .rtm-page-number .rtmedia-page-link{float:right}.rtl .rtm-pagination{float:right}.rtl .rtm-pagination .rtm-paginate{float:left}.rtl .rtm-tabs li{float:right}.rtl .alignleft{float:right}.rtl .alignright{float:left}.rtl .rtmedia-action-buttons{padding-left:4px}.rtl .rtm-media-options>*{border-right:none}.rtl .rtm-media-options>*:nth-last-child(1){border-right:1px solid #999;padding-right:4px}.rtl .rtm-media-options.rtm-media-search-enable>*{border-right:none}.rtl .rtm-media-options.rtm-media-search-enable>*:nth-last-child(2){border-right:1px solid #999;padding-right:4px}.rtl #rtm-modal-container{text-align:right}
|
1 |
+
.alignleft{float:left}.alignright{float:right}.aligncenter{display:block;margin-left:auto;margin-right:auto;text-align:center}.clear-both{clear:both}.clear-none{clear:none}.clear-left{clear:left}.clear-right{clear:right}.rtm-inline-block{display:inline-block}.rtm-text-left{text-align:left}.rtm-text-right{text-align:right}.rtm-text-center{text-align:center}.rtm-border-0{border:0 !important}.hide{display:none}.rtmedia-success,.rtmedia-warning{margin:10px 0;padding:8px 14px 8px 14px;text-shadow:0 1px 0 rgba(255,255,255,0.5);border-bottom:1px solid #e7e7e7;cursor:pointer}.rtmedia-success{background-color:#dff0d8;color:#468847}.rtmedia-warning{background-color:#F0D8DD;color:#884646}.clearfix:after{content:"";display:table;clear:both}#buddypress form#whats-new-form textarea{box-sizing:border-box;width:100%}#buddypress #whats-new-form .rtmedia-uploader-div{display:none}#buddypress #whats-new-form #whats-new-options .rtmedia-uploader-div{display:block}#buddypress #whats-new-options{height:auto !important;overflow:hidden}#buddypress form#whats-new-form p.activity-greeting{line-height:1}#buddypress form#whats-new-form #whats-new-options select{border:1px solid #ccc;font-size:12px;margin-top:3px;margin-right:10px;line-height:12px}#whats-new-submit #aw-whats-new-submit{font-size:12px;line-height:18px}#whats-new-post-in-box{float:left;font-size:13px}#buddypress form#whats-new-form #whats-new-submit{margin-top:0}#whats-new-textarea{margin-bottom:10px}body.media.buddypress{overflow-y:auto}#buddypress input[type=submit]:focus{background:#ededed;border:1px solid #bbb;color:#555;outline:0;text-decoration:none}#buddypress ul.activity-list li.activity-item .activity-comments .rtmedia-uploader-div{color:#767676;margin-left:50px;padding-left:15px}#buddypress ul.activity-list li.activity-item .activity-comments .rtmedia-uploader-div .rtm-plupload-list .plupload_queue_li{padding:5px}#buddypress ul.activity-list li.activity-item .activity-comments .rtmedia-uploader-div .rtm-plupload-list .rtm-upload-edit-desc{background:#fff;border:solid 1px #ccc}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{margin-top:0}#whats-new-post-in-box{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.rtmedia-container{box-sizing:border-box}.rtmedia-container *,.rtmedia-container *:before,.rtmedia-container *:after{box-sizing:inherit}.rtmedia-list.rtmedia-list{list-style:none;margin:0;padding:0}.rtmedia-list-item>a{border:0;display:inline-block;text-decoration:none}.rtmedia-list-item>a:focus{outline:0}.rtmedia-list-item>a+p{display:none}.rtmedia-list-item>a .rtmedia-item-thumbnail{width:150px;text-align:center}.rtmedia-list-item>a .rtmedia-item-thumbnail img{display:inline-block;max-height:inherit}#rtmedia-uploader-form .rtm-plupload-list,form .rtmedia-container .rtm-plupload-list,#rtmedia_uploader_filelist{list-style:none;margin-left:-4px;margin-right:-4px;padding-left:0;padding-top:10px}#rtmedia-uploader-form .rtm-plupload-list li,form .rtmedia-container .rtm-plupload-list li,#rtmedia_uploader_filelist li{background:#eee;float:left;margin:4px;max-width:110px;padding:5px;z-index:1;position:relative}#rtmedia-uploader-form .rtm-plupload-list li.upload-error,form .rtmedia-container .rtm-plupload-list li.upload-error,#rtmedia_uploader_filelist li.upload-error{border:1px solid red}#rtmedia-uploader-form .rtm-plupload-list img,form .rtmedia-container .rtm-plupload-list img,#rtmedia_uploader_filelist img{max-width:100%}#rtmedia-uploader-form .rtm-plupload-list canvas,form .rtmedia-container .rtm-plupload-list canvas,#rtmedia_uploader_filelist canvas{display:block;width:100px;height:100px}#rtmedia-uploader-form .rtm-plupload-list .rtm-upload-edit-title,form .rtmedia-container .rtm-plupload-list .rtm-upload-edit-title,#rtmedia_uploader_filelist .rtm-upload-edit-title{font-size:12px}#rtmedia-uploader-form .rtm-plupload-list .rtm-upload-edit-desc,form .rtmedia-container .rtm-plupload-list .rtm-upload-edit-desc,#rtmedia_uploader_filelist .rtm-upload-edit-desc{font-size:12px;display:block}#rtmedia-uploader-form .rtm-plupload-list .rtm-upload-edit-title-wrapper label,#rtmedia-uploader-form .rtm-plupload-list .rtm-upload-edit-desc-wrapper label,form .rtmedia-container .rtm-plupload-list .rtm-upload-edit-title-wrapper label,form .rtmedia-container .rtm-plupload-list .rtm-upload-edit-desc-wrapper label,#rtmedia_uploader_filelist .rtm-upload-edit-title-wrapper label,#rtmedia_uploader_filelist .rtm-upload-edit-desc-wrapper label{display:block}#rtmedia-uploader-form .rtm-plupload-list .rtm-upload-edit-title-wrapper input.rtm-upload-edit-title,#rtmedia-uploader-form .rtm-plupload-list .rtm-upload-edit-desc-wrapper input.rtm-upload-edit-title,form .rtmedia-container .rtm-plupload-list .rtm-upload-edit-title-wrapper input.rtm-upload-edit-title,form .rtmedia-container .rtm-plupload-list .rtm-upload-edit-desc-wrapper input.rtm-upload-edit-title,#rtmedia_uploader_filelist .rtm-upload-edit-title-wrapper input.rtm-upload-edit-title,#rtmedia_uploader_filelist .rtm-upload-edit-desc-wrapper input.rtm-upload-edit-title{min-width:100%;margin-top:1px;display:block}.rtm-plupload-list:empty{display:none}.rtmedia-uploader-div,.rtmedia-uploader{clear:both}.rtm-upload-button-wrapper button.rtmedia-comment-media-upload,button.rtmedia-comment-media-upload{padding:3px 6px}.rtm-upload-button-wrapper button.rtmedia-comment-media-upload .dashicons,button.rtmedia-comment-media-upload .dashicons{font-size:18px;line-height:20px}button#rtmedia-add-media-button-post-update{padding:3px 6px;margin-bottom:10px}button#rtmedia-add-media-button-post-update .dashicons{font-size:18px;line-height:20px}.plupload_file_name{font-size:11px;font-weight:bold;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plupload_file_size{color:#666;font-size:10px}.plupload_file_action{background:#eee;position:absolute;height:18px;right:4px;top:0;width:18px;z-index:10}.plupload_file_action .dashicons{color:#DD3D36;cursor:pointer;font-size:16px;height:18px;padding:2px 1px;width:18px}.plupload_file_status{height:15px;margin-bottom:5px;overflow:hidden}.plupload_file_progress{background:#7AD03A;height:100%;font-size:10px;line-height:15px;text-align:center;word-wrap:initial}.rtm-form .rtm-field-wrap{margin-bottom:20px}.rtm-form .rtm-field-wrap .rtmedia-title-editor{width:100%}#buddypress a.rtm-button-back{padding:4px 10px}#buddypress div.rtmedia-page-no.rtm-page-number a.rtmedia-page-link.button{padding:5px 10px}.rtmedia_next_prev{padding:0 10px}.rtm-page-number{float:left}.rtm-page-number .rtm-label{line-height:30px}.rtm-page-number .rtm-label,.rtm-page-number .rtm-go-to-num,.rtm-page-number .rtmedia-page-link{float:left}.rtm-page-number .rtm-go-to-num,.rtm-page-number .rtmedia-page-link{line-height:1.5}.rtm-pagination{background:transparent;border:none;color:#888;font-size:small;margin:0;position:relative;display:block;float:left;width:100%;padding:10px 0}.rtm-pagination .rtm-paginate{float:right;font-size:15px}.rtm-pagination .rtm-paginate a,.rtm-pagination .rtm-paginate span{display:inline-block;line-height:1;margin:0 2px;padding:8px;text-decoration:none}.rtm-pagination .rtm-paginate a.rtmedia-page-link{padding:8px}.rtm-pagination .dashicons{font-size:14px;height:auto;line-height:1.2;margin:0;padding:0;width:auto}#rtmedia_go_to_num{font-size:16px;margin:0 5px;padding:3px 5px;width:80px}.rtmedia-upload-not-allowed{background-color:#fcf8e3;border-bottom:1px solid #eee;color:#c09853;margin-bottom:20px;padding:10px 15px}.plupload_file_name{position:relative}.plupload_file_name .dashicons{background:#eee;color:#DD3D36;cursor:pointer;font-size:14px;height:auto;padding:0 2px 0 5px;position:absolute;right:0;top:0;width:auto}.plupload_file_name .dashicons-yes{color:#7AD03A}.rtmedia-gallery-item-actions{background-color:rgba(0,0,0,0.6);opacity:0;position:absolute;text-align:center;-webkit-transition:all ease-in-out 0.4s;transition:all ease-in-out 0.4s;width:100%;z-index:9}.rtmedia-gallery-item-actions a{border:0;box-shadow:0 0 0;color:#fff;display:inline-block;font-size:12px;outline:none;padding:4px;text-align:left;text-decoration:none;text-transform:uppercase}.rtmedia-gallery-item-actions .dashicons{font-size:17px;margin-right:2px;position:relative;top:1px}.rtmedia-gallery-item-actions .dashicons-trash{font-size:15px}.rtm-pro-allow-action .rtmedia-list-item:hover .rtmedia-gallery-item-actions{opacity:1}.rtm-pro-allow-action .rtmedia-list-item:hover .rtmedia-bulk-edit-item-wrap+.rtmedia-gallery-item-actions{opacity:0}.rtmedia-footer-link{clear:both;overflow:hidden;padding:16px 0;position:relative;text-align:center}.rtmedia-text-link-decoration,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit a,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit span,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete a,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete span,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-title a,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-title span{text-decoration:none}.rtmedia-text-link-decoration:hover,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit a:hover,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit span:hover,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete a:hover,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete span:hover,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-title a:hover,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-title span:hover{text-decoration:underline}.rtmedia-container .rtmedia-edit-list-media-table{max-height:300px;overflow-y:auto}.rtmedia-container .rtmedia-edit-list-media-table thead tr{background-color:#50a1d7}.rtmedia-container .rtmedia-edit-list-media-table thead th{text-align:center;color:#fff}.rtmedia-container .rtmedia-edit-list-media-table tbody tr:nth-child(odd){background:#fff}.rtmedia-container .rtmedia-edit-list-media-table tbody tr:nth-child(even){background:#dcdcdc}table.rtmedia-edit-media-list tr{line-height:30px}table.rtmedia-edit-media-list tr th{color:#333;padding:4px 10px;line-height:20px}table.rtmedia-edit-media-list tr .rtm-edit-media-list-heading{width:44%}table.rtmedia-edit-media-list tr .rtm-edit-media-list-title-heading{width:56%}table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete,table.rtmedia-edit-media-list tr td.rtm-edit-media-list-title{padding:4px;font-size:14px;line-height:24px}table.rtmedia-edit-media-list tr td.rtm-edit-media-list-title a{text-decoration:none;color:#333}table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit{text-align:center}table.rtmedia-edit-media-list tr td.rtm-edit-media-list-edit a{color:#333;font-size:13px}table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete{text-align:center}table.rtmedia-edit-media-list tr td.rtm-edit-media-list-delete span{color:#ff0000;cursor:pointer;font-size:13px}.rtm-hide{display:none}.rtmedia-list-item .rtmedia-album-media-count{position:absolute;top:0;right:0;background-color:black;color:white;padding:0 5px}.rtmedia-actions-before-description>div{margin-bottom:5px}input.imgedit-submit-btn{display:none}.rtmedia-no-media-found,.rtmedia-list-media{min-height:95px}.privacy_message_wrapper{background:rgba(0,0,0,0.95);z-index:999;color:#fff;display:block;position:fixed;width:100%;padding:5px}.privacy_message_wrapper p{margin:20px 25px;width:-webkit-calc(100% - 100px);width:calc(100% - 100px);max-width:100%;font-size:85%;text-align:justify;word-wrap:break-word;display:inline-block}.privacy_message_wrapper p a{color:#fff;text-decoration:underline}.privacy_message_wrapper p a:hover{color:#000}.privacy_message_wrapper #close_rtm_privacy_message{margin:0px;float:right;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);position:absolute;display:inline-block;color:inherit;font-size:25px}.privacy_message_wrapper #close_rtm_privacy_message:hover{cursor:pointer}.hide_privacy_wrapper{display:none}.rtm-activity-privacy-opt{margin-left:5px}.rtm-tabs.rtm-tabs{border-bottom:1px solid #eee;list-style:none;margin:0 0 20px;padding:0}.rtm-tabs li{border:1px solid #eee;border-bottom:0;float:left;margin:0 5px;padding:0}.rtm-tabs a{border:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:5px 15px;text-decoration:none}.rtm-tabs a:focus{background:transparent;box-shadow:0 0 0}.rtm-tabs .active{position:relative}.rtm-tabs .active:after{background:#fff;bottom:-1px;content:' ';height:1px;left:0;position:absolute;width:100%}.rtm-tabs .dashicons{font-size:16px;height:auto;line-height:20px;margin-right:8px;width:auto}.rtmedia-edit-media-tabs .rtm-tabs a{border-bottom:0 none}.mfp-bg{top:0;left:0;width:100%;height:100%;z-index:104211;overflow:hidden;position:fixed;background:rgba(0,0,0,0.9)}.mfp-wrap{top:0;left:0;width:100%;height:100%;z-index:104311;position:fixed;outline:none !important;-webkit-backface-visibility:hidden}.mfp-container{text-align:center;position:absolute;width:100%;max-width:84%;margin:0 auto;right:0;height:100%;left:0;top:0;padding:0 8px;box-sizing:border-box}.mfp-container:before{content:' ';display:inline-block;height:100%;vertical-align:middle}.mfp-align-top .mfp-container:before{display:none}.mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:left;z-index:1045}.mfp-inline-holder .mfp-content,.mfp-ajax-holder .mfp-content{width:100%;cursor:auto}.mfp-ajax-cur{cursor:progress}.mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor:zoom-out}.mfp-zoom{cursor:pointer;cursor:zoom-in}.mfp-auto-cursor .mfp-content{cursor:auto}.mfp-close,.mfp-arrow,.mfp-preloader,.mfp-counter{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none !important}.mfp-s-ready .mfp-preloader{display:none}.mfp-s-error .mfp-content{display:none}button.mfp-close,button.mfp-arrow{overflow:visible;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;display:block;outline:none;padding:0;z-index:1046;box-shadow:none}button::-moz-focus-inner{padding:0;border:0}.mfp-close{background:#fff;color:#999;cursor:pointer;font-size:24px;font-style:normal;height:30px;line-height:30px;padding:0;position:absolute;right:1px;text-align:center;text-decoration:none;text-indent:2px;top:0;width:32px;z-index:12}.mfp-close:hover,.mfp-close:focus{opacity:1;filter:alpha(opacity=100)}.mfp-close:active{top:1px}.mfp-image-holder .mfp-close,.mfp-iframe-holder .mfp-close{color:#FFF;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-counter{position:absolute;top:0;right:0;color:#CCC;font-size:12px;line-height:18px;white-space:nowrap}.mfp-arrow{cursor:pointer;position:absolute;opacity:0.65;filter:alpha(opacity=65);margin:0;top:50%;margin-top:-55px;padding:0;width:90px;height:110px;-webkit-tap-highlight-color:transparent;opacity:0;z-index:10;-webkit-transition:all 300ms ease-out;transition:all 300ms ease-out}.rtm-single-media:hover .mfp-arrow{opacity:1}@media (max-device-width: 640px){.mfp-arrow{display:none}.rtm-single-media:hover .mfp-arrow{display:none}}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:hover,.mfp-arrow:focus{opacity:1;filter:alpha(opacity=100)}.mfp-arrow:before,.mfp-arrow:after,.mfp-arrow .mfp-b,.mfp-arrow .mfp-a{content:'';display:block;width:0;height:0;position:absolute;left:0;top:0;margin-top:40%;margin-left:40%;border:medium inset transparent}.mfp-arrow:after,.mfp-arrow .mfp-a{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow:before,.mfp-arrow .mfp-b{border-top-width:21px;border-bottom-width:21px;opacity:0.7}.mfp-arrow-left{left:0}.mfp-arrow-left:after,.mfp-arrow-left .mfp-a{border-right:17px solid #FFF;margin-left:32%}.mfp-arrow-left:before,.mfp-arrow-left .mfp-b{margin-left:25%;border-right:27px solid #3F3F3F}.mfp-arrow-right{right:0}.mfp-arrow-right:after,.mfp-arrow-right .mfp-a{border-left:17px solid #FFF;margin-left:44%}.mfp-arrow-right:before,.mfp-arrow-right .mfp-b{border-left:27px solid #3F3F3F}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-iframe-holder .mfp-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,0.6);background:#000}img.mfp-img{width:auto;max-width:100%;height:auto;display:block;line-height:0;box-sizing:border-box;padding:40px 0 40px;margin:0 auto}.mfp-figure{line-height:0}.mfp-figure:after{content:'';position:absolute;left:0;top:40px;bottom:40px;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,0.6);background:#444}.mfp-figure small{color:#BDBDBD;display:block;font-size:12px;line-height:14px}.mfp-figure figure{margin:0}.mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;left:0;width:100%;cursor:auto}.mfp-title{text-align:left;line-height:18px;color:#F3F3F3;word-wrap:break-word;padding-right:36px}.mfp-image-holder .mfp-content{max-width:100%}.mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}.mfp-preloader{position:absolute;top:50%;left:0;right:0;margin-top:-36px;z-index:1044;font-size:0;width:36px;height:36px;margin-left:auto;margin-right:auto}.mfp-preloader:before{content:'Loading…';position:absolute;width:30px;height:30px}.mfp-preloader:not(:required):before{content:'';border-radius:50%;border:3px solid rgba(255,255,255,0.27);border-top-color:rgba(255,255,255,0.9);animation:spinner .6s linear infinite;-webkit-animation:spinner .6s linear infinite}@keyframes spinner{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner{to{-webkit-transform:rotate(360deg)}}@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px){.mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,0.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-img-mobile .mfp-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,0.6);position:fixed;text-align:center;padding:0}}@media all and (max-width: 900px){.mfp-arrow{-webkit-transform:scale(0.75);-ms-transform:scale(0.75);transform:scale(0.75)}.mfp-arrow-left{-webkit-transform-origin:0;-ms-transform-origin:0;transform-origin:0}.mfp-arrow-right{-webkit-transform-origin:100%;-ms-transform-origin:100%;transform-origin:100%}.mfp-container{padding-left:6px;padding-right:6px}}.atwho-container #atwho-ground-comment_content .atwho-view{z-index:2147483647}@-webkit-keyframes open{0%{opacity:0}100%{opacity:1}}@keyframes open{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes close{0%{opacity:1}100%{opacity:0}}@keyframes close{0%{opacity:1}100%{opacity:0}}.mfp-content .rtm-lightbox-container{background:#000;-webkit-animation:open 1s;animation:open 1s;margin:0 auto;position:relative}.mfp-content .rtm-lightbox-container .rtmedia-comment-media-list{overflow:hidden;margin:0;padding:0}.mfp-content .rtm-lightbox-container .rtmedia-comment-media-list .mejs-container.mejs-video{min-height:200px;min-width:200px}.mfp-content .rtm-lightbox-container .rtm-plupload-list .rtm-upload-edit-desc{background:#fff;min-height:70px;width:100px}.mfp-content .rtm-single-meta{background:#fff;overflow:hidden;padding:20px 20px 110px;position:relative;vertical-align:top}.rtm-single-media{overflow:hidden;position:relative;text-align:center;vertical-align:middle}.rtm-single-media .mejs-container{margin:0 auto;max-width:inherit}.rtm-single-media .rtmedia-message-container{position:absolute;top:45%;left:0;right:0;margin-left:auto;margin-right:auto}@media (max-device-width: 640px){.rtm-single-media .rtmedia-message-container{top:25%}}.rtm-ltb-action-container{background-color:rgba(0,0,0,0.6);bottom:0;color:#fff;line-height:38px;opacity:0;padding:0 10px;position:absolute;width:100%;-webkit-transition:all 300ms ease-out;transition:all 300ms ease-out}.rtm-single-media:hover .rtm-ltb-action-container{opacity:1}@media (max-device-width: 640px){.rtm-ltb-action-container{clear:both;position:relative;opacity:1}.rtm-single-media:hover .rtm-ltb-action-container{opacity:1}}#buddypress #rtmedia-single-media-container.rtmedia-single-media .button{background:transparent;border:0 none;border-radius:2px;color:rgba(255,255,255,0.5);display:block;font-family:inherit;font-weight:normal;line-height:24px;margin:0;padding:0 6px;text-shadow:0 0 0;text-transform:none}#buddypress #rtmedia-single-media-container.rtmedia-single-media .button:hover{background:rgba(255,255,255,0.2);color:rgba(255,255,255,0.8)}#buddypress #rtmedia-single-media-container.rtmedia-single-media .rtm-options .button{color:#333;margin:0 auto;padding:0 4px 0 0}#buddypress #rtm-media-options-list .rtm-options .button{background:transparent;border:0 none;border-radius:2px;color:rgba(255,255,255,0.5);float:left;font-family:inherit;font-weight:normal;line-height:24px;padding:0 6px;text-transform:none}#buddypress #rtm-media-options-list .rtm-options .rtmedia-delete-favlist{color:#fff;padding:0}#buddypress #rtm-media-options-list .rtm-options form button{font-size:14px}#buddypress #rtm-media-options-list .rtm-options i{line-height:1.7}.rtm-options.rtm-options{background:#666;color:#fff;display:none;font-size:14px;list-style:none;margin:0;padding:8px 10px;position:absolute;left:0;top:38px;width:190px;z-index:10}.rtm-options li{margin:0;overflow:hidden;padding:2px 0}.rtm-media-options .rtm-options:after{bottom:100%;left:20px;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none;border-color:rgba(255,255,255,0);border-bottom-color:#666;border-width:6px;margin-left:-6px}.mfp-content .rtm-options{background:#fff;color:#333;bottom:38px;right:0;left:auto;top:auto}.mfp-content .rtm-options:after{top:100%;right:22px;border:solid transparent;content:' ';height:0;width:0;position:absolute;pointer-events:none;border-color:rgba(255,255,255,0);border-top-color:#fff;border-width:6px;margin-left:-6px}.rtm-options .dashicons{font-size:14px;line-height:24px;margin-right:2px}.rtm-media-options .rtm-options a{border:0;color:#fff;display:block;text-decoration:none}.rtm-ltb-title{color:rgba(255,255,255,0.7);float:left;font-size:13px}.rtm-ltb-title a{color:inherit}.rtm-ltb-title a:hover{border-bottom:1px dotted;color:#fff}.rtm-item-actions{float:right}.rtm-item-actions>div,.rtm-item-actions>form{float:left;margin:0 4px 0 0;padding:7px 0;position:relative}.rtmedia-media{margin:0 auto}.rtmedia-media img{display:inline-block;max-height:inherit;height:auto;max-width:100%;width:auto}@media only screen and (max-device-width: 1024px){.rtmedia-media{margin:40px 0}}.rtm-user-meta-details .username{font-size:16px;line-height:1;margin-bottom:6px}.userprofile{float:left;margin:0 16px 16px 0;max-width:54px}.userprofile a{display:block}.userprofile img{height:auto;max-width:100%}.rtm-time-privacy{color:#999;font-size:12px}.rtm-time-privacy .dashicons{font-size:14px;line-height:1.5;margin-top:-2px}.rtmedia-actions-before-comments>span{float:left;margin-right:10px}.rtmedia-actions-before-comments .rtmedia-comment-link,.rtmedia-actions-before-comments .rtmedia-view-conversation,#buddypress .rtmedia-actions-before-comments .rtmedia-like{border:0;font-size:13px;font-weight:normal;line-height:2;padding:0;text-transform:none}.rtmedia-actions-before-comments .rtmedia-comment-link:hover,.rtmedia-actions-before-comments .rtmedia-view-conversation:hover,#buddypress .rtmedia-actions-before-comments .rtmedia-like:hover{background:transparent}.rtmedia-comment-user-pic{float:left;margin-right:10px;max-width:36px}.rtmedia-comment-user-pic img{height:auto;max-width:100%}.rtm-comment-list.rtm-comment-list{max-height:340px;list-style:none;margin:0;overflow:auto;padding:0}.rtm-comment-list li.rtmedia-list-item.media-type-music{display:inline}.rtm-comment-list li.rtmedia-list-item.media-type-music .rtmedia-item-title{padding-left:10px}.rtm-comment-list li.rtmedia-list-item.media-type-video{display:inline}.rtm-comment-list li.rtmedia-list-item.media-type-video .rtmedia-item-title{padding-left:10px}.rtm-comment-list li.rtmedia-list-item.media-type-video .mejs-overlay-play{height:100% !important;width:100% !important;margin:auto}.rtm-comment-list li{background:#edeff4;font-size:12px;margin-bottom:1px;padding:10px;position:relative}.rtm-comment-list li:hover .rtmedia-delete-comment{opacity:1}.rtm-comment-list .rtmedia-no-comments{margin:0;padding:5px 10px}.rtmedia-like-info{background:#edeff4;font-size:12px;margin-bottom:1px;padding:5px 10px;position:relative}.rtm-comment-wrap{overflow:hidden}.rtm-comment-wrap .rtmedia-comment-author{font-weight:700}.rtm-comment-wrap .rtmedia-comment-date{color:#999;font-size:11px}.rtmedia-comment-content{margin-top:2px}.rtmedia-delete-comment{color:#999;cursor:pointer;font-size:16px;opacity:0;position:absolute;right:5px;top:5px}.rtmedia-comment-content p{margin:0}.rtmedia-comment-content .rtmedia-comment-media-container{margin:0}.rtmedia-comment-content .rtmedia-comment{margin:auto}.rtmedia-comment-details{line-height:1.5;margin-top:-3px}.rt_media_comment_form textarea{display:inline-block;margin-bottom:5px}.rt_media_comment_form input[type=submit]{padding:3px 6px}.rtmedia-item-comments textarea{font-size:14px;padding:4px}.rtm-media-single-comments{bottom:20px;padding:10px;width:100%}.rtm-media-single-comments textarea{background-color:#edeff4;font-size:12px;line-height:14px;max-height:40px;min-height:30px;padding:4px}.rtmedia-popup{background:#fff;margin:20px auto;max-width:600px;padding:20px;position:relative;width:auto}.rtmedia-popup .rtm-modal-title{font-size:24px;margin-bottom:20px;margin-top:0}.rtmedia-popup label{display:block;margin-bottom:5px}#rtm-modal-container p{margin-bottom:10px}#rtm-mejs-video-container{margin:0 auto}.rtmedia-media-name{float:left;max-width:140px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.rtm-single-media.rtm-media-type-video{padding-bottom:40px;padding-top:40px}.rtmedia-gallery-alert-container{position:fixed;top:0;left:0;height:100%;width:100%;background-color:rgba(0,0,0,0.6);z-index:999997}.rtmedia-gallery-message-box{position:fixed;top:40%;left:50%;margin-left:auto;margin-right:auto;z-index:999999}.rtmedia-gallery-message-box span{position:relative;left:-50%}#mobile-swipe-overlay{position:absolute;display:none;width:100%;height:100%;top:0;left:0;right:0;bottom:0;background-color:rgba(255,255,255,0.7);z-index:15;cursor:pointer}#mobile-swipe-overlay .swipe-icon{position:absolute;top:30%;left:50%;font-size:50px;color:#000;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);width:200px}#mobile-swipe-overlay .swipe-icon img{width:100%}#mobile-swipe-overlay .swipe-tootlip{font-weight:800;position:absolute;padding:20px;top:45%;width:100%;text-align:center}.rtmedia-activity-container{box-sizing:border-box}.rtmedia-activity-container *,.rtmedia-activity-container *:before,.rtmedia-activity-container *:after{box-sizing:inherit}.rtmedia-activity-container .rtmedia-list.masonry{list-style:none;padding:0}.rtmedia-activity-container .rtmedia-list.masonry p{display:none}.rtmedia-activity-container .rtmedia-list.masonry:after{content:'';display:block;clear:both}.rtmedia-activity-container .rtmedia-list-item.masonry-brick{display:inline-block;float:left;width:32%;padding:0 !important}.rtmedia-activity-container .rtmedia-list-item.masonry-brick .mejs-container{min-width:33% !important;margin:0 0 5px 0;width:100% !important}.rtmedia-activity-container .rtmedia-list-item.masonry-brick .mejs-container .mejs-controls{width:100%}.rtmedia-activity-container .rtmedia-list-item.masonry-brick .mejs-container .mejs-controls .mejs-time-total{display:none}.rtmedia-activity-container .rtmedia-list-item.masonry-brick .mejs-container .mejs-controls .mejs-horizontal-volume-slider{width:20%;padding-left:5px}.rtmedia-activity-container .rtmedia-list-item.masonry-brick .mejs-container .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total{width:100%}.rtmedia-activity-container .rtmedia-list-item.masonry-brick .mejs-container .mejs-controls .mejs-horizontal-volume-slider .mejs-time-loaded{display:none}.rtmedia-activity-container .rtmedia-list-item.masonry-brick img{display:block;max-width:100%}.rtmedia-activity-container .rtmedia-list-item.masonry-brick .rtmedia-item-title{display:none}#buddypress ul.rtmedia-list li{border-bottom:0;padding-bottom:0}#buddypress .activity #activity-stream li.plupload_queue_li{padding:5px}#buddypress .activity #activity-stream li.plupload_queue_li .plupload_file_name .rtm-upload-edit-desc-wrapper textarea{width:100px}.rtmedia-activity-container .rtmedia-item-actions{display:none}.rtmedia-activity-container .rtmedia-item-title,.rtmedia-activity-container .rtmedia-item-title a{border:0;color:#666;font-size:13px;margin:5px 0 0;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}#rtmedia-whts-new-upload-container div{left:0 !important;position:absolute;top:0 !important}#whats-new-submit{display:-webkit-box;display:-ms-flexbox;display:flex}#aw-whats-new-submit,.rtmedia-add-media-button{display:block;line-height:initial}#aw-whats-new-reset{background:#fff;border:1px solid #dedede}#aw-whats-new-reset:hover{text-decoration:none;border:1px solid #999;background:#ededed;outline:0;color:#333}.rtm-drag-drop-active{border:4px dashed green !important;display:block;height:100%;opacity:0.5;z-index:9999}#rtm-drop-files-title{background:rgba(0,0,0,0.2);display:none;font-size:14px;height:100%;padding:20px;position:absolute;top:0;width:100%}#rtSelectPrivacy{float:right}form.rt_media_comment_form .rtmedia-plupload-container{overflow:hidden}.rtmedia-plupload-container{position:relative;float:left}.rtm-upload-button-wrapper{float:left;margin-right:5px}#rtmedia-action-update{margin-right:10px}.rtmedia-list-item.media-type-photo,.rtmedia-list-item.media-type-document,.rtmedia-list-item.media-type-music,.rtmedia-list-item.media-type-video{display:inline-block}.media-type-music .mejs-container{margin-bottom:10px}.previous-pagination{float:left;margin-top:10px}.next-pagination{float:right;margin-top:10px}@media screen and (max-width: 500px){#activity-stream li .media-type-video{width:100%}#activity-stream li .media-type-video .mejs-video{max-width:100%;min-width:100%}}#rtmedia_show_all_comment{cursor:pointer}#rtmedia_show_all_comment:hover{text-decoration:underline}#whats-new-options{opacity:0;display:none}#whats-new-options .rtmedia-uploader-div{opacity:0;display:none;visibility:hidden}.bp-nouveau .activity-update-form .rtmedia-uploader-div{margin-left:8.5%}.bp-nouveau .activity-update-form .rtmedia-plupload-container{width:-webkit-fit-content;width:fit-content}.bp-nouveau .activity-update-form .rtmedia-upload-terms{float:left}.bp-nouveau .activity-update-form .rtmedia-upload-terms #rtmedia_upload_terms_conditions{margin-left:20px}.bp-nouveau .activity-update-form #aw-whats-new-submit{margin-top:15px}.bp-nouveau .activity-update-form #aw-whats-new-reset{margin-top:15px}.ac-form .rtmedia-uploader-div,.rt_media_comment_form .rtmedia-uploader-div{opacity:1;display:block;visibility:visible}#whats-new-options{opacity:0;display:none}a.rtmedia-comment-link{display:none}a.rtmedia-comment-link.rtmedia-comments-link{display:initial}.mejs-poster.mejs-layer{height:0 !important}.bp-legacy #buddypress #activity-stream .rtmedia-item-title{margin:0px}.bp-legacy #buddypress #activity-stream .rtmedia-item-title p{margin:0px}.bp-legacy #buddypress #activity-stream .media-type-video .rtmedia-item-title{margin:-20px}.rtmedia-album-edit .rtm-checkbox-wrap{background:rgba(255,255,255,0.9);height:30px;line-height:1;padding:10px;position:absolute;z-index:10}.rtmedia-album-edit .rtmedia-item-selector{position:relative;top:-7px}.rtmedia-album-edit .rtmedia-move-container{display:none}.rtm-single-actions.rtm-item-actions{float:none}.rtm-media-type-music .rtmedia-media{width:100%}#buddypress ul.rtmedia-album-list li.rtmedia-list-item{border:1px solid #ddd;padding:5px;border-radius:5px;width:auto}.media-item .describe{border-collapse:collapse;width:100%;border-top-style:solid;border-top-width:1px;clear:both;cursor:default}.media-item.media-blank .describe{border:0}.media-item .describe th{vertical-align:top;text-align:left;padding:5px 10px 10px;width:140px}.media-item .describe .align th{padding-top:0}.media-item .media-item-info tr{background-color:transparent}.media-item .describe td{padding:0 8px 8px 0;vertical-align:top}.media-item thead.media-item-info td{padding:4px 10px 0}.media-item .media-item-info .A1B1{padding:0 0 0 10px}.media-item td.savesend{padding-bottom:15px}.media-item .thumbnail{max-height:128px;max-width:128px}#wpbody-content #async-upload-wrap a{display:none}.media-upload-form{margin-top:20px}.media-upload-form td label{margin-right:6px;margin-left:2px}.media-upload-form .align .field label{display:inline;padding:0 0 0 23px;margin:0 1em 0 3px;font-weight:bold}.media-upload-form tr.image-size label{margin:0 0 0 5px;font-weight:bold}.media-upload-form th.label label{font-weight:bold;margin:0.5em;font-size:13px}.media-upload-form th.label label span{padding:0 5px}abbr.required{border:medium none;text-decoration:none}.media-item .describe input[type="text"],.media-item .describe textarea{width:460px}.media-item .describe p.help{margin:0;padding:0 0 0 5px}.media-item .edit-attachment,.describe-toggle-on,.describe-toggle-off{display:block;line-height:36px;float:right;margin-right:15px}.media-item .describe-toggle-off,.media-item.open .describe-toggle-on{display:none}.media-item.open .describe-toggle-off{display:block}#media-items .media-item{border-style:solid;border-width:1px;min-height:36px;position:relative;margin-top:-1px;width:100%}#media-items{width:623px}.media-new-php #media-items{margin:1em 0}#media-items:empty{border:0 none}.media-item .filename{line-height:36px;overflow:hidden;padding:0 10px}.media-item .error-div{padding-left:10px}.media-item .pinkynail{float:left;margin:2px 2px 0;max-width:40px;max-height:32px}.media-item .startopen,.media-item .startclosed{display:none}.media-item .original{position:relative;height:34px}.media-item .progress{float:right;height:22px;margin:6px 10px 0 0;width:200px;line-height:2em;padding:0;overflow:hidden;margin-bottom:2px;border:1px solid #d1d1d1;background:#f7f7f7;background-image:-webkit-gradient(linear, left bottom, left top, from(#fff), to(#f7f7f7));background-image:-webkit-linear-gradient(bottom, #fff, #f7f7f7);background-image:linear-gradient(to top, #fff, #f7f7f7);border-radius:3px;box-shadow:inset 0 0 3px rgba(0,0,0,0.1)}.media-item .bar{z-index:9;width:0;height:100%;margin-top:-24px;background-color:#8cc1e9;background-image:-webkit-gradient(linear, left bottom, left top, from(#72a7cf), to(#8cc1e9));background-image:-webkit-linear-gradient(bottom, #72a7cf, #8cc1e9);background-image:linear-gradient(to top, #72a7cf, #8cc1e9);border-radius:3px;box-shadow:0 0 3px rgba(0,0,0,0.3)}.media-item .progress .percent{z-index:10;position:relative;width:200px;padding:0 8px;text-shadow:0 1px 0 rgba(255,255,255,0.4);color:rgba(0,0,0,0.6)}.upload-php .fixed .column-parent{width:15%}.js .html-uploader #plupload-upload-ui{display:none}.js .html-uploader #html-upload-ui{display:block}.media-upload-form .media-item.error{margin:0;padding:0}.media-upload-form .media-item.error p,.media-item .error-div{line-height:16px;margin:5px 10px;padding:0}.media-item .error-div a.dismiss{display:block;float:right;margin:5px 4px 0 15px}.find-box{width:600px;height:300px;overflow:hidden;padding:33px 0 51px;position:absolute;z-index:1000}.find-box-head{cursor:move;font-weight:bold;height:2em;line-height:2em;padding:1px 12px;position:absolute;top:5px;width:100%}.find-box-inside{overflow:auto;padding:6px;height:100%}.find-box-search{overflow:hidden;padding:9px;position:relative}.find-box-search .spinner{float:none;left:125px;position:absolute;top:9px}#find-posts-input{float:left;width:140px;height:24px}#find-posts-search{float:left;margin:1px 4px 0 3px}#find-posts-response{margin:8px 0;padding:0 1px 6px}#find-posts-response table{width:100%}#find-posts-response .found-radio{padding:3px 0 0 8px;width:15px}.find-box-buttons{padding:8px;overflow:hidden}.find-box #resize-se{position:absolute;right:1px;bottom:1px}.ui-find-overlay{position:absolute;top:0;left:0;background-color:#000;opacity:0.6;filter:alpha(opacity=60)}ul#dismissed-updates{display:none}form.upgrade{margin-top:8px}form.upgrade .hint{font-style:italic;font-size:85%;margin:-0.5em 0 2em 0}#poststuff .inside .the-tagcloud{margin:5px 0 10px;padding:8px;border-width:1px;border-style:solid;line-height:1.8em;word-spacing:3px;border-radius:6px}.drag-drop #drag-drop-area{border:4px dashed #DDDDDD;height:200px}.drag-drop .drag-drop-inside{margin:70px auto 0;width:250px}.drag-drop-inside p{color:#aaa;font-size:14px;margin:5px 0;display:none}.drag-drop .drag-drop-inside p{text-align:center}.drag-drop-inside p.drag-drop-info{font-size:20px}.drag-drop .drag-drop-inside p,.drag-drop-inside p.drag-drop-buttons{display:block}.drag-drop.drag-over #drag-drop-area{border-color:#83b4d8}#plupload-upload-ui{position:relative}.describe .image-editor{vertical-align:top}.imgedit-wrap{position:relative}#item-body .imgedit-settings .imgedit-group-top h2{display:inline-block;margin:0}.rtmedia-container .rtmedia-image-editor-cotnainer label{display:inline-block;float:none;margin-right:0}.rtmedia-container .rtmedia-image-editor-cotnainer .dashicons-editor-help{padding:0;height:auto;margin-top:10px}.rtmedia-container .rtmedia-image-editor-cotnainer .hidden{display:none}.imgedit-settings p{margin:8px 0}.post-php .imgedit-wrap table{width:100%}.describe .imgedit-wrap table td,.wp_attachment_holder .imgedit-wrap table td{vertical-align:top;padding-top:0}.describe .imgedit-wrap table td.imgedit-settings{padding:0 5px}.wp_attachment_holder .imgedit-wrap table td.imgedit-settings{width:250px}td.imgedit-settings input{margin-top:0;vertical-align:middle}.imgedit-wait{position:absolute;top:0;background:#fff url(../../../../../../wp-admin/images/wpspin_light.gif) no-repeat scroll 22px 10px;background-size:16px 16px;opacity:0.7;filter:alpha(opacity=70);width:100%;height:500px;display:none}.spinner{background:url(../../../../../../wp-admin/images/wpspin_light.gif) no-repeat;background-size:16px 16px;display:none;float:right;opacity:0.7;filter:alpha(opacity=70);width:16px;height:16px;margin:5px 5px 0}.no-float{float:none}.media-disabled,.imgedit-settings .disabled{color:grey}.wp_attachment_image,.A1B1{overflow:hidden}.wp_attachment_image .button,.A1B1 .button{float:left;margin:10px 0px}.no-js .wp_attachment_image .button{display:none}.wp_attachment_image .spinner,.A1B1 .spinner{float:left;padding:0 4px 4px;vertical-align:bottom}.imgedit-menu{margin:0 0 12px;min-width:300px}.imgedit-menu div{float:left;width:32px;height:32px}.imgedit-crop-wrap{position:relative}.imgedit-crop{margin:0 3px 0 0}.imgedit-crop.disabled:hover{background-position:-9px -31px}.imgedit-crop:hover{background-position:-9px -1px}.imgedit-rleft{margin:0 3px}.imgedit-rleft.disabled:hover{background-position:-46px -31px}.imgedit-rleft:hover{background-position:-46px -1px}.imgedit-rright{margin:0 3px 0 3px}.imgedit-rright.disabled:hover{background-position:-77px -31px}.imgedit-rright:hover{background-position:-77px -1px}.imgedit-flipv{margin:0 3px}.imgedit-flipv.disabled:hover{background-position:-115px -31px}.imgedit-flipv:hover{background-position:-115px -1px}.imgedit-fliph{margin:0 8px 0 3px}.imgedit-fliph.disabled:hover{background-position:-147px -31px}.imgedit-fliph:hover{background-position:-147px -1px}.imgedit-undo{margin:5px 3px 0px 0px}.imgedit-undo.disabled:hover{background-position:-184px -31px}.imgedit-undo:hover{background-position:-184px -1px}.imgedit-redo{margin:5px 0px 0px 3px}.imgedit-redo.disabled:hover{background-position:-215px -31px}.imgedit-redo:hover{background-position:-215px -1px}.imgedit-applyto img{margin:0 8px 0 0}.imgedit-group h3{font-size:18px}.imgedit-group .dashicons{border:0;line-height:1.2}.imgedit-group-top{margin:5px 0}.imgedit-applyto .imgedit-label{padding:2px 0 0;display:block}.imgedit-help{display:none;font-style:italic;margin-bottom:8px}a.imgedit-help-toggle{text-decoration:none}.form-table td.imgedit-response{padding:0}.imgedit-submit{margin:8px 0}.imgedit-submit-btn{margin-left:20px}.imgedit-wrap .nowrap{white-space:nowrap}span.imgedit-scale-warn{color:red;font-size:20px;font-style:normal;visibility:hidden;vertical-align:middle}.wp_attachment_details{margin-bottom:20px}.imgedit-menu div{border-color:#d5d5d5;background-color:#f1f1f1}.imgedit-menu div:hover{border-color:#c1c1c1;background-color:#eaeaea}.imgedit-menu div.disabled{border-color:#ccc;background-color:#ddd;filter:alpha(opacity=50);opacity:0.5}.bp-media-image-editor-cotnainer{margin-top:35px}.wp_attachment_image .bp-media-image-edit{float:left}.wp_attachment_image .spinner{display:none}.bp-media-image-editor-cotnainer .hidden{display:none}.bp-media-image-editor-cotnainer div.updated{margin:5px 0 15px;background-color:#ffffe0;border-color:#e6db55;padding:0 .6em;border-radius:3px;border-width:1px;border-style:solid}.bp-media-image-editor-cotnainer div.updated p{margin:.5em 0;padding:2px}body article.bp_members.bp_member .entry-content,body div.bp_members.bp_member .entry-content{width:100%}.rtm-media-gallery-uploader{display:none}h2.rtm-gallery-title{margin:10px 0}.rtmedia-uploader .drag-drop{border:4px dashed #DDD;text-align:center;background:#fafafa;overflow:hidden;color:#AAAAAA;margin-top:20px;padding:25px 0}.rtmedia-uploader .drag-drop.dragover{border-color:#83b4d8}.rtmedia-uploader .drag-drop .drag-drop-info{font-size:20px;line-height:24px}.rtmedia-uploader .drag-drop .rtm-select-files span{vertical-align:middle}.rtmedia-uploader .drag-drop .rtm-seperator{margin:0px 20px}.rtmedia-uploader .drag-drop .start-media-upload{display:none;margin-top:20px}.rtmedia-uploader .drag-drop .rtm-file-size-limit{vertical-align:middle;font-size:16px;line-height:24px}.rtm-uploader-main-wrapper .rtm-uploader-tabs{margin-bottom:10px;text-align:left}.rtm-uploader-main-wrapper ul{border-bottom:1px solid #CCC}.rtm-uploader-main-wrapper li{margin:0 0 -1px 10px;display:inline-block;padding:5px 10px;line-height:25px;background-color:#e4e4e4;border:1px solid #CCC}.rtm-uploader-main-wrapper li.active{background:transparent;border-left:1px solid #CCC;border-top:1px solid #CCC;border-right:1px solid #CCC;border-bottom:1px solid #fafafa}.rtm-uploader-main-wrapper li:hover{cursor:pointer}.rtmedia-container .rtmedia-list{margin:10px -5px}.rtmedia-container .rtmedia-list .rtmedia-list-item{float:left;margin:5px;position:relative}.rtmedia-container .rtmedia-list .rtmedia-list-item>a{display:block}.rtmedia-container .rtmedia-list .rtmedia_time{background-color:#000;color:#fff;display:inline-block;font-size:11px;font-weight:bold;line-height:14px;opacity:0.75;padding:0 4px;position:absolute;right:2px;top:2px}.rtmedia-container .rtmedia-list img{vertical-align:top}.rtmedia-container .rtmedia-list .rtmedia-item-title h4{color:#666;font-size:12px;font-weight:normal;margin:5px 0 0;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}.rtm-load-more{background:#eee;text-align:center;line-height:50px}.rtmedia-container .rtm-load-more a{border:0;padding:10px 0}.rtm-load-more .rtm-media-loading{padding:10px 0}.rtm-media-options.rtm-media-search-enable>*:nth-last-child(2){border-right:none}.rtm-media-options{line-height:1.4;margin-bottom:10px;clear:both}.rtm-media-options>div{display:inline-block;cursor:pointer}.rtm-media-options .rtm-media-options-list{margin-right:5px;padding-right:10px;position:relative}.rtm-media-options>*{border-right:1px solid #999}.rtm-media-options>*:last-child{border-right:none}.rtm-media-options .dashicons{font-size:inherit;line-height:1.4}#buddypress .media_search.media_search .search_by{margin-top:3px}.bp-legacy.media #buddypress #item-header-cover-image .user-nicename{margin-bottom:20px}.bp-legacy.media #buddypress div#item-header div#item-header-content ul li,.bp-legacy.media #buddypress div#item-header div#item-header-content ul div{float:left;margin:2px 10px}.bp-legacy.media #buddypress div#item-header div#item-header-content button,.bp-legacy.media #buddypress div#item-header div#item-header-content a{background:#fff;border:1px solid #ccc;color:#767676;font-size:small;cursor:pointer;outline:none;padding:4px 10px;text-align:center;text-decoration:none}.bp-legacy.media #buddypress div#item-header div#item-header-content button:hover,.bp-legacy.media #buddypress div#item-header div#item-header-content a:hover{background:#ededed;border:1px solid #bbb;color:#555;outline:none}.bp-nouveau.media .entry-title{font-size:34px;font-weight:inherit;margin-bottom:0}.bp-nouveau.media .entry-title a{color:#767676}.bp-nouveau.media #buddypress #item-header-cover-image .user-nicename{margin-top:15px;margin-bottom:30px}.bp-nouveau.media #buddypress div#item-header div#item-header-content ul li,.bp-nouveau.media #buddypress div#item-header div#item-header-content ul div{float:left;margin:2px 10px}.bp-nouveau.media #buddypress div#item-header div#item-header-content button,.bp-nouveau.media #buddypress div#item-header div#item-header-content a{background:#fff;border-color:#ccc;border-style:solid;border-width:1px;color:#555;cursor:pointer;font-size:inherit;font-weight:400;outline:none;padding:0.3em 0.5em;text-align:center;text-decoration:none;width:auto}.bp-nouveau.media #buddypress div#item-header div#item-header-content button:hover,.bp-nouveau.media #buddypress div#item-header div#item-header-content a:hover{background:#ededed;border-color:#999999;color:#333;outline:none;text-decoration:none}.media_search.media_search{float:right;border:1px solid #ccc;margin-left:5px;padding:3px 0}.media_search.media_search .media_search_input{width:200px;outline:0;max-width:200px;margin:0;box-shadow:none;padding:5px 6px;border:none;background:transparent;float:left;max-height:30px}.media_search.media_search #media_fatch_loader.load{float:left;width:20px;height:30px;position:relative}.media_search.media_search #media_fatch_loader.load:before{content:'';border-radius:50%;border:1px solid #aaa;border-top-color:rgba(255,255,255,0.9);animation:spinner .8s linear infinite;-webkit-animation:spinner .8s linear infinite;position:absolute;width:15px;height:15px;top:24%}.media_search.media_search .search_option{padding:0;background:transparent;color:#000;margin-bottom:0;line-height:1;border:none}.media_search.media_search .media_search_remove.search_option{display:none}.media_search.media_search .media_search_remove.search_option i{margin-top:4px}.media_search.media_search .search_by{background:transparent;margin-top:3px;float:left;width:auto;margin-bottom:0;height:auto;padding-top:0;padding-bottom:0}@keyframes spinner{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner{to{-webkit-transform:rotate(360deg)}}.rtmedia-upload-media-link{cursor:pointer}a.rtmedia-upload-media-link{border:none}.rtm-album-privacy span{font-size:16px;display:inline-block;margin:0 20px 20px 20px;vertical-align:top}.rtm-album-privacy label{margin-right:8px}.rtm-album-privacy .dashicons{font-size:16px;line-height:1.6;margin-right:5px}#rtm-media-options-list .rtmedia-delete-album{background:transparent;border:0;color:#fff;font-family:inherit;font-size:inherit;font-weight:inherit;padding:0;text-transform:inherit}#rtm-media-options-list .rtmedia-delete-album:hover{background:transparent;border:0;color:#fff}.rtmedia-single-container button.rtmedia-like{background-color:transparent;color:inherit}#buddypress #item-body{padding:0 20px}#buddypress .mejs-controls button{padding:4px 8px;border:none;background:transparent url("../../../lib/media-element/mejs-controls.png") no-repeat}#buddypress .mejs-controls .mejs-play>button{background-position:0 0}#buddypress .mejs-controls .mejs-pause>button{background-position:-20px 0}#buddypress .mejs-controls .mejs-unmute>button{background-position:-40px 0}#buddypress .mejs-controls .mejs-mute>button{background-position:-60px 0}#buddypress .mejs-controls .mejs-fullscreen-button>button{background-position:-80px 0}#buddypress .mejs-controls .mejs-unfullscreen>button{background-position:-100px 0}#buddypress .mejs-controls .mejs-replay>button{background-position:-160px 0}.mejs-container .mejs-controls .mejs-time{padding:15px 3px 0;content:''}.rtmedia-activity-container .mejs-playpause-button.mejs-play button:before,.rtmedia-activity-container .mejs-playpause-button.mejs-pause button:before,.rtmedia-activity-container .mejs-volume-button.mejs-mute button:before,.rtmedia-activity-container .mejs-fullscreen-button button:before,.rtmedia-media .mejs-playpause-button.mejs-play button:before,.rtmedia-media .mejs-playpause-button.mejs-pause button:before,.rtmedia-media .mejs-volume-button.mejs-mute button:before,.rtmedia-media .mejs-fullscreen-button button:before{content:''}@media only screen and (min-width: 1025px){.mfp-content .rtm-lightbox-container{display:-webkit-box;display:-ms-flexbox;display:flex;table-layout:fixed;width:100%;min-height:473px}.mfp-content .rtm-mfp-close{background:transparent}.mfp-content .rtm-single-media{display:-webkit-box;display:-ms-flexbox;display:flex;width:66.6667%;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mfp-content .rtm-single-meta{display:block;width:33.3333%;padding:20px}.mfp-content .rtm-single-meta .rtmedia-scroll{height:100%;overflow-X:hidden}}@media screen and (max-width: 562px){.media_search.media_search{float:left}}.rtl #rtSelectPrivacy{float:left}.rtl .rtmedia-plupload-container{float:right}.rtl .rtm-upload-button-wrapper{float:right}.rtl #whats-new-post-in-box{float:right}.rtl .describe-toggle-off{float:left}.rtl .media-item .pinkynail{float:right}.rtl .media-item .progress{float:left}.rtl .media-item .error-div a.dismiss{float:left}.rtl #find-posts-input{float:right}.rtl #find-posts-search{float:right}.rtl .spinner{float:left}.rtl .wp_attachment_image .button,.rtl .A1B1 .button{float:right}.rtl .wp_attachment_image .spinner,.rtl .A1B1 .spinner{float:right}.rtl .imgedit-menu div{float:right}.rtl .wp_attachment_image .bp-media-image-edit{float:right}.rtl .rtmedia-container .rtmedia-list .rtmedia-list-item{float:right}.rtl #buddypress #rtm-media-options-list .rtm-options .button{float:right}.rtl .rtm-ltb-title{float:right}.rtl .rtm-item-actions{float:left}.rtl .rtm-item-actions>div,.rtl .rtm-item-actions>form{float:right}.rtl .userprofile{float:right}.rtl .rtmedia-actions-before-comments>span{float:right}.rtl .rtmedia-comment-user-pic{float:right}.rtl .rtmedia-media-name{float:right}.rtl #rtmedia-uploader-form .rtm-plupload-list li,.rtl #rtmedia_uploader_filelist li{float:right}.rtl #rtmedia-uploader-form .rtm-plupload-list canvas,.rtl #rtmedia_uploader_filelist canvas{display:block;width:100px;height:100px}.rtl .rtm-page-number{float:right}.rtl .rtm-page-number .rtmedia-page-link{float:right}.rtl .rtm-pagination{float:right}.rtl .rtm-pagination .rtm-paginate{float:left}.rtl .rtm-tabs li{float:right}.rtl .alignleft{float:right}.rtl .alignright{float:left}.rtl .rtmedia-action-buttons{padding-left:4px}.rtl .rtm-media-options>*{border-right:none}.rtl .rtm-media-options>*:nth-last-child(1){border-right:1px solid #999;padding-right:4px}.rtl .rtm-media-options.rtm-media-search-enable>*{border-right:none}.rtl .rtm-media-options.rtm-media-search-enable>*:nth-last-child(2){border-right:1px solid #999;padding-right:4px}.rtl #rtm-modal-container{text-align:right}
|
app/assets/css/sass/_img-edit.scss
CHANGED
@@ -513,6 +513,7 @@ td.imgedit-settings input {
|
|
513 |
.wp_attachment_image .button,
|
514 |
.A1B1 .button {
|
515 |
float: left;
|
|
|
516 |
}
|
517 |
|
518 |
.no-js .wp_attachment_image .button {
|
@@ -542,7 +543,7 @@ td.imgedit-settings input {
|
|
542 |
}
|
543 |
|
544 |
.imgedit-crop {
|
545 |
-
margin: 0
|
546 |
}
|
547 |
|
548 |
.imgedit-crop.disabled:hover {
|
@@ -566,7 +567,7 @@ td.imgedit-settings input {
|
|
566 |
}
|
567 |
|
568 |
.imgedit-rright {
|
569 |
-
margin: 0
|
570 |
}
|
571 |
|
572 |
.imgedit-rright.disabled:hover {
|
@@ -602,7 +603,7 @@ td.imgedit-settings input {
|
|
602 |
}
|
603 |
|
604 |
.imgedit-undo {
|
605 |
-
margin:
|
606 |
}
|
607 |
|
608 |
.imgedit-undo.disabled:hover {
|
@@ -614,7 +615,7 @@ td.imgedit-settings input {
|
|
614 |
}
|
615 |
|
616 |
.imgedit-redo {
|
617 |
-
margin:
|
618 |
}
|
619 |
|
620 |
.imgedit-redo.disabled:hover {
|
513 |
.wp_attachment_image .button,
|
514 |
.A1B1 .button {
|
515 |
float: left;
|
516 |
+
margin: 10px 0px;
|
517 |
}
|
518 |
|
519 |
.no-js .wp_attachment_image .button {
|
543 |
}
|
544 |
|
545 |
.imgedit-crop {
|
546 |
+
margin: 0 3px 0 0;
|
547 |
}
|
548 |
|
549 |
.imgedit-crop.disabled:hover {
|
567 |
}
|
568 |
|
569 |
.imgedit-rright {
|
570 |
+
margin: 0 3px 0 3px;
|
571 |
}
|
572 |
|
573 |
.imgedit-rright.disabled:hover {
|
603 |
}
|
604 |
|
605 |
.imgedit-undo {
|
606 |
+
margin: 5px 3px 0px 0px;
|
607 |
}
|
608 |
|
609 |
.imgedit-undo.disabled:hover {
|
615 |
}
|
616 |
|
617 |
.imgedit-redo {
|
618 |
+
margin: 5px 0px 0px 3px;
|
619 |
}
|
620 |
|
621 |
.imgedit-redo.disabled:hover {
|
app/assets/css/sass/_rtm.scss
CHANGED
@@ -206,7 +206,7 @@ button#rtmedia-add-media-button-post-update {
|
|
206 |
|
207 |
#buddypress {
|
208 |
a.rtm-button-back {
|
209 |
-
padding:
|
210 |
}
|
211 |
div.rtmedia-page-no.rtm-page-number {
|
212 |
a.rtmedia-page-link.button {
|
206 |
|
207 |
#buddypress {
|
208 |
a.rtm-button-back {
|
209 |
+
padding: 4px 10px;
|
210 |
}
|
211 |
div.rtmedia-page-no.rtm-page-number {
|
212 |
a.rtmedia-page-link.button {
|
app/assets/js/rtMedia.backbone.js
CHANGED
@@ -1811,8 +1811,8 @@ jQuery( document ).ready( function( $ ) {
|
|
1811 |
}
|
1812 |
|
1813 |
options.data += '&rtmedia-privacy=' + dynamic_privacy;
|
1814 |
-
var orignalSuccess = originalOptions.
|
1815 |
-
options.
|
1816 |
orignalSuccess( response );
|
1817 |
if ( response[0] + response[1] == '-1' ) {
|
1818 |
//Error
|
@@ -1905,7 +1905,7 @@ jQuery( document ).ready( function( $ ) {
|
|
1905 |
rtMediaScrollComments();
|
1906 |
|
1907 |
/** refreshing fragments */
|
1908 |
-
if ( false == $('body').hasClass('activity')) {
|
1909 |
galleryObj.reloadView();
|
1910 |
}
|
1911 |
},
|
1811 |
}
|
1812 |
|
1813 |
options.data += '&rtmedia-privacy=' + dynamic_privacy;
|
1814 |
+
var orignalSuccess = originalOptions.done;
|
1815 |
+
options.done = function( response ) {
|
1816 |
orignalSuccess( response );
|
1817 |
if ( response[0] + response[1] == '-1' ) {
|
1818 |
//Error
|
1905 |
rtMediaScrollComments();
|
1906 |
|
1907 |
/** refreshing fragments */
|
1908 |
+
if ( false == $( 'body' ).hasClass( 'activity' ) && false == $( 'body' ).hasClass( 'groups' ) ) {
|
1909 |
galleryObj.reloadView();
|
1910 |
}
|
1911 |
},
|
app/assets/js/rtMedia.js
CHANGED
@@ -4,979 +4,980 @@ var comment_media = false;
|
|
4 |
|
5 |
jQuery( document ).ready( function () {
|
6 |
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
});
|
32 |
|
33 |
function apply_rtMagnificPopup( selector ) {
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
}
|
221 |
var rtMediaHook = {
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
};
|
243 |
|
244 |
//Drop-down js
|
245 |
function rtmedia_init_action_dropdown( parent ) {
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
}
|
262 |
|
263 |
jQuery( 'document' ).ready( function( $ ) {
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
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 |
-
|
576 |
-
|
577 |
-
|
578 |
-
|
579 |
-
|
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 |
-
|
652 |
-
|
653 |
-
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
-
|
679 |
-
|
680 |
-
|
681 |
-
|
682 |
-
|
683 |
-
|
684 |
-
|
685 |
-
|
686 |
-
|
687 |
-
|
688 |
-
|
689 |
-
|
690 |
-
|
691 |
-
|
692 |
-
|
693 |
-
|
694 |
-
|
695 |
-
|
696 |
-
|
697 |
-
|
698 |
-
|
699 |
-
|
700 |
-
|
701 |
-
|
702 |
-
|
703 |
-
|
704 |
-
|
705 |
-
|
706 |
-
|
707 |
-
|
708 |
-
|
709 |
-
|
710 |
-
|
711 |
-
|
712 |
-
|
713 |
-
|
714 |
-
|
715 |
-
|
716 |
-
|
717 |
-
|
718 |
-
|
719 |
-
|
720 |
-
|
721 |
-
|
722 |
-
|
723 |
-
|
724 |
-
|
725 |
-
|
726 |
-
|
727 |
-
|
728 |
-
|
729 |
-
|
730 |
-
|
731 |
-
|
732 |
-
|
733 |
-
|
734 |
-
|
735 |
-
|
736 |
-
|
737 |
-
|
738 |
-
|
739 |
-
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
|
744 |
-
|
745 |
-
|
746 |
-
|
747 |
-
|
748 |
-
|
749 |
-
|
750 |
-
|
751 |
-
|
752 |
-
|
753 |
-
|
754 |
-
|
755 |
-
|
756 |
-
|
757 |
-
|
758 |
-
|
759 |
-
|
760 |
-
|
761 |
-
|
762 |
-
|
763 |
-
|
764 |
-
|
765 |
-
|
766 |
-
|
767 |
-
|
768 |
-
|
769 |
-
|
770 |
-
|
771 |
-
|
772 |
-
|
773 |
-
|
774 |
-
|
775 |
-
|
776 |
-
|
777 |
-
|
778 |
-
|
779 |
-
|
780 |
-
|
781 |
-
|
782 |
-
|
783 |
-
|
784 |
-
|
785 |
-
|
786 |
-
|
787 |
-
|
788 |
-
|
789 |
-
|
790 |
-
|
791 |
-
|
792 |
-
|
793 |
-
|
794 |
-
|
795 |
-
|
796 |
-
|
797 |
-
|
798 |
-
|
799 |
-
|
800 |
-
|
801 |
-
|
802 |
-
|
803 |
-
|
804 |
-
|
805 |
-
|
806 |
-
|
807 |
-
|
808 |
-
|
809 |
-
|
810 |
-
|
811 |
-
|
812 |
-
|
813 |
-
|
814 |
-
|
815 |
-
|
816 |
-
|
817 |
-
|
818 |
-
|
819 |
-
|
820 |
-
|
821 |
-
|
822 |
-
|
823 |
-
|
824 |
-
|
825 |
-
|
826 |
-
|
827 |
-
|
828 |
-
|
829 |
-
|
830 |
-
|
831 |
-
|
832 |
-
|
833 |
-
|
834 |
-
|
835 |
-
|
836 |
-
|
837 |
-
|
838 |
-
|
839 |
-
|
840 |
-
|
841 |
-
|
842 |
-
|
843 |
-
|
844 |
-
|
845 |
-
|
846 |
-
|
847 |
-
|
848 |
-
|
849 |
-
|
850 |
-
|
851 |
-
|
852 |
-
|
853 |
-
|
854 |
-
|
855 |
-
|
856 |
-
|
857 |
-
|
858 |
-
|
859 |
-
|
860 |
-
|
861 |
-
|
862 |
-
|
863 |
-
|
864 |
-
|
865 |
-
|
866 |
-
|
867 |
-
|
868 |
-
|
869 |
-
|
870 |
-
|
871 |
-
|
872 |
-
|
873 |
-
|
874 |
-
|
875 |
-
|
876 |
-
|
877 |
-
|
878 |
-
|
879 |
-
|
880 |
-
|
881 |
-
|
882 |
-
|
883 |
-
|
884 |
-
|
885 |
-
|
886 |
-
|
887 |
-
|
888 |
-
|
889 |
-
|
890 |
-
|
891 |
-
|
892 |
-
|
893 |
-
|
894 |
-
|
895 |
-
|
896 |
-
|
897 |
-
|
898 |
-
|
899 |
-
|
900 |
-
|
901 |
-
|
902 |
-
|
903 |
-
|
904 |
-
|
905 |
-
|
906 |
-
|
907 |
-
|
908 |
-
|
909 |
-
|
910 |
-
|
911 |
-
|
912 |
-
|
913 |
-
|
914 |
-
|
915 |
-
|
916 |
-
|
917 |
-
|
918 |
-
|
919 |
-
|
920 |
-
|
921 |
-
|
922 |
-
|
923 |
-
|
924 |
-
|
925 |
-
|
926 |
-
|
927 |
-
|
928 |
-
|
929 |
-
|
930 |
-
|
931 |
-
|
932 |
-
|
933 |
-
|
934 |
-
|
935 |
-
|
936 |
-
|
937 |
-
|
938 |
-
|
|
|
939 |
} );
|
940 |
|
941 |
//Legacy media element for old activities
|
942 |
function bp_media_create_element( id ) {
|
943 |
-
|
944 |
}
|
945 |
|
946 |
function rtmedia_version_compare( left, right ) {
|
947 |
-
|
948 |
-
|
949 |
-
|
950 |
-
|
951 |
-
|
952 |
-
|
953 |
-
|
954 |
-
|
955 |
-
|
956 |
-
|
957 |
-
|
958 |
-
|
959 |
-
|
960 |
-
|
961 |
-
|
962 |
-
|
963 |
-
|
964 |
-
|
965 |
}
|
966 |
|
967 |
function rtm_is_element_exist( el ) {
|
968 |
-
|
969 |
-
|
970 |
-
|
971 |
-
|
972 |
-
|
973 |
}
|
974 |
|
975 |
function rtm_masonry_reload( el ) {
|
976 |
-
|
977 |
-
|
978 |
-
|
979 |
-
|
980 |
}
|
981 |
|
982 |
/*
|
@@ -985,155 +986,155 @@ function rtm_masonry_reload( el ) {
|
|
985 |
* and open the template in the editor.
|
986 |
*/
|
987 |
(function( $ ) {
|
988 |
-
|
989 |
-
|
990 |
-
|
991 |
-
|
992 |
-
|
993 |
-
|
994 |
-
|
995 |
-
|
996 |
-
|
997 |
-
|
998 |
-
|
999 |
-
|
1000 |
-
|
1001 |
-
|
1002 |
-
|
1003 |
-
|
1004 |
-
|
1005 |
-
|
1006 |
-
|
1007 |
-
|
1008 |
-
|
1009 |
-
|
1010 |
-
|
1011 |
-
|
1012 |
-
|
1013 |
-
|
1014 |
-
|
1015 |
-
|
1016 |
-
|
1017 |
-
|
1018 |
-
|
1019 |
-
|
1020 |
-
|
1021 |
-
|
1022 |
-
|
1023 |
-
|
1024 |
-
|
1025 |
-
|
1026 |
-
|
1027 |
-
|
1028 |
-
|
1029 |
-
|
1030 |
-
|
1031 |
-
|
1032 |
-
|
1033 |
-
|
1034 |
-
|
1035 |
-
|
1036 |
-
|
1037 |
-
|
1038 |
-
|
1039 |
-
|
1040 |
-
|
1041 |
-
|
1042 |
-
|
1043 |
-
|
1044 |
-
|
1045 |
-
|
1046 |
-
|
1047 |
-
|
1048 |
-
|
1049 |
-
|
1050 |
-
|
1051 |
-
|
1052 |
-
|
1053 |
-
|
1054 |
-
|
1055 |
-
|
1056 |
-
|
1057 |
-
|
1058 |
-
|
1059 |
-
|
1060 |
-
|
1061 |
-
|
1062 |
-
|
1063 |
-
|
1064 |
-
|
1065 |
-
|
1066 |
-
|
1067 |
-
|
1068 |
-
|
1069 |
-
|
1070 |
-
|
1071 |
-
|
1072 |
-
|
1073 |
-
|
1074 |
-
|
1075 |
-
|
1076 |
-
|
1077 |
-
|
1078 |
-
|
1079 |
-
|
1080 |
-
|
1081 |
-
|
1082 |
-
|
1083 |
-
|
1084 |
-
|
1085 |
-
|
1086 |
-
|
1087 |
-
|
1088 |
-
|
1089 |
-
|
1090 |
-
|
1091 |
-
|
1092 |
-
|
1093 |
-
|
1094 |
-
|
1095 |
-
|
1096 |
-
|
1097 |
-
|
1098 |
-
|
1099 |
-
|
1100 |
-
|
1101 |
-
|
1102 |
-
|
1103 |
-
|
1104 |
-
|
1105 |
-
|
1106 |
-
|
1107 |
-
|
1108 |
-
|
1109 |
-
|
1110 |
-
|
1111 |
-
|
1112 |
-
|
1113 |
-
|
1114 |
-
|
1115 |
-
|
1116 |
-
|
1117 |
-
|
1118 |
-
|
1119 |
-
|
1120 |
-
|
1121 |
-
|
1122 |
-
|
1123 |
-
|
1124 |
|
1125 |
})( jQuery );
|
1126 |
|
1127 |
window.onload = function() {
|
1128 |
-
|
1129 |
-
|
1130 |
-
|
1131 |
|
1132 |
-
|
1133 |
|
1134 |
-
|
1135 |
-
|
1136 |
-
|
1137 |
|
1138 |
};
|
1139 |
|
@@ -1142,158 +1143,158 @@ window.onload = function() {
|
|
1142 |
* issue: https://github.com/rtMediaWP/rtMedia/issues/834
|
1143 |
*/
|
1144 |
function rtm_search_media_text_validation() {
|
1145 |
-
|
1146 |
-
|
1147 |
-
|
1148 |
-
|
1149 |
-
|
1150 |
}
|
1151 |
|
1152 |
// Get query string parameters from url
|
1153 |
function rtmediaGetParameterByName( name ) {
|
1154 |
-
|
1155 |
-
|
1156 |
-
|
1157 |
-
|
1158 |
}
|
1159 |
|
1160 |
function rtmedia_single_media_alert_message( msg, action, is_comment ) {
|
1161 |
-
|
1162 |
-
|
1163 |
-
|
1164 |
-
|
1165 |
-
|
1166 |
-
|
1167 |
-
|
1168 |
-
|
1169 |
-
|
1170 |
-
|
1171 |
-
|
1172 |
-
|
1173 |
-
|
1174 |
-
|
1175 |
-
|
1176 |
-
|
1177 |
-
|
1178 |
-
|
1179 |
-
|
1180 |
-
|
1181 |
-
|
1182 |
-
|
1183 |
-
|
1184 |
-
|
1185 |
-
|
1186 |
-
|
1187 |
-
|
1188 |
-
|
1189 |
-
|
1190 |
-
|
1191 |
-
|
1192 |
-
|
1193 |
-
|
1194 |
-
|
1195 |
-
|
1196 |
-
|
1197 |
-
|
1198 |
-
|
1199 |
-
|
1200 |
-
|
1201 |
-
|
1202 |
-
|
1203 |
-
|
1204 |
-
|
1205 |
-
|
1206 |
-
|
1207 |
-
|
1208 |
-
|
1209 |
-
|
1210 |
-
|
1211 |
-
|
1212 |
-
|
1213 |
-
|
1214 |
-
|
1215 |
-
|
1216 |
-
|
1217 |
-
|
1218 |
-
|
1219 |
-
|
1220 |
-
|
1221 |
-
|
1222 |
-
|
1223 |
-
|
1224 |
-
|
1225 |
-
|
1226 |
-
|
1227 |
-
|
1228 |
-
|
1229 |
-
|
1230 |
-
|
1231 |
-
|
1232 |
-
|
1233 |
-
|
1234 |
-
|
1235 |
-
|
1236 |
-
|
1237 |
-
|
1238 |
-
|
1239 |
-
|
1240 |
-
|
1241 |
-
|
1242 |
-
|
1243 |
-
|
1244 |
-
|
1245 |
-
|
1246 |
-
|
1247 |
-
|
1248 |
-
|
1249 |
-
|
1250 |
-
|
1251 |
-
|
1252 |
-
|
1253 |
-
|
1254 |
-
|
1255 |
-
|
1256 |
|
1257 |
}
|
1258 |
|
1259 |
function rtmedia_gallery_action_alert_message( msg, action ) {
|
1260 |
-
|
1261 |
-
|
1262 |
-
|
1263 |
-
|
1264 |
-
|
1265 |
-
|
1266 |
-
|
1267 |
-
|
1268 |
-
|
1269 |
-
|
1270 |
-
|
1271 |
-
|
1272 |
-
|
1273 |
-
|
1274 |
-
|
1275 |
-
|
1276 |
}
|
1277 |
|
1278 |
// Set masonry view for activity
|
1279 |
function rtmedia_activity_masonry() {
|
1280 |
-
|
1281 |
-
|
1282 |
-
|
1283 |
-
|
1284 |
-
|
1285 |
-
|
1286 |
-
|
1287 |
-
|
1288 |
-
|
1289 |
-
|
1290 |
-
|
1291 |
-
|
1292 |
-
|
1293 |
-
|
1294 |
-
|
1295 |
-
|
1296 |
-
|
1297 |
}
|
1298 |
|
1299 |
/**
|
@@ -1304,80 +1305,80 @@ function rtmedia_activity_masonry() {
|
|
1304 |
*/
|
1305 |
function get_parameter( parameter, data ) {
|
1306 |
|
1307 |
-
|
1308 |
-
|
1309 |
-
|
1310 |
|
1311 |
-
|
1312 |
-
|
1313 |
-
|
1314 |
|
1315 |
-
|
1316 |
-
|
1317 |
-
|
1318 |
-
|
1319 |
|
1320 |
-
|
1321 |
-
|
1322 |
-
|
1323 |
-
|
1324 |
-
|
1325 |
}
|
1326 |
|
1327 |
/**
|
1328 |
* Prevent user to upload media without checking upload terms checkbox.
|
1329 |
*/
|
1330 |
function rtm_upload_terms_activity() {
|
1331 |
-
|
1332 |
-
|
1333 |
-
|
1334 |
-
|
1335 |
-
|
1336 |
-
|
1337 |
-
|
1338 |
-
|
1339 |
-
|
1340 |
-
|
1341 |
-
|
1342 |
-
|
1343 |
-
|
1344 |
-
|
1345 |
-
|
1346 |
-
|
1347 |
-
|
1348 |
-
|
1349 |
-
|
1350 |
-
|
1351 |
-
|
1352 |
-
|
1353 |
-
|
1354 |
-
|
1355 |
-
|
1356 |
-
|
1357 |
}
|
1358 |
|
1359 |
jQuery( document ).ready( function () {
|
1360 |
-
|
1361 |
-
|
1362 |
-
|
1363 |
-
|
1364 |
-
|
1365 |
-
|
1366 |
-
|
1367 |
-
|
1368 |
-
|
1369 |
-
|
1370 |
-
|
1371 |
-
|
1372 |
-
|
1373 |
-
|
1374 |
-
|
1375 |
-
|
1376 |
-
|
1377 |
-
|
1378 |
-
|
1379 |
-
|
1380 |
-
|
1381 |
-
|
1382 |
-
|
1383 |
});
|
4 |
|
5 |
jQuery( document ).ready( function () {
|
6 |
|
7 |
+
// Need to pass the object[key] as global variable.
|
8 |
+
if ( 'object' === typeof rtmedia_bp ) {
|
9 |
+
for( var key in rtmedia_bp ) {
|
10 |
+
window[key] = rtmedia_bp[key];
|
11 |
+
}
|
12 |
+
}
|
13 |
+
|
14 |
+
if ( 'object' === typeof rtmedia_main ) {
|
15 |
+
for( var key in rtmedia_main ) {
|
16 |
+
window[key] = rtmedia_main[key];
|
17 |
+
}
|
18 |
+
}
|
19 |
+
|
20 |
+
if ( 'object' === typeof rtmedia_upload_terms ) {
|
21 |
+
for( var key in rtmedia_upload_terms ) {
|
22 |
+
window[key] = rtmedia_upload_terms[key];
|
23 |
+
}
|
24 |
+
}
|
25 |
+
|
26 |
+
if ( 'object' === typeof rtmedia_magnific ) {
|
27 |
+
for( var key in rtmedia_magnific ) {
|
28 |
+
window[key] = rtmedia_magnific[key];
|
29 |
+
}
|
30 |
+
}
|
31 |
});
|
32 |
|
33 |
function apply_rtMagnificPopup( selector ) {
|
34 |
+
jQuery( 'document' ).ready( function( $ ) {
|
35 |
+
var rt_load_more = '';
|
36 |
+
if ( typeof ( rtmedia_load_more ) === 'undefined' ) {
|
37 |
+
rt_load_more = 'Loading media';
|
38 |
+
} else {
|
39 |
+
rt_load_more = rtmedia_load_more;
|
40 |
+
}
|
41 |
+
if ( typeof( rtmedia_lightbox_enabled ) != 'undefined' && rtmedia_lightbox_enabled == '1' ) { // If lightbox is enabled.
|
42 |
+
|
43 |
+
var old_gallery_media;
|
44 |
+
var current_page;
|
45 |
+
var more_media_loaded = false;
|
46 |
+
|
47 |
+
if ( $( '.activity-item .rtmedia-activity-container .rtmedia-list-item > a' ).siblings( 'p' ).children( 'a' ).length > 0 ) {
|
48 |
+
$( '.activity-item .rtmedia-activity-container .rtmedia-list-item > a' ).siblings( 'p' ).children( 'a' ).addClass( 'no-popup' );
|
49 |
+
}
|
50 |
+
|
51 |
+
rtMagnificPopup = jQuery( selector ).magnificPopup( {
|
52 |
+
delegate: 'a:not(.no-popup, .mejs-time-slider, .mejs-volume-slider, .mejs-horizontal-volume-slider)',
|
53 |
+
type: 'ajax',
|
54 |
+
fixedContentPos: true,
|
55 |
+
fixedBgPos: true,
|
56 |
+
tLoading: rt_load_more + ' #%curr%...',
|
57 |
+
mainClass: 'mfp-img-mobile',
|
58 |
+
preload: [ 1, 3 ],
|
59 |
+
closeOnBgClick: true,
|
60 |
+
gallery: {
|
61 |
+
enabled: true,
|
62 |
+
navigateByImgClick: true,
|
63 |
+
arrowMarkup: '', // Disabled default arrows
|
64 |
+
preload: [ 0, 1 ] // Will preload 0 - before current, and 1 after the current image
|
65 |
+
},
|
66 |
+
image: {
|
67 |
+
tError: '<a href="%url%">The image #%curr%</a> could not be loaded.',
|
68 |
+
titleSrc: function( item ) {
|
69 |
+
return item.el.attr( 'title' ) + '<small>by Marsel Van Oosten</small>';
|
70 |
+
}
|
71 |
+
},
|
72 |
+
callbacks: {
|
73 |
+
ajaxContentAdded: function() {
|
74 |
+
mfp = jQuery.magnificPopup.instance;
|
75 |
+
if ( jQuery( mfp.items ).size() === 1 ) {
|
76 |
+
jQuery( '.mfp-arrow' ).remove();
|
77 |
+
}
|
78 |
+
// When last second media is encountered in lightbox, load more medias if available
|
79 |
+
var mfp = jQuery.magnificPopup.instance;
|
80 |
+
var current_media = mfp.currItem.el;
|
81 |
+
var li = current_media.parent();
|
82 |
+
if ( ! li.is( 'li' ) ) {
|
83 |
+
li = li.parent();
|
84 |
+
}
|
85 |
+
if ( ( li.is( ':nth-last-child(2)' ) || li.is( ':last-child' ) ) && li.find( 'a' ).hasClass('rtmedia-list-item-a') ) { // If its last second media
|
86 |
+
var last_li = li.next();
|
87 |
+
if ( jQuery( '#rtMedia-galary-next' ).css( 'display' ) == 'block' ) { // If more medias are available
|
88 |
+
|
89 |
+
if ( ! more_media_loaded ) {
|
90 |
+
old_gallery_media = mfp.ev.children();
|
91 |
+
more_media_loaded = true;
|
92 |
+
current_page = nextpage;
|
93 |
+
}
|
94 |
+
|
95 |
+
jQuery( '#rtMedia-galary-next' ).click(); // Load more
|
96 |
+
}
|
97 |
+
}
|
98 |
+
|
99 |
+
var items = mfp.items.length;
|
100 |
+
if ( mfp.index == ( items - 1 ) && ! ( li.is( ':last-child' ) ) ) {
|
101 |
+
current_media.click();
|
102 |
+
return;
|
103 |
+
}
|
104 |
+
|
105 |
+
var settings = { };
|
106 |
+
|
107 |
+
if ( typeof _wpmejsSettings !== 'undefined' ) {
|
108 |
+
settings.pluginPath = _wpmejsSettings.pluginPath;
|
109 |
+
}
|
110 |
+
var $single_meta_h = jQuery( ".rtmedia-container .rtmedia-single-meta" ).height();
|
111 |
+
|
112 |
+
var probablymobile = false;
|
113 |
+
// check if it's is an mobile or not
|
114 |
+
if( typeof mfp != 'undefined' && typeof mfp.probablyMobile != 'undefined' && mfp.probablyMobile == true ){
|
115 |
+
probablymobile = true;
|
116 |
+
}
|
117 |
+
/* adding auto play button in the popup */
|
118 |
+
$( '.mfp-content .rtmedia-single-media .wp-audio-shortcode,.mfp-content .rtmedia-single-media .wp-video-shortcode,.mfp-content .rtmedia-single-media .bp_media_content video' ).attr( 'autoplay', true );
|
119 |
+
|
120 |
+
// if it's mobile then add mute button to it
|
121 |
+
if( probablymobile ){
|
122 |
+
$( '.mfp-content .rtmedia-single-media .wp-video-shortcode,.mfp-content .rtmedia-single-media .bp_media_content video' ).attr( 'muted', false );
|
123 |
+
}
|
124 |
+
|
125 |
+
$( '.mfp-content .rtmedia-single-media .wp-audio-shortcode,.mfp-content .rtmedia-single-media .wp-video-shortcode,.mfp-content .rtmedia-single-media .bp_media_content video' ).mediaelementplayer( {
|
126 |
+
// This is required to work with new MediaElement version.
|
127 |
+
classPrefix: 'mejs-',
|
128 |
+
// If the <video width> is not specified, this is the default
|
129 |
+
defaultVideoWidth: 480,
|
130 |
+
// always show the volume button
|
131 |
+
hideVolumeOnTouchDevices: false,
|
132 |
+
features: ['playpause','progress','current','volume','fullscreen'],
|
133 |
+
// If the <video height> is not specified, this is the default
|
134 |
+
defaultVideoHeight: 270,
|
135 |
+
// always show control for mobile
|
136 |
+
alwaysShowControls: probablymobile,
|
137 |
+
enableAutosize: true,
|
138 |
+
clickToPlayPause: true,
|
139 |
+
// if set, overrides <video height>
|
140 |
+
videoHeight: -1,
|
141 |
+
success: function( mediaElement, domObject ) {
|
142 |
+
mediaElement.addEventListener('loadeddata', function (e) {
|
143 |
+
var $video_h = $( mediaElement ).height();
|
144 |
+
var $window_h = $( window ).height();
|
145 |
+
var $rtm_ltb = jQuery( "div.rtm-ltb-action-container" ).height();
|
146 |
+
var $rtm_ltb = $rtm_ltb + 50;
|
147 |
+
var $new_video_h = $single_meta_h - $rtm_ltb;
|
148 |
+
if( $video_h > $window_h ){
|
149 |
+
jQuery( ".rtmedia-container #rtmedia-single-media-container .mejs-container" ).attr( "style", 'height:'+$new_video_h+'px !important; transition:0.2s' );
|
150 |
+
}
|
151 |
+
}, false);
|
152 |
+
// Call the play method
|
153 |
+
|
154 |
+
// check if it's mobile
|
155 |
+
if( probablymobile && $( mediaElement ).hasClass( "wp-video-shortcode" ) ){
|
156 |
+
jQuery( 'body' ).on('touchstart', '.mejs-overlay-button' , function(e) {
|
157 |
+
mediaElement.paused ? mediaElement.play() : mediaElement.pause();
|
158 |
+
});
|
159 |
+
} else {
|
160 |
+
// Changed to .pause() in PR 1082 to stop autoplay.
|
161 |
+
mediaElement.pause();
|
162 |
+
}
|
163 |
+
}
|
164 |
+
} );
|
165 |
+
$( '.mfp-content .mejs-audio .mejs-controls' ).css( 'position', 'relative' );
|
166 |
+
rtMediaHook.call( 'rtmedia_js_popup_after_content_added', [ ] );
|
167 |
+
|
168 |
+
if( typeof bp != 'undefined' ){
|
169 |
+
if( typeof bp.mentions != 'undefined' && typeof bp.mentions.users != 'undefined' ){
|
170 |
+
$( '#atwho-container #atwho-ground-comment_content' ).remove();
|
171 |
+
$( '#comment_content' ).bp_mentions( bp.mentions.users );
|
172 |
+
}
|
173 |
+
}
|
174 |
+
|
175 |
+
rtmedia_reset_video_and_audio_for_popup();
|
176 |
+
|
177 |
+
apply_rtMagnificPopup( '.rtmedia-list-media.rtm-gallery-list, .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' );
|
178 |
+
},
|
179 |
+
open: function() {
|
180 |
+
var lightBoxBackgrundHeight = jQuery( '.mfp-bg' );
|
181 |
+
var lightBox = jQuery( '.mfp-wrap' );
|
182 |
+
lightBoxBackgrundHeight.height( lightBoxBackgrundHeight.height() + lightBox.height() )
|
183 |
+
},
|
184 |
+
close: function( e ) {
|
185 |
+
//Console.log(e);
|
186 |
+
|
187 |
+
//If more media is loaded in lighbox then remove them set nextpage to default one.
|
188 |
+
if ( more_media_loaded ) {
|
189 |
+
|
190 |
+
mfp.ev.empty();
|
191 |
+
mfp.ev.append( old_gallery_media );
|
192 |
+
|
193 |
+
nextpage = current_page;
|
194 |
+
more_media_loaded = false;
|
195 |
+
|
196 |
+
if ( nextpage > 1 ) {
|
197 |
+
jQuery( '#rtMedia-galary-next' ).show();
|
198 |
+
}
|
199 |
+
}
|
200 |
+
|
201 |
+
rtmedia_single_page_popup_close();
|
202 |
+
},
|
203 |
+
BeforeChange: function( e ) {
|
204 |
+
//Console.log(e);
|
205 |
+
}
|
206 |
+
}
|
207 |
+
} );
|
208 |
+
}
|
209 |
+
/**
|
210 |
+
* string replace Save From ok
|
211 |
+
* By: Yahil
|
212 |
+
*/
|
213 |
+
jQuery( document ).ajaxComplete(function(){
|
214 |
+
jQuery('[id^=imgedit-leaving]').filter(function(){
|
215 |
+
var text = jQuery(this).text();
|
216 |
+
jQuery(this).text(text.replace('OK', 'Save'));
|
217 |
+
});
|
218 |
+
});
|
219 |
+
} );
|
220 |
}
|
221 |
var rtMediaHook = {
|
222 |
+
hooks: [ ],
|
223 |
+
is_break: false,
|
224 |
+
register: function( name, callback ) {
|
225 |
+
if ( 'undefined' == typeof ( rtMediaHook.hooks[name] ) ) {
|
226 |
+
rtMediaHook.hooks[name] = [ ];
|
227 |
+
}
|
228 |
+
rtMediaHook.hooks[name].push( callback );
|
229 |
+
},
|
230 |
+
call: function( name, arguments ) {
|
231 |
+
if ( 'undefined' != typeof ( rtMediaHook.hooks[name] ) ) {
|
232 |
+
for ( i = 0; i < rtMediaHook.hooks[name].length; ++i ) {
|
233 |
+
if ( true != rtMediaHook.hooks[name][i]( arguments ) ) {
|
234 |
+
rtMediaHook.is_break = true;
|
235 |
+
return false;
|
236 |
+
break;
|
237 |
+
}
|
238 |
+
}
|
239 |
+
}
|
240 |
+
return true;
|
241 |
+
}
|
242 |
};
|
243 |
|
244 |
//Drop-down js
|
245 |
function rtmedia_init_action_dropdown( parent ) {
|
246 |
+
var all_ul;
|
247 |
+
var curr_ul;
|
248 |
+
jQuery( parent+' .click-nav > span,'+parent+' .click-nav > div' ).toggleClass( 'no-js js' );
|
249 |
+
jQuery( parent+' .click-nav .js ul' ).hide();
|
250 |
+
jQuery( parent+' .click-nav .clicker' ).click( function( e ) {
|
251 |
+
all_ul = jQuery( '#rtm-media-options .click-nav .clicker' ).next( 'ul' );
|
252 |
+
curr_ul = jQuery( this ).next( 'ul' );
|
253 |
+
jQuery.each( all_ul, function( index, value ) {
|
254 |
+
if ( jQuery( value ).html() != curr_ul.html() ) { // Check clicked option with other options
|
255 |
+
jQuery( value ).hide();
|
256 |
+
}
|
257 |
+
} );
|
258 |
+
jQuery( curr_ul ).toggle();
|
259 |
+
e.stopPropagation();
|
260 |
+
} );
|
261 |
}
|
262 |
|
263 |
jQuery( 'document' ).ready( function( $ ) {
|
264 |
+
// When Ajax completed attach media uploader to new activity, applay popup and attach media to comment uploader.
|
265 |
+
jQuery( document ).ajaxComplete( function( event, xhr, settings ) {
|
266 |
+
if ( 'legacy' !== bp_template_pack && bp_template_pack ) {
|
267 |
+
var get_action = get_parameter( 'action', settings.data );
|
268 |
+
if (('activity_filter' === get_action || 'post_update' === get_action || 'get_single_activity_content' === get_action || 'activity_get_older_updates' === get_action) && 'undefined' !== typeof rtmedia_masonry_layout && 'true' === rtmedia_masonry_layout && 'undefined' !== typeof rtmedia_masonry_layout_activity && 'true' === rtmedia_masonry_layout_activity ) {
|
269 |
+
setTimeout( function() {
|
270 |
+
apply_rtMagnificPopup( '.rtmedia-list-media.rtm-gallery-list, .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' );
|
271 |
+
rtmedia_activity_masonry();
|
272 |
+
rtmedia_activity_stream_comment_media();
|
273 |
+
} , 1000 );
|
274 |
+
} else if ( ( 'activity_filter' === get_action || 'post_update' === get_action || 'get_single_activity_content' === get_action || 'activity_get_older_updates' === get_action ) ) {
|
275 |
+
setTimeout( function () {
|
276 |
+
apply_rtMagnificPopup( '.rtmedia-list-media.rtm-gallery-list, .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' );
|
277 |
+
rtmedia_activity_stream_comment_media();
|
278 |
+
}, 1000);
|
279 |
+
}
|
280 |
+
}
|
281 |
+
} );
|
282 |
+
|
283 |
+
jQuery( '.rtmedia-uploader-div' ).css({
|
284 |
+
'opacity': '1',
|
285 |
+
'display': 'block',
|
286 |
+
'visibility': 'visible'
|
287 |
+
});
|
288 |
+
|
289 |
+
jQuery( ' #whats-new-options ' ).css({
|
290 |
+
'opacity': '1',
|
291 |
+
});
|
292 |
+
|
293 |
+
// Tabs
|
294 |
+
if ( typeof $.fn.rtTab !== 'undefined' ) {
|
295 |
+
$( '.rtm-tabs' ).rtTab();
|
296 |
+
}
|
297 |
+
|
298 |
+
// Open magnific popup as modal for create album/playlist
|
299 |
+
if ( jQuery( '.rtmedia-modal-link' ).length > 0 ) {
|
300 |
+
$( '.rtmedia-modal-link' ).magnificPopup( {
|
301 |
+
type: 'inline',
|
302 |
+
midClick: true, // Allow opening popup on middle mouse click. Always set it to true if you don't provide alternative source in href
|
303 |
+
closeBtnInside: true,
|
304 |
+
} );
|
305 |
+
}
|
306 |
+
|
307 |
+
$( '#rt_media_comment_form' ).submit( function( e ) {
|
308 |
+
if ( $.trim( $( '#comment_content' ).val() ) == '' ) {
|
309 |
+
if ( jQuery( '#rtmedia-single-media-container' ).length == 0 ) {
|
310 |
+
rtmedia_gallery_action_alert_message( rtmedia_empty_comment_msg, 'warning' );
|
311 |
+
} else {
|
312 |
+
rtmedia_single_media_alert_message( rtmedia_empty_comment_msg, 'warning' );
|
313 |
+
}
|
314 |
+
return false;
|
315 |
+
} else {
|
316 |
+
return true;
|
317 |
+
}
|
318 |
+
|
319 |
+
} );
|
320 |
+
|
321 |
+
//Remove title from popup duplication
|
322 |
+
$( 'li.rtmedia-list-item p a' ).each( function( e ) {
|
323 |
+
$( this ).addClass( 'no-popup' );
|
324 |
+
} );
|
325 |
+
|
326 |
+
//Remove title from popup duplication
|
327 |
+
$( 'li.rtmedia-list-item p a' ).each(function( e ) {
|
328 |
+
$( this ).addClass( 'no-popup' );
|
329 |
+
});
|
330 |
+
//Rtmedia_lightbox_enabled from setting
|
331 |
+
if ( typeof( rtmedia_lightbox_enabled ) != 'undefined' && rtmedia_lightbox_enabled == '1' ) {
|
332 |
+
apply_rtMagnificPopup( '.rtmedia-list-media.rtm-gallery-list, .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' );
|
333 |
+
}
|
334 |
+
|
335 |
+
jQuery.ajaxPrefilter(function( options, originalOptions, jqXHR ) {
|
336 |
+
try {
|
337 |
+
if ( originalOptions.data == null || typeof( originalOptions.data ) == 'undefined' || typeof( originalOptions.data.action ) == 'undefined' ) {
|
338 |
+
return true;
|
339 |
+
}
|
340 |
+
} catch ( e ) {
|
341 |
+
return true;
|
342 |
+
}
|
343 |
+
|
344 |
+
// Handle lightbox in BuddyPress activity loadmore
|
345 |
+
if ( originalOptions.data.action == 'activity_get_older_updates' ) {
|
346 |
+
var orignalSuccess = originalOptions.success;
|
347 |
+
options.success = function( response ) {
|
348 |
+
if( 'function' === typeof( orignalSuccess ) ) {
|
349 |
+
orignalSuccess( response );
|
350 |
+
}
|
351 |
+
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' );
|
352 |
+
rtMediaHook.call( 'rtmedia_js_after_activity_added', [] );
|
353 |
+
};
|
354 |
+
} else if ( originalOptions.data.action == 'get_single_activity_content' ) {
|
355 |
+
// Handle lightbox in BuddyPress single activity loadmore
|
356 |
+
var orignalSuccess = originalOptions.success;
|
357 |
+
options.success = function( response ) {
|
358 |
+
if( 'function' === typeof( orignalSuccess ) ) {
|
359 |
+
orignalSuccess( response );
|
360 |
+
}
|
361 |
+
setTimeout( function() {
|
362 |
+
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' );
|
363 |
+
jQuery( 'ul.activity-list li.rtmedia_update:first-child .wp-audio-shortcode, ul.activity-list li.rtmedia_update:first-child .wp-video-shortcode' ).mediaelementplayer( {
|
364 |
+
// This is required to work with new MediaElement version.
|
365 |
+
classPrefix: 'mejs-',
|
366 |
+
// If the <video width> is not specified, this is the default
|
367 |
+
defaultVideoWidth: 480,
|
368 |
+
// If the <video height> is not specified, this is the default
|
369 |
+
defaultVideoHeight: 270
|
370 |
+
} );
|
371 |
+
}, 900 );
|
372 |
+
};
|
373 |
+
}
|
374 |
+
});
|
375 |
+
|
376 |
+
jQuery.ajaxPrefilter( function( options, originalOptions, jqXHR ) {
|
377 |
+
try {
|
378 |
+
if ( originalOptions.data == null || typeof ( originalOptions.data ) == 'undefined' || typeof ( originalOptions.data.action ) == 'undefined' ) {
|
379 |
+
return true;
|
380 |
+
}
|
381 |
+
} catch ( e ) {
|
382 |
+
return true;
|
383 |
+
}
|
384 |
+
if ( originalOptions.data.action == 'activity_get_older_updates' ) {
|
385 |
+
var orignalSuccess = originalOptions.success;
|
386 |
+
options.success = function( response ) {
|
387 |
+
if( 'function' === typeof( orignalSuccess ) ) {
|
388 |
+
orignalSuccess( response );
|
389 |
+
}
|
390 |
+
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' );
|
391 |
+
|
392 |
+
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( {
|
393 |
+
// This is required to work with new MediaElement version.
|
394 |
+
classPrefix: 'mejs-',
|
395 |
+
// If the <video width> is not specified, this is the default
|
396 |
+
defaultVideoWidth: 480,
|
397 |
+
// If the <video height> is not specified, this is the default
|
398 |
+
defaultVideoHeight: 270
|
399 |
+
} );
|
400 |
+
|
401 |
+
setTimeout( function() {
|
402 |
+
rtmedia_activity_stream_comment_media();
|
403 |
+
}, 900 );
|
404 |
+
|
405 |
+
rtMediaHook.call( 'rtmedia_js_after_activity_added', [ ] );
|
406 |
+
};
|
407 |
+
}
|
408 |
+
} );
|
409 |
+
|
410 |
+
jQuery( '.rtmedia-container' ).on( 'click', '.select-all', function( e ) {
|
411 |
+
jQuery( this ).toggleClass( 'unselect-all' ).toggleClass( 'select-all' );
|
412 |
+
jQuery( this ).attr( 'title', rtmedia_unselect_all_visible );
|
413 |
+
jQuery( '.rtmedia-list input' ).each( function() {
|
414 |
+
jQuery( this ).prop( 'checked', true );
|
415 |
+
} );
|
416 |
+
jQuery( '.rtmedia-list-item' ).addClass( 'bulk-selected' );
|
417 |
+
} );
|
418 |
+
|
419 |
+
|
420 |
+
|
421 |
+
jQuery( '.rtmedia-container' ).on( 'click', '.unselect-all', function( e ) {
|
422 |
+
jQuery( this ).toggleClass( 'select-all' ).toggleClass( 'unselect-all' );
|
423 |
+
jQuery( this ).attr( 'title', rtmedia_select_all_visible );
|
424 |
+
jQuery( '.rtmedia-list input' ).each( function() {
|
425 |
+
jQuery( this ).prop( 'checked', false );
|
426 |
+
} );
|
427 |
+
jQuery( '.rtmedia-list-item' ).removeClass( 'bulk-selected' );
|
428 |
+
} );
|
429 |
+
|
430 |
+
jQuery( '.rtmedia-container' ).on( 'click', '.rtmedia-move', function( e ) {
|
431 |
+
jQuery( '.rtmedia-delete-container' ).slideUp();
|
432 |
+
jQuery( '.rtmedia-move-container' ).slideToggle();
|
433 |
+
} );
|
434 |
+
|
435 |
+
jQuery( '#rtmedia-create-album-modal' ).on( 'click', '#rtmedia_create_new_album', function( e ) {
|
436 |
+
$albumname = jQuery( '<span/>' ).text( jQuery.trim( jQuery( '#rtmedia_album_name' ).val() ) ).html();
|
437 |
+
$album_description = jQuery( '#rtmedia_album_description' );
|
438 |
+
$context = jQuery.trim( jQuery( '#rtmedia_album_context' ).val() );
|
439 |
+
$context_id = jQuery.trim( jQuery( '#rtmedia_album_context_id' ).val() );
|
440 |
+
$privacy = jQuery.trim( jQuery( '#rtmedia_select_album_privacy' ).val() );
|
441 |
+
$create_album_nonce = jQuery.trim( jQuery( '#rtmedia_create_album_nonce' ).val() );
|
442 |
+
|
443 |
+
if ( $albumname != '' ) {
|
444 |
+
var data = {
|
445 |
+
action: 'rtmedia_create_album',
|
446 |
+
name: $albumname,
|
447 |
+
description: $album_description.val(),
|
448 |
+
context: $context,
|
449 |
+
context_id: $context_id,
|
450 |
+
create_album_nonce: $create_album_nonce
|
451 |
+
};
|
452 |
+
|
453 |
+
if ( $privacy !== '' ) {
|
454 |
+
data[ 'privacy' ] = $privacy;
|
455 |
+
}
|
456 |
+
|
457 |
+
// Since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php
|
458 |
+
$( '#rtmedia_create_new_album' ).attr( 'disabled', 'disabled' );
|
459 |
+
var old_val = $( '#rtmedia_create_new_album' ).html();
|
460 |
+
$( '#rtmedia_create_new_album' ).prepend( '<img src=\'' + rMedia_loading_file + '\' />' );
|
461 |
+
jQuery.post( rtmedia_ajax_url, data, function( response ) {
|
462 |
+
if ( typeof response.album != 'undefined' ) {
|
463 |
+
response = jQuery.trim( response.album );
|
464 |
+
var flag = true;
|
465 |
+
$album_description.val('');
|
466 |
+
$( '#rtmedia_album_name' ).focus();
|
467 |
+
|
468 |
+
jQuery( '.rtmedia-user-album-list' ).each( function() {
|
469 |
+
jQuery( this ).children( 'optgroup' ).each( function() {
|
470 |
+
if ( jQuery( this ).attr( 'value' ) === $context ) {
|
471 |
+
flag = false;
|
472 |
+
|
473 |
+
jQuery( this ).append( '<option value="' + response + '">' + $albumname + '</option>' );
|
474 |
+
|
475 |
+
return;
|
476 |
+
}
|
477 |
+
} );
|
478 |
+
|
479 |
+
if ( flag ) {
|
480 |
+
var label = $context.charAt( 0 ).toUpperCase() + $context.slice( 1 ) + ' ' + rtmedia_main_js_strings.rtmedia_albums;
|
481 |
+
|
482 |
+
var opt_html = '<optgroup value="' + $context + '" label="' + label + '"><option value="' + response + '">' + $albumname + '</option></optgroup>';
|
483 |
+
|
484 |
+
jQuery( this ).append( opt_html );
|
485 |
+
}
|
486 |
+
} );
|
487 |
+
|
488 |
+
jQuery( 'select.rtmedia-user-album-list option[value="' + response + '"]' ).prop( 'selected', true );
|
489 |
+
jQuery( '.rtmedia-create-new-album-container' ).slideToggle();
|
490 |
+
jQuery( '#rtmedia_album_name' ).val( '' );
|
491 |
+
jQuery( '#rtmedia-create-album-modal' ).append( '<div class=\'rtmedia-success rtmedia-create-album-alert\'><b>' + $albumname + '</b>' + rtmedia_album_created_msg + '</div>' );
|
492 |
+
|
493 |
+
setTimeout( function() {
|
494 |
+
jQuery( '.rtmedia-create-album-alert' ).remove();
|
495 |
+
}, 4000 );
|
496 |
+
|
497 |
+
setTimeout( function() {
|
498 |
+
galleryObj.reloadView();
|
499 |
+
window.location.reload();
|
500 |
+
jQuery( '.close-reveal-modal' ).click();
|
501 |
+
}, 2000 );
|
502 |
+
} else if ( typeof response.error != 'undefined' ) {
|
503 |
+
rtmedia_gallery_action_alert_message( response.error, 'warning' );
|
504 |
+
} else {
|
505 |
+
rtmedia_gallery_action_alert_message( rtmedia_something_wrong_msg, 'warning' );
|
506 |
+
}
|
507 |
+
|
508 |
+
$( '#rtmedia_create_new_album' ).removeAttr( 'disabled' );
|
509 |
+
$( '#rtmedia_create_new_album' ).html( old_val );
|
510 |
+
} );
|
511 |
+
} else {
|
512 |
+
rtmedia_gallery_action_alert_message( rtmedia_empty_album_name_msg, 'warning' );
|
513 |
+
}
|
514 |
+
} );
|
515 |
+
|
516 |
+
jQuery( '.rtmedia-container' ).on( 'click', '.rtmedia-delete-selected', function( e ) {
|
517 |
+
if ( jQuery( '.rtmedia-list :checkbox:checked' ).length > 0 ) {
|
518 |
+
if ( confirm( rtmedia_selected_media_delete_confirmation ) ) {
|
519 |
+
jQuery( this ).closest( 'form' ).attr( 'action', '../../../' + rtmedia_media_slug + '/delete' ).submit();
|
520 |
+
}
|
521 |
+
} else {
|
522 |
+
rtmedia_gallery_action_alert_message( rtmedia_no_media_selected, 'warning' );
|
523 |
+
}
|
524 |
+
} );
|
525 |
+
|
526 |
+
jQuery( '.rtmedia-container' ).on( 'click', '.rtmedia-move-selected', function( e ) {
|
527 |
+
if ( jQuery( '.rtmedia-list :checkbox:checked' ).length > 0 ) {
|
528 |
+
if ( confirm( rtmedia_selected_media_move_confirmation ) ) {
|
529 |
+
jQuery( this ).closest( 'form' ).attr( 'action', '' ).submit();
|
530 |
+
}
|
531 |
+
} else {
|
532 |
+
rtmedia_gallery_action_alert_message( rtmedia_no_media_selected, 'warning' );
|
533 |
+
}
|
534 |
+
|
535 |
+
} );
|
536 |
+
|
537 |
+
jQuery( '#buddypress' ).on( 'change', '.rtm-activity-privacy-opt', function() {
|
538 |
+
|
539 |
+
var activity_id = jQuery( this ).attr( 'id' );
|
540 |
+
activity_id = activity_id.split( '-' );
|
541 |
+
activity_id = activity_id[ activity_id.length - 1 ];
|
542 |
+
|
543 |
+
var that = this;
|
544 |
+
|
545 |
+
data = {
|
546 |
+
activity_id: activity_id,
|
547 |
+
privacy: jQuery( this ).val(),
|
548 |
+
nonce: jQuery( '#rtmedia_activity_privacy_nonce' ).val(),
|
549 |
+
action: 'rtm_change_activity_privacy'
|
550 |
+
};
|
551 |
+
|
552 |
+
jQuery.post( ajaxurl, data, function( res ) {
|
553 |
+
var message = '';
|
554 |
+
var css_class = '';
|
555 |
+
if ( res == 'true' ) {
|
556 |
+
message = rtmedia_main_js_strings.privacy_update_success;
|
557 |
+
css_class = 'rtmedia-success';
|
558 |
+
} else {
|
559 |
+
message = rtmedia_main_js_strings.privacy_update_error;
|
560 |
+
css_class = 'fail';
|
561 |
+
}
|
562 |
+
|
563 |
+
jQuery( that ).after( '<p class="rtm-ac-privacy-updated ' + css_class + '">' + message + '</p>' );
|
564 |
+
setTimeout( function() {
|
565 |
+
jQuery( that ).siblings( '.rtm-ac-privacy-updated' ).remove();
|
566 |
+
}, 2000 );
|
567 |
+
} );
|
568 |
+
} );
|
569 |
+
|
570 |
+
jQuery( '.media_search_input' ).on( 'keyup', function() {
|
571 |
+
rtm_search_media_text_validation();
|
572 |
+
} );
|
573 |
+
|
574 |
+
function rtmedia_media_view_counts() {
|
575 |
+
//Var view_count_action = jQuery('#rtmedia-media-view-form').attr("action");
|
576 |
+
if ( jQuery( '#rtmedia-media-view-form' ).length > 0 ) {
|
577 |
+
var url = jQuery( '#rtmedia-media-view-form' ).attr( 'action' );
|
578 |
+
jQuery.post( url, { }, function( data ) {
|
579 |
+
|
580 |
+
} );
|
581 |
+
}
|
582 |
+
}
|
583 |
+
|
584 |
+
rtmedia_media_view_counts();
|
585 |
+
rtMediaHook.register( 'rtmedia_js_popup_after_content_added',
|
586 |
+
function() {
|
587 |
+
rtmedia_media_view_counts();
|
588 |
+
rtmedia_init_media_deleting();
|
589 |
+
mfp = jQuery.magnificPopup.instance;
|
590 |
+
|
591 |
+
if ( jQuery( mfp.items ).size() > 1 && comment_media == false ) {
|
592 |
+
rtmedia_init_popup_navigation();
|
593 |
+
}else{
|
594 |
+
rtmedia_disable_popup_navigation_all();
|
595 |
+
}
|
596 |
+
|
597 |
+
rtmedia_disable_popup_navigation_comment_focus();
|
598 |
+
|
599 |
+
rtmedia_disable_popup_navigation_comment_media_focus();
|
600 |
+
|
601 |
+
var height = $( window ).height();
|
602 |
+
jQuery( '.rtm-lightbox-container .mejs-video' ).css( { 'height': height * 0.8, 'over-flow': 'hidden' } );
|
603 |
+
jQuery( '.mfp-content .rtmedia-media' ).css( { 'max-height': height * 0.87, 'over-flow': 'hidden' } );
|
604 |
+
//Mejs-video
|
605 |
+
//init the options dropdown menu
|
606 |
+
rtmedia_init_action_dropdown( '.rtm-lightbox-container .rtmedia-actions' );
|
607 |
+
//Get focus on comment textarea when comment-link is clicked
|
608 |
+
jQuery( '.rtmedia-comment-link' ).on( 'click', function( e ) {
|
609 |
+
e.preventDefault();
|
610 |
+
jQuery( '#comment_content' ).focus();
|
611 |
+
} );
|
612 |
+
|
613 |
+
jQuery( '.rtm-more' ).shorten( { // Shorten the media description to 100 characters
|
614 |
+
'showChars': 130
|
615 |
+
} );
|
616 |
+
|
617 |
+
//Show gallery title in lightbox at bottom
|
618 |
+
var gal_title = $( '.rtm-gallery-title' ), title = '';
|
619 |
+
if ( ! $.isEmptyObject( gal_title ) ) {
|
620 |
+
title = gal_title.html();
|
621 |
+
} else {
|
622 |
+
title = $( '#subnav.item-list-tabs li.selected ' ).html();
|
623 |
+
}
|
624 |
+
if ( title != '' ) {
|
625 |
+
$( '.rtm-ltb-gallery-title .ltb-title' ).html( title );
|
626 |
+
}
|
627 |
+
|
628 |
+
//Show image counts
|
629 |
+
var counts = $( '#subnav.item-list-tabs li.selected span' ).html();
|
630 |
+
$( 'li.total' ).html( counts );
|
631 |
+
|
632 |
+
return true;
|
633 |
+
}
|
634 |
+
);
|
635 |
+
|
636 |
+
function rtmedia_init_popup_navigation() {
|
637 |
+
var rtm_mfp = jQuery.magnificPopup.instance;
|
638 |
+
|
639 |
+
var probablyMobile = rtm_mfp.probablyMobile;
|
640 |
+
var tooltipShown = getCookie( 'rtmedia-touch-swipe-tooltip' );
|
641 |
+
|
642 |
+
// Check if its mobile and tooltip is first time dispaly.
|
643 |
+
if ( probablyMobile && "" === tooltipShown ) {
|
644 |
+
|
645 |
+
// Show tooltip.
|
646 |
+
jQuery( '#mobile-swipe-overlay' ).show();
|
647 |
+
|
648 |
+
// On touch hide tooltip.
|
649 |
+
jQuery( '#mobile-swipe-overlay' ).on ( 'click', function( e ) {
|
650 |
+
setCookie( 'rtmedia-touch-swipe-tooltip' , true, 365 );
|
651 |
+
jQuery( this ).hide();
|
652 |
+
jQuery( '#rtmedia-single-media-container .mejs-playpause-button' ).trigger( 'click' );
|
653 |
+
} );
|
654 |
+
|
655 |
+
// On swipe hide tooltip.
|
656 |
+
jQuery( '#mobile-swipe-overlay' ).swipe( {
|
657 |
+
//Generic swipe handler for all directions
|
658 |
+
swipe:function( event, direction, distance, duration, fingerCount, fingerData ) {
|
659 |
+
|
660 |
+
setCookie( 'rtmedia-touch-swipe-tooltip' , true, 365 );
|
661 |
+
jQuery( '#mobile-swipe-overlay' ).hide();
|
662 |
+
jQuery( '#rtmedia-single-media-container .mejs-playpause-button' ).trigger( 'click' );
|
663 |
+
},
|
664 |
+
threshold:0
|
665 |
+
} );
|
666 |
+
} else {
|
667 |
+
// play video or audio if user visited previously.
|
668 |
+
jQuery( '#rtmedia-single-media-container .mejs-playpause-button' ).trigger( 'click' );
|
669 |
+
}
|
670 |
+
|
671 |
+
jQuery( '.mfp-arrow-right' ).on( 'click', function( e ) {
|
672 |
+
rtm_mfp.next();
|
673 |
+
} );
|
674 |
+
jQuery( '.mfp-arrow-left' ).on( 'click', function( e ) {
|
675 |
+
rtm_mfp.prev();
|
676 |
+
} );
|
677 |
+
|
678 |
+
jQuery( '.mfp-content .rtmedia-media' ).swipe( {
|
679 |
+
//Generic swipe handler for all directions
|
680 |
+
swipeLeft: function( event, direction, distance, duration, fingerCount ) // Bind leftswipe
|
681 |
+
{
|
682 |
+
rtm_mfp.next();
|
683 |
+
},
|
684 |
+
swipeRight: function( event, direction, distance, duration, fingerCount ) // Bind rightswipe
|
685 |
+
{
|
686 |
+
rtm_mfp.prev();
|
687 |
+
},
|
688 |
+
threshold: 0
|
689 |
+
} );
|
690 |
+
}
|
691 |
+
|
692 |
+
/**
|
693 |
+
* Sets Cookie.
|
694 |
+
*
|
695 |
+
* @param {string} cname
|
696 |
+
* @param {string} cvalue
|
697 |
+
* @param {int} exdays
|
698 |
+
* @return void
|
699 |
+
*/
|
700 |
+
function setCookie( cname, cvalue, exdays ) {
|
701 |
+
|
702 |
+
var d = new Date();
|
703 |
+
d.setTime( d.getTime() + ( exdays * 24 * 60 * 60 * 1000 ) );
|
704 |
+
var expires = "expires=" + d.toUTCString();
|
705 |
+
document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
|
706 |
+
|
707 |
+
}
|
708 |
+
|
709 |
+
/**
|
710 |
+
* Get Cookie.
|
711 |
+
*
|
712 |
+
* @param {string} cname
|
713 |
+
* @return {string}
|
714 |
+
*/
|
715 |
+
function getCookie( cname ) {
|
716 |
+
|
717 |
+
var name = cname + "=";
|
718 |
+
var ca = document.cookie.split( ';' );
|
719 |
+
for( var i = 0; i < ca.length; i++ ) {
|
720 |
+
var c = ca[i];
|
721 |
+
while ( ' ' == c.charAt( 0 ) ) {
|
722 |
+
c = c.substring( 1 );
|
723 |
+
}
|
724 |
+
if ( 0 == c.indexOf( name ) ) {
|
725 |
+
return c.substring( name.length, c.length );
|
726 |
+
}
|
727 |
+
}
|
728 |
+
|
729 |
+
return "";
|
730 |
+
|
731 |
+
}
|
732 |
+
|
733 |
+
function rtmedia_disable_popup_navigation_all(){
|
734 |
+
// hide the left and right key
|
735 |
+
jQuery( '.mfp-arrow-right' ).hide();
|
736 |
+
jQuery( '.mfp-arrow-left' ).hide();
|
737 |
+
|
738 |
+
// disable the left and right keyboard button
|
739 |
+
jQuery( document ).unbind( 'keydown' );
|
740 |
+
}
|
741 |
+
|
742 |
+
function rtmedia_disable_popup_navigation_comment_focus() {
|
743 |
+
rtmedia_disable_popup_navigation( '#comment_content' );
|
744 |
+
}
|
745 |
+
|
746 |
+
var dragArea = jQuery( '#drag-drop-area' );
|
747 |
+
var activityArea = jQuery( '#whats-new' );
|
748 |
+
var content = dragArea.html();
|
749 |
+
jQuery( '#rtmedia-upload-container' ).after( '<div id=\'rtm-drop-files-title\'>' + rtmedia_drop_media_msg + '</div>' );
|
750 |
+
if ( typeof rtmedia_bp_enable_activity != 'undefined' && rtmedia_bp_enable_activity == '1' ) {
|
751 |
+
jQuery( '#whats-new-textarea' ).append( '<div id=\'rtm-drop-files-title\'>' + rtmedia_drop_media_msg + '</div>' );
|
752 |
+
}
|
753 |
+
jQuery( document )
|
754 |
+
.on( 'dragover', function( e ) {
|
755 |
+
e.preventDefault();
|
756 |
+
/* check if media is dragging on same page */
|
757 |
+
if ( e.target == this ) {
|
758 |
+
return;
|
759 |
+
}
|
760 |
+
jQuery( '#rtm-media-gallery-uploader' ).show();
|
761 |
+
if ( typeof rtmedia_bp_enable_activity != 'undefined' && rtmedia_bp_enable_activity == '1' ) {
|
762 |
+
activityArea.addClass( 'rtm-drag-drop-active' );
|
763 |
+
}
|
764 |
+
|
765 |
+
dragArea.addClass( 'rtm-drag-drop-active' );
|
766 |
+
jQuery( '#rtm-drop-files-title' ).show();
|
767 |
+
} )
|
768 |
+
.on( 'dragleave', function( e ) {
|
769 |
+
e.preventDefault();
|
770 |
+
if ( e.originalEvent.pageX != 0 && e.originalEvent.pageY != 0 ) {
|
771 |
+
return false;
|
772 |
+
}
|
773 |
+
if ( typeof rtmedia_bp_enable_activity != 'undefined' && rtmedia_bp_enable_activity == '1' ) {
|
774 |
+
activityArea.removeClass( 'rtm-drag-drop-active' );
|
775 |
+
activityArea.removeAttr( 'style' );
|
776 |
+
}
|
777 |
+
dragArea.removeClass( 'rtm-drag-drop-active' );
|
778 |
+
jQuery( '#rtm-drop-files-title' ).hide();
|
779 |
+
|
780 |
+
} )
|
781 |
+
.on( 'drop', function( e ) {
|
782 |
+
e.preventDefault();
|
783 |
+
/* Put cursor into activity box after dropping any media */
|
784 |
+
jQuery( '.bp-suggestions' ).focus();
|
785 |
+
if ( typeof rtmedia_bp_enable_activity != 'undefined' && rtmedia_bp_enable_activity == '1' ) {
|
786 |
+
activityArea.removeClass( 'rtm-drag-drop-active' );
|
787 |
+
activityArea.removeAttr( 'style' );
|
788 |
+
}
|
789 |
+
dragArea.removeClass( 'rtm-drag-drop-active' );
|
790 |
+
jQuery( '#rtm-drop-files-title' ).hide();
|
791 |
+
} );
|
792 |
+
|
793 |
+
function rtmedia_init_media_deleting() {
|
794 |
+
jQuery( '.rtmedia-container' ).on( 'click', '.rtmedia-delete-media', function( e ) {
|
795 |
+
e.preventDefault();
|
796 |
+
if ( confirm( rtmedia_media_delete_confirmation ) ) {
|
797 |
+
jQuery( this ).closest( 'form' ).submit();
|
798 |
+
}
|
799 |
+
} );
|
800 |
+
}
|
801 |
+
|
802 |
+
jQuery( '.rtmedia-container' ).on( 'click', '.rtmedia-delete-album', function( e ) {
|
803 |
+
e.preventDefault();
|
804 |
+
if ( confirm( rtmedia_album_delete_confirmation ) ) {
|
805 |
+
jQuery( this ).closest( 'form' ).submit();
|
806 |
+
}
|
807 |
+
} );
|
808 |
+
|
809 |
+
jQuery( '.rtmedia-container' ).on( 'click', '.rtmedia-delete-media', function( e ) {
|
810 |
+
e.preventDefault();
|
811 |
+
if ( confirm( rtmedia_media_delete_confirmation ) ) {
|
812 |
+
jQuery( this ).closest( 'form' ).submit();
|
813 |
+
}
|
814 |
+
} );
|
815 |
+
|
816 |
+
rtmedia_init_action_dropdown( '' );
|
817 |
+
|
818 |
+
$( document ).click( function() {
|
819 |
+
if ( $( '.click-nav ul' ).is( ':visible' ) ) {
|
820 |
+
$( '.click-nav ul', this ).hide();
|
821 |
+
}
|
822 |
+
} );
|
823 |
+
|
824 |
+
//Get focus on comment textarea when comment-link is clicked
|
825 |
+
jQuery( '.rtmedia-comment-link' ).on( 'click', function( e ) {
|
826 |
+
e.preventDefault();
|
827 |
+
jQuery( '#comment_content' ).focus();
|
828 |
+
} );
|
829 |
+
|
830 |
+
if ( jQuery( '.rtm-more' ).length > 0 ) {
|
831 |
+
$( '.rtm-more' ).shorten( { // Shorten the media description to 100 characters
|
832 |
+
'showChars': 200
|
833 |
+
} );
|
834 |
+
}
|
835 |
+
|
836 |
+
// Masonry code for activity
|
837 |
+
if ( typeof rtmedia_masonry_layout != 'undefined' && rtmedia_masonry_layout == 'true' && typeof rtmedia_masonry_layout_activity != 'undefined' && rtmedia_masonry_layout_activity == 'true' ) {
|
838 |
+
// Arrange media into masonry view
|
839 |
+
rtmedia_activity_masonry();
|
840 |
+
}
|
841 |
+
|
842 |
+
// Arrange media into masonry view right after upload or clicking on readmore link to activity without page load.
|
843 |
+
jQuery( document ).ajaxComplete( function( event, xhr, settings ) {
|
844 |
+
var get_action = get_parameter( 'action', settings.data );
|
845 |
+
|
846 |
+
if ( ( 'post_update' === get_action || 'get_single_activity_content' === get_action || 'activity_get_older_updates' === get_action ) && typeof rtmedia_masonry_layout != 'undefined' && rtmedia_masonry_layout == 'true' && typeof rtmedia_masonry_layout_activity != 'undefined' && rtmedia_masonry_layout_activity == 'true' ) {
|
847 |
+
rtmedia_activity_masonry();
|
848 |
+
}
|
849 |
+
} );
|
850 |
+
|
851 |
+
// Masonry code
|
852 |
+
if ( typeof rtmedia_masonry_layout != 'undefined' && rtmedia_masonry_layout == 'true' && jQuery( '.rtmedia-container .rtmedia-list.rtm-no-masonry' ).length == 0 ) {
|
853 |
+
rtm_masonry_container = jQuery( '.rtmedia-container .rtmedia-list' );
|
854 |
+
rtm_masonry_container.masonry( {
|
855 |
+
itemSelector: '.rtmedia-list-item'
|
856 |
+
} );
|
857 |
+
setInterval( function() {
|
858 |
+
jQuery.each( jQuery( '.rtmedia-list.masonry .rtmedia-item-title' ), function( i, item ) {
|
859 |
+
jQuery( item ).width( jQuery( item ).siblings( '.rtmedia-item-thumbnail' ).children( 'img' ).width() );
|
860 |
+
} );
|
861 |
+
rtm_masonry_reload( rtm_masonry_container );
|
862 |
+
}, 1000 );
|
863 |
+
jQuery.each( jQuery( '.rtmedia-list.masonry .rtmedia-item-title' ), function( i, item ) {
|
864 |
+
jQuery( item ).width( jQuery( item ).siblings( '.rtmedia-item-thumbnail' ).children( 'img' ).width() );
|
865 |
+
} );
|
866 |
+
}
|
867 |
+
|
868 |
+
if ( jQuery( '.rtm-uploader-tabs' ).length > 0 ) {
|
869 |
+
jQuery( '.rtm-uploader-tabs li' ).click( function( e ) {
|
870 |
+
if ( ! jQuery( this ).hasClass( 'active' ) ) {
|
871 |
+
jQuery( this ).siblings().removeClass( 'active' );
|
872 |
+
jQuery( this ).parents( '.rtm-uploader-tabs' ).siblings().hide();
|
873 |
+
class_name = jQuery( this ).attr( 'class' );
|
874 |
+
jQuery( this ).parents( '.rtm-uploader-tabs' ).siblings( '[data-id="' + class_name + '"]' ).show();
|
875 |
+
jQuery( this ).addClass( 'active' );
|
876 |
+
|
877 |
+
if ( class_name != 'rtm-upload-tab' ) {
|
878 |
+
jQuery( 'div.moxie-shim' ).hide();
|
879 |
+
} else {
|
880 |
+
jQuery( 'div.moxie-shim' ).show();
|
881 |
+
}
|
882 |
+
}
|
883 |
+
});
|
884 |
+
}
|
885 |
+
|
886 |
+
/**
|
887 |
+
* Delete media from gallery page under the user's profile when user clicks the delete button on the gallery item.
|
888 |
+
* Modified 11-Feb-2020 Adarsh Verma <adarsh.verma@rtcamp.com>
|
889 |
+
*/
|
890 |
+
jQuery( '.rtmedia-container' ).on( 'click', '.rtm-delete-media', function( e ) {
|
891 |
+
e.preventDefault();
|
892 |
+
var confirmation = RTMedia_Main_JS.media_delete_confirmation;
|
893 |
+
|
894 |
+
if ( confirm( confirmation ) ) { // If user confirms, send ajax request to delete the selected media
|
895 |
+
var curr_li = jQuery( this ).closest( 'li' );
|
896 |
+
var nonce = jQuery( '#rtmedia_media_delete_nonce' ).val();
|
897 |
+
var media_type = jQuery( this ).parents( '.rtmedia-list-item' ).data( 'media_type' );
|
898 |
+
|
899 |
+
var data = {
|
900 |
+
action: 'delete_uploaded_media',
|
901 |
+
nonce: nonce,
|
902 |
+
media_id: curr_li.attr( 'id' ),
|
903 |
+
media_type: media_type
|
904 |
+
};
|
905 |
+
|
906 |
+
jQuery.ajax( {
|
907 |
+
url: RTMedia_Main_JS.rtmedia_ajaxurl,
|
908 |
+
type: 'POST',
|
909 |
+
data: data,
|
910 |
+
dataType: 'JSON',
|
911 |
+
success: function( response ) {
|
912 |
+
|
913 |
+
if ( 'rtmedia-media-deleted' === response.data.code ) {
|
914 |
+
//Media delete
|
915 |
+
rtmedia_gallery_action_alert_message( RTMedia_Main_JS.media_delete_success, 'success' );
|
916 |
+
curr_li.remove();
|
917 |
+
|
918 |
+
if ( 'undefined' !== typeof rtmedia_masonry_layout && 'true' === rtmedia_masonry_layout ) {
|
919 |
+
rtm_masonry_reload( rtm_masonry_container );
|
920 |
+
}
|
921 |
+
|
922 |
+
// Update the media count in user profile & group's media tab.
|
923 |
+
jQuery( '#user-media span, #media-groups-li #media span, #rtmedia-nav-item-all span' ).text( response.data.all_media_count );
|
924 |
+
|
925 |
+
// Update the count on sub navigations (Albums)
|
926 |
+
jQuery( '#rtmedia-nav-item-albums span' ).text( response.data.albums_count );
|
927 |
+
|
928 |
+
// Update the count on sub navigations (Photo, Video & Music)
|
929 |
+
jQuery( '#rtmedia-nav-item-photo span' ).text( response.data.photos_count );
|
930 |
+
jQuery( '#rtmedia-nav-item-music span' ).text( response.data.music_count );
|
931 |
+
jQuery( '#rtmedia-nav-item-video span' ).text( response.data.videos_count );
|
932 |
+
} else { // Show alert message
|
933 |
+
rtmedia_gallery_action_alert_message( response.data.message, 'warning' );
|
934 |
+
}
|
935 |
+
|
936 |
+
}
|
937 |
+
} );
|
938 |
+
}
|
939 |
+
} );
|
940 |
} );
|
941 |
|
942 |
//Legacy media element for old activities
|
943 |
function bp_media_create_element( id ) {
|
944 |
+
return false;
|
945 |
}
|
946 |
|
947 |
function rtmedia_version_compare( left, right ) {
|
948 |
+
if ( typeof left + typeof right != 'stringstring' ) {
|
949 |
+
return false;
|
950 |
+
}
|
951 |
+
|
952 |
+
var a = left.split( '.' ),
|
953 |
+
b = right.split( '.' ),
|
954 |
+
i = 0,
|
955 |
+
len = Math.max( a.length, b.length );
|
956 |
+
|
957 |
+
for ( ; i < len; i++ ) {
|
958 |
+
if ( ( a[i] && ! b[i] && parseInt( a[i] ) > 0 ) || ( parseInt( a[i] ) > parseInt( b[i] ) ) ) {
|
959 |
+
return true;
|
960 |
+
} else if ( ( b[i] && ! a[i] && parseInt( b[i] ) > 0 ) || ( parseInt( a[i] ) < parseInt( b[i] ) ) ) {
|
961 |
+
return false;
|
962 |
+
}
|
963 |
+
}
|
964 |
+
|
965 |
+
return true;
|
966 |
}
|
967 |
|
968 |
function rtm_is_element_exist( el ) {
|
969 |
+
if ( jQuery( el ).length > 0 ) {
|
970 |
+
return true;
|
971 |
+
} else {
|
972 |
+
return false;
|
973 |
+
}
|
974 |
}
|
975 |
|
976 |
function rtm_masonry_reload( el ) {
|
977 |
+
setTimeout( function() {
|
978 |
+
// We make masonry recalculate the element based on their current state.
|
979 |
+
el.masonry( 'reload' );
|
980 |
+
}, 250 );
|
981 |
}
|
982 |
|
983 |
/*
|
986 |
* and open the template in the editor.
|
987 |
*/
|
988 |
(function( $ ) {
|
989 |
+
$.fn.shorten = function( settings ) {
|
990 |
+
'use strict';
|
991 |
+
|
992 |
+
var config = {
|
993 |
+
showChars: 100,
|
994 |
+
minHideChars: 10,
|
995 |
+
ellipsesText: '...',
|
996 |
+
moreText: rtmedia_read_more,
|
997 |
+
lessText: rtmedia__show_less,
|
998 |
+
onLess: function() {},
|
999 |
+
onMore: function() {},
|
1000 |
+
errMsg: null,
|
1001 |
+
force: false
|
1002 |
+
};
|
1003 |
+
|
1004 |
+
if ( settings ) {
|
1005 |
+
$.extend( config, settings );
|
1006 |
+
}
|
1007 |
+
|
1008 |
+
if ( $( this ).data( 'jquery.shorten' ) && ! config.force ) {
|
1009 |
+
return false;
|
1010 |
+
}
|
1011 |
+
$( this ).data( 'jquery.shorten', true );
|
1012 |
+
|
1013 |
+
$( document ).off( 'click', '.morelink' );
|
1014 |
+
|
1015 |
+
$( document ).on({
|
1016 |
+
click: function() {
|
1017 |
+
|
1018 |
+
var $this = $( this );
|
1019 |
+
if ( $this.hasClass( 'less' ) ) {
|
1020 |
+
$this.removeClass( 'less' );
|
1021 |
+
$this.html( config.moreText );
|
1022 |
+
$this.parent().prev().hide( 0, function() {
|
1023 |
+
$this.parent().prev().prev().show();
|
1024 |
+
})
|
1025 |
+
.hide( 0, function() {
|
1026 |
+
config.onLess();
|
1027 |
+
});
|
1028 |
+
} else {
|
1029 |
+
$this.addClass( 'less' );
|
1030 |
+
$this.html( config.lessText );
|
1031 |
+
$this.parent().prev().show( 0, function() {
|
1032 |
+
$this.parent().prev().prev().hide();
|
1033 |
+
})
|
1034 |
+
.show( 0, function() {
|
1035 |
+
config.onMore();
|
1036 |
+
});
|
1037 |
+
}
|
1038 |
+
return false;
|
1039 |
+
}
|
1040 |
+
}, '.morelink' );
|
1041 |
+
|
1042 |
+
return this.each(function() {
|
1043 |
+
var $this = $( this );
|
1044 |
+
|
1045 |
+
var content = $this.html();
|
1046 |
+
var contentlen = $this.text().length;
|
1047 |
+
if ( contentlen > config.showChars + config.minHideChars ) {
|
1048 |
+
var c = content.substr( 0, config.showChars );
|
1049 |
+
if ( c.indexOf( '<' ) >= 0 ) // If there's HTML don't want to cut it
|
1050 |
+
{
|
1051 |
+
var inTag = false; // I'm in a tag?
|
1052 |
+
var bag = ''; // Put the characters to be shown here
|
1053 |
+
var countChars = 0; // Current bag size
|
1054 |
+
var openTags = []; // Stack for opened tags, so I can close them later
|
1055 |
+
var tagName = null;
|
1056 |
+
|
1057 |
+
for ( var i = 0, r = 0; r <= config.showChars; i++ ) {
|
1058 |
+
if ( content[i] == '<' && ! inTag ) {
|
1059 |
+
inTag = true;
|
1060 |
+
|
1061 |
+
// This could be "tag" or "/tag"
|
1062 |
+
tagName = content.substring( i + 1, content.indexOf( '>', i ) );
|
1063 |
+
|
1064 |
+
// If its a closing tag
|
1065 |
+
if ( tagName[0] == '/' ) {
|
1066 |
+
|
1067 |
+
if ( tagName != '/' + openTags[0] ) {
|
1068 |
+
config.errMsg = 'ERROR en HTML: the top of the stack should be the tag that closes';
|
1069 |
+
} else {
|
1070 |
+
openTags.shift(); // Pops the last tag from the open tag stack (the tag is closed in the retult HTML!)
|
1071 |
+
}
|
1072 |
+
|
1073 |
+
} else {
|
1074 |
+
// There are some nasty tags that don't have a close tag like <br/>
|
1075 |
+
if ( tagName.toLowerCase() != 'br' ) {
|
1076 |
+
openTags.unshift( tagName ); // Add to start the name of the tag that opens
|
1077 |
+
}
|
1078 |
+
}
|
1079 |
+
}
|
1080 |
+
if ( inTag && content[i] == '>' ) {
|
1081 |
+
inTag = false;
|
1082 |
+
}
|
1083 |
+
|
1084 |
+
if ( inTag ) {
|
1085 |
+
bag += content.charAt( i );
|
1086 |
+
} // Add tag name chars to the result
|
1087 |
+
else {
|
1088 |
+
r++;
|
1089 |
+
if ( countChars <= config.showChars ) {
|
1090 |
+
bag += content.charAt( i ); // Fix to ie 7 not allowing you to reference string characters using the []
|
1091 |
+
countChars++;
|
1092 |
+
} else // Now I have the characters needed
|
1093 |
+
{
|
1094 |
+
if ( openTags.length > 0 ) // I have unclosed tags
|
1095 |
+
{
|
1096 |
+
//Console.log('They were open tags');
|
1097 |
+
//console.log(openTags);
|
1098 |
+
for ( j = 0; j < openTags.length; j++ ) {
|
1099 |
+
//Console.log('Cierro tag ' + openTags[j]);
|
1100 |
+
bag += '</' + openTags[j] + '>'; // Close all tags that were opened
|
1101 |
+
|
1102 |
+
// You could shift the tag from the stack to check if you end with an empty stack, that means you have closed all open tags
|
1103 |
+
}
|
1104 |
+
break;
|
1105 |
+
}
|
1106 |
+
}
|
1107 |
+
}
|
1108 |
+
}
|
1109 |
+
c = $( '<div/>' ).html( bag + '<span class="ellip">' + config.ellipsesText + '</span>' ).html();
|
1110 |
+
}else {
|
1111 |
+
c += config.ellipsesText;
|
1112 |
+
}
|
1113 |
+
|
1114 |
+
var html = '<div class="shortcontent">' + c +
|
1115 |
+
'</div><div class="allcontent">' + content +
|
1116 |
+
'</div><span><a href="javascript://nop/" class="morelink">' + config.moreText + '</a></span>';
|
1117 |
+
|
1118 |
+
$this.html( html );
|
1119 |
+
$this.find( '.allcontent' ).hide(); // Hide all text
|
1120 |
+
$( '.shortcontent p:last', $this ).css( 'margin-bottom', 0 ); //Remove bottom margin on last paragraph as it's likely shortened
|
1121 |
+
}
|
1122 |
+
});
|
1123 |
+
|
1124 |
+
};
|
1125 |
|
1126 |
})( jQuery );
|
1127 |
|
1128 |
window.onload = function() {
|
1129 |
+
if ( 'undefined' != typeof rtmedia_masonry_layout && 'true' == rtmedia_masonry_layout && 0 == jQuery( '.rtmedia-container .rtmedia-list.rtm-no-masonry' ).length ) {
|
1130 |
+
rtm_masonry_reload( rtm_masonry_container );
|
1131 |
+
}
|
1132 |
|
1133 |
+
rtm_search_media_text_validation();
|
1134 |
|
1135 |
+
if ( check_condition( 'search' ) ) {
|
1136 |
+
jQuery( '#media_search_remove' ).show();
|
1137 |
+
}
|
1138 |
|
1139 |
};
|
1140 |
|
1143 |
* issue: https://github.com/rtMediaWP/rtMedia/issues/834
|
1144 |
*/
|
1145 |
function rtm_search_media_text_validation() {
|
1146 |
+
if ( '' === jQuery( '#media_search_input' ).val() ) {
|
1147 |
+
jQuery( '#media_search' ).css( 'cursor', 'not-allowed');
|
1148 |
+
} else {
|
1149 |
+
jQuery( '#media_search' ).css( 'cursor', 'pointer');
|
1150 |
+
}
|
1151 |
}
|
1152 |
|
1153 |
// Get query string parameters from url
|
1154 |
function rtmediaGetParameterByName( name ) {
|
1155 |
+
name = name.replace( /[\[]/, '\\\[' ).replace( /[\]]/, '\\\]' );
|
1156 |
+
var regex = new RegExp( '[\\?&]' + name + '=([^&#]*)' ),
|
1157 |
+
results = regex.exec( location.search );
|
1158 |
+
return results == null ? '' : decodeURIComponent( results[1].replace( /\+/g, ' ' ) );
|
1159 |
}
|
1160 |
|
1161 |
function rtmedia_single_media_alert_message( msg, action, is_comment ) {
|
1162 |
+
var action_class = 'rtmedia-success';
|
1163 |
+
|
1164 |
+
if ( 'warning' == action ) {
|
1165 |
+
action_class = 'rtmedia-warning';
|
1166 |
+
}
|
1167 |
+
|
1168 |
+
/**
|
1169 |
+
* Remove existing task specific message containers
|
1170 |
+
*/
|
1171 |
+
var exists = false;
|
1172 |
+
var msg_containers = jQuery( '.rtmedia-message-container' );
|
1173 |
+
msg_containers.each( function( i, container ) {
|
1174 |
+
/**
|
1175 |
+
* Convert DOM to jQuery element.
|
1176 |
+
*/
|
1177 |
+
container = jQuery( container );
|
1178 |
+
/**
|
1179 |
+
* If is comment error and has dedicated error class, then only remove
|
1180 |
+
*/
|
1181 |
+
if ( is_comment && container.hasClass( 'rtmedia-empty-comment-error-class' ) ) {
|
1182 |
+
container.remove();
|
1183 |
+
exists = true;
|
1184 |
+
return false;
|
1185 |
+
}
|
1186 |
+
/**
|
1187 |
+
* If is not comment error and container doesn't have dedicated error class, then only remove
|
1188 |
+
*/
|
1189 |
+
if ( is_comment === undefined && ! container.hasClass( 'rtmedia-empty-comment-error-class' ) ) {
|
1190 |
+
container.remove();
|
1191 |
+
exists = true;
|
1192 |
+
return false;
|
1193 |
+
}
|
1194 |
+
} );
|
1195 |
+
/**
|
1196 |
+
* Construct message container
|
1197 |
+
*/
|
1198 |
+
var $div = jQuery( "<div>", {
|
1199 |
+
"title" : "Click to dismiss",
|
1200 |
+
"class" : "rtmedia-message-container" + ( is_comment ? " rtmedia-empty-comment-error-class" : "" ),
|
1201 |
+
"style" : "margin:1em 0;",
|
1202 |
+
});
|
1203 |
+
var $span = jQuery( "<span>", {
|
1204 |
+
"class" : action_class,
|
1205 |
+
});
|
1206 |
+
/**
|
1207 |
+
* Append constructed html
|
1208 |
+
*/
|
1209 |
+
$span.html( msg );
|
1210 |
+
$span.appendTo( $div );
|
1211 |
+
|
1212 |
+
var container;
|
1213 |
+
if ( is_comment ) {
|
1214 |
+
/**
|
1215 |
+
* container should be comment form
|
1216 |
+
*/
|
1217 |
+
container = jQuery( '#rt_media_comment_form' );
|
1218 |
+
jQuery( '#comment_content' ).focus();
|
1219 |
+
} else if ( is_comment === undefined ) {
|
1220 |
+
/**
|
1221 |
+
* container should be main rtmedia container
|
1222 |
+
*/
|
1223 |
+
container = jQuery( '.rtmedia-single-media .rtmedia-media' );
|
1224 |
+
container.css( 'opacity', '0.2' );
|
1225 |
+
}
|
1226 |
+
/**
|
1227 |
+
* Append final element
|
1228 |
+
*/
|
1229 |
+
container.after( $div );
|
1230 |
+
if ( exists ) {
|
1231 |
+
/**
|
1232 |
+
* Add border if message already exists
|
1233 |
+
*/
|
1234 |
+
$span.css( { border : '2px solid #884646' } );
|
1235 |
+
setTimeout( function() {
|
1236 |
+
$span.css( { border : 'none' } );
|
1237 |
+
}, 500 );
|
1238 |
+
}
|
1239 |
+
/**
|
1240 |
+
* Remove element after 3 seconds
|
1241 |
+
*/
|
1242 |
+
setTimeout( function() {
|
1243 |
+
$div.remove();
|
1244 |
+
if ( is_comment === undefined ) {
|
1245 |
+
container.css( 'opacity', '1' );
|
1246 |
+
}
|
1247 |
+
}, 3000 );
|
1248 |
+
/**
|
1249 |
+
* Remove element on click
|
1250 |
+
*/
|
1251 |
+
$div.click( function() {
|
1252 |
+
$div.remove();
|
1253 |
+
if ( is_comment === undefined ) {
|
1254 |
+
container.css( 'opacity', '1' );
|
1255 |
+
}
|
1256 |
+
} );
|
1257 |
|
1258 |
}
|
1259 |
|
1260 |
function rtmedia_gallery_action_alert_message( msg, action ) {
|
1261 |
+
var action_class = 'rtmedia-success';
|
1262 |
+
|
1263 |
+
if ( 'warning' == action ) {
|
1264 |
+
action_class = 'rtmedia-warning';
|
1265 |
+
}
|
1266 |
+
var container = '<div class="rtmedia-gallery-alert-container"> </div>';
|
1267 |
+
jQuery( 'body' ).append( container );
|
1268 |
+
jQuery( '.rtmedia-gallery-alert-container' ).append( '<div class=\'rtmedia-gallery-message-box\'><span class=\'' + action_class + '\'>' + msg + ' </span></div>' );
|
1269 |
+
|
1270 |
+
setTimeout( function() {
|
1271 |
+
jQuery( '.rtmedia-gallery-alert-container' ).remove();
|
1272 |
+
}, 3000 );
|
1273 |
+
|
1274 |
+
jQuery( '.rtmedia-gallery-message-box' ).click( function() {
|
1275 |
+
jQuery( '.rtmedia-gallery-alert-container' ).remove();
|
1276 |
+
} );
|
1277 |
}
|
1278 |
|
1279 |
// Set masonry view for activity
|
1280 |
function rtmedia_activity_masonry() {
|
1281 |
+
jQuery('#activity-stream .rtmedia-activity-container .rtmedia-list').masonry({
|
1282 |
+
itemSelector: '.rtmedia-list-item',
|
1283 |
+
gutter: 7,
|
1284 |
+
});
|
1285 |
+
var timesRun = 0;
|
1286 |
+
var interval = setInterval( function() {
|
1287 |
+
timesRun += 1;
|
1288 |
+
// Run this for 5 times only.
|
1289 |
+
if(timesRun === 5){
|
1290 |
+
clearInterval(interval);
|
1291 |
+
}
|
1292 |
+
jQuery.each( jQuery( '.rtmedia-activity-container .rtmedia-list.masonry .rtmedia-item-title' ), function( i, item ) {
|
1293 |
+
jQuery( item ).width( jQuery( item ).siblings( '.rtmedia-item-thumbnail' ).children( 'img' ).width() );
|
1294 |
+
} );
|
1295 |
+
// Reload masonry view.
|
1296 |
+
rtm_masonry_reload( jQuery('#activity-stream .rtmedia-activity-container .rtmedia-list') );
|
1297 |
+
}, 1000 );
|
1298 |
}
|
1299 |
|
1300 |
/**
|
1305 |
*/
|
1306 |
function get_parameter( parameter, data ) {
|
1307 |
|
1308 |
+
if ( ! parameter ) {
|
1309 |
+
return false;
|
1310 |
+
}
|
1311 |
|
1312 |
+
if ( ! data ) {
|
1313 |
+
data = window.location.href;
|
1314 |
+
}
|
1315 |
|
1316 |
+
var parameter = parameter.replace( /[\[]/, "\\\[" ).replace( /[\]]/, "\\\]" );
|
1317 |
+
var expr = parameter + "=([^&#]*)";
|
1318 |
+
var regex = new RegExp( expr );
|
1319 |
+
var results = regex.exec( data );
|
1320 |
|
1321 |
+
if ( null !== results ) {
|
1322 |
+
return results[1];
|
1323 |
+
} else {
|
1324 |
+
return false;
|
1325 |
+
}
|
1326 |
}
|
1327 |
|
1328 |
/**
|
1329 |
* Prevent user to upload media without checking upload terms checkbox.
|
1330 |
*/
|
1331 |
function rtm_upload_terms_activity() {
|
1332 |
+
// Check if upload term checkbox is there.
|
1333 |
+
if ( jQuery( '#rtmedia_upload_terms_conditions' ).length > 0) {
|
1334 |
+
// Handle error on click event.
|
1335 |
+
jQuery( '#bp-nouveau-activity-form' ).on( 'click', '#aw-whats-new-submit', function ( event ) {
|
1336 |
+
var form = jQuery( '#whats-new-form' );
|
1337 |
+
var condition_checkbox = form.find( '#rtmedia_upload_terms_conditions' );
|
1338 |
+
if ( 0 !== condition_checkbox.length && false === condition_checkbox.prop( 'checked' ) && form.find( '#message' ).length === 0 ) {
|
1339 |
+
event.preventDefault();
|
1340 |
+
var selector = form.find( '.rtmedia-upload-terms' );
|
1341 |
+
rtp_display_terms_warning( selector, rtmedia_upload_terms_check_terms_message );
|
1342 |
+
}
|
1343 |
+
});
|
1344 |
+
|
1345 |
+
var bp_legacy_form = jQuery( '#whats-new-form' );
|
1346 |
+
|
1347 |
+
// Re-enable hidden inputs disabled in the activity post form.
|
1348 |
+
if ( bp_legacy_form.length > 0 ) {
|
1349 |
+
// Add upload terms element selector to work when direct upload is enabled.
|
1350 |
+
jQuery( '#whats-new-form, #rtmedia_upload_terms_conditions' ).on( 'click', function ( event ) {
|
1351 |
+
var hidden_fields = bp_legacy_form.find( 'input:hidden' );
|
1352 |
+
hidden_fields.each( function() {
|
1353 |
+
jQuery(this).prop( 'disabled', false );
|
1354 |
+
} );
|
1355 |
+
} );
|
1356 |
+
}
|
1357 |
+
}
|
1358 |
}
|
1359 |
|
1360 |
jQuery( document ).ready( function () {
|
1361 |
+
// Call function when document loaded.
|
1362 |
+
rtm_upload_terms_activity();
|
1363 |
+
|
1364 |
+
// Avoid Lightbox conflict due to class has-sidebar in theme 2017 v2.1.
|
1365 |
+
if( jQuery( 'body' ).hasClass( 'has-sidebar' ) && 0 === jQuery( '#secondary' ).length ) {
|
1366 |
+
if ( jQuery( '.rtmedia-single-container' ).length || jQuery( '.rtmedia-container' ).length ) {
|
1367 |
+
jQuery( 'body' ).removeClass( 'has-sidebar' );
|
1368 |
+
}
|
1369 |
+
}
|
1370 |
+
|
1371 |
+
// remove download option from video.
|
1372 |
+
if ( rtmedia_main ) {
|
1373 |
+
if ( 'undefined' === rtmedia_main.rtmedia_direct_download_link || ! parseInt( rtmedia_main.rtmedia_direct_download_link ) ) {
|
1374 |
+
jQuery( document ).on( 'bp_ajax_request', function ( event ) {
|
1375 |
+
setTimeout( function() {
|
1376 |
+
jQuery( 'video' ).each( function () {
|
1377 |
+
jQuery( this ).attr( 'controlsList', 'nodownload' );
|
1378 |
+
jQuery( this ).load();
|
1379 |
+
} );
|
1380 |
+
}, 200 );
|
1381 |
+
} );
|
1382 |
+
}
|
1383 |
+
}
|
1384 |
});
|
app/assets/js/rtmedia.min.js
CHANGED
@@ -3,4 +3,4 @@
|
|
3 |
* @package rtMedia
|
4 |
*/
|
5 |
|
6 |
-
var rtMagnificPopup,rtm_masonry_container;!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.jQuery||window.Zepto)}(function(d){function e(){}function m(e,t){y.ev.on(i+e+b,t)}function u(e,t,i,a){var r=document.createElement("div");return r.className="mfp-"+e,i&&(r.innerHTML=i),a?t&&t.appendChild(r):(r=d(r),t&&r.appendTo(t)),r}function p(e,t){y.ev.triggerHandler(i+e,t),y.st.callbacks&&(e=e.charAt(0).toLowerCase()+e.slice(1),y.st.callbacks[e]&&y.st.callbacks[e].apply(y,d.isArray(t)?t:[t]))}function f(e){return e===t&&y.currTemplate.closeBtn||(y.currTemplate.closeBtn=d(y.st.closeMarkup.replace("%title%",y.st.tClose)),t=e),y.currTemplate.closeBtn}function n(){d.magnificPopup.instance||((y=new e).init(),d.magnificPopup.instance=y)}var y,a,_,r,v,t,l="Close",c="BeforeClose",g="MarkupParse",h="Open",o="Change",i="mfp",b="."+i,j="mfp-ready",s="mfp-removing",w="mfp-prevent-close",Q=!!window.jQuery,C=d(window);e.prototype={constructor:e,init:function(){var e=navigator.appVersion;y.isIE7=-1!==e.indexOf("MSIE 7."),y.isIE8=-1!==e.indexOf("MSIE 8."),y.isLowIE=y.isIE7||y.isIE8,y.isAndroid=/android/gi.test(e),y.isIOS=/iphone|ipad|ipod/gi.test(e),y.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),y.probablyMobile=y.isAndroid||y.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),_=d(document),y.popupsCache={}},open:function(e){var t;if(!1===e.isObj){y.items=e.items.toArray(),y.index=0;var i,a=e.items;for(t=0;t<a.length;t++)if((i=a[t]).parsed&&(i=i.el[0]),i===e.el[0]){y.index=t;break}}else y.items=d.isArray(e.items)?e.items:[e.items],y.index=e.index||0;if(!y.isOpen){y.types=[],v="",e.mainEl&&e.mainEl.length?y.ev=e.mainEl.eq(0):y.ev=_,e.key?(y.popupsCache[e.key]||(y.popupsCache[e.key]={}),y.currTemplate=y.popupsCache[e.key]):y.currTemplate={},y.st=d.extend(!0,{},d.magnificPopup.defaults,e),y.fixedContentPos="auto"===y.st.fixedContentPos?!y.probablyMobile:y.st.fixedContentPos,y.st.modal&&(y.st.closeOnContentClick=!1,y.st.closeOnBgClick=!1,y.st.showCloseBtn=!1,y.st.enableEscapeKey=!1),y.bgOverlay||(y.bgOverlay=u("bg").on("click"+b,function(){y.close()}),y.wrap=u("wrap").attr("tabindex",-1).on("click"+b,function(e){y._checkIfClose(e.target)&&y.close()}),y.container=u("container",y.wrap)),y.contentContainer=u("content"),y.st.preloader&&(y.preloader=u("preloader",y.container,y.st.tLoading));var r=d.magnificPopup.modules;for(t=0;t<r.length;t++){var n=r[t];n=n.charAt(0).toUpperCase()+n.slice(1),y["init"+n].call(y)}p("BeforeOpen"),y.st.showCloseBtn&&(y.st.closeBtnInside?(m(g,function(e,t,i,a){i.close_replaceWith=f(a.type)}),v+=" mfp-close-btn-in"):y.wrap.append(f())),y.st.alignTop&&(v+=" mfp-align-top"),y.fixedContentPos?y.wrap.css({overflow:y.st.overflowY,overflowX:"hidden",overflowY:y.st.overflowY}):y.wrap.css({top:C.scrollTop(),position:"absolute"}),!1!==y.st.fixedBgPos&&("auto"!==y.st.fixedBgPos||y.fixedContentPos)||y.bgOverlay.css({height:_.height(),position:"absolute"}),y.st.enableEscapeKey&&_.on("keyup"+b,function(e){27===e.keyCode&&y.close()}),C.on("resize"+b,function(){y.updateSize()}),y.st.closeOnContentClick||(v+=" mfp-auto-cursor"),v&&y.wrap.addClass(v);var o=y.wH=C.height(),s={};if(y.fixedContentPos&&y._hasScrollBar(o)){var l=y._getScrollbarSize();l&&(s.marginRight=l)}y.fixedContentPos&&(y.isIE7?d("body, html").css("overflow","hidden"):s.overflow="hidden");var c=y.st.mainClass;return y.isIE7&&(c+=" mfp-ie7"),c&&y._addClassToMFP(c),y.updateItemHTML(),p("BuildControls"),d("html").css(s),y.bgOverlay.add(y.wrap).prependTo(y.st.prependTo||d(document.body)),y._lastFocusedEl=document.activeElement,setTimeout(function(){y.content?(y._addClassToMFP(j),y._setFocus()):y.bgOverlay.addClass(j),_.on("focusin"+b,y._onFocusIn)},16),y.isOpen=!0,y.updateSize(o),p(h),e}y.updateItemHTML()},close:function(){y.isOpen&&(p(c),y.isOpen=!1,y.st.removalDelay&&!y.isLowIE&&y.supportsTransition?(y._addClassToMFP(s),setTimeout(function(){y._close()},y.st.removalDelay)):y._close())},_close:function(){p(l);var e=s+" "+j+" ";if(y.bgOverlay.detach(),y.wrap.detach(),y.container.empty(),y.st.mainClass&&(e+=y.st.mainClass+" "),y._removeClassFromMFP(e),y.fixedContentPos){var t={marginRight:""};y.isIE7?d("body, html").css("overflow",""):t.overflow="",d("html").css(t)}_.off("keyup.mfp focusin"+b),y.ev.off(b),y.wrap.attr("class","mfp-wrap").removeAttr("style"),y.bgOverlay.attr("class","mfp-bg"),y.container.attr("class","mfp-container"),!y.st.showCloseBtn||y.st.closeBtnInside&&!0!==y.currTemplate[y.currItem.type]||y.currTemplate.closeBtn&&y.currTemplate.closeBtn.detach(),y._lastFocusedEl&&d(y._lastFocusedEl).focus(),y.currItem=null,y.content=null,y.currTemplate=null,y.prevHeight=0,p("AfterClose")},updateSize:function(e){if(y.isIOS){var t=document.documentElement.clientWidth/window.innerWidth,i=window.innerHeight*t;y.wrap.css("height",i),y.wH=i}else y.wH=e||C.height();y.fixedContentPos||y.wrap.css("height",y.wH),p("Resize")},updateItemHTML:function(){var e=y.items[y.index];y.contentContainer.detach(),y.content&&y.content.detach(),e.parsed||(e=y.parseEl(y.index));var t=e.type;if(p("BeforeChange",[y.currItem?y.currItem.type:"",t]),y.currItem=e,!y.currTemplate[t]){var i=!!y.st[t]&&y.st[t].markup;p("FirstMarkupParse",i),y.currTemplate[t]=!i||d(i)}r&&r!==e.type&&y.container.removeClass("mfp-"+r+"-holder");var a=y["get"+t.charAt(0).toUpperCase()+t.slice(1)](e,y.currTemplate[t]);y.appendContent(a,t),e.preloaded=!0,p(o,e),r=e.type,y.container.prepend(y.contentContainer),p("AfterChange")},appendContent:function(e,t){(y.content=e)?y.st.showCloseBtn&&y.st.closeBtnInside&&!0===y.currTemplate[t]?y.content.find(".mfp-close").length||y.content.append(f()):y.content=e:y.content="",p("BeforeAppend"),y.container.addClass("mfp-"+t+"-holder"),y.contentContainer.append(y.content)},parseEl:function(e){var t,i=y.items[e];if((i=i.tagName?{el:d(i)}:(t=i.type,{data:i,src:i.src})).el){for(var a=y.types,r=0;r<a.length;r++)if(i.el.hasClass("mfp-"+a[r])){t=a[r];break}i.src=i.el.attr("data-mfp-src"),i.src||(i.src=i.el.attr("href"))}return i.type=t||y.st.type||"inline",i.index=e,i.parsed=!0,y.items[e]=i,p("ElementParse",i),y.items[e]},addGroup:function(t,i){function e(e){e.mfpEl=this,y._openClick(e,t,i)}var a="click.magnificPopup";(i=i||{}).mainEl=t,i.items?(i.isObj=!0,t.off(a).on(a,e)):(i.isObj=!1,i.delegate?t.off(a).on(a,i.delegate,e):(i.items=t).off(a).on(a,e))},_openClick:function(e,t,i){if((void 0!==i.midClick?i.midClick:d.magnificPopup.defaults.midClick)||2!==e.which&&!e.ctrlKey&&!e.metaKey){var a=void 0!==i.disableOn?i.disableOn:d.magnificPopup.defaults.disableOn;if(a)if(d.isFunction(a)){if(!a.call(y))return!0}else if(C.width()<a)return!0;e.type&&(e.preventDefault(),y.isOpen&&e.stopPropagation()),i.el=d(e.mfpEl),i.delegate&&(i.items=t.find(i.delegate)),y.open(i)}},updateStatus:function(e,t){if(y.preloader){a!==e&&y.container.removeClass("mfp-s-"+a),t||"loading"!==e||(t=y.st.tLoading);var i={status:e,text:t};p("UpdateStatus",i),e=i.status,t=i.text,y.preloader.html(t),y.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),y.container.addClass("mfp-s-"+e),a=e}},_checkIfClose:function(e){if(!d(e).hasClass(w)){var t=y.st.closeOnContentClick,i=y.st.closeOnBgClick;if(t&&i)return!0;if(!y.content||d(e).hasClass("mfp-close")||y.preloader&&e===y.preloader[0])return!0;if(e===y.content[0]||d.contains(y.content[0],e)){if(t)return!0}else if(i&&d.contains(document,e))return!0;return!1}},_addClassToMFP:function(e){y.bgOverlay.addClass(e),y.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),y.wrap.removeClass(e)},_hasScrollBar:function(e){return(y.isIE7?_.height():document.body.scrollHeight)>(e||C.height())},_setFocus:function(){(y.st.focus?y.content.find(y.st.focus).eq(0):y.wrap).focus()},_onFocusIn:function(e){if(e.target!==y.wrap[0]&&!d.contains(y.wrap[0],e.target))return y._setFocus(),!1},_parseMarkup:function(r,e,t){var n;t.data&&(e=d.extend(t.data,e)),p(g,[r,e,t]),d.each(e,function(e,t){if(void 0===t||!1===t)return!0;if(1<(n=e.split("_")).length){var i=r.find(b+"-"+n[0]);if(0<i.length){var a=n[1];"replaceWith"===a?i[0]!==t[0]&&i.replaceWith(t):"img"===a?i.is("img")?i.attr("src",t):i.replaceWith('<img src="'+t+'" class="'+i.attr("class")+'" />'):i.attr(n[1],t)}}else r.find(b+"-"+e).html(t)})},_getScrollbarSize:function(){if(void 0===y.scrollbarSize){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),y.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return y.scrollbarSize}},d.magnificPopup={instance:null,proto:e.prototype,modules:[],open:function(e,t){return n(),(e=e?d.extend(!0,{},e):{}).isObj=!0,e.index=t||0,this.instance.open(e)},close:function(){return d.magnificPopup.instance&&d.magnificPopup.instance.close()},registerModule:function(e,t){t.options&&(d.magnificPopup.defaults[e]=t.options),d.extend(this.proto,t.proto),this.modules.push(e)},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..."}},d.fn.magnificPopup=function(e){n();var t=d(this);if("string"==typeof e)if("open"===e){var i,a=Q?t.data("magnificPopup"):t[0].magnificPopup,r=parseInt(arguments[1],10)||0;i=a.items?a.items[r]:(i=t,a.delegate&&(i=i.find(a.delegate)),i.eq(r)),y._openClick({mfpEl:i},t,a)}else y.isOpen&&y[e].apply(y,Array.prototype.slice.call(arguments,1));else e=d.extend(!0,{},e),Q?t.data("magnificPopup",e):t[0].magnificPopup=e,y.addGroup(t,e);return t};function k(){I&&(T.after(I.addClass(x)).detach(),I=null)}var x,T,I,M="inline";d.magnificPopup.registerModule(M,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){y.types.push(M),m(l+"."+M,function(){k()})},getInline:function(e,t){if(k(),e.src){var i=y.st.inline,a=d(e.src);if(a.length){var r=a[0].parentNode;r&&r.tagName&&(T||(x=i.hiddenClass,T=u(x),x="mfp-"+x),I=a.after(T).detach().removeClass(x)),y.updateStatus("ready")}else y.updateStatus("error",i.tNotFound),a=d("<div>");return e.inlineElement=a}return y.updateStatus("ready"),y._parseMarkup(t,{},e),t}}});function P(){E&&d(document.body).removeClass(E)}function S(){P(),y.req&&y.req.abort()}var E,O="ajax";d.magnificPopup.registerModule(O,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){y.types.push(O),E=y.st.ajax.cursor,m(l+"."+O,S),m("BeforeChange."+O,S)},getAjax:function(r){E&&d(document.body).addClass(E),y.updateStatus("loading");var e=d.extend({url:r.src,success:function(e,t,i){var a={data:e,xhr:i};p("ParseAjax",a),y.appendContent(d(a.data),O),r.finished=!0,P(),y._setFocus(),setTimeout(function(){y.wrap.addClass(j)},16),y.updateStatus("ready"),p("AjaxContentAdded")},error:function(){P(),r.finished=r.loadError=!0,y.updateStatus("error",y.st.ajax.tError.replace("%url%",r.src))}},y.st.ajax.settings);return y.req=d.ajax(e),""}}});var z;d.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 e=y.st.image,t=".image";y.types.push("image"),m(h+t,function(){"image"===y.currItem.type&&e.cursor&&d(document.body).addClass(e.cursor)}),m(l+t,function(){e.cursor&&d(document.body).removeClass(e.cursor),C.off("resize"+b)}),m("Resize"+t,y.resizeImage),y.isLowIE&&m("AfterChange",y.resizeImage)},resizeImage:function(){var e=y.currItem;if(e&&e.img&&y.st.image.verticalFit){var t=0;y.isLowIE&&(t=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",y.wH-t)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,z&&clearInterval(z),e.isCheckingImgSize=!1,p("ImageHasSize",e),e.imgHidden&&(y.content&&y.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(t){var i=0,a=t.img[0],r=function(e){z&&clearInterval(z),z=setInterval(function(){0<a.naturalWidth?y._onImageHasSize(t):(200<i&&clearInterval(z),3===++i?r(10):40===i?r(50):100===i&&r(500))},e)};r(1)},getImage:function(e,t){var i=0,a=function(){e&&(e.img[0].complete?(e.img.off(".mfploader"),e===y.currItem&&(y._onImageHasSize(e),y.updateStatus("ready")),e.hasSize=!0,e.loaded=!0,p("ImageLoadComplete")):++i<200?setTimeout(a,100):r())},r=function(){e&&(e.img.off(".mfploader"),e===y.currItem&&(y._onImageHasSize(e),y.updateStatus("error",n.tError.replace("%url%",e.src))),e.hasSize=!0,e.loaded=!0,e.loadError=!0)},n=y.st.image,o=t.find(".mfp-img");if(o.length){var s=document.createElement("img");s.className="mfp-img",e.el&&e.el.find("img").length&&(s.alt=e.el.find("img").attr("alt")),e.img=d(s).on("load.mfploader",a).on("error.mfploader",r),s.src=e.src,o.is("img")&&(e.img=e.img.clone()),0<(s=e.img[0]).naturalWidth?e.hasSize=!0:s.width||(e.hasSize=!1)}return y._parseMarkup(t,{title:function(e){if(e.data&&void 0!==e.data.title)return e.data.title;var t=y.st.image.titleSrc;if(t){if(d.isFunction(t))return t.call(y,e);if(e.el)return e.el.attr(t)||""}return""}(e),img_replaceWith:e.img},e),y.resizeImage(),e.hasSize?(z&&clearInterval(z),e.loadError?(t.addClass("mfp-loading"),y.updateStatus("error",n.tError.replace("%url%",e.src))):(t.removeClass("mfp-loading"),y.updateStatus("ready"))):(y.updateStatus("loading"),e.loading=!0,e.hasSize||(e.imgHidden=!0,t.addClass("mfp-loading"),y.findImageSize(e))),t}}});var H;d.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,n=y.st.zoom,t=".zoom";if(n.enabled&&y.supportsTransition){function i(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),i="all "+n.duration/1e3+"s "+n.easing,a={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},r="transition";return a["-webkit-"+r]=a["-moz-"+r]=a["-o-"+r]=a[r]=i,t.css(a),t}function a(){y.content.css("visibility","visible")}var r,o,s=n.duration;m("BuildControls"+t,function(){if(y._allowZoom()){if(clearTimeout(r),y.content.css("visibility","hidden"),!(e=y._getItemToZoom()))return void a();(o=i(e)).css(y._getOffset()),y.wrap.append(o),r=setTimeout(function(){o.css(y._getOffset(!0)),r=setTimeout(function(){a(),setTimeout(function(){o.remove(),e=o=null,p("ZoomAnimationEnded")},16)},s)},16)}}),m(c+t,function(){if(y._allowZoom()){if(clearTimeout(r),y.st.removalDelay=s,!e){if(!(e=y._getItemToZoom()))return;o=i(e)}o.css(y._getOffset(!0)),y.wrap.append(o),y.content.css("visibility","hidden"),setTimeout(function(){o.css(y._getOffset())},16)}}),m(l+t,function(){y._allowZoom()&&(a(),o&&o.remove(),e=null)})}},_allowZoom:function(){return"image"===y.currItem.type},_getItemToZoom:function(){return!!y.currItem.hasSize&&y.currItem.img},_getOffset:function(e){var t,i=(t=e?y.currItem.img:y.st.zoom.opener(y.currItem.el||y.currItem)).offset(),a=parseInt(t.css("padding-top"),10),r=parseInt(t.css("padding-bottom"),10);i.top-=d(window).scrollTop()-a;var n={width:t.width(),height:(Q?t.innerHeight():t[0].offsetHeight)-r-a};return void 0===H&&(H=void 0!==document.createElement("p").style.MozTransform),H?n["-moz-transform"]=n.transform="translate("+i.left+"px,"+i.top+"px)":(n.left=i.left,n.top=i.top),n}}});function B(e){if(y.currTemplate[L]){var t=y.currTemplate[L].find("iframe");t.length&&(e||(t[0].src="//about:blank"),y.isIE8&&t.css("display",e?"block":"none"))}}var L="iframe";d.magnificPopup.registerModule(L,{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(){y.types.push(L),m("BeforeChange",function(e,t,i){t!==i&&(t===L?B():i===L&&B(!0))}),m(l+"."+L,function(){B()})},getIframe:function(e,t){var i=e.src,a=y.st.iframe;d.each(a.patterns,function(){if(-1<i.indexOf(this.index))return this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1});var r={};return a.srcAction&&(r[a.srcAction]=i),y._parseMarkup(t,r,e),y.updateStatus("ready"),t}}});function A(e){var t=y.items.length;return t-1<e?e-t:e<0?t+e:e}function $(e,t,i){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,i)}d.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 n=y.st.gallery,e=".mfp-gallery",r=Boolean(d.fn.mfpFastClick);if(y.direction=!0,!n||!n.enabled)return!1;v+=" mfp-gallery",m(h+e,function(){n.navigateByImgClick&&y.wrap.on("click"+e,".mfp-img",function(){if(1<y.items.length)return y.next(),!1}),_.on("keydown"+e,function(e){37===e.keyCode?y.prev():39===e.keyCode&&y.next()})}),m("UpdateStatus"+e,function(e,t){t.text&&(t.text=$(t.text,y.currItem.index,y.items.length))}),m(g+e,function(e,t,i,a){var r=y.items.length;i.counter=1<r?$(n.tCounter,a.index,r):""}),m("BuildControls"+e,function(){if(1<y.items.length&&n.arrows&&!y.arrowLeft){var e=n.arrowMarkup,t=y.arrowLeft=d(e.replace(/%title%/gi,n.tPrev).replace(/%dir%/gi,"left")).addClass(w),i=y.arrowRight=d(e.replace(/%title%/gi,n.tNext).replace(/%dir%/gi,"right")).addClass(w),a=r?"mfpFastClick":"click";t[a](function(){y.prev()}),i[a](function(){y.next()}),y.isIE7&&(u("b",t[0],!1,!0),u("a",t[0],!1,!0),u("b",i[0],!1,!0),u("a",i[0],!1,!0)),y.container.append(t.add(i))}}),m(o+e,function(){y._preloadTimeout&&clearTimeout(y._preloadTimeout),y._preloadTimeout=setTimeout(function(){y.preloadNearbyImages(),y._preloadTimeout=null},16)}),m(l+e,function(){_.off(e),y.wrap.off("click"+e),y.arrowLeft&&r&&y.arrowLeft.add(y.arrowRight).destroyMfpFastClick(),y.arrowRight=y.arrowLeft=null})},next:function(){y.direction=!0,y.index=A(y.index+1),y.updateItemHTML()},prev:function(){y.direction=!1,y.index=A(y.index-1),y.updateItemHTML()},goTo:function(e){y.direction=e>=y.index,y.index=e,y.updateItemHTML()},preloadNearbyImages:function(){var e,t=y.st.gallery.preload,i=Math.min(t[0],y.items.length),a=Math.min(t[1],y.items.length);for(e=1;e<=(y.direction?a:i);e++)y._preloadItem(y.index+e);for(e=1;e<=(y.direction?i:a);e++)y._preloadItem(y.index-e)},_preloadItem:function(e){if(e=A(e),!y.items[e].preloaded){var t=y.items[e];t.parsed||(t=y.parseEl(e)),p("LazyLoad",t),"image"===t.type&&(t.img=d('<img class="mfp-img" />').on("load.mfploader",function(){t.hasSize=!0}).on("error.mfploader",function(){t.hasSize=!0,t.loadError=!0,p("LazyLoadError",t)}).attr("src",t.src)),t.preloaded=!0}}}});var F,R,D="retina";function W(){C.off("touchmove"+R+" touchend"+R)}d.magnificPopup.registerModule(D,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(1<window.devicePixelRatio){var i=y.st.retina,a=i.ratio;1<(a=isNaN(a)?a():a)&&(m("ImageHasSize."+D,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/a,width:"100%"})}),m("ElementParse."+D,function(e,t){t.src=i.replaceSrc(t,a)}))}}}}),F="ontouchstart"in window,R=".mfpFastClick",d.fn.mfpFastClick=function(l){return d(this).each(function(){var t,i,a,r,n,o,s,e=d(this);F&&e.on("touchstart"+R,function(e){n=!1,s=1,o=e.originalEvent?e.originalEvent.touches[0]:e.touches[0],a=o.clientX,r=o.clientY,C.on("touchmove"+R,function(e){o=e.originalEvent?e.originalEvent.touches:e.touches,s=o.length,o=o[0],(10<Math.abs(o.clientX-a)||10<Math.abs(o.clientY-r))&&(n=!0,W())}).on("touchend"+R,function(e){W(),n||1<s||(t=!0,e.preventDefault(),clearTimeout(i),i=setTimeout(function(){t=!1},1e3),l())})}),e.on("click"+R,function(){t||l()})})},d.fn.destroyMfpFastClick=function(){d(this).off("touchstart"+R+" click"+R),F&&C.off("touchmove"+R+" touchend"+R)},n()}),"function"!=typeof Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),function(n,o){var i={init:function(e,t){this.elem=t,this.$elem=n(t),this.options=n.extend({},n.fn.rtTab.options,e),this.rtTabs()},rtTabs:function(){var t=this,e=t.options.activeTab;if(t.$elem.find("li:nth-child("+e+")").addClass("active"),t.rtTabContent(activeTabContent="yes"),t.rtClick(),!0==("false"!==t.$elem.attr("data-hash"))){var i=o.location.hash;i&&t.$elem.find("li").find('a[href="'+i+'"]').trigger("click"),n(o).on("hashchange",function(){var e=o.location.hash;t.$elem.find("li").find('a[href="'+e+'"]').trigger("click")})}},rtClick:function(){var a=this,r=a.$elem.find("li");r.find("a").on("click",function(e){e.preventDefault(),r.removeClass("active"),a.rtTabContent(),n(this).parent().addClass("active");var t=n(this).attr("href");if(n(t).removeClass("hide"),!0==("false"!==a.$elem.attr("data-hash"))){var i=n(o).scrollTop();location.hash=n(this).attr("href"),n(o).scrollTop(i)}"function"==typeof a.options.onComplete&&a.options.onComplete.apply(a.elem,arguments)})},rtTabContent:function(i){this.$elem.find("li").find("a").each(function(){var e=n(this),t=e.attr("href");"yes"===i&&e.parent().hasClass("active")||n(t).addClass("hide")})}};n.fn.rtTab=function(t){return this.each(function(){var e=Object.create(i);e.init(t,this),n.data(this,"rtTab",e)})},n.fn.rtTab.options={activeTab:1,onComplete:null}}(jQuery,window,document);var comment_media=!1;function apply_rtMagnificPopup(t){jQuery("document").ready(function(s){var e="";if(e="undefined"==typeof rtmedia_load_more?"Loading media":rtmedia_load_more,"undefined"!=typeof rtmedia_lightbox_enabled&&"1"==rtmedia_lightbox_enabled){var n,l,c=!1;0<s(".activity-item .rtmedia-activity-container .rtmedia-list-item > a").siblings("p").children("a").length&&s(".activity-item .rtmedia-activity-container .rtmedia-list-item > a").siblings("p").children("a").addClass("no-popup"),rtMagnificPopup=jQuery(t).magnificPopup({delegate:"a:not(.no-popup, .mejs-time-slider, .mejs-volume-slider, .mejs-horizontal-volume-slider)",type:"ajax",fixedContentPos:!0,fixedBgPos:!0,tLoading:e+" #%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(e){return e.el.attr("title")+"<small>by Marsel Van Oosten</small>"}},callbacks:{ajaxContentAdded:function(){e=jQuery.magnificPopup.instance,1===jQuery(e.items).size()&&jQuery(".mfp-arrow").remove();var e=jQuery.magnificPopup.instance,t=e.currItem.el,i=t.parent();if(i.is("li")||(i=i.parent()),(i.is(":nth-last-child(2)")||i.is(":last-child"))&&i.find("a").hasClass("rtmedia-list-item-a")){i.next();"block"==jQuery("#rtMedia-galary-next").css("display")&&(c||(n=e.ev.children(),c=!0,l=nextpage),jQuery("#rtMedia-galary-next").click())}var a=e.items.length;if(e.index!=a-1||i.is(":last-child")){"undefined"!=typeof _wpmejsSettings&&_wpmejsSettings.pluginPath;var o=jQuery(".rtmedia-container .rtmedia-single-meta").height(),r=!1;void 0!==e&&void 0!==e.probablyMobile&&1==e.probablyMobile&&(r=!0),s(".mfp-content .rtmedia-single-media .wp-audio-shortcode,.mfp-content .rtmedia-single-media .wp-video-shortcode,.mfp-content .rtmedia-single-media .bp_media_content video").attr("autoplay",!0),r&&s(".mfp-content .rtmedia-single-media .wp-video-shortcode,.mfp-content .rtmedia-single-media .bp_media_content video").attr("muted",!1),s(".mfp-content .rtmedia-single-media .wp-audio-shortcode,.mfp-content .rtmedia-single-media .wp-video-shortcode,.mfp-content .rtmedia-single-media .bp_media_content video").mediaelementplayer({classPrefix:"mejs-",defaultVideoWidth:480,hideVolumeOnTouchDevices:!1,features:["playpause","progress","current","volume","fullscreen"],defaultVideoHeight:270,alwaysShowControls:r,enableAutosize:!0,clickToPlayPause:!0,videoHeight:-1,success:function(n,e){n.addEventListener("loadeddata",function(e){var t=s(n).height(),i=s(window).height(),a=jQuery("div.rtm-ltb-action-container").height(),r=o-(a=a+50);i<t&&jQuery(".rtmedia-container #rtmedia-single-media-container .mejs-container").attr("style","height:"+r+"px !important; transition:0.2s")},!1),r&&s(n).hasClass("wp-video-shortcode")?jQuery("body").on("touchstart",".mejs-overlay-button",function(e){n.paused?n.play():n.pause()}):n.pause()}}),s(".mfp-content .mejs-audio .mejs-controls").css("position","relative"),rtMediaHook.call("rtmedia_js_popup_after_content_added",[]),"undefined"!=typeof bp&&void 0!==bp.mentions&&void 0!==bp.mentions.users&&(s("#atwho-container #atwho-ground-comment_content").remove(),s("#comment_content").bp_mentions(bp.mentions.users)),rtmedia_reset_video_and_audio_for_popup(),apply_rtMagnificPopup(".rtmedia-list-media.rtm-gallery-list, .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")}else t.click()},open:function(){var e=jQuery(".mfp-bg"),t=jQuery(".mfp-wrap");e.height(e.height()+t.height())},close:function(e){c&&(mfp.ev.empty(),mfp.ev.append(n),nextpage=l,c=!1,1<nextpage&&jQuery("#rtMedia-galary-next").show()),rtmedia_single_page_popup_close()},BeforeChange:function(e){}}})}jQuery(document).ajaxComplete(function(){jQuery("[id^=imgedit-leaving]").filter(function(){var e=jQuery(this).text();jQuery(this).text(e.replace("OK","Save"))})})})}jQuery(document).ready(function(){if("object"==typeof rtmedia_bp)for(var e in rtmedia_bp)window[e]=rtmedia_bp[e];if("object"==typeof rtmedia_main)for(var e in rtmedia_main)window[e]=rtmedia_main[e];if("object"==typeof rtmedia_upload_terms)for(var e in rtmedia_upload_terms)window[e]=rtmedia_upload_terms[e];if("object"==typeof rtmedia_magnific)for(var e in rtmedia_magnific)window[e]=rtmedia_magnific[e]});var rtMediaHook={hooks:[],is_break:!1,register:function(e,t){void 0===rtMediaHook.hooks[e]&&(rtMediaHook.hooks[e]=[]),rtMediaHook.hooks[e].push(t)},call:function(e,arguments){if(void 0!==rtMediaHook.hooks[e])for(i=0;i<rtMediaHook.hooks[e].length;++i)if(1!=rtMediaHook.hooks[e][i](arguments))return!(rtMediaHook.is_break=!0);return!0}};function rtmedia_init_action_dropdown(e){var t,i;jQuery(e+" .click-nav > span,"+e+" .click-nav > div").toggleClass("no-js js"),jQuery(e+" .click-nav .js ul").hide(),jQuery(e+" .click-nav .clicker").click(function(e){t=jQuery("#rtm-media-options .click-nav .clicker").next("ul"),i=jQuery(this).next("ul"),jQuery.each(t,function(e,t){jQuery(t).html()!=i.html()&&jQuery(t).hide()}),jQuery(i).toggle(),e.stopPropagation()})}function bp_media_create_element(e){return!1}function rtmedia_version_compare(e,t){if(typeof e+typeof t!="stringstring")return!1;for(var i=e.split("."),a=t.split("."),r=0,n=Math.max(i.length,a.length);r<n;r++){if(i[r]&&!a[r]&&0<parseInt(i[r])||parseInt(i[r])>parseInt(a[r]))return!0;if(a[r]&&!i[r]&&0<parseInt(a[r])||parseInt(i[r])<parseInt(a[r]))return!1}return!0}function rtm_is_element_exist(e){return 0<jQuery(e).length}function rtm_masonry_reload(e){setTimeout(function(){e.masonry("reload")},250)}function rtm_search_media_text_validation(){""===jQuery("#media_search_input").val()?jQuery("#media_search").css("cursor","not-allowed"):jQuery("#media_search").css("cursor","pointer")}function rtmediaGetParameterByName(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(location.search);return null==t?"":decodeURIComponent(t[1].replace(/\+/g," "))}function rtmedia_single_media_alert_message(e,t,i){var a="rtmedia-success";"warning"==t&&(a="rtmedia-warning");var r=!1;jQuery(".rtmedia-message-container").each(function(e,t){return t=jQuery(t),i&&t.hasClass("rtmedia-empty-comment-error-class")?(t.remove(),!(r=!0)):void 0!==i||t.hasClass("rtmedia-empty-comment-error-class")?void 0:(t.remove(),!(r=!0))});var n,o=jQuery("<div>",{title:"Click to dismiss",class:"rtmedia-message-container"+(i?" rtmedia-empty-comment-error-class":""),style:"margin:1em 0;"}),s=jQuery("<span>",{class:a});s.html(e),s.appendTo(o),i?(n=jQuery("#rt_media_comment_form"),jQuery("#comment_content").focus()):void 0===i&&(n=jQuery(".rtmedia-single-media .rtmedia-media")).css("opacity","0.2"),n.after(o),r&&(s.css({border:"2px solid #884646"}),setTimeout(function(){s.css({border:"none"})},500)),setTimeout(function(){o.remove(),void 0===i&&n.css("opacity","1")},3e3),o.click(function(){o.remove(),void 0===i&&n.css("opacity","1")})}function rtmedia_gallery_action_alert_message(e,t){var i="rtmedia-success";"warning"==t&&(i="rtmedia-warning");jQuery("body").append('<div class="rtmedia-gallery-alert-container"> </div>'),jQuery(".rtmedia-gallery-alert-container").append("<div class='rtmedia-gallery-message-box'><span class='"+i+"'>"+e+" </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 rtmedia_activity_masonry(){jQuery("#activity-stream .rtmedia-activity-container .rtmedia-list").masonry({itemSelector:".rtmedia-list-item",gutter:7});var e=0,t=setInterval(function(){5===(e+=1)&&clearInterval(t),jQuery.each(jQuery(".rtmedia-activity-container .rtmedia-list.masonry .rtmedia-item-title"),function(e,t){jQuery(t).width(jQuery(t).siblings(".rtmedia-item-thumbnail").children("img").width())}),rtm_masonry_reload(jQuery("#activity-stream .rtmedia-activity-container .rtmedia-list"))},1e3)}function get_parameter(e,t){if(!e)return!1;t=t||window.location.href;e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var i=new RegExp(e+"=([^&#]*)").exec(t);return null!==i&&i[1]}function rtm_upload_terms_activity(){if(0<jQuery("#rtmedia_upload_terms_conditions").length){jQuery("#bp-nouveau-activity-form").on("click","#aw-whats-new-submit",function(e){var t=jQuery("#whats-new-form"),i=t.find("#rtmedia_upload_terms_conditions");if(0!==i.length&&!1===i.prop("checked")&&0===t.find("#message").length){e.preventDefault();var a=t.find(".rtmedia-upload-terms");rtp_display_terms_warning(a,rtmedia_upload_terms_check_terms_message)}});var t=jQuery("#whats-new-form");0<t.length&&jQuery("#whats-new-form, #rtmedia_upload_terms_conditions").on("click",function(e){t.find("input:hidden").each(function(){jQuery(this).prop("disabled",!1)})})}}jQuery("document").ready(function(n){function r(){if(0<jQuery("#rtmedia-media-view-form").length){var e=jQuery("#rtmedia-media-view-form").attr("action");jQuery.post(e,{},function(e){})}}function o(e,t,i){var a=new Date;a.setTime(a.getTime()+24*i*60*60*1e3);var r="expires="+a.toUTCString();document.cookie=e+"="+t+";"+r+";path=/"}jQuery(document).ajaxComplete(function(e,t,i){if("legacy"!==bp_template_pack&&bp_template_pack){var a=get_parameter("action",i.data);"activity_filter"!==a&&"post_update"!==a&&"get_single_activity_content"!==a&&"activity_get_older_updates"!==a||"undefined"==typeof rtmedia_masonry_layout||"true"!==rtmedia_masonry_layout||"undefined"==typeof rtmedia_masonry_layout_activity||"true"!==rtmedia_masonry_layout_activity?"activity_filter"!==a&&"post_update"!==a&&"get_single_activity_content"!==a&&"activity_get_older_updates"!==a||setTimeout(function(){apply_rtMagnificPopup(".rtmedia-list-media.rtm-gallery-list, .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"),rtmedia_activity_stream_comment_media()},1e3):setTimeout(function(){apply_rtMagnificPopup(".rtmedia-list-media.rtm-gallery-list, .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"),rtmedia_activity_masonry(),rtmedia_activity_stream_comment_media()},1e3)}}),jQuery(".rtmedia-uploader-div").css({opacity:"1",display:"block",visibility:"visible"}),jQuery(" #whats-new-options ").css({opacity:"1"}),void 0!==n.fn.rtTab&&n(".rtm-tabs").rtTab(),0<jQuery(".rtmedia-modal-link").length&&n(".rtmedia-modal-link").magnificPopup({type:"inline",midClick:!0,closeBtnInside:!0}),n("#rt_media_comment_form").submit(function(e){return""!=n.trim(n("#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)}),n("li.rtmedia-list-item p a").each(function(e){n(this).addClass("no-popup")}),n("li.rtmedia-list-item p a").each(function(e){n(this).addClass("no-popup")}),"undefined"!=typeof rtmedia_lightbox_enabled&&"1"==rtmedia_lightbox_enabled&&apply_rtMagnificPopup(".rtmedia-list-media.rtm-gallery-list, .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(e,t,i){try{if(null==t.data||void 0===t.data||void 0===t.data.action)return!0}catch(e){return!0}if("activity_get_older_updates"==t.data.action){var a=t.success;e.success=function(e){"function"==typeof a&&a(e),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"==t.data.action){a=t.success;e.success=function(e){"function"==typeof a&&a(e),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({classPrefix:"mejs-",defaultVideoWidth:480,defaultVideoHeight:270})},900)}}}),jQuery.ajaxPrefilter(function(e,t,i){try{if(null==t.data||void 0===t.data||void 0===t.data.action)return!0}catch(e){return!0}if("activity_get_older_updates"==t.data.action){var a=t.success;e.success=function(e){"function"==typeof a&&a(e),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({classPrefix:"mejs-",defaultVideoWidth:480,defaultVideoHeight:270}),setTimeout(function(){rtmedia_activity_stream_comment_media()},900),rtMediaHook.call("rtmedia_js_after_activity_added",[])}}}),jQuery(".rtmedia-container").on("click",".select-all",function(e){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(e){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(e){jQuery(".rtmedia-delete-container").slideUp(),jQuery(".rtmedia-move-container").slideToggle()}),jQuery("#rtmedia-create-album-modal").on("click","#rtmedia_create_new_album",function(e){if($albumname=jQuery("<span/>").text(jQuery.trim(jQuery("#rtmedia_album_name").val())).html(),$album_description=jQuery("#rtmedia_album_description"),$context=jQuery.trim(jQuery("#rtmedia_album_context").val()),$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 t={action:"rtmedia_create_album",name:$albumname,description:$album_description.val(),context:$context,context_id:$context_id,create_album_nonce:$create_album_nonce};""!==$privacy&&(t.privacy=$privacy),n("#rtmedia_create_new_album").attr("disabled","disabled");var r=n("#rtmedia_create_new_album").html();n("#rtmedia_create_new_album").prepend("<img src='"+rMedia_loading_file+"' />"),jQuery.post(rtmedia_ajax_url,t,function(i){if(void 0!==i.album){i=jQuery.trim(i.album);var a=!0;$album_description.val(""),n("#rtmedia_album_name").focus(),jQuery(".rtmedia-user-album-list").each(function(){if(jQuery(this).children("optgroup").each(function(){if(jQuery(this).attr("value")===$context)return a=!1,void jQuery(this).append('<option value="'+i+'">'+$albumname+"</option>")}),a){var e=$context.charAt(0).toUpperCase()+$context.slice(1)+" "+rtmedia_main_js_strings.rtmedia_albums,t='<optgroup value="'+$context+'" label="'+e+'"><option value="'+i+'">'+$albumname+"</option></optgroup>";jQuery(this).append(t)}}),jQuery('select.rtmedia-user-album-list option[value="'+i+'"]').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 void 0!==i.error?rtmedia_gallery_action_alert_message(i.error,"warning"):rtmedia_gallery_action_alert_message(rtmedia_something_wrong_msg,"warning");n("#rtmedia_create_new_album").removeAttr("disabled"),n("#rtmedia_create_new_album").html(r)})}else rtmedia_gallery_action_alert_message(rtmedia_empty_album_name_msg,"warning")}),jQuery(".rtmedia-container").on("click",".rtmedia-delete-selected",function(e){0<jQuery(".rtmedia-list :checkbox:checked").length?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(e){0<jQuery(".rtmedia-list :checkbox:checked").length?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 e=jQuery(this).attr("id");e=(e=e.split("-"))[e.length-1];var a=this;data={activity_id:e,privacy:jQuery(this).val(),nonce:jQuery("#rtmedia_activity_privacy_nonce").val(),action:"rtm_change_activity_privacy"},jQuery.post(ajaxurl,data,function(e){var t="",i="";i="true"==e?(t=rtmedia_main_js_strings.privacy_update_success,"rtmedia-success"):(t=rtmedia_main_js_strings.privacy_update_error,"fail"),jQuery(a).after('<p class="rtm-ac-privacy-updated '+i+'">'+t+"</p>"),setTimeout(function(){jQuery(a).siblings(".rtm-ac-privacy-updated").remove()},2e3)})}),jQuery(".media_search_input").on("keyup",function(){rtm_search_media_text_validation()}),r(),rtMediaHook.register("rtmedia_js_popup_after_content_added",function(){r(),jQuery(".rtmedia-container").on("click",".rtmedia-delete-media",function(e){e.preventDefault(),confirm(rtmedia_media_delete_confirmation)&&jQuery(this).closest("form").submit()}),mfp=jQuery.magnificPopup.instance,1<jQuery(mfp.items).size()&&0==comment_media?function(){var n=jQuery.magnificPopup.instance,e=n.probablyMobile,t=function(e){for(var t=e+"=",i=document.cookie.split(";"),a=0;a<i.length;a++){for(var r=i[a];" "==r.charAt(0);)r=r.substring(1);if(0==r.indexOf(t))return r.substring(t.length,r.length)}return""}("rtmedia-touch-swipe-tooltip");e&&""===t?(jQuery("#mobile-swipe-overlay").show(),jQuery("#mobile-swipe-overlay").on("click",function(e){o("rtmedia-touch-swipe-tooltip",!0,365),jQuery(this).hide(),jQuery("#rtmedia-single-media-container .mejs-playpause-button").trigger("click")}),jQuery("#mobile-swipe-overlay").swipe({swipe:function(e,t,i,a,r,n){o("rtmedia-touch-swipe-tooltip",!0,365),jQuery("#mobile-swipe-overlay").hide(),jQuery("#rtmedia-single-media-container .mejs-playpause-button").trigger("click")},threshold:0})):jQuery("#rtmedia-single-media-container .mejs-playpause-button").trigger("click");jQuery(".mfp-arrow-right").on("click",function(e){n.next()}),jQuery(".mfp-arrow-left").on("click",function(e){n.prev()}),jQuery(".mfp-content .rtmedia-media").swipe({swipeLeft:function(e,t,i,a,r){n.next()},swipeRight:function(e,t,i,a,r){n.prev()},threshold:0})}():(jQuery(".mfp-arrow-right").hide(),jQuery(".mfp-arrow-left").hide(),jQuery(document).unbind("keydown")),rtmedia_disable_popup_navigation("#comment_content"),rtmedia_disable_popup_navigation_comment_media_focus();var e=n(window).height();jQuery(".rtm-lightbox-container .mejs-video").css({height:.8*e,"over-flow":"hidden"}),jQuery(".mfp-content .rtmedia-media").css({"max-height":.87*e,"over-flow":"hidden"}),rtmedia_init_action_dropdown(".rtm-lightbox-container .rtmedia-actions"),jQuery(".rtmedia-comment-link").on("click",function(e){e.preventDefault(),jQuery("#comment_content").focus()}),jQuery(".rtm-more").shorten({showChars:130});var t=n(".rtm-gallery-title"),i="";""!=(i=n.isEmptyObject(t)?n("#subnav.item-list-tabs li.selected ").html():t.html())&&n(".rtm-ltb-gallery-title .ltb-title").html(i);var a=n("#subnav.item-list-tabs li.selected span").html();return n("li.total").html(a),!0});var t=jQuery("#drag-drop-area"),i=jQuery("#whats-new");t.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(e){e.preventDefault(),e.target!=this&&(jQuery("#rtm-media-gallery-uploader").show(),"undefined"!=typeof rtmedia_bp_enable_activity&&"1"==rtmedia_bp_enable_activity&&i.addClass("rtm-drag-drop-active"),t.addClass("rtm-drag-drop-active"),jQuery("#rtm-drop-files-title").show())}).on("dragleave",function(e){if(e.preventDefault(),0!=e.originalEvent.pageX&&0!=e.originalEvent.pageY)return!1;"undefined"!=typeof rtmedia_bp_enable_activity&&"1"==rtmedia_bp_enable_activity&&(i.removeClass("rtm-drag-drop-active"),i.removeAttr("style")),t.removeClass("rtm-drag-drop-active"),jQuery("#rtm-drop-files-title").hide()}).on("drop",function(e){e.preventDefault(),jQuery(".bp-suggestions").focus(),"undefined"!=typeof rtmedia_bp_enable_activity&&"1"==rtmedia_bp_enable_activity&&(i.removeClass("rtm-drag-drop-active"),i.removeAttr("style")),t.removeClass("rtm-drag-drop-active"),jQuery("#rtm-drop-files-title").hide()}),jQuery(".rtmedia-container").on("click",".rtmedia-delete-album",function(e){e.preventDefault(),confirm(rtmedia_album_delete_confirmation)&&jQuery(this).closest("form").submit()}),jQuery(".rtmedia-container").on("click",".rtmedia-delete-media",function(e){e.preventDefault(),confirm(rtmedia_media_delete_confirmation)&&jQuery(this).closest("form").submit()}),rtmedia_init_action_dropdown(""),n(document).click(function(){n(".click-nav ul").is(":visible")&&n(".click-nav ul",this).hide()}),jQuery(".rtmedia-comment-link").on("click",function(e){e.preventDefault(),jQuery("#comment_content").focus()}),0<jQuery(".rtm-more").length&&n(".rtm-more").shorten({showChars:200}),"undefined"!=typeof rtmedia_masonry_layout&&"true"==rtmedia_masonry_layout&&"undefined"!=typeof rtmedia_masonry_layout_activity&&"true"==rtmedia_masonry_layout_activity&&rtmedia_activity_masonry(),jQuery(document).ajaxComplete(function(e,t,i){var a=get_parameter("action",i.data);"post_update"!==a&&"get_single_activity_content"!==a&&"activity_get_older_updates"!==a||"undefined"==typeof rtmedia_masonry_layout||"true"!=rtmedia_masonry_layout||"undefined"==typeof rtmedia_masonry_layout_activity||"true"!=rtmedia_masonry_layout_activity||rtmedia_activity_masonry()}),"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")).masonry({itemSelector:".rtmedia-list-item"}),setInterval(function(){jQuery.each(jQuery(".rtmedia-list.masonry .rtmedia-item-title"),function(e,t){jQuery(t).width(jQuery(t).siblings(".rtmedia-item-thumbnail").children("img").width())}),rtm_masonry_reload(rtm_masonry_container)},1e3),jQuery.each(jQuery(".rtmedia-list.masonry .rtmedia-item-title"),function(e,t){jQuery(t).width(jQuery(t).siblings(".rtmedia-item-thumbnail").children("img").width())})),0<jQuery(".rtm-uploader-tabs").length&&jQuery(".rtm-uploader-tabs li").click(function(e){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").hide():jQuery("div.moxie-shim").show())}),jQuery(".rtmedia-container").on("click",".rtm-delete-media",function(e){e.preventDefault();var t=RTMedia_Main_JS.media_delete_confirmation;if(confirm(t)){var i=jQuery(this).closest("li"),a=jQuery("#rtmedia_media_delete_nonce").val(),r=jQuery(this).parents(".rtmedia-list-item").data("media_type"),n={action:"delete_uploaded_media",nonce:a,media_id:i.attr("id"),media_type:r};jQuery.ajax({url:RTMedia_Main_JS.rtmedia_ajaxurl,type:"POST",data:n,dataType:"JSON",success:function(e){"rtmedia-media-deleted"===e.data.code?(rtmedia_gallery_action_alert_message(RTMedia_Main_JS.media_delete_success,"success"),i.remove(),"undefined"!=typeof rtmedia_masonry_layout&&"true"===rtmedia_masonry_layout&&rtm_masonry_reload(rtm_masonry_container),jQuery("#user-media span, #media-groups-li #media span, #rtmedia-nav-item-all span").text(e.data.all_media_count),jQuery("#rtmedia-nav-item-albums span").text(e.data.albums_count),jQuery("#rtmedia-nav-item-photo span").text(e.data.photos_count),jQuery("#rtmedia-nav-item-music span").text(e.data.music_count),jQuery("#rtmedia-nav-item-video span").text(e.data.videos_count)):rtmedia_gallery_action_alert_message(e.data.message,"warning")}})}})}),function(u){u.fn.shorten=function(e){"use strict";var m={showChars:100,minHideChars:10,ellipsesText:"...",moreText:rtmedia_read_more,lessText:rtmedia__show_less,onLess:function(){},onMore:function(){},errMsg:null,force:!1};return e&&u.extend(m,e),!(u(this).data("jquery.shorten")&&!m.force)&&(u(this).data("jquery.shorten",!0),u(document).off("click",".morelink"),u(document).on({click:function(){var e=u(this);return e.hasClass("less")?(e.removeClass("less"),e.html(m.moreText),e.parent().prev().hide(0,function(){e.parent().prev().prev().show()}).hide(0,function(){m.onLess()})):(e.addClass("less"),e.html(m.lessText),e.parent().prev().show(0,function(){e.parent().prev().prev().hide()}).show(0,function(){m.onMore()})),!1}},".morelink"),this.each(function(){var e=u(this),t=e.html();if(e.text().length>m.showChars+m.minHideChars){var i=t.substr(0,m.showChars);if(0<=i.indexOf("<")){for(var a=!1,r="",n=0,o=[],s=null,l=0,c=0;c<=m.showChars;l++)if("<"!=t[l]||a||(a=!0,"/"==(s=t.substring(l+1,t.indexOf(">",l)))[0]?s!="/"+o[0]?m.errMsg="ERROR en HTML: the top of the stack should be the tag that closes":o.shift():"br"!=s.toLowerCase()&&o.unshift(s)),a&&">"==t[l]&&(a=!1),a)r+=t.charAt(l);else if(c++,n<=m.showChars)r+=t.charAt(l),n++;else if(0<o.length){for(j=0;j<o.length;j++)r+="</"+o[j]+">";break}i=u("<div/>").html(r+'<span class="ellip">'+m.ellipsesText+"</span>").html()}else i+=m.ellipsesText;var d='<div class="shortcontent">'+i+'</div><div class="allcontent">'+t+'</div><span><a href="javascript://nop/" class="morelink">'+m.moreText+"</a></span>";e.html(d),e.find(".allcontent").hide(),u(".shortcontent p:last",e).css("margin-bottom",0)}}))}}(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),rtm_search_media_text_validation(),check_condition("search")&&jQuery("#media_search_remove").show()},jQuery(document).ready(function(){rtm_upload_terms_activity(),jQuery("body").hasClass("has-sidebar")&&0===jQuery("#secondary").length&&(jQuery(".rtmedia-single-container").length||jQuery(".rtmedia-container").length)&&jQuery("body").removeClass("has-sidebar"),rtmedia_main&&("undefined"!==rtmedia_main.rtmedia_direct_download_link&&parseInt(rtmedia_main.rtmedia_direct_download_link)||jQuery(document).on("bp_ajax_request",function(e){setTimeout(function(){jQuery("video").each(function(){jQuery(this).attr("controlsList","nodownload"),jQuery(this).load()})},200)}))});
|
3 |
* @package rtMedia
|
4 |
*/
|
5 |
|
6 |
+
var rtMagnificPopup,rtm_masonry_container;!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.jQuery||window.Zepto)}(function(d){function e(){}function m(e,t){y.ev.on(i+e+b,t)}function u(e,t,i,a){var r=document.createElement("div");return r.className="mfp-"+e,i&&(r.innerHTML=i),a?t&&t.appendChild(r):(r=d(r),t&&r.appendTo(t)),r}function p(e,t){y.ev.triggerHandler(i+e,t),y.st.callbacks&&(e=e.charAt(0).toLowerCase()+e.slice(1),y.st.callbacks[e]&&y.st.callbacks[e].apply(y,d.isArray(t)?t:[t]))}function f(e){return e===t&&y.currTemplate.closeBtn||(y.currTemplate.closeBtn=d(y.st.closeMarkup.replace("%title%",y.st.tClose)),t=e),y.currTemplate.closeBtn}function n(){d.magnificPopup.instance||((y=new e).init(),d.magnificPopup.instance=y)}var y,a,_,r,v,t,l="Close",c="BeforeClose",g="MarkupParse",h="Open",o="Change",i="mfp",b="."+i,j="mfp-ready",s="mfp-removing",w="mfp-prevent-close",Q=!!window.jQuery,C=d(window);e.prototype={constructor:e,init:function(){var e=navigator.appVersion;y.isIE7=-1!==e.indexOf("MSIE 7."),y.isIE8=-1!==e.indexOf("MSIE 8."),y.isLowIE=y.isIE7||y.isIE8,y.isAndroid=/android/gi.test(e),y.isIOS=/iphone|ipad|ipod/gi.test(e),y.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),y.probablyMobile=y.isAndroid||y.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),_=d(document),y.popupsCache={}},open:function(e){var t;if(!1===e.isObj){y.items=e.items.toArray(),y.index=0;var i,a=e.items;for(t=0;t<a.length;t++)if((i=a[t]).parsed&&(i=i.el[0]),i===e.el[0]){y.index=t;break}}else y.items=d.isArray(e.items)?e.items:[e.items],y.index=e.index||0;if(!y.isOpen){y.types=[],v="",e.mainEl&&e.mainEl.length?y.ev=e.mainEl.eq(0):y.ev=_,e.key?(y.popupsCache[e.key]||(y.popupsCache[e.key]={}),y.currTemplate=y.popupsCache[e.key]):y.currTemplate={},y.st=d.extend(!0,{},d.magnificPopup.defaults,e),y.fixedContentPos="auto"===y.st.fixedContentPos?!y.probablyMobile:y.st.fixedContentPos,y.st.modal&&(y.st.closeOnContentClick=!1,y.st.closeOnBgClick=!1,y.st.showCloseBtn=!1,y.st.enableEscapeKey=!1),y.bgOverlay||(y.bgOverlay=u("bg").on("click"+b,function(){y.close()}),y.wrap=u("wrap").attr("tabindex",-1).on("click"+b,function(e){y._checkIfClose(e.target)&&y.close()}),y.container=u("container",y.wrap)),y.contentContainer=u("content"),y.st.preloader&&(y.preloader=u("preloader",y.container,y.st.tLoading));var r=d.magnificPopup.modules;for(t=0;t<r.length;t++){var n=r[t];n=n.charAt(0).toUpperCase()+n.slice(1),y["init"+n].call(y)}p("BeforeOpen"),y.st.showCloseBtn&&(y.st.closeBtnInside?(m(g,function(e,t,i,a){i.close_replaceWith=f(a.type)}),v+=" mfp-close-btn-in"):y.wrap.append(f())),y.st.alignTop&&(v+=" mfp-align-top"),y.fixedContentPos?y.wrap.css({overflow:y.st.overflowY,overflowX:"hidden",overflowY:y.st.overflowY}):y.wrap.css({top:C.scrollTop(),position:"absolute"}),!1!==y.st.fixedBgPos&&("auto"!==y.st.fixedBgPos||y.fixedContentPos)||y.bgOverlay.css({height:_.height(),position:"absolute"}),y.st.enableEscapeKey&&_.on("keyup"+b,function(e){27===e.keyCode&&y.close()}),C.on("resize"+b,function(){y.updateSize()}),y.st.closeOnContentClick||(v+=" mfp-auto-cursor"),v&&y.wrap.addClass(v);var o=y.wH=C.height(),s={};if(y.fixedContentPos&&y._hasScrollBar(o)){var l=y._getScrollbarSize();l&&(s.marginRight=l)}y.fixedContentPos&&(y.isIE7?d("body, html").css("overflow","hidden"):s.overflow="hidden");var c=y.st.mainClass;return y.isIE7&&(c+=" mfp-ie7"),c&&y._addClassToMFP(c),y.updateItemHTML(),p("BuildControls"),d("html").css(s),y.bgOverlay.add(y.wrap).prependTo(y.st.prependTo||d(document.body)),y._lastFocusedEl=document.activeElement,setTimeout(function(){y.content?(y._addClassToMFP(j),y._setFocus()):y.bgOverlay.addClass(j),_.on("focusin"+b,y._onFocusIn)},16),y.isOpen=!0,y.updateSize(o),p(h),e}y.updateItemHTML()},close:function(){y.isOpen&&(p(c),y.isOpen=!1,y.st.removalDelay&&!y.isLowIE&&y.supportsTransition?(y._addClassToMFP(s),setTimeout(function(){y._close()},y.st.removalDelay)):y._close())},_close:function(){p(l);var e=s+" "+j+" ";if(y.bgOverlay.detach(),y.wrap.detach(),y.container.empty(),y.st.mainClass&&(e+=y.st.mainClass+" "),y._removeClassFromMFP(e),y.fixedContentPos){var t={marginRight:""};y.isIE7?d("body, html").css("overflow",""):t.overflow="",d("html").css(t)}_.off("keyup.mfp focusin"+b),y.ev.off(b),y.wrap.attr("class","mfp-wrap").removeAttr("style"),y.bgOverlay.attr("class","mfp-bg"),y.container.attr("class","mfp-container"),!y.st.showCloseBtn||y.st.closeBtnInside&&!0!==y.currTemplate[y.currItem.type]||y.currTemplate.closeBtn&&y.currTemplate.closeBtn.detach(),y._lastFocusedEl&&d(y._lastFocusedEl).focus(),y.currItem=null,y.content=null,y.currTemplate=null,y.prevHeight=0,p("AfterClose")},updateSize:function(e){if(y.isIOS){var t=document.documentElement.clientWidth/window.innerWidth,i=window.innerHeight*t;y.wrap.css("height",i),y.wH=i}else y.wH=e||C.height();y.fixedContentPos||y.wrap.css("height",y.wH),p("Resize")},updateItemHTML:function(){var e=y.items[y.index];y.contentContainer.detach(),y.content&&y.content.detach(),e.parsed||(e=y.parseEl(y.index));var t=e.type;if(p("BeforeChange",[y.currItem?y.currItem.type:"",t]),y.currItem=e,!y.currTemplate[t]){var i=!!y.st[t]&&y.st[t].markup;p("FirstMarkupParse",i),y.currTemplate[t]=!i||d(i)}r&&r!==e.type&&y.container.removeClass("mfp-"+r+"-holder");var a=y["get"+t.charAt(0).toUpperCase()+t.slice(1)](e,y.currTemplate[t]);y.appendContent(a,t),e.preloaded=!0,p(o,e),r=e.type,y.container.prepend(y.contentContainer),p("AfterChange")},appendContent:function(e,t){(y.content=e)?y.st.showCloseBtn&&y.st.closeBtnInside&&!0===y.currTemplate[t]?y.content.find(".mfp-close").length||y.content.append(f()):y.content=e:y.content="",p("BeforeAppend"),y.container.addClass("mfp-"+t+"-holder"),y.contentContainer.append(y.content)},parseEl:function(e){var t,i=y.items[e];if((i=i.tagName?{el:d(i)}:(t=i.type,{data:i,src:i.src})).el){for(var a=y.types,r=0;r<a.length;r++)if(i.el.hasClass("mfp-"+a[r])){t=a[r];break}i.src=i.el.attr("data-mfp-src"),i.src||(i.src=i.el.attr("href"))}return i.type=t||y.st.type||"inline",i.index=e,i.parsed=!0,y.items[e]=i,p("ElementParse",i),y.items[e]},addGroup:function(t,i){function e(e){e.mfpEl=this,y._openClick(e,t,i)}var a="click.magnificPopup";(i=i||{}).mainEl=t,i.items?(i.isObj=!0,t.off(a).on(a,e)):(i.isObj=!1,i.delegate?t.off(a).on(a,i.delegate,e):(i.items=t).off(a).on(a,e))},_openClick:function(e,t,i){if((void 0!==i.midClick?i.midClick:d.magnificPopup.defaults.midClick)||2!==e.which&&!e.ctrlKey&&!e.metaKey){var a=void 0!==i.disableOn?i.disableOn:d.magnificPopup.defaults.disableOn;if(a)if(d.isFunction(a)){if(!a.call(y))return!0}else if(C.width()<a)return!0;e.type&&(e.preventDefault(),y.isOpen&&e.stopPropagation()),i.el=d(e.mfpEl),i.delegate&&(i.items=t.find(i.delegate)),y.open(i)}},updateStatus:function(e,t){if(y.preloader){a!==e&&y.container.removeClass("mfp-s-"+a),t||"loading"!==e||(t=y.st.tLoading);var i={status:e,text:t};p("UpdateStatus",i),e=i.status,t=i.text,y.preloader.html(t),y.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),y.container.addClass("mfp-s-"+e),a=e}},_checkIfClose:function(e){if(!d(e).hasClass(w)){var t=y.st.closeOnContentClick,i=y.st.closeOnBgClick;if(t&&i)return!0;if(!y.content||d(e).hasClass("mfp-close")||y.preloader&&e===y.preloader[0])return!0;if(e===y.content[0]||d.contains(y.content[0],e)){if(t)return!0}else if(i&&d.contains(document,e))return!0;return!1}},_addClassToMFP:function(e){y.bgOverlay.addClass(e),y.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),y.wrap.removeClass(e)},_hasScrollBar:function(e){return(y.isIE7?_.height():document.body.scrollHeight)>(e||C.height())},_setFocus:function(){(y.st.focus?y.content.find(y.st.focus).eq(0):y.wrap).focus()},_onFocusIn:function(e){if(e.target!==y.wrap[0]&&!d.contains(y.wrap[0],e.target))return y._setFocus(),!1},_parseMarkup:function(r,e,t){var n;t.data&&(e=d.extend(t.data,e)),p(g,[r,e,t]),d.each(e,function(e,t){if(void 0===t||!1===t)return!0;if(1<(n=e.split("_")).length){var i=r.find(b+"-"+n[0]);if(0<i.length){var a=n[1];"replaceWith"===a?i[0]!==t[0]&&i.replaceWith(t):"img"===a?i.is("img")?i.attr("src",t):i.replaceWith('<img src="'+t+'" class="'+i.attr("class")+'" />'):i.attr(n[1],t)}}else r.find(b+"-"+e).html(t)})},_getScrollbarSize:function(){if(void 0===y.scrollbarSize){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),y.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return y.scrollbarSize}},d.magnificPopup={instance:null,proto:e.prototype,modules:[],open:function(e,t){return n(),(e=e?d.extend(!0,{},e):{}).isObj=!0,e.index=t||0,this.instance.open(e)},close:function(){return d.magnificPopup.instance&&d.magnificPopup.instance.close()},registerModule:function(e,t){t.options&&(d.magnificPopup.defaults[e]=t.options),d.extend(this.proto,t.proto),this.modules.push(e)},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..."}},d.fn.magnificPopup=function(e){n();var t=d(this);if("string"==typeof e)if("open"===e){var i,a=Q?t.data("magnificPopup"):t[0].magnificPopup,r=parseInt(arguments[1],10)||0;i=a.items?a.items[r]:(i=t,a.delegate&&(i=i.find(a.delegate)),i.eq(r)),y._openClick({mfpEl:i},t,a)}else y.isOpen&&y[e].apply(y,Array.prototype.slice.call(arguments,1));else e=d.extend(!0,{},e),Q?t.data("magnificPopup",e):t[0].magnificPopup=e,y.addGroup(t,e);return t};function k(){I&&(T.after(I.addClass(x)).detach(),I=null)}var x,T,I,M="inline";d.magnificPopup.registerModule(M,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){y.types.push(M),m(l+"."+M,function(){k()})},getInline:function(e,t){if(k(),e.src){var i=y.st.inline,a=d(e.src);if(a.length){var r=a[0].parentNode;r&&r.tagName&&(T||(x=i.hiddenClass,T=u(x),x="mfp-"+x),I=a.after(T).detach().removeClass(x)),y.updateStatus("ready")}else y.updateStatus("error",i.tNotFound),a=d("<div>");return e.inlineElement=a}return y.updateStatus("ready"),y._parseMarkup(t,{},e),t}}});function P(){E&&d(document.body).removeClass(E)}function S(){P(),y.req&&y.req.abort()}var E,O="ajax";d.magnificPopup.registerModule(O,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){y.types.push(O),E=y.st.ajax.cursor,m(l+"."+O,S),m("BeforeChange."+O,S)},getAjax:function(r){E&&d(document.body).addClass(E),y.updateStatus("loading");var e=d.extend({url:r.src,success:function(e,t,i){var a={data:e,xhr:i};p("ParseAjax",a),y.appendContent(d(a.data),O),r.finished=!0,P(),y._setFocus(),setTimeout(function(){y.wrap.addClass(j)},16),y.updateStatus("ready"),p("AjaxContentAdded")},error:function(){P(),r.finished=r.loadError=!0,y.updateStatus("error",y.st.ajax.tError.replace("%url%",r.src))}},y.st.ajax.settings);return y.req=d.ajax(e),""}}});var z;d.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 e=y.st.image,t=".image";y.types.push("image"),m(h+t,function(){"image"===y.currItem.type&&e.cursor&&d(document.body).addClass(e.cursor)}),m(l+t,function(){e.cursor&&d(document.body).removeClass(e.cursor),C.off("resize"+b)}),m("Resize"+t,y.resizeImage),y.isLowIE&&m("AfterChange",y.resizeImage)},resizeImage:function(){var e=y.currItem;if(e&&e.img&&y.st.image.verticalFit){var t=0;y.isLowIE&&(t=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",y.wH-t)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,z&&clearInterval(z),e.isCheckingImgSize=!1,p("ImageHasSize",e),e.imgHidden&&(y.content&&y.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(t){var i=0,a=t.img[0],r=function(e){z&&clearInterval(z),z=setInterval(function(){0<a.naturalWidth?y._onImageHasSize(t):(200<i&&clearInterval(z),3===++i?r(10):40===i?r(50):100===i&&r(500))},e)};r(1)},getImage:function(e,t){var i=0,a=function(){e&&(e.img[0].complete?(e.img.off(".mfploader"),e===y.currItem&&(y._onImageHasSize(e),y.updateStatus("ready")),e.hasSize=!0,e.loaded=!0,p("ImageLoadComplete")):++i<200?setTimeout(a,100):r())},r=function(){e&&(e.img.off(".mfploader"),e===y.currItem&&(y._onImageHasSize(e),y.updateStatus("error",n.tError.replace("%url%",e.src))),e.hasSize=!0,e.loaded=!0,e.loadError=!0)},n=y.st.image,o=t.find(".mfp-img");if(o.length){var s=document.createElement("img");s.className="mfp-img",e.el&&e.el.find("img").length&&(s.alt=e.el.find("img").attr("alt")),e.img=d(s).on("load.mfploader",a).on("error.mfploader",r),s.src=e.src,o.is("img")&&(e.img=e.img.clone()),0<(s=e.img[0]).naturalWidth?e.hasSize=!0:s.width||(e.hasSize=!1)}return y._parseMarkup(t,{title:function(e){if(e.data&&void 0!==e.data.title)return e.data.title;var t=y.st.image.titleSrc;if(t){if(d.isFunction(t))return t.call(y,e);if(e.el)return e.el.attr(t)||""}return""}(e),img_replaceWith:e.img},e),y.resizeImage(),e.hasSize?(z&&clearInterval(z),e.loadError?(t.addClass("mfp-loading"),y.updateStatus("error",n.tError.replace("%url%",e.src))):(t.removeClass("mfp-loading"),y.updateStatus("ready"))):(y.updateStatus("loading"),e.loading=!0,e.hasSize||(e.imgHidden=!0,t.addClass("mfp-loading"),y.findImageSize(e))),t}}});var H;d.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,n=y.st.zoom,t=".zoom";if(n.enabled&&y.supportsTransition){function i(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),i="all "+n.duration/1e3+"s "+n.easing,a={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},r="transition";return a["-webkit-"+r]=a["-moz-"+r]=a["-o-"+r]=a[r]=i,t.css(a),t}function a(){y.content.css("visibility","visible")}var r,o,s=n.duration;m("BuildControls"+t,function(){if(y._allowZoom()){if(clearTimeout(r),y.content.css("visibility","hidden"),!(e=y._getItemToZoom()))return void a();(o=i(e)).css(y._getOffset()),y.wrap.append(o),r=setTimeout(function(){o.css(y._getOffset(!0)),r=setTimeout(function(){a(),setTimeout(function(){o.remove(),e=o=null,p("ZoomAnimationEnded")},16)},s)},16)}}),m(c+t,function(){if(y._allowZoom()){if(clearTimeout(r),y.st.removalDelay=s,!e){if(!(e=y._getItemToZoom()))return;o=i(e)}o.css(y._getOffset(!0)),y.wrap.append(o),y.content.css("visibility","hidden"),setTimeout(function(){o.css(y._getOffset())},16)}}),m(l+t,function(){y._allowZoom()&&(a(),o&&o.remove(),e=null)})}},_allowZoom:function(){return"image"===y.currItem.type},_getItemToZoom:function(){return!!y.currItem.hasSize&&y.currItem.img},_getOffset:function(e){var t,i=(t=e?y.currItem.img:y.st.zoom.opener(y.currItem.el||y.currItem)).offset(),a=parseInt(t.css("padding-top"),10),r=parseInt(t.css("padding-bottom"),10);i.top-=d(window).scrollTop()-a;var n={width:t.width(),height:(Q?t.innerHeight():t[0].offsetHeight)-r-a};return void 0===H&&(H=void 0!==document.createElement("p").style.MozTransform),H?n["-moz-transform"]=n.transform="translate("+i.left+"px,"+i.top+"px)":(n.left=i.left,n.top=i.top),n}}});function B(e){if(y.currTemplate[L]){var t=y.currTemplate[L].find("iframe");t.length&&(e||(t[0].src="//about:blank"),y.isIE8&&t.css("display",e?"block":"none"))}}var L="iframe";d.magnificPopup.registerModule(L,{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(){y.types.push(L),m("BeforeChange",function(e,t,i){t!==i&&(t===L?B():i===L&&B(!0))}),m(l+"."+L,function(){B()})},getIframe:function(e,t){var i=e.src,a=y.st.iframe;d.each(a.patterns,function(){if(-1<i.indexOf(this.index))return this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1});var r={};return a.srcAction&&(r[a.srcAction]=i),y._parseMarkup(t,r,e),y.updateStatus("ready"),t}}});function A(e){var t=y.items.length;return t-1<e?e-t:e<0?t+e:e}function $(e,t,i){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,i)}d.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 n=y.st.gallery,e=".mfp-gallery",r=Boolean(d.fn.mfpFastClick);if(y.direction=!0,!n||!n.enabled)return!1;v+=" mfp-gallery",m(h+e,function(){n.navigateByImgClick&&y.wrap.on("click"+e,".mfp-img",function(){if(1<y.items.length)return y.next(),!1}),_.on("keydown"+e,function(e){37===e.keyCode?y.prev():39===e.keyCode&&y.next()})}),m("UpdateStatus"+e,function(e,t){t.text&&(t.text=$(t.text,y.currItem.index,y.items.length))}),m(g+e,function(e,t,i,a){var r=y.items.length;i.counter=1<r?$(n.tCounter,a.index,r):""}),m("BuildControls"+e,function(){if(1<y.items.length&&n.arrows&&!y.arrowLeft){var e=n.arrowMarkup,t=y.arrowLeft=d(e.replace(/%title%/gi,n.tPrev).replace(/%dir%/gi,"left")).addClass(w),i=y.arrowRight=d(e.replace(/%title%/gi,n.tNext).replace(/%dir%/gi,"right")).addClass(w),a=r?"mfpFastClick":"click";t[a](function(){y.prev()}),i[a](function(){y.next()}),y.isIE7&&(u("b",t[0],!1,!0),u("a",t[0],!1,!0),u("b",i[0],!1,!0),u("a",i[0],!1,!0)),y.container.append(t.add(i))}}),m(o+e,function(){y._preloadTimeout&&clearTimeout(y._preloadTimeout),y._preloadTimeout=setTimeout(function(){y.preloadNearbyImages(),y._preloadTimeout=null},16)}),m(l+e,function(){_.off(e),y.wrap.off("click"+e),y.arrowLeft&&r&&y.arrowLeft.add(y.arrowRight).destroyMfpFastClick(),y.arrowRight=y.arrowLeft=null})},next:function(){y.direction=!0,y.index=A(y.index+1),y.updateItemHTML()},prev:function(){y.direction=!1,y.index=A(y.index-1),y.updateItemHTML()},goTo:function(e){y.direction=e>=y.index,y.index=e,y.updateItemHTML()},preloadNearbyImages:function(){var e,t=y.st.gallery.preload,i=Math.min(t[0],y.items.length),a=Math.min(t[1],y.items.length);for(e=1;e<=(y.direction?a:i);e++)y._preloadItem(y.index+e);for(e=1;e<=(y.direction?i:a);e++)y._preloadItem(y.index-e)},_preloadItem:function(e){if(e=A(e),!y.items[e].preloaded){var t=y.items[e];t.parsed||(t=y.parseEl(e)),p("LazyLoad",t),"image"===t.type&&(t.img=d('<img class="mfp-img" />').on("load.mfploader",function(){t.hasSize=!0}).on("error.mfploader",function(){t.hasSize=!0,t.loadError=!0,p("LazyLoadError",t)}).attr("src",t.src)),t.preloaded=!0}}}});var F,R,D="retina";function W(){C.off("touchmove"+R+" touchend"+R)}d.magnificPopup.registerModule(D,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(1<window.devicePixelRatio){var i=y.st.retina,a=i.ratio;1<(a=isNaN(a)?a():a)&&(m("ImageHasSize."+D,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/a,width:"100%"})}),m("ElementParse."+D,function(e,t){t.src=i.replaceSrc(t,a)}))}}}}),F="ontouchstart"in window,R=".mfpFastClick",d.fn.mfpFastClick=function(l){return d(this).each(function(){var t,i,a,r,n,o,s,e=d(this);F&&e.on("touchstart"+R,function(e){n=!1,s=1,o=e.originalEvent?e.originalEvent.touches[0]:e.touches[0],a=o.clientX,r=o.clientY,C.on("touchmove"+R,function(e){o=e.originalEvent?e.originalEvent.touches:e.touches,s=o.length,o=o[0],(10<Math.abs(o.clientX-a)||10<Math.abs(o.clientY-r))&&(n=!0,W())}).on("touchend"+R,function(e){W(),n||1<s||(t=!0,e.preventDefault(),clearTimeout(i),i=setTimeout(function(){t=!1},1e3),l())})}),e.on("click"+R,function(){t||l()})})},d.fn.destroyMfpFastClick=function(){d(this).off("touchstart"+R+" click"+R),F&&C.off("touchmove"+R+" touchend"+R)},n()}),"function"!=typeof Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),function(n,o){var i={init:function(e,t){this.elem=t,this.$elem=n(t),this.options=n.extend({},n.fn.rtTab.options,e),this.rtTabs()},rtTabs:function(){var t=this,e=t.options.activeTab;if(t.$elem.find("li:nth-child("+e+")").addClass("active"),t.rtTabContent(activeTabContent="yes"),t.rtClick(),!0==("false"!==t.$elem.attr("data-hash"))){var i=o.location.hash;i&&t.$elem.find("li").find('a[href="'+i+'"]').trigger("click"),n(o).on("hashchange",function(){var e=o.location.hash;t.$elem.find("li").find('a[href="'+e+'"]').trigger("click")})}},rtClick:function(){var a=this,r=a.$elem.find("li");r.find("a").on("click",function(e){e.preventDefault(),r.removeClass("active"),a.rtTabContent(),n(this).parent().addClass("active");var t=n(this).attr("href");if(n(t).removeClass("hide"),!0==("false"!==a.$elem.attr("data-hash"))){var i=n(o).scrollTop();location.hash=n(this).attr("href"),n(o).scrollTop(i)}"function"==typeof a.options.onComplete&&a.options.onComplete.apply(a.elem,arguments)})},rtTabContent:function(i){this.$elem.find("li").find("a").each(function(){var e=n(this),t=e.attr("href");"yes"===i&&e.parent().hasClass("active")||n(t).addClass("hide")})}};n.fn.rtTab=function(t){return this.each(function(){var e=Object.create(i);e.init(t,this),n.data(this,"rtTab",e)})},n.fn.rtTab.options={activeTab:1,onComplete:null}}(jQuery,window,document);var comment_media=!1;function apply_rtMagnificPopup(t){jQuery("document").ready(function(s){var e="";if(e="undefined"==typeof rtmedia_load_more?"Loading media":rtmedia_load_more,"undefined"!=typeof rtmedia_lightbox_enabled&&"1"==rtmedia_lightbox_enabled){var n,l,c=!1;0<s(".activity-item .rtmedia-activity-container .rtmedia-list-item > a").siblings("p").children("a").length&&s(".activity-item .rtmedia-activity-container .rtmedia-list-item > a").siblings("p").children("a").addClass("no-popup"),rtMagnificPopup=jQuery(t).magnificPopup({delegate:"a:not(.no-popup, .mejs-time-slider, .mejs-volume-slider, .mejs-horizontal-volume-slider)",type:"ajax",fixedContentPos:!0,fixedBgPos:!0,tLoading:e+" #%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(e){return e.el.attr("title")+"<small>by Marsel Van Oosten</small>"}},callbacks:{ajaxContentAdded:function(){e=jQuery.magnificPopup.instance,1===jQuery(e.items).size()&&jQuery(".mfp-arrow").remove();var e=jQuery.magnificPopup.instance,t=e.currItem.el,i=t.parent();if(i.is("li")||(i=i.parent()),(i.is(":nth-last-child(2)")||i.is(":last-child"))&&i.find("a").hasClass("rtmedia-list-item-a")){i.next();"block"==jQuery("#rtMedia-galary-next").css("display")&&(c||(n=e.ev.children(),c=!0,l=nextpage),jQuery("#rtMedia-galary-next").click())}var a=e.items.length;if(e.index!=a-1||i.is(":last-child")){"undefined"!=typeof _wpmejsSettings&&_wpmejsSettings.pluginPath;var o=jQuery(".rtmedia-container .rtmedia-single-meta").height(),r=!1;void 0!==e&&void 0!==e.probablyMobile&&1==e.probablyMobile&&(r=!0),s(".mfp-content .rtmedia-single-media .wp-audio-shortcode,.mfp-content .rtmedia-single-media .wp-video-shortcode,.mfp-content .rtmedia-single-media .bp_media_content video").attr("autoplay",!0),r&&s(".mfp-content .rtmedia-single-media .wp-video-shortcode,.mfp-content .rtmedia-single-media .bp_media_content video").attr("muted",!1),s(".mfp-content .rtmedia-single-media .wp-audio-shortcode,.mfp-content .rtmedia-single-media .wp-video-shortcode,.mfp-content .rtmedia-single-media .bp_media_content video").mediaelementplayer({classPrefix:"mejs-",defaultVideoWidth:480,hideVolumeOnTouchDevices:!1,features:["playpause","progress","current","volume","fullscreen"],defaultVideoHeight:270,alwaysShowControls:r,enableAutosize:!0,clickToPlayPause:!0,videoHeight:-1,success:function(n,e){n.addEventListener("loadeddata",function(e){var t=s(n).height(),i=s(window).height(),a=jQuery("div.rtm-ltb-action-container").height(),r=o-(a=a+50);i<t&&jQuery(".rtmedia-container #rtmedia-single-media-container .mejs-container").attr("style","height:"+r+"px !important; transition:0.2s")},!1),r&&s(n).hasClass("wp-video-shortcode")?jQuery("body").on("touchstart",".mejs-overlay-button",function(e){n.paused?n.play():n.pause()}):n.pause()}}),s(".mfp-content .mejs-audio .mejs-controls").css("position","relative"),rtMediaHook.call("rtmedia_js_popup_after_content_added",[]),"undefined"!=typeof bp&&void 0!==bp.mentions&&void 0!==bp.mentions.users&&(s("#atwho-container #atwho-ground-comment_content").remove(),s("#comment_content").bp_mentions(bp.mentions.users)),rtmedia_reset_video_and_audio_for_popup(),apply_rtMagnificPopup(".rtmedia-list-media.rtm-gallery-list, .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")}else t.click()},open:function(){var e=jQuery(".mfp-bg"),t=jQuery(".mfp-wrap");e.height(e.height()+t.height())},close:function(e){c&&(mfp.ev.empty(),mfp.ev.append(n),nextpage=l,c=!1,1<nextpage&&jQuery("#rtMedia-galary-next").show()),rtmedia_single_page_popup_close()},BeforeChange:function(e){}}})}jQuery(document).ajaxComplete(function(){jQuery("[id^=imgedit-leaving]").filter(function(){var e=jQuery(this).text();jQuery(this).text(e.replace("OK","Save"))})})})}jQuery(document).ready(function(){if("object"==typeof rtmedia_bp)for(var e in rtmedia_bp)window[e]=rtmedia_bp[e];if("object"==typeof rtmedia_main)for(var e in rtmedia_main)window[e]=rtmedia_main[e];if("object"==typeof rtmedia_upload_terms)for(var e in rtmedia_upload_terms)window[e]=rtmedia_upload_terms[e];if("object"==typeof rtmedia_magnific)for(var e in rtmedia_magnific)window[e]=rtmedia_magnific[e]});var rtMediaHook={hooks:[],is_break:!1,register:function(e,t){void 0===rtMediaHook.hooks[e]&&(rtMediaHook.hooks[e]=[]),rtMediaHook.hooks[e].push(t)},call:function(e,arguments){if(void 0!==rtMediaHook.hooks[e])for(i=0;i<rtMediaHook.hooks[e].length;++i)if(1!=rtMediaHook.hooks[e][i](arguments))return!(rtMediaHook.is_break=!0);return!0}};function rtmedia_init_action_dropdown(e){var t,i;jQuery(e+" .click-nav > span,"+e+" .click-nav > div").toggleClass("no-js js"),jQuery(e+" .click-nav .js ul").hide(),jQuery(e+" .click-nav .clicker").click(function(e){t=jQuery("#rtm-media-options .click-nav .clicker").next("ul"),i=jQuery(this).next("ul"),jQuery.each(t,function(e,t){jQuery(t).html()!=i.html()&&jQuery(t).hide()}),jQuery(i).toggle(),e.stopPropagation()})}function bp_media_create_element(e){return!1}function rtmedia_version_compare(e,t){if(typeof e+typeof t!="stringstring")return!1;for(var i=e.split("."),a=t.split("."),r=0,n=Math.max(i.length,a.length);r<n;r++){if(i[r]&&!a[r]&&0<parseInt(i[r])||parseInt(i[r])>parseInt(a[r]))return!0;if(a[r]&&!i[r]&&0<parseInt(a[r])||parseInt(i[r])<parseInt(a[r]))return!1}return!0}function rtm_is_element_exist(e){return 0<jQuery(e).length}function rtm_masonry_reload(e){setTimeout(function(){e.masonry("reload")},250)}function rtm_search_media_text_validation(){""===jQuery("#media_search_input").val()?jQuery("#media_search").css("cursor","not-allowed"):jQuery("#media_search").css("cursor","pointer")}function rtmediaGetParameterByName(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(location.search);return null==t?"":decodeURIComponent(t[1].replace(/\+/g," "))}function rtmedia_single_media_alert_message(e,t,i){var a="rtmedia-success";"warning"==t&&(a="rtmedia-warning");var r=!1;jQuery(".rtmedia-message-container").each(function(e,t){return t=jQuery(t),i&&t.hasClass("rtmedia-empty-comment-error-class")?(t.remove(),!(r=!0)):void 0!==i||t.hasClass("rtmedia-empty-comment-error-class")?void 0:(t.remove(),!(r=!0))});var n,o=jQuery("<div>",{title:"Click to dismiss",class:"rtmedia-message-container"+(i?" rtmedia-empty-comment-error-class":""),style:"margin:1em 0;"}),s=jQuery("<span>",{class:a});s.html(e),s.appendTo(o),i?(n=jQuery("#rt_media_comment_form"),jQuery("#comment_content").focus()):void 0===i&&(n=jQuery(".rtmedia-single-media .rtmedia-media")).css("opacity","0.2"),n.after(o),r&&(s.css({border:"2px solid #884646"}),setTimeout(function(){s.css({border:"none"})},500)),setTimeout(function(){o.remove(),void 0===i&&n.css("opacity","1")},3e3),o.click(function(){o.remove(),void 0===i&&n.css("opacity","1")})}function rtmedia_gallery_action_alert_message(e,t){var i="rtmedia-success";"warning"==t&&(i="rtmedia-warning");jQuery("body").append('<div class="rtmedia-gallery-alert-container"> </div>'),jQuery(".rtmedia-gallery-alert-container").append("<div class='rtmedia-gallery-message-box'><span class='"+i+"'>"+e+" </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 rtmedia_activity_masonry(){jQuery("#activity-stream .rtmedia-activity-container .rtmedia-list").masonry({itemSelector:".rtmedia-list-item",gutter:7});var e=0,t=setInterval(function(){5===(e+=1)&&clearInterval(t),jQuery.each(jQuery(".rtmedia-activity-container .rtmedia-list.masonry .rtmedia-item-title"),function(e,t){jQuery(t).width(jQuery(t).siblings(".rtmedia-item-thumbnail").children("img").width())}),rtm_masonry_reload(jQuery("#activity-stream .rtmedia-activity-container .rtmedia-list"))},1e3)}function get_parameter(e,t){if(!e)return!1;t=t||window.location.href;e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var i=new RegExp(e+"=([^&#]*)").exec(t);return null!==i&&i[1]}function rtm_upload_terms_activity(){if(0<jQuery("#rtmedia_upload_terms_conditions").length){jQuery("#bp-nouveau-activity-form").on("click","#aw-whats-new-submit",function(e){var t=jQuery("#whats-new-form"),i=t.find("#rtmedia_upload_terms_conditions");if(0!==i.length&&!1===i.prop("checked")&&0===t.find("#message").length){e.preventDefault();var a=t.find(".rtmedia-upload-terms");rtp_display_terms_warning(a,rtmedia_upload_terms_check_terms_message)}});var t=jQuery("#whats-new-form");0<t.length&&jQuery("#whats-new-form, #rtmedia_upload_terms_conditions").on("click",function(e){t.find("input:hidden").each(function(){jQuery(this).prop("disabled",!1)})})}}jQuery("document").ready(function(n){function r(){if(0<jQuery("#rtmedia-media-view-form").length){var e=jQuery("#rtmedia-media-view-form").attr("action");jQuery.post(e,{},function(e){})}}function o(e,t,i){var a=new Date;a.setTime(a.getTime()+24*i*60*60*1e3);var r="expires="+a.toUTCString();document.cookie=e+"="+t+";"+r+";path=/"}jQuery(document).ajaxComplete(function(e,t,i){if("legacy"!==bp_template_pack&&bp_template_pack){var a=get_parameter("action",i.data);"activity_filter"!==a&&"post_update"!==a&&"get_single_activity_content"!==a&&"activity_get_older_updates"!==a||"undefined"==typeof rtmedia_masonry_layout||"true"!==rtmedia_masonry_layout||"undefined"==typeof rtmedia_masonry_layout_activity||"true"!==rtmedia_masonry_layout_activity?"activity_filter"!==a&&"post_update"!==a&&"get_single_activity_content"!==a&&"activity_get_older_updates"!==a||setTimeout(function(){apply_rtMagnificPopup(".rtmedia-list-media.rtm-gallery-list, .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"),rtmedia_activity_stream_comment_media()},1e3):setTimeout(function(){apply_rtMagnificPopup(".rtmedia-list-media.rtm-gallery-list, .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"),rtmedia_activity_masonry(),rtmedia_activity_stream_comment_media()},1e3)}}),jQuery(".rtmedia-uploader-div").css({opacity:"1",display:"block",visibility:"visible"}),jQuery(" #whats-new-options ").css({opacity:"1"}),void 0!==n.fn.rtTab&&n(".rtm-tabs").rtTab(),0<jQuery(".rtmedia-modal-link").length&&n(".rtmedia-modal-link").magnificPopup({type:"inline",midClick:!0,closeBtnInside:!0}),n("#rt_media_comment_form").submit(function(e){return""!=n.trim(n("#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)}),n("li.rtmedia-list-item p a").each(function(e){n(this).addClass("no-popup")}),n("li.rtmedia-list-item p a").each(function(e){n(this).addClass("no-popup")}),"undefined"!=typeof rtmedia_lightbox_enabled&&"1"==rtmedia_lightbox_enabled&&apply_rtMagnificPopup(".rtmedia-list-media.rtm-gallery-list, .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(e,t,i){try{if(null==t.data||void 0===t.data||void 0===t.data.action)return!0}catch(e){return!0}if("activity_get_older_updates"==t.data.action){var a=t.success;e.success=function(e){"function"==typeof a&&a(e),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"==t.data.action){a=t.success;e.success=function(e){"function"==typeof a&&a(e),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({classPrefix:"mejs-",defaultVideoWidth:480,defaultVideoHeight:270})},900)}}}),jQuery.ajaxPrefilter(function(e,t,i){try{if(null==t.data||void 0===t.data||void 0===t.data.action)return!0}catch(e){return!0}if("activity_get_older_updates"==t.data.action){var a=t.success;e.success=function(e){"function"==typeof a&&a(e),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({classPrefix:"mejs-",defaultVideoWidth:480,defaultVideoHeight:270}),setTimeout(function(){rtmedia_activity_stream_comment_media()},900),rtMediaHook.call("rtmedia_js_after_activity_added",[])}}}),jQuery(".rtmedia-container").on("click",".select-all",function(e){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(e){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(e){jQuery(".rtmedia-delete-container").slideUp(),jQuery(".rtmedia-move-container").slideToggle()}),jQuery("#rtmedia-create-album-modal").on("click","#rtmedia_create_new_album",function(e){if($albumname=jQuery("<span/>").text(jQuery.trim(jQuery("#rtmedia_album_name").val())).html(),$album_description=jQuery("#rtmedia_album_description"),$context=jQuery.trim(jQuery("#rtmedia_album_context").val()),$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 t={action:"rtmedia_create_album",name:$albumname,description:$album_description.val(),context:$context,context_id:$context_id,create_album_nonce:$create_album_nonce};""!==$privacy&&(t.privacy=$privacy),n("#rtmedia_create_new_album").attr("disabled","disabled");var r=n("#rtmedia_create_new_album").html();n("#rtmedia_create_new_album").prepend("<img src='"+rMedia_loading_file+"' />"),jQuery.post(rtmedia_ajax_url,t,function(i){if(void 0!==i.album){i=jQuery.trim(i.album);var a=!0;$album_description.val(""),n("#rtmedia_album_name").focus(),jQuery(".rtmedia-user-album-list").each(function(){if(jQuery(this).children("optgroup").each(function(){if(jQuery(this).attr("value")===$context)return a=!1,void jQuery(this).append('<option value="'+i+'">'+$albumname+"</option>")}),a){var e=$context.charAt(0).toUpperCase()+$context.slice(1)+" "+rtmedia_main_js_strings.rtmedia_albums,t='<optgroup value="'+$context+'" label="'+e+'"><option value="'+i+'">'+$albumname+"</option></optgroup>";jQuery(this).append(t)}}),jQuery('select.rtmedia-user-album-list option[value="'+i+'"]').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(),window.location.reload(),jQuery(".close-reveal-modal").click()},2e3)}else void 0!==i.error?rtmedia_gallery_action_alert_message(i.error,"warning"):rtmedia_gallery_action_alert_message(rtmedia_something_wrong_msg,"warning");n("#rtmedia_create_new_album").removeAttr("disabled"),n("#rtmedia_create_new_album").html(r)})}else rtmedia_gallery_action_alert_message(rtmedia_empty_album_name_msg,"warning")}),jQuery(".rtmedia-container").on("click",".rtmedia-delete-selected",function(e){0<jQuery(".rtmedia-list :checkbox:checked").length?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(e){0<jQuery(".rtmedia-list :checkbox:checked").length?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 e=jQuery(this).attr("id");e=(e=e.split("-"))[e.length-1];var a=this;data={activity_id:e,privacy:jQuery(this).val(),nonce:jQuery("#rtmedia_activity_privacy_nonce").val(),action:"rtm_change_activity_privacy"},jQuery.post(ajaxurl,data,function(e){var t="",i="";i="true"==e?(t=rtmedia_main_js_strings.privacy_update_success,"rtmedia-success"):(t=rtmedia_main_js_strings.privacy_update_error,"fail"),jQuery(a).after('<p class="rtm-ac-privacy-updated '+i+'">'+t+"</p>"),setTimeout(function(){jQuery(a).siblings(".rtm-ac-privacy-updated").remove()},2e3)})}),jQuery(".media_search_input").on("keyup",function(){rtm_search_media_text_validation()}),r(),rtMediaHook.register("rtmedia_js_popup_after_content_added",function(){r(),jQuery(".rtmedia-container").on("click",".rtmedia-delete-media",function(e){e.preventDefault(),confirm(rtmedia_media_delete_confirmation)&&jQuery(this).closest("form").submit()}),mfp=jQuery.magnificPopup.instance,1<jQuery(mfp.items).size()&&0==comment_media?function(){var n=jQuery.magnificPopup.instance,e=n.probablyMobile,t=function(e){for(var t=e+"=",i=document.cookie.split(";"),a=0;a<i.length;a++){for(var r=i[a];" "==r.charAt(0);)r=r.substring(1);if(0==r.indexOf(t))return r.substring(t.length,r.length)}return""}("rtmedia-touch-swipe-tooltip");e&&""===t?(jQuery("#mobile-swipe-overlay").show(),jQuery("#mobile-swipe-overlay").on("click",function(e){o("rtmedia-touch-swipe-tooltip",!0,365),jQuery(this).hide(),jQuery("#rtmedia-single-media-container .mejs-playpause-button").trigger("click")}),jQuery("#mobile-swipe-overlay").swipe({swipe:function(e,t,i,a,r,n){o("rtmedia-touch-swipe-tooltip",!0,365),jQuery("#mobile-swipe-overlay").hide(),jQuery("#rtmedia-single-media-container .mejs-playpause-button").trigger("click")},threshold:0})):jQuery("#rtmedia-single-media-container .mejs-playpause-button").trigger("click");jQuery(".mfp-arrow-right").on("click",function(e){n.next()}),jQuery(".mfp-arrow-left").on("click",function(e){n.prev()}),jQuery(".mfp-content .rtmedia-media").swipe({swipeLeft:function(e,t,i,a,r){n.next()},swipeRight:function(e,t,i,a,r){n.prev()},threshold:0})}():(jQuery(".mfp-arrow-right").hide(),jQuery(".mfp-arrow-left").hide(),jQuery(document).unbind("keydown")),rtmedia_disable_popup_navigation("#comment_content"),rtmedia_disable_popup_navigation_comment_media_focus();var e=n(window).height();jQuery(".rtm-lightbox-container .mejs-video").css({height:.8*e,"over-flow":"hidden"}),jQuery(".mfp-content .rtmedia-media").css({"max-height":.87*e,"over-flow":"hidden"}),rtmedia_init_action_dropdown(".rtm-lightbox-container .rtmedia-actions"),jQuery(".rtmedia-comment-link").on("click",function(e){e.preventDefault(),jQuery("#comment_content").focus()}),jQuery(".rtm-more").shorten({showChars:130});var t=n(".rtm-gallery-title"),i="";""!=(i=n.isEmptyObject(t)?n("#subnav.item-list-tabs li.selected ").html():t.html())&&n(".rtm-ltb-gallery-title .ltb-title").html(i);var a=n("#subnav.item-list-tabs li.selected span").html();return n("li.total").html(a),!0});var t=jQuery("#drag-drop-area"),i=jQuery("#whats-new");t.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(e){e.preventDefault(),e.target!=this&&(jQuery("#rtm-media-gallery-uploader").show(),"undefined"!=typeof rtmedia_bp_enable_activity&&"1"==rtmedia_bp_enable_activity&&i.addClass("rtm-drag-drop-active"),t.addClass("rtm-drag-drop-active"),jQuery("#rtm-drop-files-title").show())}).on("dragleave",function(e){if(e.preventDefault(),0!=e.originalEvent.pageX&&0!=e.originalEvent.pageY)return!1;"undefined"!=typeof rtmedia_bp_enable_activity&&"1"==rtmedia_bp_enable_activity&&(i.removeClass("rtm-drag-drop-active"),i.removeAttr("style")),t.removeClass("rtm-drag-drop-active"),jQuery("#rtm-drop-files-title").hide()}).on("drop",function(e){e.preventDefault(),jQuery(".bp-suggestions").focus(),"undefined"!=typeof rtmedia_bp_enable_activity&&"1"==rtmedia_bp_enable_activity&&(i.removeClass("rtm-drag-drop-active"),i.removeAttr("style")),t.removeClass("rtm-drag-drop-active"),jQuery("#rtm-drop-files-title").hide()}),jQuery(".rtmedia-container").on("click",".rtmedia-delete-album",function(e){e.preventDefault(),confirm(rtmedia_album_delete_confirmation)&&jQuery(this).closest("form").submit()}),jQuery(".rtmedia-container").on("click",".rtmedia-delete-media",function(e){e.preventDefault(),confirm(rtmedia_media_delete_confirmation)&&jQuery(this).closest("form").submit()}),rtmedia_init_action_dropdown(""),n(document).click(function(){n(".click-nav ul").is(":visible")&&n(".click-nav ul",this).hide()}),jQuery(".rtmedia-comment-link").on("click",function(e){e.preventDefault(),jQuery("#comment_content").focus()}),0<jQuery(".rtm-more").length&&n(".rtm-more").shorten({showChars:200}),"undefined"!=typeof rtmedia_masonry_layout&&"true"==rtmedia_masonry_layout&&"undefined"!=typeof rtmedia_masonry_layout_activity&&"true"==rtmedia_masonry_layout_activity&&rtmedia_activity_masonry(),jQuery(document).ajaxComplete(function(e,t,i){var a=get_parameter("action",i.data);"post_update"!==a&&"get_single_activity_content"!==a&&"activity_get_older_updates"!==a||"undefined"==typeof rtmedia_masonry_layout||"true"!=rtmedia_masonry_layout||"undefined"==typeof rtmedia_masonry_layout_activity||"true"!=rtmedia_masonry_layout_activity||rtmedia_activity_masonry()}),"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")).masonry({itemSelector:".rtmedia-list-item"}),setInterval(function(){jQuery.each(jQuery(".rtmedia-list.masonry .rtmedia-item-title"),function(e,t){jQuery(t).width(jQuery(t).siblings(".rtmedia-item-thumbnail").children("img").width())}),rtm_masonry_reload(rtm_masonry_container)},1e3),jQuery.each(jQuery(".rtmedia-list.masonry .rtmedia-item-title"),function(e,t){jQuery(t).width(jQuery(t).siblings(".rtmedia-item-thumbnail").children("img").width())})),0<jQuery(".rtm-uploader-tabs").length&&jQuery(".rtm-uploader-tabs li").click(function(e){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").hide():jQuery("div.moxie-shim").show())}),jQuery(".rtmedia-container").on("click",".rtm-delete-media",function(e){e.preventDefault();var t=RTMedia_Main_JS.media_delete_confirmation;if(confirm(t)){var i=jQuery(this).closest("li"),a=jQuery("#rtmedia_media_delete_nonce").val(),r=jQuery(this).parents(".rtmedia-list-item").data("media_type"),n={action:"delete_uploaded_media",nonce:a,media_id:i.attr("id"),media_type:r};jQuery.ajax({url:RTMedia_Main_JS.rtmedia_ajaxurl,type:"POST",data:n,dataType:"JSON",success:function(e){"rtmedia-media-deleted"===e.data.code?(rtmedia_gallery_action_alert_message(RTMedia_Main_JS.media_delete_success,"success"),i.remove(),"undefined"!=typeof rtmedia_masonry_layout&&"true"===rtmedia_masonry_layout&&rtm_masonry_reload(rtm_masonry_container),jQuery("#user-media span, #media-groups-li #media span, #rtmedia-nav-item-all span").text(e.data.all_media_count),jQuery("#rtmedia-nav-item-albums span").text(e.data.albums_count),jQuery("#rtmedia-nav-item-photo span").text(e.data.photos_count),jQuery("#rtmedia-nav-item-music span").text(e.data.music_count),jQuery("#rtmedia-nav-item-video span").text(e.data.videos_count)):rtmedia_gallery_action_alert_message(e.data.message,"warning")}})}})}),function(u){u.fn.shorten=function(e){"use strict";var m={showChars:100,minHideChars:10,ellipsesText:"...",moreText:rtmedia_read_more,lessText:rtmedia__show_less,onLess:function(){},onMore:function(){},errMsg:null,force:!1};return e&&u.extend(m,e),!(u(this).data("jquery.shorten")&&!m.force)&&(u(this).data("jquery.shorten",!0),u(document).off("click",".morelink"),u(document).on({click:function(){var e=u(this);return e.hasClass("less")?(e.removeClass("less"),e.html(m.moreText),e.parent().prev().hide(0,function(){e.parent().prev().prev().show()}).hide(0,function(){m.onLess()})):(e.addClass("less"),e.html(m.lessText),e.parent().prev().show(0,function(){e.parent().prev().prev().hide()}).show(0,function(){m.onMore()})),!1}},".morelink"),this.each(function(){var e=u(this),t=e.html();if(e.text().length>m.showChars+m.minHideChars){var i=t.substr(0,m.showChars);if(0<=i.indexOf("<")){for(var a=!1,r="",n=0,o=[],s=null,l=0,c=0;c<=m.showChars;l++)if("<"!=t[l]||a||(a=!0,"/"==(s=t.substring(l+1,t.indexOf(">",l)))[0]?s!="/"+o[0]?m.errMsg="ERROR en HTML: the top of the stack should be the tag that closes":o.shift():"br"!=s.toLowerCase()&&o.unshift(s)),a&&">"==t[l]&&(a=!1),a)r+=t.charAt(l);else if(c++,n<=m.showChars)r+=t.charAt(l),n++;else if(0<o.length){for(j=0;j<o.length;j++)r+="</"+o[j]+">";break}i=u("<div/>").html(r+'<span class="ellip">'+m.ellipsesText+"</span>").html()}else i+=m.ellipsesText;var d='<div class="shortcontent">'+i+'</div><div class="allcontent">'+t+'</div><span><a href="javascript://nop/" class="morelink">'+m.moreText+"</a></span>";e.html(d),e.find(".allcontent").hide(),u(".shortcontent p:last",e).css("margin-bottom",0)}}))}}(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),rtm_search_media_text_validation(),check_condition("search")&&jQuery("#media_search_remove").show()},jQuery(document).ready(function(){rtm_upload_terms_activity(),jQuery("body").hasClass("has-sidebar")&&0===jQuery("#secondary").length&&(jQuery(".rtmedia-single-container").length||jQuery(".rtmedia-container").length)&&jQuery("body").removeClass("has-sidebar"),rtmedia_main&&("undefined"!==rtmedia_main.rtmedia_direct_download_link&&parseInt(rtmedia_main.rtmedia_direct_download_link)||jQuery(document).on("bp_ajax_request",function(e){setTimeout(function(){jQuery("video").each(function(){jQuery(this).attr("controlsList","nodownload"),jQuery(this).load()})},200)}))});
|
app/helper/RTMediaAddon.php
CHANGED
@@ -120,6 +120,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
120 |
'price' => '$49',
|
121 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
122 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-seo/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
123 |
'category' => 'general',
|
124 |
'purchased' => ( defined( 'RTMEDIA_SEO_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-seo/index.php' ) ) ? true : false,
|
125 |
),
|
@@ -130,6 +131,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
130 |
'desc' => '<p>' . esc_html__( 'Report media if they find offensive. Set number of reports to automatically take down media from site.', 'buddypress-media' ) . '</p>',
|
131 |
'price' => '$99',
|
132 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
133 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-moderation/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
134 |
'category' => 'general',
|
135 |
'purchased' => ( defined( 'RTMEDIA_MODERATION_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-moderation/index.php' ) ) ? true : false,
|
@@ -141,6 +143,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
141 |
'desc' => '<p>' . esc_html__( 'Categories media based on attributes. Site owner need to create attributes. When user upload a media, can select in which attribute that media can add.', 'buddypress-media' ) . '</p>',
|
142 |
'price' => '$99',
|
143 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
144 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-custom-attributes/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
145 |
'category' => 'general',
|
146 |
'purchased' => ( defined( 'RTMEDIA_ATTRIBUTES_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-custom-attributes/index.php' ) ) ? true : false,
|
@@ -152,6 +155,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
152 |
'desc' => '<p>' . esc_html__( 'Allow users to upload documents and other file type using rtMedia upload box. This addon support all the file extensions which WordPress allows.', 'buddypress-media' ) . '</p>',
|
153 |
'price' => '$99',
|
154 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
155 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-docs-files/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
156 |
'category' => 'general',
|
157 |
'purchased' => ( defined( 'RTMEDIA_OTHER_FILES_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-docs-files/index.php' ) ) ? true : false,
|
@@ -163,6 +167,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
163 |
'desc' => '<p>' . esc_html__( 'This plugin allows the creation of multiple default albums for rtMedia uploads. One of these albums can be set as the default global album.', 'buddypress-media' ) . '</p>',
|
164 |
'price' => '$49',
|
165 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
166 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-default-albums/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
167 |
'category' => 'general',
|
168 |
'purchased' => ( defined( 'RTMEDIA_DEFAULT_ALBUMS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-default-albums/index.php' ) ) ? true : false,
|
@@ -174,6 +179,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
174 |
'desc' => '<p>' . esc_html__( 'Read rtMedia uploads from iTunes as well as any RSS feed-reader/podcasting software.', 'buddypress-media' ) . '</p>',
|
175 |
'price' => '$49',
|
176 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
177 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-podcast-feed/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
178 |
'category' => 'general',
|
179 |
'purchased' => ( defined( 'RTMEDIA_RSS_ATOM_FEED_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-podcast-feed/index.php' ) ) ? true : false,
|
@@ -185,6 +191,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
185 |
'desc' => '<p>' . esc_html__( 'Audio can be grouped into playlists. Once the user upload any audio file, can create a playlist or use existing one to manage audio files.', 'buddypress-media' ) . '</p>',
|
186 |
'price' => '$49',
|
187 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
188 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-playlists/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
189 |
'category' => 'general',
|
190 |
'purchased' => ( defined( 'RTMEDIA_PLAYLIST_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-playlists/index.php' ) ) ? true : false,
|
@@ -196,6 +203,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
196 |
'desc' => '<p>' . esc_html__( 'Users can create their list of favorite media in which they can add media previously uploaded by any user.', 'buddypress-media' ) . '</p>',
|
197 |
'price' => '$49',
|
198 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
199 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-favorites/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
200 |
'category' => 'general',
|
201 |
'purchased' => ( defined( 'RTMEDIA_FAVORITES_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-favorites/index.php' ) ) ? true : false,
|
@@ -207,6 +215,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
207 |
'desc' => '<p>' . esc_html__( 'Site admin can set an upload limit on the basis of time span, file size (MB) and number of files user can upload.', 'buddypress-media' ) . '</p>',
|
208 |
'price' => '$99',
|
209 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
210 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-restrictions/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
211 |
'category' => 'general',
|
212 |
'purchased' => ( defined( 'RTMEDIA_RESTRICTIONS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-restrictions/index.php' ) ) ? true : false,
|
@@ -218,6 +227,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
218 |
'desc' => '<p>' . esc_html__( 'Attach media files to bbPress forum topics and replies.', 'buddypress-media' ) . '</p>',
|
219 |
'price' => '$49',
|
220 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
221 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-bbpress-attachments/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
222 |
'category' => 'general',
|
223 |
'purchased' => ( defined( 'RTMEDIA_BBPRESS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-bbpress-attachments/index.php' ) ) ? true : false,
|
@@ -229,6 +239,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
229 |
'desc' => '<p>' . esc_html__( 'Site admin can create and upload media into WordPress album. Create album without being dependent on BuddyPress.', 'buddypress-media' ) . '</p>',
|
230 |
'price' => '$99',
|
231 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
232 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-wordpress-sitewide-gallery/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
233 |
'category' => 'general',
|
234 |
'purchased' => ( defined( 'RTMEDIA_WORDPRESS_SITEWIDE_GALLERY_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-wordpress-sitewide-gallery/index.php' ) ) ? true : false,
|
@@ -240,6 +251,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
240 |
'desc' => '<p>' . esc_html__( 'Allow users to upload a media file in WordPress comment attachment box. It will display a thumbnail of attached file.', 'buddypress-media' ) . '</p>',
|
241 |
'price' => '$49',
|
242 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
243 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-wordpress-comment-attachments/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
244 |
'category' => 'general',
|
245 |
'purchased' => ( defined( 'RTMEDIA_WORDPRESS_COMMENT_ATTACHMENT_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-wordpress-comment-attachments/index.php' ) ) ? true : false,
|
@@ -251,6 +263,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
251 |
'desc' => '<p>' . esc_html__( 'Share uploaded media on social network sites like Facebook, twitter, linkedin, Google +. This addon integrate with rtSocial plugin.', 'buddypress-media' ) . '</p>',
|
252 |
'price' => '$49',
|
253 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
254 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-social-sharing/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
255 |
'category' => 'general',
|
256 |
'purchased' => ( defined( 'RTMEDIA_SOCIAL_SHARING_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-social-sharing/index.php' ) ) ? true : false,
|
@@ -262,6 +275,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
262 |
'desc' => '<p>' . esc_html__( 'This addon provide widgets to upload media and display gallery for rtMedia plugin.', 'buddypress-media' ) . '</p>',
|
263 |
'price' => '$49',
|
264 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
265 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-sidebar-widgets/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
266 |
'category' => 'general',
|
267 |
'purchased' => ( defined( 'RTMEDIA_WIDGETS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-sidebar-widgets/index.php' ) ) ? true : false,
|
@@ -273,6 +287,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
273 |
'desc' => '<p>' . esc_html__( 'Display 5 star rating for all the uploaded media. User can rate the media files from 1 to 5 star.', 'buddypress-media' ) . '</p>',
|
274 |
'price' => '$49',
|
275 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
276 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-star-ratings/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
277 |
'category' => 'general',
|
278 |
'purchased' => ( defined( 'RTMEDIA_RATINGS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-ratings/index.php' ) ) ? true : false,
|
@@ -284,6 +299,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
284 |
'desc' => '<p>' . esc_html__( 'Allow user to edit MP3 FIle Audio tags (ID 3 tags).', 'buddypress-media' ) . '</p>',
|
285 |
'price' => '$49',
|
286 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
287 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-edit-mp3-info/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
288 |
'category' => 'general',
|
289 |
'purchased' => ( defined( 'RTMEDIA_AUDIO_TAGS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-edit-mp3-info/index.php' ) ) ? true : false,
|
@@ -295,6 +311,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
295 |
'desc' => '<p>' . esc_html__( 'Sort uploaded media based on file size, ascending/descending title, upload date of media.', 'buddypress-media' ) . '</p>',
|
296 |
'price' => '$49',
|
297 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
298 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-sorting/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
299 |
'category' => 'general',
|
300 |
'purchased' => ( defined( 'RTMEDIA_SORTING_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-sorting/index.php' ) ) ? true : false,
|
@@ -306,6 +323,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
306 |
'desc' => '<p>' . esc_html__( 'Bulk edit option will allow user to quickly select media files and do required actions like move files from one album to another, change attributes, change privacy, delete files.', 'buddypress-media' ) . '</p>',
|
307 |
'price' => '$99',
|
308 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
309 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-bulk-edit/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
310 |
'category' => 'general',
|
311 |
'purchased' => ( defined( 'RTMEDIA_BULK_EDIT_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-bulk-edit/index.php' ) ) ? true : false,
|
@@ -317,6 +335,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
317 |
'desc' => '<p>' . esc_html__( 'User can easily set his/her profile picture from media uploaded via rtMedia.', 'buddypress-media' ) . '</p>',
|
318 |
'price' => '$49',
|
319 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
320 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-buddypress-profile-picture/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
321 |
'category' => 'general',
|
322 |
'purchased' => ( defined( 'RTMEDIA_BUDDYPRESS_PROFILE_PICTURE_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-buddypress-profile-picture/index.php' ) ) ? true : false,
|
@@ -328,6 +347,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
328 |
'desc' => '<p>' . esc_html__( 'User can easily set any of the image of the album as album cover photo', 'buddypress-media' ) . '</p>',
|
329 |
'price' => '$49',
|
330 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
331 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-album-cover-art/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
332 |
'category' => 'general',
|
333 |
'purchased' => ( defined( 'RTMEDIA_ALBUM_COVER_ART_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-album-cover-art/index.php' ) ) ? true : false,
|
@@ -339,6 +359,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
339 |
'desc' => '<p>' . esc_html__( 'User can download media from website. Site owner can restrict which media type can be allowed to download.', 'buddypress-media' ) . '</p>',
|
340 |
'price' => '$49',
|
341 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
342 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-direct-download-link/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
343 |
'category' => 'general',
|
344 |
'purchased' => ( defined( 'RTMEDIA_DOWNLOADS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-direct-download-link/index.php' ) ) ? true : false,
|
@@ -350,6 +371,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
350 |
'desc' => '<p>' . esc_html__( 'Users do not need to download media files from a URL and then upload it with rtMedia. Just provide the absolute URL for the media and it will upload on site.', 'buddypress-media' ) . '</p>',
|
351 |
'price' => '$49',
|
352 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
353 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-upload-by-url/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
354 |
'category' => 'general',
|
355 |
'purchased' => ( defined( 'RTMEDIA_URL_UPLOAD_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-upload-by-url/index.php' ) ) ? true : false,
|
@@ -361,6 +383,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
361 |
'desc' => '<p>' . esc_html__( 'This add-on let you know who liked the media. User can also see which media they liked under their profile.', 'buddypress-media' ) . '</p>',
|
362 |
'price' => '$49',
|
363 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
364 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-likes/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
365 |
'category' => 'general',
|
366 |
'purchased' => ( defined( 'RTMEDIA_LIKES_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-likes/index.php' ) ) ? true : false,
|
@@ -372,6 +395,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
372 |
'desc' => '<p>' . esc_html__( 'This addon provides a preview of the URL that is shared in BuddyPress activity. Just enter the URL you want to share on your site and see a preview of it before it is shared.', 'buddypress-media' ) . '</p>',
|
373 |
'price' => '$49',
|
374 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
375 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-activity-url-preview/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
376 |
'category' => 'general',
|
377 |
'purchased' => ( defined( 'RTMEDIA_ACTIVITY_URL_PREVIEW_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-activity-url-preview/index.php' ) ) ? true : false,
|
@@ -383,6 +407,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
383 |
'desc' => '<p>' . esc_html__( 'Enable view count for all the uploaded media. Whenever user open that media file in lightbox or in single media view, that view count will be calculated and display next to media file.', 'buddypress-media' ) . '</p>',
|
384 |
'price' => '$49',
|
385 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
386 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-view-counter/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
387 |
'category' => 'general',
|
388 |
'purchased' => ( defined( 'RTMEDIA_VIEW_COUNT_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-view-counter/index.php' ) ) ? true : false,
|
@@ -394,6 +419,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
394 |
'desc' => '<p>' . esc_html__( 'This add-on will add shortcode generator button in WordPress post and page editor for all the rtMedia shortcodes.', 'buddypress-media' ) . '</p>',
|
395 |
'price' => '$49',
|
396 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
397 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-shortcode-generator/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
398 |
'category' => 'general',
|
399 |
'purchased' => ( defined( 'RTMEDIA_SHORTCODE_GENERATOR_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-shortcode-generator/index.php' ) ) ? true : false,
|
@@ -405,6 +431,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
405 |
'desc' => '<p>' . esc_html__( 'Set album privacy when user create an album or change album privacy when editing existing albums. The privacy levels are Public, Logged in user, Friends and Private.', 'buddypress-media' ) . '</p>',
|
406 |
'price' => '$49',
|
407 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
408 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-album-privacy/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
409 |
'category' => 'general',
|
410 |
'purchased' => ( defined( 'RTMEDIA_ALBUM_PRIVACY_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-album-privacy/index.php' ) ) ? true : false,
|
@@ -416,6 +443,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
416 |
'desc' => '<p>' . esc_html__( 'This add-on allows group owner to manage media upload feature group wise.', 'buddypress-media' ) . '</p>',
|
417 |
'price' => '$49',
|
418 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
419 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-buddypress-group-media-control/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
420 |
'category' => 'general',
|
421 |
'purchased' => ( defined( 'RTMEDIA_GROUP_MEDIA_CONTROL_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-buddypress-group-media-control/index.php' ) ) ? true : false,
|
@@ -427,6 +455,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
427 |
'desc' => '<p>' . esc_html__( 'Allow media owner to change the thumbnail of uploaded audio/video files. The File Upload box will be provided to change media thumbnail.', 'buddypress-media' ) . '</p>',
|
428 |
'price' => '$49',
|
429 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
430 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-set-custom-thumbnail-for-audiovideo/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
431 |
'category' => 'general',
|
432 |
'purchased' => ( defined( 'RTMEDIA_MEDIA_CUSTOM_THUMBNAIL_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-set-custom-thumbnail/index.php' ) ) ? true : false,
|
@@ -438,21 +467,11 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
438 |
'desc' => '<p>' . esc_html__( 'This plugin integrates rtMedia and myCRED plugin, users can be can award virtual points for various rtMedia activities, like media upload, likes, deleted etc.', 'buddypress-media' ) . '</p>',
|
439 |
'price' => '$49',
|
440 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
441 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-mycred/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
442 |
'category' => 'general',
|
443 |
'purchased' => ( defined( 'RTMEDIA_MYCRED_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-mycred/index.php' ) ) ? true : false,
|
444 |
),
|
445 |
-
array(
|
446 |
-
'title' => esc_html__( 'CubePoints', 'buddypress-media' ),
|
447 |
-
'img_src' => $rtcamp_upload_url . 'edd/2015/06/rtmedia-cubepoints.jpg',
|
448 |
-
'product_link' => 'https://rtmedia.io/products/rtmedia-cubepoints/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
449 |
-
'desc' => '<p>' . esc_html__( 'If you are using CubePoints plugin on your website than rtMedia CubePoint add-on can be integrate with that plugin to setup point management system for rtMedia related activities.', 'buddypress-media' ) . '</p>',
|
450 |
-
'price' => '$49',
|
451 |
-
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
452 |
-
'buy_now' => 'https://rtmedia.io/products/rtmedia-cubepoints/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
453 |
-
'category' => 'general',
|
454 |
-
'purchased' => ( defined( 'RTMEDIA_CUBEPOINTS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-cubepoints/index.php' ) ) ? true : false,
|
455 |
-
),
|
456 |
array(
|
457 |
'title' => esc_html__( 'Social Sync', 'buddypress-media' ),
|
458 |
'img_src' => $rtcamp_upload_url . 'edd/2015/08/rtMedia-Social-Sync.png',
|
@@ -460,6 +479,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
460 |
'desc' => '<p>' . esc_html__( 'rtMedia Social Sync allows you to import media from your Facebook account.', 'buddypress-media' ) . '</p>',
|
461 |
'price' => '$99',
|
462 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
463 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-social-sync/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
464 |
'category' => 'general',
|
465 |
'purchased' => ( defined( 'RTMEDIA_SOCIAL_SYNC_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-social-sync/index.php' ) ) ? true : false,
|
@@ -471,6 +491,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
471 |
'desc' => '<p>' . esc_html__( 'rtMedia Photo Watermark let you add watermark on your images uploaded using rtMedia.', 'buddypress-media' ) . '</p>',
|
472 |
'price' => '$99',
|
473 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
474 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-photo-watermark/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
475 |
'category' => 'photo',
|
476 |
'purchased' => ( defined( 'RTMEDIA_WATERMARK_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-photo-watermak/index.php' ) ) ? true : false,
|
@@ -482,6 +503,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
482 |
'desc' => '<p>' . esc_html__( 'rtMedia Photo Tagging enable users to tag their friends on photos uploaded using rtMedia.', 'buddypress-media' ) . '</p>',
|
483 |
'price' => '$99',
|
484 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
485 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-photo-tagging/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
486 |
'category' => 'photo',
|
487 |
'purchased' => ( defined( 'RTMEDIA_PHOTO_TAGGING_URL' ) || file_exists( WP_PLUGIN_DIR . '/bpm-photo-tag/index.php' ) ) ? true : false,
|
@@ -493,6 +515,7 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
493 |
'desc' => '<p>' . esc_html__( 'rtMedia Photo Filters adds Instagram like filters to images uploaded with rtMedia.', 'buddypress-media' ) . '</p>',
|
494 |
'price' => '$99',
|
495 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
|
|
496 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-photo-filters/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
497 |
'category' => 'photo',
|
498 |
'purchased' => ( defined( 'RTMEDIA_INSTAGRAM_URL' ) || file_exists( WP_PLUGIN_DIR . '/bpm-instagram/index.php' ) || defined( 'RTMEDIA_PHOTO_FILTERS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-photo-filters/index.php' ) ) ? true : false,
|
@@ -503,6 +526,8 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
503 |
'product_link' => 'https://rtmedia.io/products/rtmedia-membership/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
504 |
'desc' => '<p>' . esc_html__( 'rtMedia Membership add-on provides membership functionality in your site in terms of media upload.', 'buddypress-media' ),
|
505 |
'price' => '$99',
|
|
|
|
|
506 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-membership/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
507 |
'category' => 'membership',
|
508 |
'purchased' => ( defined( 'RTMEDIA_MEMBERSHIP_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-membership/index.php' ) ) ? true : false,
|
@@ -557,23 +582,6 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
557 |
);
|
558 |
$args = wp_parse_args( $args, $defaults );
|
559 |
|
560 |
-
if ( $args['purchased'] ) {
|
561 |
-
$purchase_link = '<span class="rtm-addon-purchased button-primary disabled alignright product_type_simple">' . esc_html__( 'Purchased', 'buddypress-media' ) . '</span>';
|
562 |
-
} else {
|
563 |
-
$purchase_link = '<a class="button-primary alignright product_type_simple" href="' . esc_url( $args['buy_now'] ) . '" target="_blank">' . esc_html__( 'Buy Now', 'buddypress-media' ) . '</a>';
|
564 |
-
}
|
565 |
-
|
566 |
-
$allowed_html = array(
|
567 |
-
'a' => array(
|
568 |
-
'href' => array(),
|
569 |
-
'target' => array(),
|
570 |
-
'class' => array(),
|
571 |
-
),
|
572 |
-
'span' => array(
|
573 |
-
'class' => array(),
|
574 |
-
),
|
575 |
-
);
|
576 |
-
|
577 |
$coming_soon_div = ( ! empty( $args['coming_soon'] ) ) ? $this->coming_soon_div() : '';
|
578 |
?>
|
579 |
<div class="plugin-card clearfix rtm-plugin-card">
|
@@ -594,11 +602,14 @@ if ( ! class_exists( 'RTMediaAddon' ) ) {
|
|
594 |
|
595 |
<div class="plugin-card-bottom">
|
596 |
<span class="price alignleft">
|
597 |
-
|
|
|
|
|
|
|
|
|
|
|
598 |
</span>
|
599 |
<?php
|
600 |
-
echo wp_kses( $purchase_link, $allowed_html );
|
601 |
-
|
602 |
if ( '' !== $args['demo_link'] ) {
|
603 |
echo '<a class="alignright rtm-live-demo button" href="' . esc_url( $args['demo_link'] ) . '" title="' . esc_attr( $args['title'] ) . '" target="_blank">' . esc_html__( 'Live Demo', 'buddypress-media' ) . '</a>';
|
604 |
}
|
120 |
'price' => '$49',
|
121 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
122 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-seo/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
123 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/rtmedia-seo/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
124 |
'category' => 'general',
|
125 |
'purchased' => ( defined( 'RTMEDIA_SEO_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-seo/index.php' ) ) ? true : false,
|
126 |
),
|
131 |
'desc' => '<p>' . esc_html__( 'Report media if they find offensive. Set number of reports to automatically take down media from site.', 'buddypress-media' ) . '</p>',
|
132 |
'price' => '$99',
|
133 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
134 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/moderation/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
135 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-moderation/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
136 |
'category' => 'general',
|
137 |
'purchased' => ( defined( 'RTMEDIA_MODERATION_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-moderation/index.php' ) ) ? true : false,
|
143 |
'desc' => '<p>' . esc_html__( 'Categories media based on attributes. Site owner need to create attributes. When user upload a media, can select in which attribute that media can add.', 'buddypress-media' ) . '</p>',
|
144 |
'price' => '$99',
|
145 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
146 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/custom-attributes/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
147 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-custom-attributes/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
148 |
'category' => 'general',
|
149 |
'purchased' => ( defined( 'RTMEDIA_ATTRIBUTES_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-custom-attributes/index.php' ) ) ? true : false,
|
155 |
'desc' => '<p>' . esc_html__( 'Allow users to upload documents and other file type using rtMedia upload box. This addon support all the file extensions which WordPress allows.', 'buddypress-media' ) . '</p>',
|
156 |
'price' => '$99',
|
157 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
158 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/docs-and-other-files/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
159 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-docs-files/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
160 |
'category' => 'general',
|
161 |
'purchased' => ( defined( 'RTMEDIA_OTHER_FILES_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-docs-files/index.php' ) ) ? true : false,
|
167 |
'desc' => '<p>' . esc_html__( 'This plugin allows the creation of multiple default albums for rtMedia uploads. One of these albums can be set as the default global album.', 'buddypress-media' ) . '</p>',
|
168 |
'price' => '$49',
|
169 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
170 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/default-albums/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
171 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-default-albums/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
172 |
'category' => 'general',
|
173 |
'purchased' => ( defined( 'RTMEDIA_DEFAULT_ALBUMS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-default-albums/index.php' ) ) ? true : false,
|
179 |
'desc' => '<p>' . esc_html__( 'Read rtMedia uploads from iTunes as well as any RSS feed-reader/podcasting software.', 'buddypress-media' ) . '</p>',
|
180 |
'price' => '$49',
|
181 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
182 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/podcast/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
183 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-podcast-feed/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
184 |
'category' => 'general',
|
185 |
'purchased' => ( defined( 'RTMEDIA_RSS_ATOM_FEED_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-podcast-feed/index.php' ) ) ? true : false,
|
191 |
'desc' => '<p>' . esc_html__( 'Audio can be grouped into playlists. Once the user upload any audio file, can create a playlist or use existing one to manage audio files.', 'buddypress-media' ) . '</p>',
|
192 |
'price' => '$49',
|
193 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
194 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/playlists/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
195 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-playlists/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
196 |
'category' => 'general',
|
197 |
'purchased' => ( defined( 'RTMEDIA_PLAYLIST_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-playlists/index.php' ) ) ? true : false,
|
203 |
'desc' => '<p>' . esc_html__( 'Users can create their list of favorite media in which they can add media previously uploaded by any user.', 'buddypress-media' ) . '</p>',
|
204 |
'price' => '$49',
|
205 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
206 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/favorites/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
207 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-favorites/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
208 |
'category' => 'general',
|
209 |
'purchased' => ( defined( 'RTMEDIA_FAVORITES_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-favorites/index.php' ) ) ? true : false,
|
215 |
'desc' => '<p>' . esc_html__( 'Site admin can set an upload limit on the basis of time span, file size (MB) and number of files user can upload.', 'buddypress-media' ) . '</p>',
|
216 |
'price' => '$99',
|
217 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
218 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/restrictions/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
219 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-restrictions/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
220 |
'category' => 'general',
|
221 |
'purchased' => ( defined( 'RTMEDIA_RESTRICTIONS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-restrictions/index.php' ) ) ? true : false,
|
227 |
'desc' => '<p>' . esc_html__( 'Attach media files to bbPress forum topics and replies.', 'buddypress-media' ) . '</p>',
|
228 |
'price' => '$49',
|
229 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
230 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/bbpress-attachments/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
231 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-bbpress-attachments/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
232 |
'category' => 'general',
|
233 |
'purchased' => ( defined( 'RTMEDIA_BBPRESS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-bbpress-attachments/index.php' ) ) ? true : false,
|
239 |
'desc' => '<p>' . esc_html__( 'Site admin can create and upload media into WordPress album. Create album without being dependent on BuddyPress.', 'buddypress-media' ) . '</p>',
|
240 |
'price' => '$99',
|
241 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
242 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/wordpress-sidewide-gallery/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
243 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-wordpress-sitewide-gallery/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
244 |
'category' => 'general',
|
245 |
'purchased' => ( defined( 'RTMEDIA_WORDPRESS_SITEWIDE_GALLERY_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-wordpress-sitewide-gallery/index.php' ) ) ? true : false,
|
251 |
'desc' => '<p>' . esc_html__( 'Allow users to upload a media file in WordPress comment attachment box. It will display a thumbnail of attached file.', 'buddypress-media' ) . '</p>',
|
252 |
'price' => '$49',
|
253 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
254 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/wordpress-comment-attachment/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
255 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-wordpress-comment-attachments/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
256 |
'category' => 'general',
|
257 |
'purchased' => ( defined( 'RTMEDIA_WORDPRESS_COMMENT_ATTACHMENT_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-wordpress-comment-attachments/index.php' ) ) ? true : false,
|
263 |
'desc' => '<p>' . esc_html__( 'Share uploaded media on social network sites like Facebook, twitter, linkedin, Google +. This addon integrate with rtSocial plugin.', 'buddypress-media' ) . '</p>',
|
264 |
'price' => '$49',
|
265 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
266 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/social-sharing/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
267 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-social-sharing/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
268 |
'category' => 'general',
|
269 |
'purchased' => ( defined( 'RTMEDIA_SOCIAL_SHARING_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-social-sharing/index.php' ) ) ? true : false,
|
275 |
'desc' => '<p>' . esc_html__( 'This addon provide widgets to upload media and display gallery for rtMedia plugin.', 'buddypress-media' ) . '</p>',
|
276 |
'price' => '$49',
|
277 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
278 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/sidebar-widgets/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
279 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-sidebar-widgets/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
280 |
'category' => 'general',
|
281 |
'purchased' => ( defined( 'RTMEDIA_WIDGETS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-sidebar-widgets/index.php' ) ) ? true : false,
|
287 |
'desc' => '<p>' . esc_html__( 'Display 5 star rating for all the uploaded media. User can rate the media files from 1 to 5 star.', 'buddypress-media' ) . '</p>',
|
288 |
'price' => '$49',
|
289 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
290 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/ratings/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
291 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-star-ratings/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
292 |
'category' => 'general',
|
293 |
'purchased' => ( defined( 'RTMEDIA_RATINGS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-ratings/index.php' ) ) ? true : false,
|
299 |
'desc' => '<p>' . esc_html__( 'Allow user to edit MP3 FIle Audio tags (ID 3 tags).', 'buddypress-media' ) . '</p>',
|
300 |
'price' => '$49',
|
301 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
302 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/edit-mp3-info/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
303 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-edit-mp3-info/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
304 |
'category' => 'general',
|
305 |
'purchased' => ( defined( 'RTMEDIA_AUDIO_TAGS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-edit-mp3-info/index.php' ) ) ? true : false,
|
311 |
'desc' => '<p>' . esc_html__( 'Sort uploaded media based on file size, ascending/descending title, upload date of media.', 'buddypress-media' ) . '</p>',
|
312 |
'price' => '$49',
|
313 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
314 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/sorting/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
315 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-sorting/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
316 |
'category' => 'general',
|
317 |
'purchased' => ( defined( 'RTMEDIA_SORTING_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-sorting/index.php' ) ) ? true : false,
|
323 |
'desc' => '<p>' . esc_html__( 'Bulk edit option will allow user to quickly select media files and do required actions like move files from one album to another, change attributes, change privacy, delete files.', 'buddypress-media' ) . '</p>',
|
324 |
'price' => '$99',
|
325 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
326 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/bulk-edit/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
327 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-bulk-edit/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
328 |
'category' => 'general',
|
329 |
'purchased' => ( defined( 'RTMEDIA_BULK_EDIT_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-bulk-edit/index.php' ) ) ? true : false,
|
335 |
'desc' => '<p>' . esc_html__( 'User can easily set his/her profile picture from media uploaded via rtMedia.', 'buddypress-media' ) . '</p>',
|
336 |
'price' => '$49',
|
337 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
338 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/set-image-profile-picture/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
339 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-buddypress-profile-picture/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
340 |
'category' => 'general',
|
341 |
'purchased' => ( defined( 'RTMEDIA_BUDDYPRESS_PROFILE_PICTURE_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-buddypress-profile-picture/index.php' ) ) ? true : false,
|
347 |
'desc' => '<p>' . esc_html__( 'User can easily set any of the image of the album as album cover photo', 'buddypress-media' ) . '</p>',
|
348 |
'price' => '$49',
|
349 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
350 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/album-cover-art/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
351 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-album-cover-art/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
352 |
'category' => 'general',
|
353 |
'purchased' => ( defined( 'RTMEDIA_ALBUM_COVER_ART_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-album-cover-art/index.php' ) ) ? true : false,
|
359 |
'desc' => '<p>' . esc_html__( 'User can download media from website. Site owner can restrict which media type can be allowed to download.', 'buddypress-media' ) . '</p>',
|
360 |
'price' => '$49',
|
361 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
362 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/direct-download-link/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
363 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-direct-download-link/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
364 |
'category' => 'general',
|
365 |
'purchased' => ( defined( 'RTMEDIA_DOWNLOADS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-direct-download-link/index.php' ) ) ? true : false,
|
371 |
'desc' => '<p>' . esc_html__( 'Users do not need to download media files from a URL and then upload it with rtMedia. Just provide the absolute URL for the media and it will upload on site.', 'buddypress-media' ) . '</p>',
|
372 |
'price' => '$49',
|
373 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
374 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/url-upload/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
375 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-upload-by-url/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
376 |
'category' => 'general',
|
377 |
'purchased' => ( defined( 'RTMEDIA_URL_UPLOAD_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-upload-by-url/index.php' ) ) ? true : false,
|
383 |
'desc' => '<p>' . esc_html__( 'This add-on let you know who liked the media. User can also see which media they liked under their profile.', 'buddypress-media' ) . '</p>',
|
384 |
'price' => '$49',
|
385 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
386 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/likes/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
387 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-likes/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
388 |
'category' => 'general',
|
389 |
'purchased' => ( defined( 'RTMEDIA_LIKES_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-likes/index.php' ) ) ? true : false,
|
395 |
'desc' => '<p>' . esc_html__( 'This addon provides a preview of the URL that is shared in BuddyPress activity. Just enter the URL you want to share on your site and see a preview of it before it is shared.', 'buddypress-media' ) . '</p>',
|
396 |
'price' => '$49',
|
397 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
398 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/rtmedia-activity-url-preview/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
399 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-activity-url-preview/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
400 |
'category' => 'general',
|
401 |
'purchased' => ( defined( 'RTMEDIA_ACTIVITY_URL_PREVIEW_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-activity-url-preview/index.php' ) ) ? true : false,
|
407 |
'desc' => '<p>' . esc_html__( 'Enable view count for all the uploaded media. Whenever user open that media file in lightbox or in single media view, that view count will be calculated and display next to media file.', 'buddypress-media' ) . '</p>',
|
408 |
'price' => '$49',
|
409 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
410 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/view-counter/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
411 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-view-counter/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
412 |
'category' => 'general',
|
413 |
'purchased' => ( defined( 'RTMEDIA_VIEW_COUNT_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-view-counter/index.php' ) ) ? true : false,
|
419 |
'desc' => '<p>' . esc_html__( 'This add-on will add shortcode generator button in WordPress post and page editor for all the rtMedia shortcodes.', 'buddypress-media' ) . '</p>',
|
420 |
'price' => '$49',
|
421 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
422 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/shortcode-generator/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
423 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-shortcode-generator/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
424 |
'category' => 'general',
|
425 |
'purchased' => ( defined( 'RTMEDIA_SHORTCODE_GENERATOR_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-shortcode-generator/index.php' ) ) ? true : false,
|
431 |
'desc' => '<p>' . esc_html__( 'Set album privacy when user create an album or change album privacy when editing existing albums. The privacy levels are Public, Logged in user, Friends and Private.', 'buddypress-media' ) . '</p>',
|
432 |
'price' => '$49',
|
433 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
434 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/album-privacy/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
435 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-album-privacy/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
436 |
'category' => 'general',
|
437 |
'purchased' => ( defined( 'RTMEDIA_ALBUM_PRIVACY_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-album-privacy/index.php' ) ) ? true : false,
|
443 |
'desc' => '<p>' . esc_html__( 'This add-on allows group owner to manage media upload feature group wise.', 'buddypress-media' ) . '</p>',
|
444 |
'price' => '$49',
|
445 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
446 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/buddypress-group-media-control/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
447 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-buddypress-group-media-control/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
448 |
'category' => 'general',
|
449 |
'purchased' => ( defined( 'RTMEDIA_GROUP_MEDIA_CONTROL_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-buddypress-group-media-control/index.php' ) ) ? true : false,
|
455 |
'desc' => '<p>' . esc_html__( 'Allow media owner to change the thumbnail of uploaded audio/video files. The File Upload box will be provided to change media thumbnail.', 'buddypress-media' ) . '</p>',
|
456 |
'price' => '$49',
|
457 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
458 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/set-custom-thumbnails/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
459 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-set-custom-thumbnail-for-audiovideo/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
460 |
'category' => 'general',
|
461 |
'purchased' => ( defined( 'RTMEDIA_MEDIA_CUSTOM_THUMBNAIL_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-set-custom-thumbnail/index.php' ) ) ? true : false,
|
467 |
'desc' => '<p>' . esc_html__( 'This plugin integrates rtMedia and myCRED plugin, users can be can award virtual points for various rtMedia activities, like media upload, likes, deleted etc.', 'buddypress-media' ) . '</p>',
|
468 |
'price' => '$49',
|
469 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
470 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/mycred/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
471 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-mycred/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
472 |
'category' => 'general',
|
473 |
'purchased' => ( defined( 'RTMEDIA_MYCRED_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-mycred/index.php' ) ) ? true : false,
|
474 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
475 |
array(
|
476 |
'title' => esc_html__( 'Social Sync', 'buddypress-media' ),
|
477 |
'img_src' => $rtcamp_upload_url . 'edd/2015/08/rtMedia-Social-Sync.png',
|
479 |
'desc' => '<p>' . esc_html__( 'rtMedia Social Sync allows you to import media from your Facebook account.', 'buddypress-media' ) . '</p>',
|
480 |
'price' => '$99',
|
481 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
482 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/rtmedia-social-sync/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
483 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-social-sync/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
484 |
'category' => 'general',
|
485 |
'purchased' => ( defined( 'RTMEDIA_SOCIAL_SYNC_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-social-sync/index.php' ) ) ? true : false,
|
491 |
'desc' => '<p>' . esc_html__( 'rtMedia Photo Watermark let you add watermark on your images uploaded using rtMedia.', 'buddypress-media' ) . '</p>',
|
492 |
'price' => '$99',
|
493 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
494 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/rtmedia-watermark/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
495 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-photo-watermark/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
496 |
'category' => 'photo',
|
497 |
'purchased' => ( defined( 'RTMEDIA_WATERMARK_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-photo-watermak/index.php' ) ) ? true : false,
|
503 |
'desc' => '<p>' . esc_html__( 'rtMedia Photo Tagging enable users to tag their friends on photos uploaded using rtMedia.', 'buddypress-media' ) . '</p>',
|
504 |
'price' => '$99',
|
505 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
506 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/rtmedia-photo-tagging/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
507 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-photo-tagging/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
508 |
'category' => 'photo',
|
509 |
'purchased' => ( defined( 'RTMEDIA_PHOTO_TAGGING_URL' ) || file_exists( WP_PLUGIN_DIR . '/bpm-photo-tag/index.php' ) ) ? true : false,
|
515 |
'desc' => '<p>' . esc_html__( 'rtMedia Photo Filters adds Instagram like filters to images uploaded with rtMedia.', 'buddypress-media' ) . '</p>',
|
516 |
'price' => '$99',
|
517 |
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
518 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/rtmedia-photo-filters/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
519 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-photo-filters/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
520 |
'category' => 'photo',
|
521 |
'purchased' => ( defined( 'RTMEDIA_INSTAGRAM_URL' ) || file_exists( WP_PLUGIN_DIR . '/bpm-instagram/index.php' ) || defined( 'RTMEDIA_PHOTO_FILTERS_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-photo-filters/index.php' ) ) ? true : false,
|
526 |
'product_link' => 'https://rtmedia.io/products/rtmedia-membership/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
527 |
'desc' => '<p>' . esc_html__( 'rtMedia Membership add-on provides membership functionality in your site in terms of media upload.', 'buddypress-media' ),
|
528 |
'price' => '$99',
|
529 |
+
'demo_link' => $rtmedia_demo_url . '?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
530 |
+
'doc_link' => 'https://rtmedia.io/docs/addons/membership/',
|
531 |
'buy_now' => 'https://rtmedia.io/products/rtmedia-membership/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media',
|
532 |
'category' => 'membership',
|
533 |
'purchased' => ( defined( 'RTMEDIA_MEMBERSHIP_URL' ) || file_exists( WP_PLUGIN_DIR . '/rtmedia-membership/index.php' ) ) ? true : false,
|
582 |
);
|
583 |
$args = wp_parse_args( $args, $defaults );
|
584 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
585 |
$coming_soon_div = ( ! empty( $args['coming_soon'] ) ) ? $this->coming_soon_div() : '';
|
586 |
?>
|
587 |
<div class="plugin-card clearfix rtm-plugin-card">
|
602 |
|
603 |
<div class="plugin-card-bottom">
|
604 |
<span class="price alignleft">
|
605 |
+
<?php
|
606 |
+
echo '<a class="alignright rtm-doc-link button" href="' . esc_url( $args['doc_link'] ) . '" title="' . esc_attr( $args['title'] ) . '" target="_blank">' . esc_html__( 'Docs', 'buddypress-media' ) . '</a>';
|
607 |
+
?>
|
608 |
+
</span>
|
609 |
+
<span class="rtm-addon-purchased alignright product_type_simple">
|
610 |
+
<a href="<?php echo esc_url( 'https://rtmedia.io/rtmedia-premium' ); ?>" class="button button-primary"><?php echo esc_html__( 'Get this', 'buddypress-media' ); ?></a>
|
611 |
</span>
|
612 |
<?php
|
|
|
|
|
613 |
if ( '' !== $args['demo_link'] ) {
|
614 |
echo '<a class="alignright rtm-live-demo button" href="' . esc_url( $args['demo_link'] ) . '" title="' . esc_attr( $args['title'] ) . '" target="_blank">' . esc_html__( 'Live Demo', 'buddypress-media' ) . '</a>';
|
615 |
}
|
app/helper/RTMediaAdminWidget.php
CHANGED
@@ -30,10 +30,24 @@ if ( ! class_exists( 'RTMediaAdminWidget' ) ) {
|
|
30 |
<div class="postbox" id="<?php echo esc_attr( $id ); ?>">
|
31 |
<?php
|
32 |
if ( $title ) {
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
</div>
|
38 |
<?php
|
39 |
} else {
|
30 |
<div class="postbox" id="<?php echo esc_attr( $id ); ?>">
|
31 |
<?php
|
32 |
if ( $title ) {
|
33 |
+
if ( 'spread-the-word' === $id ) {
|
34 |
+
?>
|
35 |
+
<h3 class="hndle"><span class="dashicons dashicons-share"></span><span><?php echo esc_html( $title ); ?></span></h3>
|
36 |
+
<?php
|
37 |
+
} elseif ( 'branding' === $id ) {
|
38 |
+
?>
|
39 |
+
<h3 class="hndle"><span class="dashicons dashicons-bell"></span><span><?php echo esc_html( $title ); ?></span></h3>
|
40 |
+
<?php
|
41 |
+
} else {
|
42 |
+
?>
|
43 |
+
<h3 class="hndle"><span><?php echo esc_html( $title ); ?></span></h3>
|
44 |
+
<?php
|
45 |
+
}
|
46 |
+
}
|
47 |
+
?>
|
48 |
+
<div class="inside">
|
49 |
+
<?php echo wp_kses( $content, RTMedia::expanded_allowed_tags() ); ?>
|
50 |
+
</div>
|
51 |
</div>
|
52 |
<?php
|
53 |
} else {
|
app/helper/RTMediaLicense.php
CHANGED
@@ -86,15 +86,30 @@ class RTMediaLicense {
|
|
86 |
$license_status_id = $args['status_id'];
|
87 |
$license_data = get_option( 'edd_' . $el_id . '_active', '' );
|
88 |
?>
|
89 |
-
<div class="
|
90 |
|
91 |
<div class="rtm-addon-license">
|
92 |
<h4 class="title">
|
|
|
93 |
<span><?php echo esc_html( $tab['title'] ); ?></span>
|
94 |
</h4>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
|
96 |
<div class="license-inner">
|
97 |
-
<
|
|
|
98 |
<?php
|
99 |
$nonce_action = 'edd_' . $el_id . '_nonce';
|
100 |
$nonce_name = 'edd_' . $el_id . '_nonce';
|
@@ -112,7 +127,9 @@ class RTMediaLicense {
|
|
112 |
|
113 |
<input type="submit" class="button-secondary" name="<?php echo esc_attr( $btn_name ); ?>" value="<?php echo esc_attr( $btn_val ); ?>" />
|
114 |
|
115 |
-
|
|
|
|
|
116 |
/**
|
117 |
* Classes to be append with `license-message` ***
|
118 |
* warning
|
@@ -121,8 +138,8 @@ class RTMediaLicense {
|
|
121 |
* alert
|
122 |
*/
|
123 |
self::render_license_message( $license_data, $tab['title'] );
|
124 |
-
|
125 |
-
|
126 |
</div><!-- End of .rtm-addon-license -->
|
127 |
</div><!-- End of .license-column -->
|
128 |
<?php
|
86 |
$license_status_id = $args['status_id'];
|
87 |
$license_data = get_option( 'edd_' . $el_id . '_active', '' );
|
88 |
?>
|
89 |
+
<div class="small-12 license-column">
|
90 |
|
91 |
<div class="rtm-addon-license">
|
92 |
<h4 class="title">
|
93 |
+
<span class="dashicons dashicons-privacy"></span>
|
94 |
<span><?php echo esc_html( $tab['title'] ); ?></span>
|
95 |
</h4>
|
96 |
+
<div class="license-inner-message">
|
97 |
+
<p>
|
98 |
+
<?php
|
99 |
+
esc_html_e( 'Activate ', 'buddypress-media' );
|
100 |
+
?>
|
101 |
+
<strong>
|
102 |
+
<?php echo ( isset( $tab['title'] ) ) ? esc_html( $tab['title'] ) : 'Plugin'; ?>
|
103 |
+
</strong>
|
104 |
+
<?php
|
105 |
+
esc_html_e( ' with your license key to get support and automatic update from your WordPress dashboard.', 'buddypress-media' );
|
106 |
+
?>
|
107 |
+
</p>
|
108 |
+
</div>
|
109 |
|
110 |
<div class="license-inner">
|
111 |
+
<span class="dashicons dashicons-admin-network"></span>
|
112 |
+
<input id="<?php echo esc_attr( $license_key_id ); ?>" name="<?php echo esc_attr( $license_key_id ); ?>" type="text" class="regular-text" value="<?php echo esc_attr( $license ); ?>" placeholder="<?php echo esc_attr__( 'Enter your license key to activate', 'buddypress-media' ); ?>" />
|
113 |
<?php
|
114 |
$nonce_action = 'edd_' . $el_id . '_nonce';
|
115 |
$nonce_name = 'edd_' . $el_id . '_nonce';
|
127 |
|
128 |
<input type="submit" class="button-secondary" name="<?php echo esc_attr( $btn_name ); ?>" value="<?php echo esc_attr( $btn_val ); ?>" />
|
129 |
|
130 |
+
</div><!-- End of .license-inner -->
|
131 |
+
|
132 |
+
<?php
|
133 |
/**
|
134 |
* Classes to be append with `license-message` ***
|
135 |
* warning
|
138 |
* alert
|
139 |
*/
|
140 |
self::render_license_message( $license_data, $tab['title'] );
|
141 |
+
?>
|
142 |
+
|
143 |
</div><!-- End of .rtm-addon-license -->
|
144 |
</div><!-- End of .license-column -->
|
145 |
<?php
|
app/helper/RTMediaModel.php
CHANGED
@@ -72,7 +72,7 @@ class RTMediaModel extends RTDBModel {
|
|
72 |
$join = '';
|
73 |
$where = ' where 2=2 ';
|
74 |
if ( is_multisite() ) {
|
75 |
-
$where .= $wpdb->prepare( " AND {$this->table_name}.blog_id =%d ", get_current_blog_id() ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
|
76 |
}
|
77 |
$temp = 65;
|
78 |
|
@@ -93,9 +93,9 @@ class RTMediaModel extends RTDBModel {
|
|
93 |
}
|
94 |
$meta_query['compare'] = esc_sql( $meta_query['compare'] );
|
95 |
if ( isset( $meta_query['value'] ) ) {
|
96 |
-
$where .= $wpdb->prepare( " AND ({$tbl_alias}.meta_key = %s and {$tbl_alias}.meta_value {$meta_query["compare"]} %s ) ", $meta_query['key'], $meta_query['value'] ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
|
97 |
} else {
|
98 |
-
$where .= $wpdb->prepare( " AND {$tbl_alias}.meta_key = %s ", $meta_query['key'] ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
|
99 |
}
|
100 |
}
|
101 |
} else {
|
@@ -116,7 +116,7 @@ class RTMediaModel extends RTDBModel {
|
|
116 |
$compare = esc_sql( $compare );
|
117 |
$where .= " AND {$this->table_name}.{$colname} {$compare} ('{$col_val_comapare}')";
|
118 |
} else {
|
119 |
-
$where .= $wpdb->prepare( " AND {$this->table_name}.{$colname} = %s", $colvalue ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
|
120 |
}
|
121 |
}
|
122 |
}
|
@@ -162,9 +162,9 @@ class RTMediaModel extends RTDBModel {
|
|
162 |
}
|
163 |
|
164 |
if ( ! $count_flag ) {
|
165 |
-
return $wpdb->get_results( $sql ); // phpcs:ignore
|
166 |
} else {
|
167 |
-
return $wpdb->get_var( $sql ); // phpcs:ignore
|
168 |
}
|
169 |
}
|
170 |
|
@@ -250,19 +250,20 @@ class RTMediaModel extends RTDBModel {
|
|
250 |
$sql = "SELECT * FROM {$this->table_name} INNER JOIN {$rtm_post_table} AS post_table ON post_table.id = {$this->table_name}.media_id and post_table.post_type = 'rtmedia_album' ";
|
251 |
// phpcs:disable WordPress.DB.PreparedSQL.NotPrepared
|
252 |
if ( is_multisite() ) {
|
253 |
-
$sub_sql = $wpdb->prepare( "SELECT DISTINCT (album_id) FROM {$this->table_name} WHERE media_author = %d AND album_id IS NOT NULL AND media_type <> 'album' AND context <> 'group' AND blog_id = %d", $author_id, get_current_blog_id() )
|
254 |
} else {
|
255 |
-
$sub_sql = $wpdb->prepare( "SELECT DISTINCT (album_id) FROM {$this->table_name} WHERE media_author = %d AND album_id IS NOT NULL AND media_type <> 'album' AND context <> 'group'", $author_id )
|
256 |
}
|
257 |
-
|
258 |
$where = $wpdb->prepare(
|
259 |
-
|
|
|
260 |
AND media_type = 'album'
|
261 |
AND (context = 'profile' or context is NULL) ",
|
262 |
$author_id
|
263 |
);
|
|
|
264 |
if ( is_multisite() ) {
|
265 |
-
$where .= $wpdb->prepare( " AND {$this->table_name}.blog_id = %d ", get_current_blog_id() );
|
266 |
}
|
267 |
|
268 |
$where = apply_filters( 'rtmedia-get-album-where-query', $where, $this->table_name ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
@@ -290,7 +291,7 @@ class RTMediaModel extends RTDBModel {
|
|
290 |
$sql .= ' LIMIT ' . $offset . ',' . $per_page;
|
291 |
}
|
292 |
|
293 |
-
$results = $wpdb->get_results( $sql ); // phpcs:ignore
|
294 |
|
295 |
return $results;
|
296 |
}
|
@@ -312,19 +313,20 @@ class RTMediaModel extends RTDBModel {
|
|
312 |
}
|
313 |
|
314 |
if ( is_multisite() ) {
|
315 |
-
$sub_sql = $wpdb->prepare( "SELECT DISTINCT (album_id) FROM {$this->table_name} WHERE context_id = %d AND album_id IS NOT NULL AND media_type != 'album' AND context = 'group' AND blog_id = %d", $group_id, get_current_blog_id() ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
|
316 |
} else {
|
317 |
-
$sub_sql = $wpdb->prepare( "SELECT DISTINCT (album_id) FROM {$this->table_name} WHERE context_id = %d AND album_id IS NOT NULL AND media_type != 'album' AND context = 'group'", $group_id ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
|
318 |
}
|
319 |
|
320 |
$rtm_post_table = $wpdb->prefix . 'posts';
|
321 |
-
$where = $wpdb->prepare( " WHERE ( {$this->table_name}.id IN( $sub_sql ) OR (media_type = 'album' AND context_id = %d AND context = 'group') )", $group_id );
|
322 |
-
|
323 |
-
$
|
324 |
-
$sql
|
|
|
325 |
|
326 |
if ( is_multisite() ) {
|
327 |
-
$sql .= $wpdb->prepare( " AND {$this->table_name}.blog_id = %d ", get_current_blog_id() ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
|
328 |
}
|
329 |
$order_by = esc_sql( $order_by );
|
330 |
$sql .= " ORDER BY {$this->table_name}.$order_by";
|
@@ -347,7 +349,7 @@ class RTMediaModel extends RTDBModel {
|
|
347 |
$sql .= ' LIMIT ' . $offset . ',' . $per_page;
|
348 |
}
|
349 |
|
350 |
-
$results = $wpdb->get_results( $sql ); // phpcs:ignore
|
351 |
|
352 |
return $results;
|
353 |
}
|
@@ -358,7 +360,7 @@ class RTMediaModel extends RTDBModel {
|
|
358 |
* @param mixed $user_id User id.
|
359 |
* @param mixed $where_query Where query.
|
360 |
*
|
361 |
-
* @return
|
362 |
*/
|
363 |
public function get_counts( $user_id = false, $where_query = false ) {
|
364 |
if ( ! $user_id && ! $where_query ) {
|
@@ -369,14 +371,14 @@ class RTMediaModel extends RTDBModel {
|
|
369 |
$query = "SELECT {$this->table_name}.privacy, ";
|
370 |
foreach ( $rtmedia->allowed_types as $type ) {
|
371 |
$type['name'] = esc_sql( $type['name'] );
|
372 |
-
$query .= $wpdb->prepare( "SUM(CASE WHEN {$this->table_name}.media_type LIKE %s THEN 1 ELSE 0 END) as {$type['name']}, ", $type['name'] ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
|
373 |
}
|
374 |
$query .= "SUM(CASE WHEN {$this->table_name}.media_type LIKE 'album' THEN 1 ELSE 0 END) as album
|
375 |
FROM
|
376 |
{$this->table_name} WHERE 2=2 ";
|
377 |
|
378 |
if ( is_multisite() ) {
|
379 |
-
$query .= $wpdb->prepare( " AND {$this->table_name}.blog_id = %d ", get_current_blog_id() ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
|
380 |
}
|
381 |
|
382 |
$where_query_sql = '';
|
@@ -397,7 +399,7 @@ class RTMediaModel extends RTDBModel {
|
|
397 |
$compare = esc_sql( $compare );
|
398 |
$where_query_sql .= " AND {$this->table_name}.{$colname} {$compare} ('" . implode( "','", esc_sql( $colvalue['value'] ) ) . "')";
|
399 |
} else {
|
400 |
-
$where_query_sql .= $wpdb->prepare( " AND {$this->table_name}.{$colname} = %s", $colvalue ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
|
401 |
}
|
402 |
}
|
403 |
}
|
@@ -405,7 +407,7 @@ class RTMediaModel extends RTDBModel {
|
|
405 |
|
406 |
$where_query_sql = apply_filters( 'rtmedia-get-counts-where-query', $where_query_sql ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
407 |
$query = $query . $where_query_sql . ' GROUP BY privacy limit 100';
|
408 |
-
$result = $wpdb->get_results( $query ); // phpcs:ignore
|
409 |
if ( ! is_array( $result ) ) {
|
410 |
return false;
|
411 |
}
|
@@ -425,10 +427,10 @@ class RTMediaModel extends RTDBModel {
|
|
425 |
global $wpdb;
|
426 |
|
427 |
$global = RTMediaAlbum::get_globals();
|
428 |
-
$sql = $wpdb->prepare( "select distinct album_id from {$this->table_name} where 2=2 AND context = %s ", $context ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
|
429 |
|
430 |
if ( is_multisite() ) {
|
431 |
-
$sql .= $wpdb->prepare( " AND {$this->table_name}.blog_id = %d ", get_current_blog_id() ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
|
432 |
}
|
433 |
|
434 |
if ( is_array( $global ) && count( $global ) > 0 ) {
|
@@ -450,7 +452,7 @@ class RTMediaModel extends RTDBModel {
|
|
450 |
}
|
451 |
|
452 |
$sql .= 'limit 100';
|
453 |
-
$result = $wpdb->get_results( $sql ); // phpcs:ignore
|
454 |
|
455 |
if ( isset( $result ) ) {
|
456 |
return count( $result );
|
72 |
$join = '';
|
73 |
$where = ' where 2=2 ';
|
74 |
if ( is_multisite() ) {
|
75 |
+
$where .= $wpdb->prepare( " AND {$this->table_name}.blog_id =%d ", get_current_blog_id() ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared, WordPress.DB.PreparedSQL.InterpolatedNotPrepared
|
76 |
}
|
77 |
$temp = 65;
|
78 |
|
93 |
}
|
94 |
$meta_query['compare'] = esc_sql( $meta_query['compare'] );
|
95 |
if ( isset( $meta_query['value'] ) ) {
|
96 |
+
$where .= $wpdb->prepare( " AND ({$tbl_alias}.meta_key = %s and {$tbl_alias}.meta_value {$meta_query["compare"]} %s ) ", $meta_query['key'], $meta_query['value'] ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared, WordPress.DB.PreparedSQL.InterpolatedNotPrepared
|
97 |
} else {
|
98 |
+
$where .= $wpdb->prepare( " AND {$tbl_alias}.meta_key = %s ", $meta_query['key'] ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared, WordPress.DB.PreparedSQL.InterpolatedNotPrepared
|
99 |
}
|
100 |
}
|
101 |
} else {
|
116 |
$compare = esc_sql( $compare );
|
117 |
$where .= " AND {$this->table_name}.{$colname} {$compare} ('{$col_val_comapare}')";
|
118 |
} else {
|
119 |
+
$where .= $wpdb->prepare( " AND {$this->table_name}.{$colname} = %s", $colvalue ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared, WordPress.DB.PreparedSQL.InterpolatedNotPrepared
|
120 |
}
|
121 |
}
|
122 |
}
|
162 |
}
|
163 |
|
164 |
if ( ! $count_flag ) {
|
165 |
+
return $wpdb->get_results( $sql ); // phpcs:ignore
|
166 |
} else {
|
167 |
+
return $wpdb->get_var( $sql ); // phpcs:ignore
|
168 |
}
|
169 |
}
|
170 |
|
250 |
$sql = "SELECT * FROM {$this->table_name} INNER JOIN {$rtm_post_table} AS post_table ON post_table.id = {$this->table_name}.media_id and post_table.post_type = 'rtmedia_album' ";
|
251 |
// phpcs:disable WordPress.DB.PreparedSQL.NotPrepared
|
252 |
if ( is_multisite() ) {
|
253 |
+
$sub_sql = $wpdb->prepare( "SELECT DISTINCT (album_id) FROM {$this->table_name} WHERE media_author = %d AND album_id IS NOT NULL AND media_type <> 'album' AND context <> 'group' AND blog_id = %d", $author_id, get_current_blog_id() );// phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
|
254 |
} else {
|
255 |
+
$sub_sql = $wpdb->prepare( "SELECT DISTINCT (album_id) FROM {$this->table_name} WHERE media_author = %d AND album_id IS NOT NULL AND media_type <> 'album' AND context <> 'group'", $author_id );// phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
|
256 |
}
|
|
|
257 |
$where = $wpdb->prepare(
|
258 |
+
// phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared,
|
259 |
+
" WHERE ($this->table_name.media_id IN( $sub_sql ) OR (media_author = %d ))
|
260 |
AND media_type = 'album'
|
261 |
AND (context = 'profile' or context is NULL) ",
|
262 |
$author_id
|
263 |
);
|
264 |
+
|
265 |
if ( is_multisite() ) {
|
266 |
+
$where .= $wpdb->prepare( " AND {$this->table_name}.blog_id = %d ", get_current_blog_id() ); // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
|
267 |
}
|
268 |
|
269 |
$where = apply_filters( 'rtmedia-get-album-where-query', $where, $this->table_name ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
291 |
$sql .= ' LIMIT ' . $offset . ',' . $per_page;
|
292 |
}
|
293 |
|
294 |
+
$results = $wpdb->get_results( $sql ); // phpcs:ignore
|
295 |
|
296 |
return $results;
|
297 |
}
|
313 |
}
|
314 |
|
315 |
if ( is_multisite() ) {
|
316 |
+
$sub_sql = $wpdb->prepare( "SELECT DISTINCT (album_id) FROM {$this->table_name} WHERE context_id = %d AND album_id IS NOT NULL AND media_type != 'album' AND context = 'group' AND blog_id = %d", $group_id, get_current_blog_id() ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared, WordPress.DB.PreparedSQL.InterpolatedNotPrepared,
|
317 |
} else {
|
318 |
+
$sub_sql = $wpdb->prepare( "SELECT DISTINCT (album_id) FROM {$this->table_name} WHERE context_id = %d AND album_id IS NOT NULL AND media_type != 'album' AND context = 'group'", $group_id ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared, WordPress.DB.PreparedSQL.InterpolatedNotPrepared
|
319 |
}
|
320 |
|
321 |
$rtm_post_table = $wpdb->prefix . 'posts';
|
322 |
+
$where = $wpdb->prepare( " WHERE ( {$this->table_name}.id IN( $sub_sql ) OR (media_type = 'album' AND context_id = %d AND context = 'group') )", $group_id ); // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
|
323 |
+
|
324 |
+
$where = apply_filters( 'rtmedia-get-group-album-where-query', $where, $this->table_name ); // phpcs:ignore
|
325 |
+
$sql = "SELECT * FROM $this->table_name INNER JOIN $rtm_post_table AS post_table ON post_table.id = $this->table_name.media_id and post_table.post_type = 'rtmedia_album'";
|
326 |
+
$sql .= $where;
|
327 |
|
328 |
if ( is_multisite() ) {
|
329 |
+
$sql .= $wpdb->prepare( " AND {$this->table_name}.blog_id = %d ", get_current_blog_id() ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared, WordPress.DB.PreparedSQL.InterpolatedNotPrepared
|
330 |
}
|
331 |
$order_by = esc_sql( $order_by );
|
332 |
$sql .= " ORDER BY {$this->table_name}.$order_by";
|
349 |
$sql .= ' LIMIT ' . $offset . ',' . $per_page;
|
350 |
}
|
351 |
|
352 |
+
$results = $wpdb->get_results( $sql ); // phpcs:ignore
|
353 |
|
354 |
return $results;
|
355 |
}
|
360 |
* @param mixed $user_id User id.
|
361 |
* @param mixed $where_query Where query.
|
362 |
*
|
363 |
+
* @return array|false|object|stdClass[] $result
|
364 |
*/
|
365 |
public function get_counts( $user_id = false, $where_query = false ) {
|
366 |
if ( ! $user_id && ! $where_query ) {
|
371 |
$query = "SELECT {$this->table_name}.privacy, ";
|
372 |
foreach ( $rtmedia->allowed_types as $type ) {
|
373 |
$type['name'] = esc_sql( $type['name'] );
|
374 |
+
$query .= $wpdb->prepare( "SUM(CASE WHEN {$this->table_name}.media_type LIKE %s THEN 1 ELSE 0 END) as {$type['name']}, ", $type['name'] ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared, WordPress.DB.PreparedSQL.InterpolatedNotPrepared
|
375 |
}
|
376 |
$query .= "SUM(CASE WHEN {$this->table_name}.media_type LIKE 'album' THEN 1 ELSE 0 END) as album
|
377 |
FROM
|
378 |
{$this->table_name} WHERE 2=2 ";
|
379 |
|
380 |
if ( is_multisite() ) {
|
381 |
+
$query .= $wpdb->prepare( " AND {$this->table_name}.blog_id = %d ", get_current_blog_id() ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared, WordPress.DB.PreparedSQL.InterpolatedNotPrepared
|
382 |
}
|
383 |
|
384 |
$where_query_sql = '';
|
399 |
$compare = esc_sql( $compare );
|
400 |
$where_query_sql .= " AND {$this->table_name}.{$colname} {$compare} ('" . implode( "','", esc_sql( $colvalue['value'] ) ) . "')";
|
401 |
} else {
|
402 |
+
$where_query_sql .= $wpdb->prepare( " AND {$this->table_name}.{$colname} = %s", $colvalue ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared, WordPress.DB.PreparedSQL.InterpolatedNotPrepared
|
403 |
}
|
404 |
}
|
405 |
}
|
407 |
|
408 |
$where_query_sql = apply_filters( 'rtmedia-get-counts-where-query', $where_query_sql ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
|
409 |
$query = $query . $where_query_sql . ' GROUP BY privacy limit 100';
|
410 |
+
$result = $wpdb->get_results( $query ); // phpcs:ignore
|
411 |
if ( ! is_array( $result ) ) {
|
412 |
return false;
|
413 |
}
|
427 |
global $wpdb;
|
428 |
|
429 |
$global = RTMediaAlbum::get_globals();
|
430 |
+
$sql = $wpdb->prepare( "select distinct album_id from {$this->table_name} where 2=2 AND context = %s ", $context ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared, WordPress.DB.PreparedSQL.InterpolatedNotPrepared
|
431 |
|
432 |
if ( is_multisite() ) {
|
433 |
+
$sql .= $wpdb->prepare( " AND {$this->table_name}.blog_id = %d ", get_current_blog_id() ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared, WordPress.DB.PreparedSQL.InterpolatedNotPrepared
|
434 |
}
|
435 |
|
436 |
if ( is_array( $global ) && count( $global ) > 0 ) {
|
452 |
}
|
453 |
|
454 |
$sql .= 'limit 100';
|
455 |
+
$result = $wpdb->get_results( $sql ); // phpcs:ignore
|
456 |
|
457 |
if ( isset( $result ) ) {
|
458 |
return count( $result );
|
app/helper/RTMediaSettings.php
CHANGED
@@ -380,7 +380,7 @@ if ( ! class_exists( 'RTMediaSettings' ) ) {
|
|
380 |
rtmedia_update_site_option( 'rtm-settings-saved', esc_html__( 'Settings saved.', 'buddypress-media' ) );
|
381 |
}
|
382 |
|
383 |
-
do_action( 'rtmedia_sanitize_settings', $_POST, $input ); // phpcs:ignore WordPress.Security.NonceVerification.NoNonceVerification
|
384 |
|
385 |
return $input;
|
386 |
}
|
380 |
rtmedia_update_site_option( 'rtm-settings-saved', esc_html__( 'Settings saved.', 'buddypress-media' ) );
|
381 |
}
|
382 |
|
383 |
+
do_action( 'rtmedia_sanitize_settings', $_POST, $input ); // phpcs:ignore WordPress.Security.NonceVerification.NoNonceVerification, WordPress.Security.NonceVerification.Missing
|
384 |
|
385 |
return $input;
|
386 |
}
|
app/helper/RTMediaSupport.php
CHANGED
@@ -334,14 +334,14 @@ if ( ! class_exists( 'RTMediaSupport' ) ) {
|
|
334 |
$debug_info['[php.ini] memory_limit'] = esc_html( ini_get( 'memory_limit' ) );
|
335 |
$debug_info['Installed Plugins'] = $this->get_plugin_info();
|
336 |
$active_theme = wp_get_theme();
|
337 |
-
$debug_info['Theme Name'] = esc_html( $active_theme->Name ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.NotSnakeCaseMemberVar
|
338 |
-
$debug_info['Theme Version'] = esc_html( $active_theme->Version ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.NotSnakeCaseMemberVar
|
339 |
$debug_info['Author URL'] = esc_url( $active_theme->{'Author URI'} );
|
340 |
$debug_info['Template Overrides'] = implode( ', <br/>', $this->rtmedia_scan_template_files( RTMEDIA_PATH . '/templates/' ) );
|
341 |
|
342 |
global $wpdb;
|
343 |
$rtmedia_model = new RTMediaModel();
|
344 |
-
$results = $wpdb->get_results( $wpdb->prepare( "select media_type, count(id) as count from {$rtmedia_model->table_name} where blog_id = %d group by media_type limit 100", get_current_blog_id() ) ); // phpcs:ignore
|
345 |
|
346 |
if ( $results ) {
|
347 |
foreach ( $results as $media ) {
|
@@ -558,7 +558,7 @@ if ( ! class_exists( 'RTMediaSupport' ) ) {
|
|
558 |
|
559 |
<input type="hidden" name="request_type" value="<?php echo esc_attr( $form ); ?>"/>
|
560 |
<input type="hidden" name="request_id"
|
561 |
-
value="<?php echo esc_attr( wp_create_nonce( date( 'YmdHis' ) ) ); ?>"/>
|
562 |
<input type="hidden" name="server_address" value="<?php echo esc_attr( $server_addr ); ?>"/>
|
563 |
<input type="hidden" name="ip_address" value="<?php echo esc_attr( $remote_addr ); ?>"/>
|
564 |
<input type="hidden" name="server_type" value="<?php echo esc_attr( $server_software ); ?>"/>
|
@@ -575,7 +575,7 @@ if ( ! class_exists( 'RTMediaSupport' ) ) {
|
|
575 |
<div class="rtm-form-filed clearfix">
|
576 |
<label class="bp-media-label"
|
577 |
for="subject"><?php esc_html_e( 'Attachment', 'buddypress-media' ); ?></label>
|
578 |
-
<input id="debuglog" class="bp-media-input" type="file" name="debuglog" />
|
579 |
<span class="rtm-tooltip">
|
580 |
<i class="dashicons dashicons-info"></i>
|
581 |
<span class="rtm-tip">
|
@@ -782,8 +782,8 @@ if ( ! class_exists( 'RTMediaSupport' ) ) {
|
|
782 |
$plugin_info = explode( ',', $this->get_plugin_info() );
|
783 |
$debug_info['Installed Plugins'] = implode( ', ' . PHP_EOL . str_repeat( ' ', 49 ), $plugin_info );
|
784 |
$active_theme = wp_get_theme();
|
785 |
-
$debug_info['Theme Name'] = esc_html( $active_theme->Name ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.NotSnakeCaseMemberVar
|
786 |
-
$debug_info['Theme Version'] = esc_html( $active_theme->Version ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.NotSnakeCaseMemberVar
|
787 |
$debug_info['Author URL'] = esc_url( $active_theme->{'Author URI'} );
|
788 |
$debug_info['Template Overrides'] = implode( ', ' . PHP_EOL . str_repeat( ' ', 50 ), $this->rtmedia_scan_template_files( RTMEDIA_PATH . '/templates/' ) );
|
789 |
$rtmedia_options = get_option( 'rtmedia-options' );
|
334 |
$debug_info['[php.ini] memory_limit'] = esc_html( ini_get( 'memory_limit' ) );
|
335 |
$debug_info['Installed Plugins'] = $this->get_plugin_info();
|
336 |
$active_theme = wp_get_theme();
|
337 |
+
$debug_info['Theme Name'] = esc_html( $active_theme->Name ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.NotSnakeCaseMemberVar, WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
|
338 |
+
$debug_info['Theme Version'] = esc_html( $active_theme->Version ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.NotSnakeCaseMemberVar, WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
|
339 |
$debug_info['Author URL'] = esc_url( $active_theme->{'Author URI'} );
|
340 |
$debug_info['Template Overrides'] = implode( ', <br/>', $this->rtmedia_scan_template_files( RTMEDIA_PATH . '/templates/' ) );
|
341 |
|
342 |
global $wpdb;
|
343 |
$rtmedia_model = new RTMediaModel();
|
344 |
+
$results = $wpdb->get_results( $wpdb->prepare( "select media_type, count(id) as count from {$rtmedia_model->table_name} where blog_id = %d group by media_type limit 100", get_current_blog_id() ) ); // phpcs:ignore
|
345 |
|
346 |
if ( $results ) {
|
347 |
foreach ( $results as $media ) {
|
558 |
|
559 |
<input type="hidden" name="request_type" value="<?php echo esc_attr( $form ); ?>"/>
|
560 |
<input type="hidden" name="request_id"
|
561 |
+
value="<?php echo esc_attr( wp_create_nonce( date( 'YmdHis' ) ) ); // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date ?>"/>
|
562 |
<input type="hidden" name="server_address" value="<?php echo esc_attr( $server_addr ); ?>"/>
|
563 |
<input type="hidden" name="ip_address" value="<?php echo esc_attr( $remote_addr ); ?>"/>
|
564 |
<input type="hidden" name="server_type" value="<?php echo esc_attr( $server_software ); ?>"/>
|
575 |
<div class="rtm-form-filed clearfix">
|
576 |
<label class="bp-media-label"
|
577 |
for="subject"><?php esc_html_e( 'Attachment', 'buddypress-media' ); ?></label>
|
578 |
+
<input id="debuglog" class="bp-media-input upload_attachment" type="file" name="debuglog" />
|
579 |
<span class="rtm-tooltip">
|
580 |
<i class="dashicons dashicons-info"></i>
|
581 |
<span class="rtm-tip">
|
782 |
$plugin_info = explode( ',', $this->get_plugin_info() );
|
783 |
$debug_info['Installed Plugins'] = implode( ', ' . PHP_EOL . str_repeat( ' ', 49 ), $plugin_info );
|
784 |
$active_theme = wp_get_theme();
|
785 |
+
$debug_info['Theme Name'] = esc_html( $active_theme->Name ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.NotSnakeCaseMemberVar, WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
|
786 |
+
$debug_info['Theme Version'] = esc_html( $active_theme->Version ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.NotSnakeCaseMemberVar, WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase
|
787 |
$debug_info['Author URL'] = esc_url( $active_theme->{'Author URI'} );
|
788 |
$debug_info['Template Overrides'] = implode( ', ' . PHP_EOL . str_repeat( ' ', 50 ), $this->rtmedia_scan_template_files( RTMEDIA_PATH . '/templates/' ) );
|
789 |
$rtmedia_options = get_option( 'rtmedia-options' );
|
app/helper/RTMediaThemes.php
CHANGED
@@ -158,7 +158,7 @@ class RTMediaThemes {
|
|
158 |
<a class="button load-customize hide-if-no-customize"
|
159 |
href="<?php echo esc_url( $theme['demo_url'] ); ?>"><?php esc_html_e( 'Live Demo', 'buddypress-media' ); ?></a>
|
160 |
<a class="button button-primary load-customize hide-if-no-customize"
|
161 |
-
href="<?php echo esc_url( $theme['buy_url'] ); ?>"><?php esc_html_e( 'Buy Now', 'buddypress-media' ); ?></a>
|
162 |
</div>
|
163 |
|
164 |
<div class="rtm-theme-content hide">
|
158 |
<a class="button load-customize hide-if-no-customize"
|
159 |
href="<?php echo esc_url( $theme['demo_url'] ); ?>"><?php esc_html_e( 'Live Demo', 'buddypress-media' ); ?></a>
|
160 |
<a class="button button-primary load-customize hide-if-no-customize"
|
161 |
+
href="<?php echo esc_url( $theme['buy_url'] ); ?>" target="_blank"><?php esc_html_e( 'Buy Now', 'buddypress-media' ); ?></a>
|
162 |
</div>
|
163 |
|
164 |
<div class="rtm-theme-content hide">
|
app/helper/db/RTDBModel.php
CHANGED
@@ -107,7 +107,7 @@ if ( ! class_exists( 'RTDBModel' ) ) {
|
|
107 |
$return_array['result'] = false;
|
108 |
|
109 |
global $wpdb;
|
110 |
-
$return_array['total'] = intval( $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM {$this->table_name} WHERE {$column_name} = %s", $arguments[0] ) ) ); // phpcs:ignore
|
111 |
|
112 |
if ( $return_array['total'] > 0 ) {
|
113 |
$other = '';
|
@@ -133,7 +133,7 @@ if ( ! class_exists( 'RTDBModel' ) ) {
|
|
133 |
}
|
134 |
}
|
135 |
|
136 |
-
$return_array['result'] = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM {$this->table_name} WHERE {$column_name} = %s {$other}", $arguments[0] ), ARRAY_A ); // phpcs:ignore
|
137 |
}
|
138 |
|
139 |
return $return_array;
|
@@ -160,7 +160,7 @@ if ( ! class_exists( 'RTDBModel' ) ) {
|
|
160 |
}
|
161 |
}
|
162 |
|
163 |
-
$wpdb->insert( $this->table_name, $insertdata );
|
164 |
|
165 |
return $wpdb->insert_id;
|
166 |
}
|
@@ -178,7 +178,7 @@ if ( ! class_exists( 'RTDBModel' ) ) {
|
|
178 |
public function update( $data, $where ) {
|
179 |
global $wpdb;
|
180 |
|
181 |
-
return $wpdb->update( $this->table_name, $data, $where );
|
182 |
}
|
183 |
|
184 |
/**
|
@@ -212,7 +212,7 @@ if ( ! class_exists( 'RTDBModel' ) ) {
|
|
212 |
$col_val_comapare = ( is_array( $colvalue['value'] ) ) ? '(\'' . implode( "','", $colvalue['value'] ) . '\')' : '(\'' . $colvalue['value'] . '\')';
|
213 |
$where .= " AND {$this->table_name}.{$colname} {$compare} {$col_val_comapare}";
|
214 |
} else {
|
215 |
-
$where .= $wpdb->prepare( " AND {$this->table_name}.{$colname} = %s", $colvalue ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
|
216 |
}
|
217 |
}
|
218 |
$sql = $select . $where;
|
@@ -235,7 +235,7 @@ if ( ! class_exists( 'RTDBModel' ) ) {
|
|
235 |
$sql .= $wpdb->prepare( ' LIMIT %d, %d', $offset, $per_page );
|
236 |
|
237 |
}
|
238 |
-
return $wpdb->get_results( $sql ); // phpcs:ignore
|
239 |
}
|
240 |
|
241 |
/**
|
@@ -250,7 +250,7 @@ if ( ! class_exists( 'RTDBModel' ) ) {
|
|
250 |
public function delete( $where ) {
|
251 |
global $wpdb;
|
252 |
|
253 |
-
return $wpdb->delete( $this->table_name, $where );
|
254 |
}
|
255 |
}
|
256 |
}
|
107 |
$return_array['result'] = false;
|
108 |
|
109 |
global $wpdb;
|
110 |
+
$return_array['total'] = intval( $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM {$this->table_name} WHERE {$column_name} = %s", $arguments[0] ) ) ); // phpcs:ignore
|
111 |
|
112 |
if ( $return_array['total'] > 0 ) {
|
113 |
$other = '';
|
133 |
}
|
134 |
}
|
135 |
|
136 |
+
$return_array['result'] = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM {$this->table_name} WHERE {$column_name} = %s {$other}", $arguments[0] ), ARRAY_A ); // phpcs:ignore
|
137 |
}
|
138 |
|
139 |
return $return_array;
|
160 |
}
|
161 |
}
|
162 |
|
163 |
+
$wpdb->insert( $this->table_name, $insertdata ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery
|
164 |
|
165 |
return $wpdb->insert_id;
|
166 |
}
|
178 |
public function update( $data, $where ) {
|
179 |
global $wpdb;
|
180 |
|
181 |
+
return $wpdb->update( $this->table_name, $data, $where ); // phpcs:ignore
|
182 |
}
|
183 |
|
184 |
/**
|
212 |
$col_val_comapare = ( is_array( $colvalue['value'] ) ) ? '(\'' . implode( "','", $colvalue['value'] ) . '\')' : '(\'' . $colvalue['value'] . '\')';
|
213 |
$where .= " AND {$this->table_name}.{$colname} {$compare} {$col_val_comapare}";
|
214 |
} else {
|
215 |
+
$where .= $wpdb->prepare( " AND {$this->table_name}.{$colname} = %s", $colvalue ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared, WordPress.DB.PreparedSQL.InterpolatedNotPrepared
|
216 |
}
|
217 |
}
|
218 |
$sql = $select . $where;
|
235 |
$sql .= $wpdb->prepare( ' LIMIT %d, %d', $offset, $per_page );
|
236 |
|
237 |
}
|
238 |
+
return $wpdb->get_results( $sql ); // phpcs:ignore
|
239 |
}
|
240 |
|
241 |
/**
|
250 |
public function delete( $where ) {
|
251 |
global $wpdb;
|
252 |
|
253 |
+
return $wpdb->delete( $this->table_name, $where ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
|
254 |
}
|
255 |
}
|
256 |
}
|
app/main/RTMedia.php
CHANGED
@@ -1370,7 +1370,9 @@ class RTMedia {
|
|
1370 |
|
1371 |
$rtmedia_media_thumbs = array();
|
1372 |
foreach ( $this->allowed_types as $key_type => $value_type ) {
|
1373 |
-
|
|
|
|
|
1374 |
}
|
1375 |
|
1376 |
/**
|
1370 |
|
1371 |
$rtmedia_media_thumbs = array();
|
1372 |
foreach ( $this->allowed_types as $key_type => $value_type ) {
|
1373 |
+
if ( isset( $value_type['thumbnail'] ) ) {
|
1374 |
+
$rtmedia_media_thumbs[ $key_type ] = $value_type['thumbnail'];
|
1375 |
+
}
|
1376 |
}
|
1377 |
|
1378 |
/**
|
app/main/controllers/api/RTMediaJsonApi.php
CHANGED
@@ -347,7 +347,7 @@ class RTMediaJsonApi {
|
|
347 |
'user_id' => intval( $user_login->ID ),
|
348 |
'ip' => $remote_addr,
|
349 |
'token' => sanitize_text_field( $access_token ),
|
350 |
-
'token_time' => date( 'Y-m-d H:i:s' ),
|
351 |
);
|
352 |
$rtmapilogin->insert( $login_details );
|
353 |
wp_send_json( $this->rtmedia_api_response_object( 'TRUE', $ec_login_success, $msg_login_success, $data ) );
|
347 |
'user_id' => intval( $user_login->ID ),
|
348 |
'ip' => $remote_addr,
|
349 |
'token' => sanitize_text_field( $access_token ),
|
350 |
+
'token_time' => date( 'Y-m-d H:i:s' ), // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
|
351 |
);
|
352 |
$rtmapilogin->insert( $login_details );
|
353 |
wp_send_json( $this->rtmedia_api_response_object( 'TRUE', $ec_login_success, $msg_login_success, $data ) );
|
app/main/controllers/media/RTMediaAlbum.php
CHANGED
@@ -144,7 +144,7 @@ class RTMediaAlbum {
|
|
144 |
* @param string $album_description Album description.
|
145 |
*
|
146 |
* @return int
|
147 |
-
* @global
|
148 |
*/
|
149 |
public function add( $title = '', $author_id = false, $new = true, $post_id = false, $context = false, $context_id = false, $album_description = '' ) {
|
150 |
|
@@ -156,7 +156,7 @@ class RTMediaAlbum {
|
|
156 |
|
157 |
// Album Details which will be passed to Database query to add the album.
|
158 |
$post_vars = array(
|
159 |
-
'post_title' =>
|
160 |
'post_type' => 'rtmedia_album',
|
161 |
'post_author' => $author_id,
|
162 |
'post_status' => 'hidden',
|
@@ -207,7 +207,7 @@ class RTMediaAlbum {
|
|
207 |
'privacy' => null,
|
208 |
);
|
209 |
|
210 |
-
$attributes = apply_filters( 'rtmedia_before_save_album_attributes', $attributes, $_POST ); // phpcs:ignore WordPress.Security.NonceVerification.NoNonceVerification
|
211 |
$rtmedia_id = $this->media->insert_album( $attributes );
|
212 |
$rtmedia_nav = new RTMediaNav();
|
213 |
$media_count = $rtmedia_nav->refresh_counts(
|
144 |
* @param string $album_description Album description.
|
145 |
*
|
146 |
* @return int
|
147 |
+
* @global int $rtmedia_interaction
|
148 |
*/
|
149 |
public function add( $title = '', $author_id = false, $new = true, $post_id = false, $context = false, $context_id = false, $album_description = '' ) {
|
150 |
|
156 |
|
157 |
// Album Details which will be passed to Database query to add the album.
|
158 |
$post_vars = array(
|
159 |
+
'post_title' => empty( $title ) ? esc_html__( 'Untitled Album', 'buddypress-media' ) : $title,
|
160 |
'post_type' => 'rtmedia_album',
|
161 |
'post_author' => $author_id,
|
162 |
'post_status' => 'hidden',
|
207 |
'privacy' => null,
|
208 |
);
|
209 |
|
210 |
+
$attributes = apply_filters( 'rtmedia_before_save_album_attributes', $attributes, $_POST ); // phpcs:ignore WordPress.Security.NonceVerification.NoNonceVerification, WordPress.Security.NonceVerification.Missing
|
211 |
$rtmedia_id = $this->media->insert_album( $attributes );
|
212 |
$rtmedia_nav = new RTMediaNav();
|
213 |
$media_count = $rtmedia_nav->refresh_counts(
|
app/main/controllers/media/RTMediaTags.php
CHANGED
@@ -15,7 +15,7 @@ class RTMediaTags {
|
|
15 |
*
|
16 |
* @var object
|
17 |
*/
|
18 |
-
private static $_id3;
|
19 |
|
20 |
/**
|
21 |
* File to analyze
|
@@ -242,7 +242,6 @@ class RTMediaTags {
|
|
242 |
if ( isset( $data['id3v2']['APIC'] ) ) {
|
243 |
$this->data['attached_picture'] = array( $data['id3v2']['APIC'][0] );
|
244 |
}
|
245 |
-
|
246 |
if ( isset( $data['tags']['id3v2']['track_number'] ) ) {
|
247 |
$track = $data['tags']['id3v2']['track_number'][0];
|
248 |
} else {
|
@@ -253,6 +252,10 @@ class RTMediaTags {
|
|
253 |
}
|
254 |
}
|
255 |
|
|
|
|
|
|
|
|
|
256 |
if ( strstr( $track, '/' ) ) {
|
257 |
list( $track, $track_total ) = explode( '/', $track );
|
258 |
$this->data['track_total'] = array( $track_total );
|
15 |
*
|
16 |
* @var object
|
17 |
*/
|
18 |
+
private static $_id3; // phpcs:ignore
|
19 |
|
20 |
/**
|
21 |
* File to analyze
|
242 |
if ( isset( $data['id3v2']['APIC'] ) ) {
|
243 |
$this->data['attached_picture'] = array( $data['id3v2']['APIC'][0] );
|
244 |
}
|
|
|
245 |
if ( isset( $data['tags']['id3v2']['track_number'] ) ) {
|
246 |
$track = $data['tags']['id3v2']['track_number'][0];
|
247 |
} else {
|
252 |
}
|
253 |
}
|
254 |
|
255 |
+
if ( isset( $data['tags']['id3v2']['totaltracks'] ) ) {
|
256 |
+
$this->data['track_total'] = array( $data['tags']['id3v2']['totaltracks'][0] );
|
257 |
+
}
|
258 |
+
|
259 |
if ( strstr( $track, '/' ) ) {
|
260 |
list( $track, $track_total ) = explode( '/', $track );
|
261 |
$this->data['track_total'] = array( $track_total );
|
app/main/controllers/privacy/RTMediaPrivacy.php
CHANGED
@@ -584,7 +584,7 @@ class RTMediaPrivacy {
|
|
584 |
if ( isset( $friends ) && ! empty( $friends ) ) {
|
585 |
$in_str_arr = array_fill( 0, count( $friends ), '%d' );
|
586 |
$in_str = join( ',', $in_str_arr );
|
587 |
-
$where .= $wpdb->prepare( " OR ({$this->rtm_activity_table_alias}.privacy=40 AND a.user_id IN ({$in_str}) )", $friends ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared, WordPress.DB.PreparedSQLPlaceholders.UnfinishedPrepare
|
588 |
}
|
589 |
}
|
590 |
}
|
@@ -597,7 +597,7 @@ class RTMediaPrivacy {
|
|
597 |
|
598 |
$select_sql .= " ,{$this->rtm_activity_table_alias}.privacy ";
|
599 |
|
600 |
-
$from_sql = $wpdb->prepare( " FROM {$bp->activity->table_name} a LEFT JOIN {$wpdb->users} u ON a.user_id = u.ID LEFT JOIN {$rtmedia_activity_model->table_name} {$this->rtm_activity_table_alias} ON ( a.id = {$this->rtm_activity_table_alias}.activity_id and ra.blog_id = %d ) ", get_current_blog_id() ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
|
601 |
|
602 |
// removed NOT EXISTS check for `rtmedia_privacy` activty meta value.
|
603 |
// check git history for more details ;).
|
@@ -633,7 +633,7 @@ class RTMediaPrivacy {
|
|
633 |
}
|
634 |
|
635 |
$media_table = "SELECT *, max( privacy ) as max_privacy from {$rtmedia_model->table_name} group by activity_id";
|
636 |
-
$from_sql = $wpdb->prepare( " FROM {$bp->activity->table_name} a LEFT JOIN {$wpdb->users} u ON a.user_id = u.ID LEFT JOIN ( $media_table ) m ON ( a.id = m.activity_id AND m.blog_id = %d ) ", get_current_blog_id() ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
|
637 |
$where_sql = $where_sql . " AND (NOT EXISTS (SELECT m.activity_id FROM {$bp_prefix}bp_activity_meta m WHERE m.meta_key='rtmedia_privacy' AND m.activity_id=a.id) OR ( {$where} ) )";
|
638 |
$newsql = "{$select_sql} {$from_sql} {$where_sql} ORDER BY a.date_recorded {$sort} {$pag_sql}";
|
639 |
}
|
@@ -663,7 +663,7 @@ class RTMediaPrivacy {
|
|
663 |
$rtmedia_activity_model = new RTMediaActivityModel();
|
664 |
if ( strpos( $sql, $rtmedia_activity_model->table_name ) === false ) {
|
665 |
$select_sql .= " ,{$this->rtm_activity_table_alias}.privacy ";
|
666 |
-
$from_sql = $wpdb->prepare( " FROM {$bp->activity->table_name} a LEFT JOIN {$wpdb->users} u ON a.user_id = u.ID LEFT JOIN {$rtmedia_activity_model->table_name} {$this->rtm_activity_table_alias} ON ( a.id = {$this->rtm_activity_table_alias}.activity_id and ra.blog_id = %d ) ", get_current_blog_id() ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
|
667 |
$sql = "{$select_sql} {$from_sql} {$where_sql} ORDER BY a.date_recorded {$sort} {$pag_sql}";
|
668 |
}
|
669 |
}
|
584 |
if ( isset( $friends ) && ! empty( $friends ) ) {
|
585 |
$in_str_arr = array_fill( 0, count( $friends ), '%d' );
|
586 |
$in_str = join( ',', $in_str_arr );
|
587 |
+
$where .= $wpdb->prepare( " OR ({$this->rtm_activity_table_alias}.privacy=40 AND a.user_id IN ({$in_str}) )", $friends ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared, WordPress.DB.PreparedSQLPlaceholders.UnfinishedPrepare, WordPress.DB.PreparedSQL.InterpolatedNotPrepared
|
588 |
}
|
589 |
}
|
590 |
}
|
597 |
|
598 |
$select_sql .= " ,{$this->rtm_activity_table_alias}.privacy ";
|
599 |
|
600 |
+
$from_sql = $wpdb->prepare( " FROM {$bp->activity->table_name} a LEFT JOIN {$wpdb->users} u ON a.user_id = u.ID LEFT JOIN {$rtmedia_activity_model->table_name} {$this->rtm_activity_table_alias} ON ( a.id = {$this->rtm_activity_table_alias}.activity_id and ra.blog_id = %d ) ", get_current_blog_id() ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared, WordPress.DB.PreparedSQL.InterpolatedNotPrepared
|
601 |
|
602 |
// removed NOT EXISTS check for `rtmedia_privacy` activty meta value.
|
603 |
// check git history for more details ;).
|
633 |
}
|
634 |
|
635 |
$media_table = "SELECT *, max( privacy ) as max_privacy from {$rtmedia_model->table_name} group by activity_id";
|
636 |
+
$from_sql = $wpdb->prepare( " FROM {$bp->activity->table_name} a LEFT JOIN {$wpdb->users} u ON a.user_id = u.ID LEFT JOIN ( $media_table ) m ON ( a.id = m.activity_id AND m.blog_id = %d ) ", get_current_blog_id() ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared, WordPress.DB.PreparedSQL.InterpolatedNotPrepared
|
637 |
$where_sql = $where_sql . " AND (NOT EXISTS (SELECT m.activity_id FROM {$bp_prefix}bp_activity_meta m WHERE m.meta_key='rtmedia_privacy' AND m.activity_id=a.id) OR ( {$where} ) )";
|
638 |
$newsql = "{$select_sql} {$from_sql} {$where_sql} ORDER BY a.date_recorded {$sort} {$pag_sql}";
|
639 |
}
|
663 |
$rtmedia_activity_model = new RTMediaActivityModel();
|
664 |
if ( strpos( $sql, $rtmedia_activity_model->table_name ) === false ) {
|
665 |
$select_sql .= " ,{$this->rtm_activity_table_alias}.privacy ";
|
666 |
+
$from_sql = $wpdb->prepare( " FROM {$bp->activity->table_name} a LEFT JOIN {$wpdb->users} u ON a.user_id = u.ID LEFT JOIN {$rtmedia_activity_model->table_name} {$this->rtm_activity_table_alias} ON ( a.id = {$this->rtm_activity_table_alias}.activity_id and ra.blog_id = %d ) ", get_current_blog_id() ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared, WordPress.DB.PreparedSQL.InterpolatedNotPrepared
|
667 |
$sql = "{$select_sql} {$from_sql} {$where_sql} ORDER BY a.date_recorded {$sort} {$pag_sql}";
|
668 |
}
|
669 |
}
|
app/main/controllers/template/RTMediaNav.php
CHANGED
@@ -130,7 +130,7 @@ class RTMediaNav {
|
|
130 |
$slug = apply_filters( 'rtmedia_group_media_tab_slug', RTMEDIA_MEDIA_SLUG );
|
131 |
$media_tab_position = apply_filters( 'rtmedia_group_media_tab_position', 99 );
|
132 |
|
133 |
-
//to solve an issue of Media Tab is not showing in version 10.0.0
|
134 |
$bp->version = floatval( $bp->version );
|
135 |
|
136 |
if ( isset( $bp->version ) && $bp->version > '2.5.3' ) {
|
@@ -254,18 +254,18 @@ class RTMediaNav {
|
|
254 |
}
|
255 |
global $bp;
|
256 |
$counts = $this->actual_counts( $bp->groups->current_group->id, 'group' );
|
|
|
257 |
} else {
|
258 |
if ( class_exists( 'BuddyPress' ) && isset( $rtmedia->options['buddypress_enableOnProfile'] ) && 0 === intval( $rtmedia->options['buddypress_enableOnProfile'] ) ) {
|
259 |
return;
|
260 |
}
|
261 |
$counts = $this->actual_counts();
|
|
|
262 |
}
|
263 |
|
264 |
$default = false;
|
265 |
if ( function_exists( 'bp_is_group' ) && bp_is_group() && $user_group_status ) {
|
266 |
-
$link
|
267 |
-
$model = new RTMediaModel();
|
268 |
-
$other_count = $model->get_other_album_count( bp_get_group_id(), 'group' );
|
269 |
} else {
|
270 |
|
271 |
if ( function_exists( 'bp_displayed_user_id' ) && bp_displayed_user_id() ) {
|
@@ -273,10 +273,20 @@ class RTMediaNav {
|
|
273 |
} elseif ( get_query_var( 'author' ) ) {
|
274 |
$link = get_rtmedia_user_link( get_query_var( 'author' ) );
|
275 |
}
|
276 |
-
$model = new RTMediaModel();
|
277 |
-
$other_count = $model->get_other_album_count( bp_displayed_user_id(), 'profile' );
|
278 |
}
|
279 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
280 |
$all = '';
|
281 |
if ( ! isset( $rtmedia_query->action_query->media_type ) && ! isset( $rtmedia_query->query['media_type'] ) ) {
|
282 |
$all = 'current selected';
|
@@ -287,21 +297,21 @@ class RTMediaNav {
|
|
287 |
}
|
288 |
|
289 |
$albums = '';
|
290 |
-
//condition to keep "Album" tab active
|
291 |
if ( array_key_exists( 'media_type', $rtmedia_query->query ) && isset( $rtmedia_query->query['media_type'] ) && ( 'album' === $rtmedia_query->query['media_type'] ) ) {
|
292 |
-
|
293 |
} elseif ( isset( $rtmedia_query->action_query->media_type ) && ( 'album' === $rtmedia_query->action_query->media_type ) ) {
|
294 |
-
|
295 |
}
|
296 |
|
297 |
if ( is_rtmedia_album_enable() ) {
|
298 |
-
|
299 |
if ( ! isset( $counts['total']['album'] ) ) {
|
300 |
$counts['total']['album'] = 0;
|
301 |
}
|
302 |
|
303 |
$counts['total']['album'] = $counts['total']['album'] + $other_count;
|
304 |
-
|
|
|
305 |
echo apply_filters( 'rtmedia_sub_nav_albums', '<li id="rtmedia-nav-item-albums-li" class="' . esc_attr( $albums ) . '"><a id="rtmedia-nav-item-albums" href="' . esc_url( trailingslashit( $link ) ) . RTMEDIA_MEDIA_SLUG . '/album/">' . esc_html( $album_label ) . '<span class="count">' . esc_html( ( isset( $counts['total']['album'] ) ) ? rtmedia_number_to_human_readable( $counts['total']['album'] ) : 0 ) . '</span>' . '</a></li>' );// @codingStandardsIgnoreLine
|
306 |
}
|
307 |
|
@@ -345,13 +355,15 @@ class RTMediaNav {
|
|
345 |
);
|
346 |
}
|
347 |
|
348 |
-
$type_label =
|
349 |
echo apply_filters( 'rtmedia_sub_nav_' . $type['name'], '<li id="rtmedia-nav-item-' . esc_attr( $type['name'] ) // @codingStandardsIgnoreLine
|
350 |
. '-' . esc_attr( $context ) . '-' . esc_attr( $context_id ) . '-li" ' . $selected
|
351 |
. '><a id="rtmedia-nav-item-' . esc_attr( $type['name'] ) . '" href="' . esc_url(
|
352 |
$profile_link . RTMEDIA_MEDIA_SLUG . '/'
|
353 |
-
|
354 |
-
|
|
|
|
|
355 |
);
|
356 |
}
|
357 |
|
@@ -528,7 +540,6 @@ class RTMediaNav {
|
|
528 |
}
|
529 |
|
530 |
$media_count['total'] = $total;
|
531 |
-
|
532 |
return $media_count;
|
533 |
}
|
534 |
|
@@ -601,7 +612,7 @@ class RTMediaNav {
|
|
601 |
|
602 |
global $bp;
|
603 |
|
604 |
-
$media =
|
605 |
|
606 |
// If current component is `groups` then fetch its media.
|
607 |
if ( 'groups' === $value ) {
|
@@ -646,7 +657,7 @@ class RTMediaNav {
|
|
646 |
|
647 |
global $bp;
|
648 |
|
649 |
-
$media =
|
650 |
|
651 |
// If current component is `groups` then fetch its media.
|
652 |
if ( 'groups' === $value ) {
|
130 |
$slug = apply_filters( 'rtmedia_group_media_tab_slug', RTMEDIA_MEDIA_SLUG );
|
131 |
$media_tab_position = apply_filters( 'rtmedia_group_media_tab_position', 99 );
|
132 |
|
133 |
+
// to solve an issue of Media Tab is not showing in version 10.0.0.
|
134 |
$bp->version = floatval( $bp->version );
|
135 |
|
136 |
if ( isset( $bp->version ) && $bp->version > '2.5.3' ) {
|
254 |
}
|
255 |
global $bp;
|
256 |
$counts = $this->actual_counts( $bp->groups->current_group->id, 'group' );
|
257 |
+
|
258 |
} else {
|
259 |
if ( class_exists( 'BuddyPress' ) && isset( $rtmedia->options['buddypress_enableOnProfile'] ) && 0 === intval( $rtmedia->options['buddypress_enableOnProfile'] ) ) {
|
260 |
return;
|
261 |
}
|
262 |
$counts = $this->actual_counts();
|
263 |
+
|
264 |
}
|
265 |
|
266 |
$default = false;
|
267 |
if ( function_exists( 'bp_is_group' ) && bp_is_group() && $user_group_status ) {
|
268 |
+
$link = get_rtmedia_group_link( bp_get_group_id() );
|
|
|
|
|
269 |
} else {
|
270 |
|
271 |
if ( function_exists( 'bp_displayed_user_id' ) && bp_displayed_user_id() ) {
|
273 |
} elseif ( get_query_var( 'author' ) ) {
|
274 |
$link = get_rtmedia_user_link( get_query_var( 'author' ) );
|
275 |
}
|
|
|
|
|
276 |
}
|
277 |
|
278 |
+
$global_albums = rtmedia_global_albums();
|
279 |
+
|
280 |
+
// Return the album count if the album has media in it.
|
281 |
+
$global_albums = array_filter(
|
282 |
+
$global_albums,
|
283 |
+
function( $album_id ) {
|
284 |
+
return (int) rtm_get_album_media_count( $album_id ) > 0;
|
285 |
+
}
|
286 |
+
);
|
287 |
+
|
288 |
+
$other_count = count( $global_albums );
|
289 |
+
|
290 |
$all = '';
|
291 |
if ( ! isset( $rtmedia_query->action_query->media_type ) && ! isset( $rtmedia_query->query['media_type'] ) ) {
|
292 |
$all = 'current selected';
|
297 |
}
|
298 |
|
299 |
$albums = '';
|
300 |
+
// condition to keep "Album" tab active.
|
301 |
if ( array_key_exists( 'media_type', $rtmedia_query->query ) && isset( $rtmedia_query->query['media_type'] ) && ( 'album' === $rtmedia_query->query['media_type'] ) ) {
|
302 |
+
$albums = 'current selected';
|
303 |
} elseif ( isset( $rtmedia_query->action_query->media_type ) && ( 'album' === $rtmedia_query->action_query->media_type ) ) {
|
304 |
+
$albums = 'current selected';
|
305 |
}
|
306 |
|
307 |
if ( is_rtmedia_album_enable() ) {
|
|
|
308 |
if ( ! isset( $counts['total']['album'] ) ) {
|
309 |
$counts['total']['album'] = 0;
|
310 |
}
|
311 |
|
312 |
$counts['total']['album'] = $counts['total']['album'] + $other_count;
|
313 |
+
|
314 |
+
$album_label = defined( 'RTMEDIA_ALBUM_PLURAL_LABEL' ) ? constant( 'RTMEDIA_ALBUM_PLURAL_LABEL' ) : esc_html__( 'Albums', 'buddypress-media' );
|
315 |
echo apply_filters( 'rtmedia_sub_nav_albums', '<li id="rtmedia-nav-item-albums-li" class="' . esc_attr( $albums ) . '"><a id="rtmedia-nav-item-albums" href="' . esc_url( trailingslashit( $link ) ) . RTMEDIA_MEDIA_SLUG . '/album/">' . esc_html( $album_label ) . '<span class="count">' . esc_html( ( isset( $counts['total']['album'] ) ) ? rtmedia_number_to_human_readable( $counts['total']['album'] ) : 0 ) . '</span>' . '</a></li>' );// @codingStandardsIgnoreLine
|
316 |
}
|
317 |
|
355 |
);
|
356 |
}
|
357 |
|
358 |
+
$type_label = defined( 'RTMEDIA_' . $name . '_PLURAL_LABEL' ) ? constant( 'RTMEDIA_' . $name . '_PLURAL_LABEL' ) : $type['plural_label'];
|
359 |
echo apply_filters( 'rtmedia_sub_nav_' . $type['name'], '<li id="rtmedia-nav-item-' . esc_attr( $type['name'] ) // @codingStandardsIgnoreLine
|
360 |
. '-' . esc_attr( $context ) . '-' . esc_attr( $context_id ) . '-li" ' . $selected
|
361 |
. '><a id="rtmedia-nav-item-' . esc_attr( $type['name'] ) . '" href="' . esc_url(
|
362 |
$profile_link . RTMEDIA_MEDIA_SLUG . '/'
|
363 |
+
. constant( 'RTMEDIA_' . $name . '_SLUG' ) . '/'
|
364 |
+
) . '">'
|
365 |
+
. esc_html( $type_label ) . '<span class="count">' . esc_html( ( isset( $counts['total'][ $type['name'] ] ) ) ? rtmedia_number_to_human_readable( $counts['total'][ $type['name'] ] ) : 0 ) . '</span></a></li>',
|
366 |
+
$type['name']
|
367 |
);
|
368 |
}
|
369 |
|
540 |
}
|
541 |
|
542 |
$media_count['total'] = $total;
|
|
|
543 |
return $media_count;
|
544 |
}
|
545 |
|
612 |
|
613 |
global $bp;
|
614 |
|
615 |
+
$media = array();
|
616 |
|
617 |
// If current component is `groups` then fetch its media.
|
618 |
if ( 'groups' === $value ) {
|
657 |
|
658 |
global $bp;
|
659 |
|
660 |
+
$media = array();
|
661 |
|
662 |
// If current component is `groups` then fetch its media.
|
663 |
if ( 'groups' === $value ) {
|
app/main/controllers/template/RTMediaTemplate.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Template to display rtMedia Gallery.
|
4 |
-
* A stand
|
5 |
*
|
6 |
* @package rtMedia
|
7 |
* @author saurabh
|
@@ -43,8 +43,8 @@ class RTMediaTemplate {
|
|
43 |
public function enqueue_scripts() {
|
44 |
wp_enqueue_script( 'rtmedia-backbone' );
|
45 |
|
46 |
-
$is_album = is_rtmedia_album()
|
47 |
-
$is_edit_allowed = is_rtmedia_edit_allowed()
|
48 |
|
49 |
wp_localize_script( 'rtmedia-backbone', 'is_album', array( $is_album ) );
|
50 |
wp_localize_script( 'rtmedia-backbone', 'is_edit_allowed', array( $is_edit_allowed ) );
|
@@ -209,7 +209,7 @@ class RTMediaTemplate {
|
|
209 |
public function add_hidden_fields_in_gallery() {
|
210 |
global $rtmedia_query;
|
211 |
|
212 |
-
$is_on_home =
|
213 |
$return_str = "<input name='rtmedia_shortcode' value='true' type='hidden' />";
|
214 |
$return_str .= "<input name='is_on_home' value='$is_on_home' type='hidden' />";
|
215 |
|
@@ -230,8 +230,6 @@ class RTMediaTemplate {
|
|
230 |
|
231 |
if ( 'json' === $rtmedia_query->format ) {
|
232 |
$this->json_output();
|
233 |
-
} else {
|
234 |
-
return;
|
235 |
}
|
236 |
}
|
237 |
|
@@ -262,11 +260,11 @@ class RTMediaTemplate {
|
|
262 |
if ( $rtmedia_query->media ) {
|
263 |
|
264 |
// Remove all filters used for search functionality to avoid modifying query for current media results.
|
265 |
-
remove_filter( 'rtmedia-model-where-query', 'rtmedia_search_fillter_where_query'
|
266 |
-
remove_filter( 'rtmedia-get-album-where-query', 'rtmedia_search_fillter_where_query'
|
267 |
-
remove_filter( 'rtmedia-get-group-album-where-query', 'rtmedia_search_fillter_where_query'
|
268 |
remove_filter( 'rtmedia-model-join-query', 'rtmedia_search_fillter_join_query', 11 );
|
269 |
-
remove_filter( 'rtmedia-model-query-columns', 'rtmedia_model_query_columns'
|
270 |
|
271 |
foreach ( $rtmedia_query->media as $key => $media ) {
|
272 |
|
@@ -297,7 +295,7 @@ class RTMediaTemplate {
|
|
297 |
$return_array['prev'] = rtmedia_page() - 1;
|
298 |
$return_array['next'] = ( rtmedia_offset() + rtmedia_per_page_media() < rtmedia_count() ) ? ( rtmedia_page() + 1 ) : - 1;
|
299 |
|
300 |
-
$model
|
301 |
$return_array['media_count'] = $model->get_media_count();
|
302 |
|
303 |
if ( isset( $rtmedia->options['general_display_media'] ) && 'pagination' === $options['general_display_media'] ) {
|
@@ -316,7 +314,7 @@ class RTMediaTemplate {
|
|
316 |
public function check_return_edit() {
|
317 |
global $rtmedia_query;
|
318 |
|
319 |
-
if ( 'edit' === $rtmedia_query->action_query->action && count( $_POST ) ) { // phpcs:ignore WordPress.Security.NonceVerification.NoNonceVerification
|
320 |
$this->save_edit();
|
321 |
}
|
322 |
|
@@ -404,7 +402,7 @@ class RTMediaTemplate {
|
|
404 |
// Replacing the filename with new effected filename.
|
405 |
$activity_content = str_replace( $rtmedia_filepath_old, $thumbnailinfo[0], $activity_content_new );
|
406 |
|
407 |
-
$wpdb->update( $bp->activity->table_name, array( 'content' => $activity_content ), array( 'id' => $activity_id ) );
|
408 |
}
|
409 |
}
|
410 |
}
|
@@ -522,7 +520,7 @@ class RTMediaTemplate {
|
|
522 |
|
523 |
$_selected_arr = filter_input_array( INPUT_POST, $filters );
|
524 |
$_selected = $_selected_arr['selected'];
|
525 |
-
if (
|
526 |
$data_array = array( 'media_title', 'description', 'privacy' );
|
527 |
$data = rtmedia_sanitize_object( $_POST, $data_array );
|
528 |
$album = $model->get_media( array( 'id' => $rtmedia_query->media_query['album_id'] ), false, false );
|
@@ -594,7 +592,7 @@ class RTMediaTemplate {
|
|
594 |
return;
|
595 |
}
|
596 |
|
597 |
-
if ( ! count( $_POST ) ) { // phpcs:ignore WordPress.Security.NonceVerification.NoNonceVerification
|
598 |
return;
|
599 |
}
|
600 |
|
@@ -900,7 +898,7 @@ class RTMediaTemplate {
|
|
900 |
if ( ! empty( $_rt_ajax ) ) {
|
901 |
global $wpdb;
|
902 |
|
903 |
-
$comments = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->comments WHERE comment_ID = %d limit 100", $id ), ARRAY_A );
|
904 |
// @todo: Change a.rtmedia-comment-like-click attribute to data-comment-id from data-comment_id in rtmedia-likes (https://github.com/rtCamp/rtmedia-likes) addon.
|
905 |
echo rmedia_single_comment( $comments ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Contains data-* attributes.
|
906 |
exit;
|
@@ -980,7 +978,7 @@ class RTMediaTemplate {
|
|
980 |
/**
|
981 |
* Validates all the attributes for gallery shortcode
|
982 |
*
|
983 |
-
* @global
|
984 |
*
|
985 |
* @param array $attr Attributes array.
|
986 |
*
|
@@ -1080,7 +1078,7 @@ class RTMediaTemplate {
|
|
1080 |
$template = 'media-single-edit';
|
1081 |
}
|
1082 |
} else {
|
1083 |
-
return;
|
1084 |
}
|
1085 |
}
|
1086 |
|
@@ -1147,22 +1145,22 @@ class RTMediaTemplate {
|
|
1147 |
'rt_media_thumbnail' => array(
|
1148 |
'width' => $rtmedia->options['defaultSizes_photo_thumbnail_width'],
|
1149 |
'height' => $rtmedia->options['defaultSizes_photo_thumbnail_height'],
|
1150 |
-
'crop' => ( 0 === intval( $rtmedia->options['defaultSizes_photo_thumbnail_crop'] ) )
|
1151 |
),
|
1152 |
'rt_media_activity_image' => array(
|
1153 |
'width' => $rtmedia->options['defaultSizes_photo_medium_width'],
|
1154 |
'height' => $rtmedia->options['defaultSizes_photo_medium_height'],
|
1155 |
-
'crop' => ( 0 === intval( $rtmedia->options['defaultSizes_photo_medium_crop'] ) )
|
1156 |
),
|
1157 |
'rt_media_single_image' => array(
|
1158 |
'width' => $rtmedia->options['defaultSizes_photo_large_width'],
|
1159 |
'height' => $rtmedia->options['defaultSizes_photo_large_height'],
|
1160 |
-
'crop' => ( 0 === intval( $rtmedia->options['defaultSizes_photo_large_crop'] ) )
|
1161 |
),
|
1162 |
'rt_media_featured_image' => array(
|
1163 |
'width' => $rtmedia->options['defaultSizes_featured_default_width'],
|
1164 |
'height' => $rtmedia->options['defaultSizes_featured_default_height'],
|
1165 |
-
'crop' => ( 0 === intval( $rtmedia->options['defaultSizes_featured_default_crop'] ) )
|
1166 |
),
|
1167 |
);
|
1168 |
|
1 |
<?php
|
2 |
/**
|
3 |
* Template to display rtMedia Gallery.
|
4 |
+
* A stand-alone template that renders the gallery/uploader on the page.
|
5 |
*
|
6 |
* @package rtMedia
|
7 |
* @author saurabh
|
43 |
public function enqueue_scripts() {
|
44 |
wp_enqueue_script( 'rtmedia-backbone' );
|
45 |
|
46 |
+
$is_album = is_rtmedia_album();
|
47 |
+
$is_edit_allowed = is_rtmedia_edit_allowed();
|
48 |
|
49 |
wp_localize_script( 'rtmedia-backbone', 'is_album', array( $is_album ) );
|
50 |
wp_localize_script( 'rtmedia-backbone', 'is_edit_allowed', array( $is_edit_allowed ) );
|
209 |
public function add_hidden_fields_in_gallery() {
|
210 |
global $rtmedia_query;
|
211 |
|
212 |
+
$is_on_home = is_front_page();
|
213 |
$return_str = "<input name='rtmedia_shortcode' value='true' type='hidden' />";
|
214 |
$return_str .= "<input name='is_on_home' value='$is_on_home' type='hidden' />";
|
215 |
|
230 |
|
231 |
if ( 'json' === $rtmedia_query->format ) {
|
232 |
$this->json_output();
|
|
|
|
|
233 |
}
|
234 |
}
|
235 |
|
260 |
if ( $rtmedia_query->media ) {
|
261 |
|
262 |
// Remove all filters used for search functionality to avoid modifying query for current media results.
|
263 |
+
remove_filter( 'rtmedia-model-where-query', 'rtmedia_search_fillter_where_query' );
|
264 |
+
remove_filter( 'rtmedia-get-album-where-query', 'rtmedia_search_fillter_where_query' );
|
265 |
+
remove_filter( 'rtmedia-get-group-album-where-query', 'rtmedia_search_fillter_where_query' );
|
266 |
remove_filter( 'rtmedia-model-join-query', 'rtmedia_search_fillter_join_query', 11 );
|
267 |
+
remove_filter( 'rtmedia-model-query-columns', 'rtmedia_model_query_columns' );
|
268 |
|
269 |
foreach ( $rtmedia_query->media as $key => $media ) {
|
270 |
|
295 |
$return_array['prev'] = rtmedia_page() - 1;
|
296 |
$return_array['next'] = ( rtmedia_offset() + rtmedia_per_page_media() < rtmedia_count() ) ? ( rtmedia_page() + 1 ) : - 1;
|
297 |
|
298 |
+
$model = new RTMediaModel();
|
299 |
$return_array['media_count'] = $model->get_media_count();
|
300 |
|
301 |
if ( isset( $rtmedia->options['general_display_media'] ) && 'pagination' === $options['general_display_media'] ) {
|
314 |
public function check_return_edit() {
|
315 |
global $rtmedia_query;
|
316 |
|
317 |
+
if ( 'edit' === $rtmedia_query->action_query->action && count( $_POST ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing, WordPress.Security.NonceVerification.NoNonceVerification
|
318 |
$this->save_edit();
|
319 |
}
|
320 |
|
402 |
// Replacing the filename with new effected filename.
|
403 |
$activity_content = str_replace( $rtmedia_filepath_old, $thumbnailinfo[0], $activity_content_new );
|
404 |
|
405 |
+
$wpdb->update( $bp->activity->table_name, array( 'content' => $activity_content ), array( 'id' => $activity_id ) ); // phpcs:ignore
|
406 |
}
|
407 |
}
|
408 |
}
|
520 |
|
521 |
$_selected_arr = filter_input_array( INPUT_POST, $filters );
|
522 |
$_selected = $_selected_arr['selected'];
|
523 |
+
if ( ! empty( $submit ) ) {
|
524 |
$data_array = array( 'media_title', 'description', 'privacy' );
|
525 |
$data = rtmedia_sanitize_object( $_POST, $data_array );
|
526 |
$album = $model->get_media( array( 'id' => $rtmedia_query->media_query['album_id'] ), false, false );
|
592 |
return;
|
593 |
}
|
594 |
|
595 |
+
if ( ! count( $_POST ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing, WordPress.Security.NonceVerification.NoNonceVerification
|
596 |
return;
|
597 |
}
|
598 |
|
898 |
if ( ! empty( $_rt_ajax ) ) {
|
899 |
global $wpdb;
|
900 |
|
901 |
+
$comments = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $wpdb->comments WHERE comment_ID = %d limit 100", $id ), ARRAY_A ); // phpcs:ignore
|
902 |
// @todo: Change a.rtmedia-comment-like-click attribute to data-comment-id from data-comment_id in rtmedia-likes (https://github.com/rtCamp/rtmedia-likes) addon.
|
903 |
echo rmedia_single_comment( $comments ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Contains data-* attributes.
|
904 |
exit;
|
978 |
/**
|
979 |
* Validates all the attributes for gallery shortcode
|
980 |
*
|
981 |
+
* @global RTMedia $rtmedia
|
982 |
*
|
983 |
* @param array $attr Attributes array.
|
984 |
*
|
1078 |
$template = 'media-single-edit';
|
1079 |
}
|
1080 |
} else {
|
1081 |
+
return null;
|
1082 |
}
|
1083 |
}
|
1084 |
|
1145 |
'rt_media_thumbnail' => array(
|
1146 |
'width' => $rtmedia->options['defaultSizes_photo_thumbnail_width'],
|
1147 |
'height' => $rtmedia->options['defaultSizes_photo_thumbnail_height'],
|
1148 |
+
'crop' => ! ( ( 0 === intval( $rtmedia->options['defaultSizes_photo_thumbnail_crop'] ) ) ),
|
1149 |
),
|
1150 |
'rt_media_activity_image' => array(
|
1151 |
'width' => $rtmedia->options['defaultSizes_photo_medium_width'],
|
1152 |
'height' => $rtmedia->options['defaultSizes_photo_medium_height'],
|
1153 |
+
'crop' => ! ( ( 0 === intval( $rtmedia->options['defaultSizes_photo_medium_crop'] ) ) ),
|
1154 |
),
|
1155 |
'rt_media_single_image' => array(
|
1156 |
'width' => $rtmedia->options['defaultSizes_photo_large_width'],
|
1157 |
'height' => $rtmedia->options['defaultSizes_photo_large_height'],
|
1158 |
+
'crop' => ! ( ( 0 === intval( $rtmedia->options['defaultSizes_photo_large_crop'] ) ) ),
|
1159 |
),
|
1160 |
'rt_media_featured_image' => array(
|
1161 |
'width' => $rtmedia->options['defaultSizes_featured_default_width'],
|
1162 |
'height' => $rtmedia->options['defaultSizes_featured_default_height'],
|
1163 |
+
'crop' => ! ( ( 0 === intval( $rtmedia->options['defaultSizes_featured_default_crop'] ) ) ),
|
1164 |
),
|
1165 |
);
|
1166 |
|
app/main/controllers/template/rtmedia-actions.php
CHANGED
@@ -417,14 +417,14 @@ function update_group_media_privacy( $group_id ) {
|
|
417 |
|
418 |
if ( 'public' !== $group->status ) {
|
419 |
// when group settings are updated and is private/hidden, set media privacy to 20.
|
420 |
-
$update_sql = $wpdb->prepare( "UPDATE
|
421 |
} else {
|
422 |
// when group settings are updated and is private/hidden, set media privacy to 0.
|
423 |
-
$update_sql = $wpdb->prepare( "UPDATE
|
424 |
}
|
425 |
|
426 |
// update the medias.
|
427 |
-
$wpdb->query( $update_sql ); // phpcs:ignore
|
428 |
}
|
429 |
}
|
430 |
|
@@ -510,11 +510,12 @@ function rtmedia_admin_pages_content( $page ) {
|
|
510 |
if ( 'rtmedia-hire-us' === $page ) {
|
511 |
?>
|
512 |
<div class="rtm-hire-us-container rtm-page-container">
|
|
|
513 |
<h3 class="rtm-setting-title rtm-show"><?php esc_html_e( 'You can consider rtMedia Team for following :', 'buddypress-media' ); ?></h3>
|
514 |
<ol class="rtm-hire-points">
|
515 |
-
<li><?php esc_html_e( 'rtMedia Customization ( in Upgrade Safe manner )', 'buddypress-media' ); ?></li>
|
516 |
-
<li><?php esc_html_e( 'WordPress/BuddyPress Theme Design and Development', 'buddypress-media' ); ?></li>
|
517 |
-
<li><?php esc_html_e( 'WordPress/BuddyPress Plugin Development', 'buddypress-media' ); ?></li>
|
518 |
</ol>
|
519 |
<div class="clearfix">
|
520 |
<a href="https://rtmedia.io/enterprise-plan" class="button button-primary button-big" target="_blank"><?php esc_html_e( 'Contact Us', 'buddypress-media' ); ?></a>
|
@@ -670,9 +671,11 @@ function rtm_get_album_media_count( $album_id ) {
|
|
670 |
|
671 |
/**
|
672 |
* HTML markup for displaying Media Count of album in album list gallery
|
|
|
|
|
|
|
673 |
*/
|
674 |
-
function rtm_album_media_count() {
|
675 |
-
|
676 |
$rtmedia_album_count_status = array(
|
677 |
'status' => true,
|
678 |
'before_string' => '',
|
@@ -690,13 +693,13 @@ function rtm_album_media_count() {
|
|
690 |
|
691 |
if ( isset( $rtmedia_album_count_status ) && $rtmedia_album_count_status['status'] ) {
|
692 |
?>
|
693 |
-
<div class="rtmedia-album-media-count" title="<?php echo esc_attr( rtmedia_album_mediacounter() . ' ' . RTMEDIA_MEDIA_LABEL ); ?>">
|
694 |
-
<?php echo esc_html( $rtmedia_album_count_status['before_string'] ) . esc_html( rtmedia_album_mediacounter() ) . esc_html( $rtmedia_album_count_status['after_string'] ); ?>
|
695 |
</div>
|
696 |
<?php
|
697 |
}
|
698 |
}
|
699 |
-
add_action( 'rtmedia_after_album_gallery_item', 'rtm_album_media_count' );
|
700 |
|
701 |
/**
|
702 |
* Get the information ( status, expiry date ) of all the installed addons and store in site option
|
@@ -758,8 +761,8 @@ function rt_check_addon_status() {
|
|
758 |
do_action( 'rtmedia_before_addon_activate', $addon, $addon_active );
|
759 |
|
760 |
if ( isset( $addon_active->expires ) && 'lifetime' !== $addon_active->expires ) {
|
761 |
-
$now = current_time( 'timestamp' );
|
762 |
-
$expiration = strtotime( $addon_active->expires, current_time( 'timestamp' ) );
|
763 |
|
764 |
// For regularly check for license key is expired from store or not.
|
765 |
// Check if last verification attempt is expired or not.
|
@@ -819,7 +822,7 @@ function rtmedia_addons_admin_notice() {
|
|
819 |
|
820 |
if ( 'rtmedia_page_rtmedia-license' === $screen->id ) {
|
821 |
|
822 |
-
if ( isset( $_POST ) && count( $_POST ) > 0 ) { // phpcs:ignore WordPress.Security.NonceVerification.NoNonceVerification
|
823 |
?>
|
824 |
<div class="notice notice-success is-dismissible">
|
825 |
<p><?php esc_html_e( 'Settings has been saved successfully.', 'buddypress-media' ); ?></p>
|
@@ -917,11 +920,11 @@ function add_search_filter( $attr = null ) {
|
|
917 |
if ( isset( $search_by ) && $search_by ) {
|
918 |
$html .= "<select id='search_by' class='search_by'>";
|
919 |
|
920 |
-
if ( ! rtm_check_member_type() || strpos( $_SERVER['REQUEST_URI'], 'members' ) || ( isset( $attr['media_author'] ) && $attr['media_author'] ) ) {
|
921 |
unset( $search_by['member_type'] );
|
922 |
}
|
923 |
|
924 |
-
if ( strpos( $_SERVER['REQUEST_URI'], 'members' ) ) {
|
925 |
unset( $search_by['author'] );
|
926 |
}
|
927 |
|
@@ -929,7 +932,7 @@ function add_search_filter( $attr = null ) {
|
|
929 |
unset( $search_by['attribute'] );
|
930 |
}
|
931 |
|
932 |
-
if ( strpos( $_SERVER['REQUEST_URI'], 'attribute' ) ) {
|
933 |
unset( $search_by['attribute'] );
|
934 |
}
|
935 |
|
417 |
|
418 |
if ( 'public' !== $group->status ) {
|
419 |
// when group settings are updated and is private/hidden, set media privacy to 20.
|
420 |
+
$update_sql = $wpdb->prepare( "UPDATE $model->table_name SET privacy = '20' where context='group' AND context_id=%d AND privacy <> 80 ", $group_id ); // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared, WordPress.DB.PreparedSQL.NotPrepared
|
421 |
} else {
|
422 |
// when group settings are updated and is private/hidden, set media privacy to 0.
|
423 |
+
$update_sql = $wpdb->prepare( "UPDATE $model->table_name SET privacy = '0' where context='group' AND context_id=%d AND privacy <> 80 ", $group_id ); // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared, WordPress.DB.PreparedSQL.NotPrepared
|
424 |
}
|
425 |
|
426 |
// update the medias.
|
427 |
+
$wpdb->query( $update_sql ); // phpcs:ignore
|
428 |
}
|
429 |
}
|
430 |
|
510 |
if ( 'rtmedia-hire-us' === $page ) {
|
511 |
?>
|
512 |
<div class="rtm-hire-us-container rtm-page-container">
|
513 |
+
<span class="dashicons dashicons-groups"></span>
|
514 |
<h3 class="rtm-setting-title rtm-show"><?php esc_html_e( 'You can consider rtMedia Team for following :', 'buddypress-media' ); ?></h3>
|
515 |
<ol class="rtm-hire-points">
|
516 |
+
<li><span class="dashicons dashicons-admin-settings"></span><?php esc_html_e( 'rtMedia Customization ( in Upgrade Safe manner )', 'buddypress-media' ); ?></li>
|
517 |
+
<li><span class="dashicons dashicons-admin-appearance"></span><?php esc_html_e( 'WordPress/BuddyPress Theme Design and Development', 'buddypress-media' ); ?></li>
|
518 |
+
<li><span class="dashicons dashicons-admin-plugins"></span><?php esc_html_e( 'WordPress/BuddyPress Plugin Development', 'buddypress-media' ); ?></li>
|
519 |
</ol>
|
520 |
<div class="clearfix">
|
521 |
<a href="https://rtmedia.io/enterprise-plan" class="button button-primary button-big" target="_blank"><?php esc_html_e( 'Contact Us', 'buddypress-media' ); ?></a>
|
671 |
|
672 |
/**
|
673 |
* HTML markup for displaying Media Count of album in album list gallery
|
674 |
+
*
|
675 |
+
* @param int $media_id media_id.
|
676 |
+
* @param int $album_id album_id.
|
677 |
*/
|
678 |
+
function rtm_album_media_count( $media_id, $album_id ) {
|
|
|
679 |
$rtmedia_album_count_status = array(
|
680 |
'status' => true,
|
681 |
'before_string' => '',
|
693 |
|
694 |
if ( isset( $rtmedia_album_count_status ) && $rtmedia_album_count_status['status'] ) {
|
695 |
?>
|
696 |
+
<div class="rtmedia-album-media-count" title="<?php echo esc_attr( rtmedia_album_mediacounter( $album_id ) . ' ' . RTMEDIA_MEDIA_LABEL ); ?>">
|
697 |
+
<?php echo esc_html( $rtmedia_album_count_status['before_string'] ) . esc_html( rtmedia_album_mediacounter( $album_id ) ) . esc_html( $rtmedia_album_count_status['after_string'] ); ?>
|
698 |
</div>
|
699 |
<?php
|
700 |
}
|
701 |
}
|
702 |
+
add_action( 'rtmedia_after_album_gallery_item', 'rtm_album_media_count', 10, 2 );
|
703 |
|
704 |
/**
|
705 |
* Get the information ( status, expiry date ) of all the installed addons and store in site option
|
761 |
do_action( 'rtmedia_before_addon_activate', $addon, $addon_active );
|
762 |
|
763 |
if ( isset( $addon_active->expires ) && 'lifetime' !== $addon_active->expires ) {
|
764 |
+
$now = current_time( 'timestamp' ); // phpcs:ignore WordPress.DateTime.CurrentTimeTimestamp.Requested
|
765 |
+
$expiration = strtotime( $addon_active->expires, current_time( 'timestamp' ) ); // phpcs:ignore WordPress.DateTime.CurrentTimeTimestamp.Requested
|
766 |
|
767 |
// For regularly check for license key is expired from store or not.
|
768 |
// Check if last verification attempt is expired or not.
|
822 |
|
823 |
if ( 'rtmedia_page_rtmedia-license' === $screen->id ) {
|
824 |
|
825 |
+
if ( isset( $_POST ) && count( $_POST ) > 0 ) { // phpcs:ignore WordPress.Security.NonceVerification.NoNonceVerification, WordPress.Security.NonceVerification.Missing
|
826 |
?>
|
827 |
<div class="notice notice-success is-dismissible">
|
828 |
<p><?php esc_html_e( 'Settings has been saved successfully.', 'buddypress-media' ); ?></p>
|
920 |
if ( isset( $search_by ) && $search_by ) {
|
921 |
$html .= "<select id='search_by' class='search_by'>";
|
922 |
|
923 |
+
if ( ! rtm_check_member_type() || strpos( $_SERVER['REQUEST_URI'], 'members' ) || ( isset( $attr['media_author'] ) && $attr['media_author'] ) ) { // phpcs:ignore
|
924 |
unset( $search_by['member_type'] );
|
925 |
}
|
926 |
|
927 |
+
if ( strpos( $_SERVER['REQUEST_URI'], 'members' ) ) { // phpcs:ignore
|
928 |
unset( $search_by['author'] );
|
929 |
}
|
930 |
|
932 |
unset( $search_by['attribute'] );
|
933 |
}
|
934 |
|
935 |
+
if ( strpos( $_SERVER['REQUEST_URI'], 'attribute' ) ) {// phpcs:ignore
|
936 |
unset( $search_by['attribute'] );
|
937 |
}
|
938 |
|
app/main/controllers/template/rtmedia-functions.php
CHANGED
@@ -13,9 +13,7 @@
|
|
13 |
* @return bool
|
14 |
*/
|
15 |
function have_rtmedia() {
|
16 |
-
|
17 |
global $rtmedia_query;
|
18 |
-
|
19 |
return $rtmedia_query->have_media();
|
20 |
|
21 |
}
|
@@ -53,12 +51,12 @@ function rtmedia() {
|
|
53 |
/**
|
54 |
* Echo the number of media in particular album
|
55 |
*
|
56 |
-
* @global object $rtmedia_media
|
57 |
-
* @global array $rtmedia_backbone
|
58 |
-
*
|
59 |
* @return int
|
60 |
*/
|
61 |
-
function rtmedia_album_mediacounter() {
|
62 |
|
63 |
global $rtmedia_backbone;
|
64 |
|
@@ -66,8 +64,8 @@ function rtmedia_album_mediacounter() {
|
|
66 |
echo '<%= media_count %>';
|
67 |
} else {
|
68 |
global $rtmedia_media;
|
69 |
-
|
70 |
-
return rtm_get_album_media_count( $
|
71 |
}
|
72 |
|
73 |
}
|
@@ -340,7 +338,6 @@ function rtmedia_id( $media_id = false ) {
|
|
340 |
0,
|
341 |
1
|
342 |
);
|
343 |
-
|
344 |
if ( isset( $media ) && count( $media ) > 0 ) {
|
345 |
return $media[0]->id;
|
346 |
}
|
@@ -528,11 +525,12 @@ function rtmedia_cover_art( $id = false ) {
|
|
528 |
/**
|
529 |
* Echo permalink of the media
|
530 |
*
|
531 |
-
* @
|
532 |
*
|
533 |
-
* @
|
|
|
534 |
*/
|
535 |
-
function rtmedia_permalink( $media_id =
|
536 |
|
537 |
global $rtmedia_backbone;
|
538 |
|
@@ -674,9 +672,7 @@ function rtmedia_image( $size = 'rt_media_thumbnail', $id = false, $echo = true,
|
|
674 |
$media = $model->get_media(
|
675 |
array(
|
676 |
'id' => $id,
|
677 |
-
)
|
678 |
-
false,
|
679 |
-
false
|
680 |
);
|
681 |
|
682 |
/**
|
@@ -700,11 +696,10 @@ function rtmedia_image( $size = 'rt_media_thumbnail', $id = false, $echo = true,
|
|
700 |
|
701 |
if ( isset( $media_object->media_type ) ) {
|
702 |
|
703 |
-
if ( '
|
704 |
-
$thumbnail_id = ( isset( $media_object->cover_art )
|
705 |
-
|
706 |
-
|
707 |
-
) ) ? $media_object->cover_art : false;
|
708 |
$thumbnail_id = apply_filters( 'show_custom_album_cover', $thumbnail_id, $media_object->media_type, $media_object->id ); // for rtMedia pro users.
|
709 |
} elseif ( 'photo' === $media_object->media_type ) {
|
710 |
$thumbnail_id = $media_object->media_id;
|
@@ -917,12 +912,12 @@ function rtmedia_album_image( $size = 'thumbnail', $id = false ) {
|
|
917 |
/**
|
918 |
* Get duration for media
|
919 |
*
|
920 |
-
* @global array $rtmedia_backbone
|
921 |
-
* @global object $rtmedia_media
|
922 |
-
*
|
923 |
* @param bool|int $id Media id.
|
924 |
*
|
925 |
-
* @return
|
|
|
|
|
|
|
926 |
*/
|
927 |
function rtmedia_duration( $id = false ) {
|
928 |
|
@@ -939,9 +934,7 @@ function rtmedia_duration( $id = false ) {
|
|
939 |
$media = $model->get_media(
|
940 |
array(
|
941 |
'id' => $id,
|
942 |
-
)
|
943 |
-
false,
|
944 |
-
false
|
945 |
);
|
946 |
|
947 |
if ( isset( $media[0] ) ) {
|
@@ -1457,7 +1450,7 @@ function rtmedia_get_media_comment_count( $media_id = false ) {
|
|
1457 |
$post_id = rtmedia_media_id( $media_id );
|
1458 |
}
|
1459 |
|
1460 |
-
$comment_count = $wpdb->get_results( $wpdb->prepare( "SELECT count(*) FROM $wpdb->comments WHERE comment_post_ID = %d", $post_id ), ARRAY_N );
|
1461 |
|
1462 |
if ( is_array( $comment_count ) && is_array( $comment_count[0] ) && isset( $comment_count[0][0] ) ) {
|
1463 |
return $comment_count[0][0];
|
@@ -1559,13 +1552,16 @@ function rtmedia_pagination_next_link() {
|
|
1559 |
|
1560 |
// if there are more media than number of media per page to show than $rtmedia_query->media->media_id will be set other wise take media_id of very first media.
|
1561 |
// For more understanding why array became object check rewind_media() in RTMediaQuery.php file and check it's call.
|
1562 |
-
|
1563 |
-
$post = get_post( get_post_field( 'post_parent', $post_id ) );
|
1564 |
|
1565 |
-
|
1566 |
-
$
|
1567 |
-
|
1568 |
-
$
|
|
|
|
|
|
|
|
|
1569 |
}
|
1570 |
}
|
1571 |
}
|
@@ -1676,7 +1672,7 @@ function rtmedia_pagination_page_link( $page_no = '' ) {
|
|
1676 |
|
1677 |
// Do not add media slug for gallery shortcode and sitewide gallery.
|
1678 |
if ( $rtmedia_interaction && isset( $rtmedia_interaction->context ) && ! in_array( $rtmedia_interaction->context->type, array( 'page', 'rtmedia_album', 'post' ), true ) && ! $is_shortcode_on_home ) {
|
1679 |
-
|
1680 |
}
|
1681 |
|
1682 |
// For albums tab.
|
@@ -2055,7 +2051,7 @@ function update_activity_after_thumb_set( $id ) {
|
|
2055 |
$activity_text = bp_activity_get_meta( $activity_id, 'bp_activity_text' );
|
2056 |
$obj_activity->activity_text = $activity_text;
|
2057 |
$activity_content = $obj_activity->create_activity_html();
|
2058 |
-
|
2059 |
$wpdb->update(
|
2060 |
$bp->activity->table_name,
|
2061 |
array(
|
@@ -2095,7 +2091,7 @@ function rtmedia_update_content_of_comment_media( $media_id, $activity_content )
|
|
2095 |
|
2096 |
// check is activity id is empty or not.
|
2097 |
if ( isset( $activity_id ) && ! empty( $activity_id ) ) {
|
2098 |
-
$update = $wpdb->update( $wpdb->base_prefix . 'bp_activity', array( 'content' => $activity_content ), array( 'id' => $activity_id ) );
|
2099 |
}
|
2100 |
|
2101 |
// update comment content.
|
@@ -2108,7 +2104,7 @@ function rtmedia_update_content_of_comment_media( $media_id, $activity_content )
|
|
2108 |
$activity_content = str_replace( 'rtmedia-list-item', 'rtmedia-comment-media-list-item', $activity_content );
|
2109 |
$activity_content = str_replace( 'rtmedia-list', 'rtmedia-comment-media-list', $activity_content );
|
2110 |
$activity_content = str_replace( 'rtmedia-comment-media-list-item', 'rtmedia-list-item', $activity_content );
|
2111 |
-
$update = $wpdb->update( $wpdb->base_prefix . 'comments', array( 'comment_content' => $activity_content ), array( 'comment_ID' => $comment_id ) );
|
2112 |
}
|
2113 |
}
|
2114 |
}
|
@@ -2151,7 +2147,7 @@ function get_video_without_thumbs() {
|
|
2151 |
global $wpdb;
|
2152 |
|
2153 |
$rtmedia_model = new RTMediaModel();
|
2154 |
-
$results = $wpdb->get_col( $wpdb->prepare( "select media_id from
|
2155 |
|
2156 |
return $results;
|
2157 |
|
@@ -2612,7 +2608,7 @@ function rtmedia_is_album_editable() {
|
|
2612 |
*/
|
2613 |
function rtmedia_sub_nav() {
|
2614 |
|
2615 |
-
// phpcs:disable WordPress.NamingConventions.ValidVariableName.NotSnakeCase
|
2616 |
global $rtMediaNav;
|
2617 |
|
2618 |
$rtMediaNav = new RTMediaNav();
|
@@ -3772,7 +3768,7 @@ function rtmedia_get_allowed_upload_types_array() {
|
|
3772 |
function rtmedia_add_media( $upload_params = array() ) {
|
3773 |
|
3774 |
if ( empty( $upload_params ) ) {
|
3775 |
-
$upload_params = $_POST; // phpcs:ignore
|
3776 |
}
|
3777 |
|
3778 |
$upload_model = new RTMediaUploadModel();
|
@@ -4526,6 +4522,7 @@ function rtmedia_activity_exporter( $email_address, $page = 1 ) {
|
|
4526 |
$activities = wp_cache_get( $activities_cache_key, 'activity_exporter' );
|
4527 |
|
4528 |
if ( false === $activities ) {
|
|
|
4529 |
$activities = $wpdb->get_results(
|
4530 |
$wpdb->prepare(
|
4531 |
'SELECT * FROM ' . $wpdb->prefix . "bp_activity WHERE user_id=%d and type='rtmedia_update' LIMIT %d OFFSET %d",
|
@@ -4554,7 +4551,7 @@ function rtmedia_activity_exporter( $email_address, $page = 1 ) {
|
|
4554 |
$activity_count = wp_cache_get( $activity_count_key, 'activity_exporter' );
|
4555 |
|
4556 |
if ( false === $activity_results || false === $activity_count ) {
|
4557 |
-
$activity_results = $wpdb->get_results( $wpdb->prepare( 'SELECT media_id, media_title FROM ' . $wpdb->prefix . 'rt_rtm_media WHERE activity_id=%d', $activity_id ) );
|
4558 |
$activity_count = $wpdb->num_rows;
|
4559 |
|
4560 |
wp_cache_set( $activity_cache_key, $activity_results, 'activity_exporter', 300 );
|
@@ -4645,6 +4642,7 @@ function rtmedia_shortcode_upload_exporter( $email_address, $page = 1 ) {
|
|
4645 |
$media_count = wp_cache_get( $media_count_key, 'upload_exporter' );
|
4646 |
|
4647 |
if ( false === $media || false === $media_count ) {
|
|
|
4648 |
$media = $wpdb->get_results(
|
4649 |
$wpdb->prepare(
|
4650 |
'SELECT media.media_id, media.media_title, media.upload_date, album.media_title AS album_title FROM ' . $wpdb->prefix . 'rt_rtm_media AS media, ' . $wpdb->prefix . 'rt_rtm_media AS album WHERE media.album_id=album.id AND media.activity_id=0 AND media.media_author=%d LIMIT %d OFFSET %d',
|
@@ -4750,6 +4748,7 @@ function rtmedia_activity_comments_exporter( $email_address, $page = 1 ) {
|
|
4750 |
$comments = wp_cache_get( $activity_comment_cache_key, 'comments_exporter' );
|
4751 |
|
4752 |
if ( false === $comments || false === $comment_count ) {
|
|
|
4753 |
$comments = $wpdb->get_results(
|
4754 |
$wpdb->prepare(
|
4755 |
'SELECT * FROM ' . $wpdb->prefix . "bp_activity WHERE user_id=%d and type='activity_comment' LIMIT %d OFFSET %d",
|
@@ -4778,6 +4777,7 @@ function rtmedia_activity_comments_exporter( $email_address, $page = 1 ) {
|
|
4778 |
$comment_results = wp_cache_get( $comment_cache_key, 'comments_exporter' );
|
4779 |
|
4780 |
if ( false === $comment_results ) {
|
|
|
4781 |
$comment_results = $wpdb->get_results( $wpdb->prepare( 'SELECT media_id, media_title FROM ' . $wpdb->prefix . 'rt_rtm_media WHERE activity_id=%d', $comment_id ) );
|
4782 |
wp_cache_set( $comment_cache_key, $comment_results, 'comments_exporter', 300 );
|
4783 |
}
|
@@ -5057,7 +5057,7 @@ function rtmedia_eraser( $email_address, $page = 1 ) {
|
|
5057 |
$number * ( $page - 1 )
|
5058 |
);
|
5059 |
|
5060 |
-
$media_ids = $wpdb->get_col( $query ); // phpcs:ignore
|
5061 |
|
5062 |
foreach ( $media_ids as $media_id ) {
|
5063 |
|
@@ -5126,7 +5126,7 @@ function rtmedia_album_eraser( $email_address, $page = 1 ) {
|
|
5126 |
$number
|
5127 |
);
|
5128 |
|
5129 |
-
$items_removed = $wpdb->query( $query );
|
5130 |
|
5131 |
$query = $wpdb->prepare(
|
5132 |
'DELETE FROM ' . $wpdb->prefix . "posts WHERE post_type='rtmedia_album' AND post_author=%d AND ID NOT IN (" . $default_album_postid_str . ') LIMIT %d',
|
@@ -5134,9 +5134,8 @@ function rtmedia_album_eraser( $email_address, $page = 1 ) {
|
|
5134 |
$number
|
5135 |
);
|
5136 |
|
5137 |
-
$items_removed += $wpdb->query( $query );
|
5138 |
-
|
5139 |
-
$done = ( $items_removed < $number );
|
5140 |
|
5141 |
return array(
|
5142 |
'items_removed' => $items_removed,
|
13 |
* @return bool
|
14 |
*/
|
15 |
function have_rtmedia() {
|
|
|
16 |
global $rtmedia_query;
|
|
|
17 |
return $rtmedia_query->have_media();
|
18 |
|
19 |
}
|
51 |
/**
|
52 |
* Echo the number of media in particular album
|
53 |
*
|
54 |
+
* @global object $rtmedia_media rtmedia object.
|
55 |
+
* @global array $rtmedia_backbone rtmedia backbone
|
56 |
+
* @param int $id id.
|
57 |
* @return int
|
58 |
*/
|
59 |
+
function rtmedia_album_mediacounter( $id = null ) {
|
60 |
|
61 |
global $rtmedia_backbone;
|
62 |
|
64 |
echo '<%= media_count %>';
|
65 |
} else {
|
66 |
global $rtmedia_media;
|
67 |
+
$media_id = ! empty( $id ) ? $id : $rtmedia_media->id;
|
68 |
+
return rtm_get_album_media_count( $media_id );
|
69 |
}
|
70 |
|
71 |
}
|
338 |
0,
|
339 |
1
|
340 |
);
|
|
|
341 |
if ( isset( $media ) && count( $media ) > 0 ) {
|
342 |
return $media[0]->id;
|
343 |
}
|
525 |
/**
|
526 |
* Echo permalink of the media
|
527 |
*
|
528 |
+
* @param bool $media_id Media id.
|
529 |
*
|
530 |
+
* @global array $rtmedia_backbone
|
531 |
+
* @return void
|
532 |
*/
|
533 |
+
function rtmedia_permalink( $media_id = null ) {
|
534 |
|
535 |
global $rtmedia_backbone;
|
536 |
|
672 |
$media = $model->get_media(
|
673 |
array(
|
674 |
'id' => $id,
|
675 |
+
)
|
|
|
|
|
676 |
);
|
677 |
|
678 |
/**
|
696 |
|
697 |
if ( isset( $media_object->media_type ) ) {
|
698 |
|
699 |
+
if ( 'photo' !== $media_object->media_type ) {
|
700 |
+
$thumbnail_id = ( isset( $media_object->cover_art ) && ( ( false !== filter_var( $media_object->cover_art, FILTER_VALIDATE_URL ) )
|
701 |
+
|| ( 0 !== intval( $media_object->cover_art ) ) ) )
|
702 |
+
? $media_object->cover_art : false;
|
|
|
703 |
$thumbnail_id = apply_filters( 'show_custom_album_cover', $thumbnail_id, $media_object->media_type, $media_object->id ); // for rtMedia pro users.
|
704 |
} elseif ( 'photo' === $media_object->media_type ) {
|
705 |
$thumbnail_id = $media_object->media_id;
|
912 |
/**
|
913 |
* Get duration for media
|
914 |
*
|
|
|
|
|
|
|
915 |
* @param bool|int $id Media id.
|
916 |
*
|
917 |
+
* @return false|string|void
|
918 |
+
* @throws getid3_exception It throws getid3_exception.
|
919 |
+
* @global object $rtmedia_media
|
920 |
+
* @global array $rtmedia_backbone
|
921 |
*/
|
922 |
function rtmedia_duration( $id = false ) {
|
923 |
|
934 |
$media = $model->get_media(
|
935 |
array(
|
936 |
'id' => $id,
|
937 |
+
)
|
|
|
|
|
938 |
);
|
939 |
|
940 |
if ( isset( $media[0] ) ) {
|
1450 |
$post_id = rtmedia_media_id( $media_id );
|
1451 |
}
|
1452 |
|
1453 |
+
$comment_count = $wpdb->get_results( $wpdb->prepare( "SELECT count(*) FROM $wpdb->comments WHERE comment_post_ID = %d", $post_id ), ARRAY_N ); // phpcs:ignore
|
1454 |
|
1455 |
if ( is_array( $comment_count ) && is_array( $comment_count[0] ) && isset( $comment_count[0][0] ) ) {
|
1456 |
return $comment_count[0][0];
|
1552 |
|
1553 |
// if there are more media than number of media per page to show than $rtmedia_query->media->media_id will be set other wise take media_id of very first media.
|
1554 |
// For more understanding why array became object check rewind_media() in RTMediaQuery.php file and check it's call.
|
1555 |
+
if ( ! empty( $rtmedia_query->media ) ) {
|
|
|
1556 |
|
1557 |
+
$post_id = ( isset( $rtmedia_query->media->media_id ) ? $rtmedia_query->media->media_id : $rtmedia_query->media[0]->media_id );
|
1558 |
+
$post = get_post( get_post_field( 'post_parent', $post_id ) );
|
1559 |
+
|
1560 |
+
if ( isset( $post->post_name ) ) {
|
1561 |
+
$link .= $site_url . $post->post_name . '/';
|
1562 |
+
} else {
|
1563 |
+
$link .= $site_url;
|
1564 |
+
}
|
1565 |
}
|
1566 |
}
|
1567 |
}
|
1672 |
|
1673 |
// Do not add media slug for gallery shortcode and sitewide gallery.
|
1674 |
if ( $rtmedia_interaction && isset( $rtmedia_interaction->context ) && ! in_array( $rtmedia_interaction->context->type, array( 'page', 'rtmedia_album', 'post' ), true ) && ! $is_shortcode_on_home ) {
|
1675 |
+
$link .= RTMEDIA_MEDIA_SLUG . '/';
|
1676 |
}
|
1677 |
|
1678 |
// For albums tab.
|
2051 |
$activity_text = bp_activity_get_meta( $activity_id, 'bp_activity_text' );
|
2052 |
$obj_activity->activity_text = $activity_text;
|
2053 |
$activity_content = $obj_activity->create_activity_html();
|
2054 |
+
// phpcs:ignore
|
2055 |
$wpdb->update(
|
2056 |
$bp->activity->table_name,
|
2057 |
array(
|
2091 |
|
2092 |
// check is activity id is empty or not.
|
2093 |
if ( isset( $activity_id ) && ! empty( $activity_id ) ) {
|
2094 |
+
$update = $wpdb->update( $wpdb->base_prefix . 'bp_activity', array( 'content' => $activity_content ), array( 'id' => $activity_id ) ); // phpcs:ignore
|
2095 |
}
|
2096 |
|
2097 |
// update comment content.
|
2104 |
$activity_content = str_replace( 'rtmedia-list-item', 'rtmedia-comment-media-list-item', $activity_content );
|
2105 |
$activity_content = str_replace( 'rtmedia-list', 'rtmedia-comment-media-list', $activity_content );
|
2106 |
$activity_content = str_replace( 'rtmedia-comment-media-list-item', 'rtmedia-list-item', $activity_content );
|
2107 |
+
$update = $wpdb->update( $wpdb->base_prefix . 'comments', array( 'comment_content' => $activity_content ), array( 'comment_ID' => $comment_id ) ); // phpcs:ignore
|
2108 |
}
|
2109 |
}
|
2110 |
}
|
2147 |
global $wpdb;
|
2148 |
|
2149 |
$rtmedia_model = new RTMediaModel();
|
2150 |
+
$results = $wpdb->get_col( $wpdb->prepare( "select media_id from $rtmedia_model->table_name where media_type = %s and blog_id = %d and cover_art is null", 'video', get_current_blog_id() ) ); // phpcs:ignore
|
2151 |
|
2152 |
return $results;
|
2153 |
|
2608 |
*/
|
2609 |
function rtmedia_sub_nav() {
|
2610 |
|
2611 |
+
// phpcs:disable WordPress.NamingConventions.ValidVariableName.NotSnakeCase, WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase
|
2612 |
global $rtMediaNav;
|
2613 |
|
2614 |
$rtMediaNav = new RTMediaNav();
|
3768 |
function rtmedia_add_media( $upload_params = array() ) {
|
3769 |
|
3770 |
if ( empty( $upload_params ) ) {
|
3771 |
+
$upload_params = $_POST; // phpcs:ignore
|
3772 |
}
|
3773 |
|
3774 |
$upload_model = new RTMediaUploadModel();
|
4522 |
$activities = wp_cache_get( $activities_cache_key, 'activity_exporter' );
|
4523 |
|
4524 |
if ( false === $activities ) {
|
4525 |
+
// phpcs:ignore
|
4526 |
$activities = $wpdb->get_results(
|
4527 |
$wpdb->prepare(
|
4528 |
'SELECT * FROM ' . $wpdb->prefix . "bp_activity WHERE user_id=%d and type='rtmedia_update' LIMIT %d OFFSET %d",
|
4551 |
$activity_count = wp_cache_get( $activity_count_key, 'activity_exporter' );
|
4552 |
|
4553 |
if ( false === $activity_results || false === $activity_count ) {
|
4554 |
+
$activity_results = $wpdb->get_results( $wpdb->prepare( 'SELECT media_id, media_title FROM ' . $wpdb->prefix . 'rt_rtm_media WHERE activity_id=%d', $activity_id ) ); // phpcs:ignore
|
4555 |
$activity_count = $wpdb->num_rows;
|
4556 |
|
4557 |
wp_cache_set( $activity_cache_key, $activity_results, 'activity_exporter', 300 );
|
4642 |
$media_count = wp_cache_get( $media_count_key, 'upload_exporter' );
|
4643 |
|
4644 |
if ( false === $media || false === $media_count ) {
|
4645 |
+
// phpcs:ignore
|
4646 |
$media = $wpdb->get_results(
|
4647 |
$wpdb->prepare(
|
4648 |
'SELECT media.media_id, media.media_title, media.upload_date, album.media_title AS album_title FROM ' . $wpdb->prefix . 'rt_rtm_media AS media, ' . $wpdb->prefix . 'rt_rtm_media AS album WHERE media.album_id=album.id AND media.activity_id=0 AND media.media_author=%d LIMIT %d OFFSET %d',
|
4748 |
$comments = wp_cache_get( $activity_comment_cache_key, 'comments_exporter' );
|
4749 |
|
4750 |
if ( false === $comments || false === $comment_count ) {
|
4751 |
+
// phpcs:ignore
|
4752 |
$comments = $wpdb->get_results(
|
4753 |
$wpdb->prepare(
|
4754 |
'SELECT * FROM ' . $wpdb->prefix . "bp_activity WHERE user_id=%d and type='activity_comment' LIMIT %d OFFSET %d",
|
4777 |
$comment_results = wp_cache_get( $comment_cache_key, 'comments_exporter' );
|
4778 |
|
4779 |
if ( false === $comment_results ) {
|
4780 |
+
// phpcs:ignore
|
4781 |
$comment_results = $wpdb->get_results( $wpdb->prepare( 'SELECT media_id, media_title FROM ' . $wpdb->prefix . 'rt_rtm_media WHERE activity_id=%d', $comment_id ) );
|
4782 |
wp_cache_set( $comment_cache_key, $comment_results, 'comments_exporter', 300 );
|
4783 |
}
|
5057 |
$number * ( $page - 1 )
|
5058 |
);
|
5059 |
|
5060 |
+
$media_ids = $wpdb->get_col( $query ); // phpcs:ignore
|
5061 |
|
5062 |
foreach ( $media_ids as $media_id ) {
|
5063 |
|
5126 |
$number
|
5127 |
);
|
5128 |
|
5129 |
+
$items_removed = $wpdb->query( $query ); // phpcs:ignore
|
5130 |
|
5131 |
$query = $wpdb->prepare(
|
5132 |
'DELETE FROM ' . $wpdb->prefix . "posts WHERE post_type='rtmedia_album' AND post_author=%d AND ID NOT IN (" . $default_album_postid_str . ') LIMIT %d',
|
5134 |
$number
|
5135 |
);
|
5136 |
|
5137 |
+
$items_removed += $wpdb->query( $query ); // phpcs:ignore
|
5138 |
+
$done = ( $items_removed < $number );
|
|
|
5139 |
|
5140 |
return array(
|
5141 |
'items_removed' => $items_removed,
|
app/main/controllers/upload/RTMediaUploadEndpoint.php
CHANGED
@@ -35,7 +35,7 @@ class RTMediaUploadEndpoint {
|
|
35 |
public function template_redirect( $create_activity = true ) {
|
36 |
// todo refactor below function so it takes param also and use if passed else use POST request.
|
37 |
ob_start();
|
38 |
-
if ( ! count( $_POST ) ) { // phpcs:ignore
|
39 |
include get_404_template();
|
40 |
} else {
|
41 |
|
35 |
public function template_redirect( $create_activity = true ) {
|
36 |
// todo refactor below function so it takes param also and use if passed else use POST request.
|
37 |
ob_start();
|
38 |
+
if ( ! count( $_POST ) ) { // phpcs:ignore
|
39 |
include get_404_template();
|
40 |
} else {
|
41 |
|
app/main/controllers/upload/RTMediaUploadModel.php
CHANGED
@@ -39,7 +39,7 @@ class RTMediaUploadModel {
|
|
39 |
*/
|
40 |
public function set_post_object( $upload_params = array() ) {
|
41 |
// todo: check what's in POST.
|
42 |
-
$upload_array = empty( $upload_params ) ? $_POST : $upload_params; // phpcs:ignore
|
43 |
$this->upload = wp_parse_args( $upload_array, $this->upload );
|
44 |
$this->sanitize_object();
|
45 |
|
39 |
*/
|
40 |
public function set_post_object( $upload_params = array() ) {
|
41 |
// todo: check what's in POST.
|
42 |
+
$upload_array = empty( $upload_params ) ? $_POST : $upload_params; // phpcs:ignore
|
43 |
$this->upload = wp_parse_args( $upload_array, $this->upload );
|
44 |
$this->sanitize_object();
|
45 |
|
app/main/controllers/upload/processors/RTMediaUploadFile.php
CHANGED
@@ -155,7 +155,7 @@ class RTMediaUploadFile {
|
|
155 |
// set dir as per the upload date.
|
156 |
if ( isset( $this->uploaded['date'] ) ) {
|
157 |
$str_date = strtotime( $this->uploaded['date'] );
|
158 |
-
$year_month = date( 'Y/m', $str_date );
|
159 |
|
160 |
$upload_dir['path'] = trailingslashit( str_replace( $upload_dir['subdir'], '', $upload_dir['path'] ) ) . $year_month;
|
161 |
$upload_dir['url'] = trailingslashit( str_replace( $upload_dir['subdir'], '', $upload_dir['url'] ) ) . $year_month;
|
155 |
// set dir as per the upload date.
|
156 |
if ( isset( $this->uploaded['date'] ) ) {
|
157 |
$str_date = strtotime( $this->uploaded['date'] );
|
158 |
+
$year_month = date( 'Y/m', $str_date ); // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date
|
159 |
|
160 |
$upload_dir['path'] = trailingslashit( str_replace( $upload_dir['subdir'], '', $upload_dir['path'] ) ) . $year_month;
|
161 |
$upload_dir['url'] = trailingslashit( str_replace( $upload_dir['subdir'], '', $upload_dir['url'] ) ) . $year_month;
|
app/main/routers/RTMediaRouter.php
CHANGED
@@ -365,7 +365,7 @@ class RTMediaRouter {
|
|
365 |
}
|
366 |
|
367 |
// Set the $post global.
|
368 |
-
$post = new WP_Post( (object) $dummy ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited
|
369 |
|
370 |
// Copy the new post global into the main $wp_query .
|
371 |
$wp_query->post = $post;
|
365 |
}
|
366 |
|
367 |
// Set the $post global.
|
368 |
+
$post = new WP_Post( (object) $dummy ); // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited, WordPress.WP.GlobalVariablesOverride.Prohibited
|
369 |
|
370 |
// Copy the new post global into the main $wp_query .
|
371 |
$wp_query->post = $post;
|
app/main/routers/query/RTMediaQuery.php
CHANGED
@@ -1127,8 +1127,8 @@ class RTMediaQuery {
|
|
1127 |
/**
|
1128 |
* Moves ahead in the loop of media within the album
|
1129 |
*
|
|
|
1130 |
* @global object $rtmedia_media
|
1131 |
-
* @return object
|
1132 |
*/
|
1133 |
public function rtmedia() {
|
1134 |
|
1127 |
/**
|
1128 |
* Moves ahead in the loop of media within the album
|
1129 |
*
|
1130 |
+
* @return array|string
|
1131 |
* @global object $rtmedia_media
|
|
|
1132 |
*/
|
1133 |
public function rtmedia() {
|
1134 |
|
index.php
CHANGED
@@ -1,16 +1,14 @@
|
|
1 |
<?php
|
2 |
-
/*
|
3 |
-
Plugin Name: rtMedia for WordPress, BuddyPress and bbPress
|
4 |
-
Plugin URI: https://rtmedia.io/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
5 |
-
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!
|
6 |
-
Version: 4.6.10
|
7 |
-
Author: rtCamp
|
8 |
-
Text Domain: buddypress-media
|
9 |
-
Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
10 |
-
Domain Path: /languages/
|
11 |
-
*/
|
12 |
-
|
13 |
/**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
* Main file, contains the plugin metadata and activation processes
|
15 |
*
|
16 |
* @package BuddyPressMedia
|
@@ -21,7 +19,7 @@ if ( ! defined( 'RTMEDIA_VERSION' ) ) {
|
|
21 |
/**
|
22 |
* The version of the plugin
|
23 |
*/
|
24 |
-
define( 'RTMEDIA_VERSION', '4.6.
|
25 |
}
|
26 |
|
27 |
if ( ! defined( 'RTMEDIA_PATH' ) ) {
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
/**
|
3 |
+
* Plugin Name: rtMedia for WordPress, BuddyPress and bbPress
|
4 |
+
* Plugin URI: https://rtmedia.io/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
5 |
+
* 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!
|
6 |
+
* Version: 4.6.11
|
7 |
+
* Author: rtCamp
|
8 |
+
* Text Domain: buddypress-media
|
9 |
+
* Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
|
10 |
+
* Domain Path: /languages/
|
11 |
+
*
|
12 |
* Main file, contains the plugin metadata and activation processes
|
13 |
*
|
14 |
* @package BuddyPressMedia
|
19 |
/**
|
20 |
* The version of the plugin
|
21 |
*/
|
22 |
+
define( 'RTMEDIA_VERSION', '4.6.11' );
|
23 |
}
|
24 |
|
25 |
if ( ! defined( 'RTMEDIA_PATH' ) ) {
|
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.6.
|
6 |
"Report-Msgid-Bugs-To: https://rtmedia.io/support/\n"
|
7 |
-
"POT-Creation-Date: 2022-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -24,471 +24,472 @@ msgstr ""
|
|
24 |
"X-Textdomain-Support: yes\n"
|
25 |
"X-Generator: grunt-wp-i18n 1.0.3\n"
|
26 |
|
27 |
-
#: app/admin/RTMediaAdmin.php:
|
28 |
msgid ""
|
29 |
"Install <a href=\"https://wordpress.org/plugins/transcoder/\" "
|
30 |
"target=\"_blank\">Transcoder plugin</a> to convert audio/video files and "
|
31 |
"thumbnails generation."
|
32 |
msgstr ""
|
33 |
|
34 |
-
#: app/admin/RTMediaAdmin.php:
|
35 |
#. translators: 1. Title.
|
36 |
msgid "View"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: app/admin/RTMediaAdmin.php:
|
40 |
#. translators: 1. Product page link.
|
41 |
-
msgid "
|
|
|
|
|
42 |
msgstr ""
|
43 |
|
44 |
-
#: app/admin/RTMediaAdmin.php:
|
45 |
-
msgid "rtMedia
|
46 |
msgstr ""
|
47 |
|
48 |
-
#: app/admin/RTMediaAdmin.php:
|
49 |
msgid "Meet InspireBook"
|
50 |
msgstr ""
|
51 |
|
52 |
-
#: app/admin/RTMediaAdmin.php:
|
53 |
msgid " - First official rtMedia premium theme."
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: app/admin/RTMediaAdmin.php:
|
57 |
msgid "rtMedia:"
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: app/admin/RTMediaAdmin.php:
|
61 |
msgid " You must"
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: app/admin/RTMediaAdmin.php:
|
65 |
msgid "update permalink structure"
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: app/admin/RTMediaAdmin.php:
|
69 |
msgid "to something other than the default for it to work."
|
70 |
msgstr ""
|
71 |
|
72 |
-
#: app/admin/RTMediaAdmin.php:
|
73 |
-
msgid "
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
msgid "your account"
|
78 |
msgstr ""
|
79 |
|
80 |
-
#: app/admin/RTMediaAdmin.php:
|
81 |
-
msgid "
|
82 |
msgstr ""
|
83 |
|
84 |
-
#: app/admin/RTMediaAdmin.php:
|
85 |
msgid "rtMedia Pro is released"
|
86 |
msgstr ""
|
87 |
|
88 |
-
#: app/admin/RTMediaAdmin.php:
|
89 |
msgid "Media Stats"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: app/admin/RTMediaAdmin.php:
|
93 |
msgid "Usage Stats"
|
94 |
msgstr ""
|
95 |
|
96 |
-
#: app/admin/RTMediaAdmin.php:
|
97 |
msgid "Total "
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: app/admin/RTMediaAdmin.php:
|
101 |
msgid "With Media"
|
102 |
msgstr ""
|
103 |
|
104 |
-
#: app/admin/RTMediaAdmin.php:
|
105 |
msgid "Comments "
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: app/admin/RTMediaAdmin.php:
|
109 |
msgid "Likes"
|
110 |
msgstr ""
|
111 |
|
112 |
-
#: app/admin/RTMediaAdmin.php:
|
113 |
msgid "rtMedia Links:"
|
114 |
msgstr ""
|
115 |
|
116 |
-
#: app/admin/RTMediaAdmin.php:
|
117 |
msgid "Homepage"
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: app/admin/RTMediaAdmin.php:
|
121 |
msgid "Free Support"
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: app/admin/RTMediaAdmin.php:
|
125 |
msgid "Premium Addons"
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: app/admin/RTMediaAdmin.php:
|
129 |
msgid "Right Now in rtMedia"
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: app/admin/RTMediaAdmin.php:
|
133 |
-
#: app/admin/RTMediaAdmin.php:
|
134 |
-
#: app/admin/RTMediaAdmin.php:
|
135 |
msgid "Settings"
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: app/admin/RTMediaAdmin.php:
|
139 |
-
#: app/admin/RTMediaAdmin.php:
|
140 |
-
#: app/admin/RTMediaAdmin.php:
|
141 |
#: app/helper/RTMediaSettings.php:261 app/helper/RTMediaSupport.php:87
|
142 |
#: app/helper/RTMediaSupport.php:88
|
143 |
msgid "Support"
|
144 |
msgstr ""
|
145 |
|
146 |
-
#: app/admin/RTMediaAdmin.php:
|
147 |
-
#: app/admin/RTMediaAdmin.php:
|
148 |
#: app/importers/RTMediaMigration.php:92 app/main/RTMedia.php:1207
|
149 |
-
#: app/main/RTMedia.php:
|
150 |
msgid "rtMedia"
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: app/admin/RTMediaAdmin.php:
|
154 |
-
#: app/admin/RTMediaAdmin.php:
|
155 |
-
#: app/admin/RTMediaAdmin.php:
|
156 |
msgid "Addons"
|
157 |
msgstr ""
|
158 |
|
159 |
-
#: app/admin/RTMediaAdmin.php:
|
160 |
-
#: app/admin/RTMediaAdmin.php:
|
161 |
-
#: app/admin/RTMediaAdmin.php:
|
162 |
msgid "Themes"
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: app/admin/RTMediaAdmin.php:
|
166 |
-
#: app/admin/RTMediaAdmin.php:
|
167 |
-
#: app/admin/RTMediaAdmin.php:
|
168 |
msgid "Hire Us"
|
169 |
msgstr ""
|
170 |
|
171 |
-
#: app/admin/RTMediaAdmin.php:
|
172 |
-
#: app/admin/RTMediaAdmin.php:
|
173 |
-
#: app/admin/RTMediaAdmin.php:
|
174 |
msgid "Licenses"
|
175 |
msgstr ""
|
176 |
|
177 |
-
#: app/admin/RTMediaAdmin.php:
|
178 |
msgid "Invalid value for [default_size_property]."
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: app/admin/RTMediaAdmin.php:
|
182 |
msgid "Please do not refresh this page."
|
183 |
msgstr ""
|
184 |
|
185 |
-
#: app/admin/RTMediaAdmin.php:
|
186 |
msgid "Something went wrong. Please "
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: app/admin/RTMediaAdmin.php:
|
190 |
msgid "refresh"
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: app/admin/RTMediaAdmin.php:
|
194 |
msgid " page."
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: app/admin/RTMediaAdmin.php:
|
198 |
msgid "This will subscribe you to the free plan."
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: app/admin/RTMediaAdmin.php:
|
202 |
msgid "Are you sure you want to disable the encoding service?"
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: app/admin/RTMediaAdmin.php:
|
206 |
msgid "Are you sure you want to enable the encoding service?"
|
207 |
msgstr ""
|
208 |
|
209 |
-
#: app/admin/RTMediaAdmin.php:
|
210 |
msgid "Settings have changed, you should save them!"
|
211 |
msgstr ""
|
212 |
|
213 |
-
#: app/admin/RTMediaAdmin.php:
|
214 |
msgid ""
|
215 |
"Number of video thumbnails to be generated should be greater than 0 in "
|
216 |
"media sizes settings. Setting it to default value 2."
|
217 |
msgstr ""
|
218 |
|
219 |
-
#: app/admin/RTMediaAdmin.php:
|
220 |
msgid ""
|
221 |
"Invalid value for number of video thumbnails in media sizes settings. "
|
222 |
"Setting it to round value"
|
223 |
msgstr ""
|
224 |
|
225 |
-
#: app/admin/RTMediaAdmin.php:
|
226 |
msgid ""
|
227 |
"Number of percentage in JPEG image quality should be greater than 0 in "
|
228 |
"media sizes settings. Setting it to default value 90."
|
229 |
msgstr ""
|
230 |
|
231 |
-
#: app/admin/RTMediaAdmin.php:
|
232 |
msgid ""
|
233 |
"Number of percentage in JPEG image quality should be less than 100 in media "
|
234 |
"sizes settings. Setting it to 100."
|
235 |
msgstr ""
|
236 |
|
237 |
-
#: app/admin/RTMediaAdmin.php:
|
238 |
msgid ""
|
239 |
"Invalid value for percentage in JPEG image quality in media sizes settings. "
|
240 |
"Setting it to round value"
|
241 |
msgstr ""
|
242 |
|
243 |
-
#: app/admin/RTMediaAdmin.php:
|
244 |
msgid ""
|
245 |
"Please enter positive integer value only. Setting number of media per page "
|
246 |
"value to default value 10."
|
247 |
msgstr ""
|
248 |
|
249 |
-
#: app/admin/RTMediaAdmin.php:
|
250 |
msgid ""
|
251 |
"Please enter positive integer value only. Setting number of media per page "
|
252 |
"value to round value"
|
253 |
msgstr ""
|
254 |
|
255 |
-
#: app/admin/RTMediaAdmin.php:
|
256 |
msgid "Request failed."
|
257 |
msgstr ""
|
258 |
|
259 |
-
#: app/admin/RTMediaAdmin.php:
|
260 |
msgid "You can not use @import statement in custom css"
|
261 |
msgstr ""
|
262 |
|
263 |
-
#: app/admin/RTMediaAdmin.php:
|
264 |
msgid "ON"
|
265 |
msgstr ""
|
266 |
|
267 |
-
#: app/admin/RTMediaAdmin.php:
|
268 |
msgid "OFF"
|
269 |
msgstr ""
|
270 |
|
271 |
-
#: app/admin/RTMediaAdmin.php:
|
272 |
msgid "Please enter WP Admin Login."
|
273 |
msgstr ""
|
274 |
|
275 |
-
#: app/admin/RTMediaAdmin.php:
|
276 |
msgid "Please enter WP Admin password."
|
277 |
msgstr ""
|
278 |
|
279 |
-
#: app/admin/RTMediaAdmin.php:
|
280 |
msgid "Please enter SSH / FTP host."
|
281 |
msgstr ""
|
282 |
|
283 |
-
#: app/admin/RTMediaAdmin.php:
|
284 |
msgid "Please enter SSH / FTP login."
|
285 |
msgstr ""
|
286 |
|
287 |
-
#: app/admin/RTMediaAdmin.php:
|
288 |
msgid "Please enter SSH / FTP password."
|
289 |
msgstr ""
|
290 |
|
291 |
-
#: app/admin/RTMediaAdmin.php:
|
292 |
msgid "Please fill all the fields."
|
293 |
msgstr ""
|
294 |
|
295 |
-
#: app/admin/RTMediaAdmin.php:
|
296 |
msgid "Empowering The Web With WordPress"
|
297 |
msgstr ""
|
298 |
|
299 |
-
#: app/admin/RTMediaAdmin.php:
|
300 |
msgid "Settings saved successfully!"
|
301 |
msgstr ""
|
302 |
|
303 |
-
#: app/admin/RTMediaAdmin.php:
|
304 |
msgid "Save Settings"
|
305 |
msgstr ""
|
306 |
|
307 |
-
#: app/admin/RTMediaAdmin.php:
|
308 |
msgid "Display"
|
309 |
msgstr ""
|
310 |
|
311 |
-
#: app/admin/RTMediaAdmin.php:
|
312 |
msgid "rtMedia BuddyPress"
|
313 |
msgstr ""
|
314 |
|
315 |
-
#: app/admin/RTMediaAdmin.php:
|
316 |
msgid "BuddyPress"
|
317 |
msgstr ""
|
318 |
|
319 |
-
#: app/admin/RTMediaAdmin.php:
|
320 |
msgid "rtMedia Types"
|
321 |
msgstr ""
|
322 |
|
323 |
-
#: app/admin/RTMediaAdmin.php:
|
324 |
msgid "Types"
|
325 |
msgstr ""
|
326 |
|
327 |
-
#: app/admin/RTMediaAdmin.php:
|
328 |
msgid "rtMedia Sizes"
|
329 |
msgstr ""
|
330 |
|
331 |
-
#: app/admin/RTMediaAdmin.php:
|
332 |
msgid "Media Sizes"
|
333 |
msgstr ""
|
334 |
|
335 |
-
#: app/admin/RTMediaAdmin.php:
|
336 |
msgid "rtMedia Privacy"
|
337 |
msgstr ""
|
338 |
|
339 |
-
#: app/admin/RTMediaAdmin.php:
|
340 |
#: app/main/controllers/privacy/RTMediaPrivacy.php:540
|
341 |
msgid "Privacy"
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: app/admin/RTMediaAdmin.php:
|
345 |
msgid "rtMedia Custom CSS"
|
346 |
msgstr ""
|
347 |
|
348 |
-
#: app/admin/RTMediaAdmin.php:
|
349 |
msgid "Custom CSS"
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: app/admin/RTMediaAdmin.php:
|
353 |
msgid "Other Settings"
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: app/admin/RTMediaAdmin.php:
|
357 |
msgid "Export/Import"
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: app/admin/RTMediaAdmin.php:
|
361 |
#. translators: 1. Home url.
|
362 |
msgid "I use @rtMediaWP http://rt.cx/rtmedia on %s"
|
363 |
msgstr ""
|
364 |
|
365 |
-
#: app/admin/RTMediaAdmin.php:
|
366 |
msgid "Post to Twitter Now"
|
367 |
msgstr ""
|
368 |
|
369 |
-
#: app/admin/RTMediaAdmin.php:
|
370 |
msgid "Post to Twitter"
|
371 |
msgstr ""
|
372 |
|
373 |
-
#: app/admin/RTMediaAdmin.php:
|
374 |
msgid "Share on Facebook Now"
|
375 |
msgstr ""
|
376 |
|
377 |
-
#: app/admin/RTMediaAdmin.php:
|
378 |
-
msgid "
|
379 |
msgstr ""
|
380 |
|
381 |
-
#: app/admin/RTMediaAdmin.php:
|
382 |
msgid "Rate rtMedia on Wordpress.org"
|
383 |
msgstr ""
|
384 |
|
385 |
-
#: app/admin/RTMediaAdmin.php:
|
386 |
-
msgid "Rate on Wordpress.org"
|
387 |
msgstr ""
|
388 |
|
389 |
-
#: app/admin/RTMediaAdmin.php:
|
390 |
msgid "Subscribe to our Feeds"
|
391 |
msgstr ""
|
392 |
|
393 |
-
#: app/admin/RTMediaAdmin.php:
|
394 |
msgid "Spread the Word"
|
395 |
msgstr ""
|
396 |
|
397 |
-
#: app/admin/RTMediaAdmin.php:
|
398 |
msgid "Subscribe"
|
399 |
msgstr ""
|
400 |
|
401 |
-
#: app/admin/RTMediaAdmin.php:
|
402 |
msgid "Unable to read file!"
|
403 |
msgstr ""
|
404 |
|
405 |
-
#: app/admin/RTMediaAdmin.php:
|
406 |
msgid "Invalid JSON Supplied!"
|
407 |
msgstr ""
|
408 |
|
409 |
-
#: app/admin/RTMediaAdmin.php:
|
410 |
msgid "Invalid JSON Supplied. The JSON you supplied is not exported from rtMedia!"
|
411 |
msgstr ""
|
412 |
|
413 |
-
#: app/admin/RTMediaAdmin.php:
|
414 |
msgid "Data passed for settings is unchanged!"
|
415 |
msgstr ""
|
416 |
|
417 |
-
#: app/admin/RTMediaAdmin.php:
|
418 |
msgid "rtMedia Settings imported successfully!"
|
419 |
msgstr ""
|
420 |
|
421 |
-
#: app/admin/RTMediaAdmin.php:
|
422 |
msgid "Could not update rtMedia Settings"
|
423 |
msgstr ""
|
424 |
|
425 |
-
#: app/admin/RTMediaAdmin.php:
|
426 |
msgid "Thank you for your time."
|
427 |
msgstr ""
|
428 |
|
429 |
-
#: app/admin/RTMediaAdmin.php:
|
430 |
-
msgid "Premium
|
431 |
msgstr ""
|
432 |
|
433 |
-
#: app/admin/RTMediaAdmin.php:
|
434 |
#. translators: 1. Not supported image types.
|
435 |
msgid ""
|
436 |
"You have images enabled on rtMedia but your network allowed filetypes do "
|
437 |
"not permit uploading of %s. Click "
|
438 |
msgstr ""
|
439 |
|
440 |
-
#: app/admin/RTMediaAdmin.php:
|
441 |
-
#: app/admin/RTMediaAdmin.php:
|
442 |
#: app/helper/RTMediaSettings.php:342 app/helper/RTMediaSupport.php:445
|
443 |
#: app/helper/RTMediaSupport.php:736
|
444 |
msgid "here"
|
445 |
msgstr ""
|
446 |
|
447 |
-
#: app/admin/RTMediaAdmin.php:
|
448 |
-
#: app/admin/RTMediaAdmin.php:
|
449 |
msgid " to change your settings manually."
|
450 |
msgstr ""
|
451 |
|
452 |
-
#: app/admin/RTMediaAdmin.php:
|
453 |
-
#: app/admin/RTMediaAdmin.php:
|
454 |
msgid "Recommended:"
|
455 |
msgstr ""
|
456 |
|
457 |
-
#: app/admin/RTMediaAdmin.php:
|
458 |
-
#: app/admin/RTMediaAdmin.php:
|
459 |
msgid "Update Network Settings Automatically"
|
460 |
msgstr ""
|
461 |
|
462 |
-
#: app/admin/RTMediaAdmin.php:
|
463 |
msgid ""
|
464 |
"You have video enabled on BuddyPress Media but your network allowed "
|
465 |
"filetypes do not permit uploading of mp4. Click "
|
466 |
msgstr ""
|
467 |
|
468 |
-
#: app/admin/RTMediaAdmin.php:
|
469 |
msgid ""
|
470 |
"You have audio enabled on BuddyPress Media but your network allowed "
|
471 |
"filetypes do not permit uploading of mp3. Click "
|
472 |
msgstr ""
|
473 |
|
474 |
-
#: app/admin/RTMediaAdmin.php:
|
475 |
msgid "Network settings updated successfully."
|
476 |
msgstr ""
|
477 |
|
478 |
-
#: app/admin/RTMediaAdmin.php:
|
479 |
msgid ""
|
480 |
"Please update rtMedia template files if you have overridden the default "
|
481 |
"rtMedia templates in your theme. If not, you can ignore and hide this "
|
482 |
"notice."
|
483 |
msgstr ""
|
484 |
|
485 |
-
#: app/admin/RTMediaAdmin.php:
|
486 |
#: app/importers/RTMediaMediaSizeImporter.php:104
|
487 |
#: app/importers/RTMediaMigration.php:92
|
488 |
msgid "Hide"
|
489 |
msgstr ""
|
490 |
|
491 |
-
#: app/admin/RTMediaAdmin.php:
|
492 |
#. translators: 1. Account page and link.
|
493 |
msgid ""
|
494 |
"Your license keys can be found on <a href=\"%1$s\">my-account</a> page. For "
|
@@ -496,10 +497,10 @@ msgid ""
|
|
496 |
"page."
|
497 |
msgstr ""
|
498 |
|
499 |
-
#: app/admin/RTMediaAdmin.php:
|
500 |
#. translators: 1. License page link.
|
501 |
msgid ""
|
502 |
-
"We found an invalid or expired license key for
|
503 |
"to the <a href=\"%1$s\">Licenses page</a> to fix this issue."
|
504 |
msgstr ""
|
505 |
|
@@ -521,7 +522,7 @@ msgstr ""
|
|
521 |
msgid "Please provide a \"text\" in the argument."
|
522 |
msgstr ""
|
523 |
|
524 |
-
#: app/admin/RTMediaFormHandler.php:435 templates/media/album-gallery.php:
|
525 |
#: templates/media/media-gallery.php:123
|
526 |
msgid "Load More"
|
527 |
msgstr ""
|
@@ -630,7 +631,7 @@ msgstr ""
|
|
630 |
msgid "Single Media View"
|
631 |
msgstr ""
|
632 |
|
633 |
-
#: app/admin/RTMediaFormHandler.php:569 app/helper/RTMediaAddon.php:
|
634 |
msgid "Media Likes"
|
635 |
msgstr ""
|
636 |
|
@@ -1095,368 +1096,355 @@ msgid ""
|
|
1095 |
"website SEO."
|
1096 |
msgstr ""
|
1097 |
|
1098 |
-
#: app/helper/RTMediaAddon.php:
|
1099 |
msgid "Moderation"
|
1100 |
msgstr ""
|
1101 |
|
1102 |
-
#: app/helper/RTMediaAddon.php:
|
1103 |
msgid ""
|
1104 |
"Report media if they find offensive. Set number of reports to automatically "
|
1105 |
"take down media from site."
|
1106 |
msgstr ""
|
1107 |
|
1108 |
-
#: app/helper/RTMediaAddon.php:
|
1109 |
msgid "Custom Attributes"
|
1110 |
msgstr ""
|
1111 |
|
1112 |
-
#: app/helper/RTMediaAddon.php:
|
1113 |
msgid ""
|
1114 |
"Categories media based on attributes. Site owner need to create attributes. "
|
1115 |
"When user upload a media, can select in which attribute that media can add."
|
1116 |
msgstr ""
|
1117 |
|
1118 |
-
#: app/helper/RTMediaAddon.php:
|
1119 |
msgid "Docs and Other files"
|
1120 |
msgstr ""
|
1121 |
|
1122 |
-
#: app/helper/RTMediaAddon.php:
|
1123 |
msgid ""
|
1124 |
"Allow users to upload documents and other file type using rtMedia upload "
|
1125 |
"box. This addon support all the file extensions which WordPress allows."
|
1126 |
msgstr ""
|
1127 |
|
1128 |
-
#: app/helper/RTMediaAddon.php:
|
1129 |
msgid "Default Albums"
|
1130 |
msgstr ""
|
1131 |
|
1132 |
-
#: app/helper/RTMediaAddon.php:
|
1133 |
msgid ""
|
1134 |
"This plugin allows the creation of multiple default albums for rtMedia "
|
1135 |
"uploads. One of these albums can be set as the default global album."
|
1136 |
msgstr ""
|
1137 |
|
1138 |
-
#: app/helper/RTMediaAddon.php:
|
1139 |
msgid "Podcast (RSS and Atom feeds)"
|
1140 |
msgstr ""
|
1141 |
|
1142 |
-
#: app/helper/RTMediaAddon.php:
|
1143 |
msgid ""
|
1144 |
"Read rtMedia uploads from iTunes as well as any RSS feed-reader/podcasting "
|
1145 |
"software."
|
1146 |
msgstr ""
|
1147 |
|
1148 |
-
#: app/helper/RTMediaAddon.php:
|
1149 |
msgid "Playlists"
|
1150 |
msgstr ""
|
1151 |
|
1152 |
-
#: app/helper/RTMediaAddon.php:
|
1153 |
msgid ""
|
1154 |
"Audio can be grouped into playlists. Once the user upload any audio file, "
|
1155 |
"can create a playlist or use existing one to manage audio files."
|
1156 |
msgstr ""
|
1157 |
|
1158 |
-
#: app/helper/RTMediaAddon.php:
|
1159 |
msgid "Favorites"
|
1160 |
msgstr ""
|
1161 |
|
1162 |
-
#: app/helper/RTMediaAddon.php:
|
1163 |
msgid ""
|
1164 |
"Users can create their list of favorite media in which they can add media "
|
1165 |
"previously uploaded by any user."
|
1166 |
msgstr ""
|
1167 |
|
1168 |
-
#: app/helper/RTMediaAddon.php:
|
1169 |
msgid "Restrictions"
|
1170 |
msgstr ""
|
1171 |
|
1172 |
-
#: app/helper/RTMediaAddon.php:
|
1173 |
msgid ""
|
1174 |
"Site admin can set an upload limit on the basis of time span, file size "
|
1175 |
"(MB) and number of files user can upload."
|
1176 |
msgstr ""
|
1177 |
|
1178 |
-
#: app/helper/RTMediaAddon.php:
|
1179 |
msgid "bbPress Attachments"
|
1180 |
msgstr ""
|
1181 |
|
1182 |
-
#: app/helper/RTMediaAddon.php:
|
1183 |
msgid "Attach media files to bbPress forum topics and replies."
|
1184 |
msgstr ""
|
1185 |
|
1186 |
-
#: app/helper/RTMediaAddon.php:
|
1187 |
msgid "WordPress Sitewide Gallery"
|
1188 |
msgstr ""
|
1189 |
|
1190 |
-
#: app/helper/RTMediaAddon.php:
|
1191 |
msgid ""
|
1192 |
"Site admin can create and upload media into WordPress album. Create album "
|
1193 |
"without being dependent on BuddyPress."
|
1194 |
msgstr ""
|
1195 |
|
1196 |
-
#: app/helper/RTMediaAddon.php:
|
1197 |
msgid "WordPress Comment Attachments"
|
1198 |
msgstr ""
|
1199 |
|
1200 |
-
#: app/helper/RTMediaAddon.php:
|
1201 |
msgid ""
|
1202 |
"Allow users to upload a media file in WordPress comment attachment box. It "
|
1203 |
"will display a thumbnail of attached file."
|
1204 |
msgstr ""
|
1205 |
|
1206 |
-
#: app/helper/RTMediaAddon.php:
|
1207 |
msgid "Social Sharing"
|
1208 |
msgstr ""
|
1209 |
|
1210 |
-
#: app/helper/RTMediaAddon.php:
|
1211 |
msgid ""
|
1212 |
"Share uploaded media on social network sites like Facebook, twitter, "
|
1213 |
"linkedin, Google +. This addon integrate with rtSocial plugin."
|
1214 |
msgstr ""
|
1215 |
|
1216 |
-
#: app/helper/RTMediaAddon.php:
|
1217 |
msgid "Sidebar Widgets"
|
1218 |
msgstr ""
|
1219 |
|
1220 |
-
#: app/helper/RTMediaAddon.php:
|
1221 |
msgid ""
|
1222 |
"This addon provide widgets to upload media and display gallery for rtMedia "
|
1223 |
"plugin."
|
1224 |
msgstr ""
|
1225 |
|
1226 |
-
#: app/helper/RTMediaAddon.php:
|
1227 |
msgid "5 Star Ratings"
|
1228 |
msgstr ""
|
1229 |
|
1230 |
-
#: app/helper/RTMediaAddon.php:
|
1231 |
msgid ""
|
1232 |
"Display 5 star rating for all the uploaded media. User can rate the media "
|
1233 |
"files from 1 to 5 star."
|
1234 |
msgstr ""
|
1235 |
|
1236 |
-
#: app/helper/RTMediaAddon.php:
|
1237 |
msgid "Edit Mp3 Info (ID3 Tags)"
|
1238 |
msgstr ""
|
1239 |
|
1240 |
-
#: app/helper/RTMediaAddon.php:
|
1241 |
msgid "Allow user to edit MP3 FIle Audio tags (ID 3 tags)."
|
1242 |
msgstr ""
|
1243 |
|
1244 |
-
#: app/helper/RTMediaAddon.php:
|
1245 |
msgid "Media Sorting"
|
1246 |
msgstr ""
|
1247 |
|
1248 |
-
#: app/helper/RTMediaAddon.php:
|
1249 |
msgid ""
|
1250 |
"Sort uploaded media based on file size, ascending/descending title, upload "
|
1251 |
"date of media."
|
1252 |
msgstr ""
|
1253 |
|
1254 |
-
#: app/helper/RTMediaAddon.php:
|
1255 |
msgid "Bulk Edit"
|
1256 |
msgstr ""
|
1257 |
|
1258 |
-
#: app/helper/RTMediaAddon.php:
|
1259 |
msgid ""
|
1260 |
"Bulk edit option will allow user to quickly select media files and do "
|
1261 |
"required actions like move files from one album to another, change "
|
1262 |
"attributes, change privacy, delete files."
|
1263 |
msgstr ""
|
1264 |
|
1265 |
-
#: app/helper/RTMediaAddon.php:
|
1266 |
msgid "BuddyPress Profile Picture"
|
1267 |
msgstr ""
|
1268 |
|
1269 |
-
#: app/helper/RTMediaAddon.php:
|
1270 |
msgid "User can easily set his/her profile picture from media uploaded via rtMedia."
|
1271 |
msgstr ""
|
1272 |
|
1273 |
-
#: app/helper/RTMediaAddon.php:
|
1274 |
msgid "Album Cover Art"
|
1275 |
msgstr ""
|
1276 |
|
1277 |
-
#: app/helper/RTMediaAddon.php:
|
1278 |
msgid "User can easily set any of the image of the album as album cover photo"
|
1279 |
msgstr ""
|
1280 |
|
1281 |
-
#: app/helper/RTMediaAddon.php:
|
1282 |
msgid "Direct Download Link"
|
1283 |
msgstr ""
|
1284 |
|
1285 |
-
#: app/helper/RTMediaAddon.php:
|
1286 |
msgid ""
|
1287 |
"User can download media from website. Site owner can restrict which media "
|
1288 |
"type can be allowed to download."
|
1289 |
msgstr ""
|
1290 |
|
1291 |
-
#: app/helper/RTMediaAddon.php:
|
1292 |
msgid "Upload by URL"
|
1293 |
msgstr ""
|
1294 |
|
1295 |
-
#: app/helper/RTMediaAddon.php:
|
1296 |
msgid ""
|
1297 |
"Users do not need to download media files from a URL and then upload it "
|
1298 |
"with rtMedia. Just provide the absolute URL for the media and it will "
|
1299 |
"upload on site."
|
1300 |
msgstr ""
|
1301 |
|
1302 |
-
#: app/helper/RTMediaAddon.php:
|
1303 |
msgid ""
|
1304 |
"This add-on let you know who liked the media. User can also see which media "
|
1305 |
"they liked under their profile."
|
1306 |
msgstr ""
|
1307 |
|
1308 |
-
#: app/helper/RTMediaAddon.php:
|
1309 |
msgid "Activity URL Preview"
|
1310 |
msgstr ""
|
1311 |
|
1312 |
-
#: app/helper/RTMediaAddon.php:
|
1313 |
msgid ""
|
1314 |
"This addon provides a preview of the URL that is shared in BuddyPress "
|
1315 |
"activity. Just enter the URL you want to share on your site and see a "
|
1316 |
"preview of it before it is shared."
|
1317 |
msgstr ""
|
1318 |
|
1319 |
-
#: app/helper/RTMediaAddon.php:
|
1320 |
msgid "View Counter"
|
1321 |
msgstr ""
|
1322 |
|
1323 |
-
#: app/helper/RTMediaAddon.php:
|
1324 |
msgid ""
|
1325 |
"Enable view count for all the uploaded media. Whenever user open that media "
|
1326 |
"file in lightbox or in single media view, that view count will be "
|
1327 |
"calculated and display next to media file."
|
1328 |
msgstr ""
|
1329 |
|
1330 |
-
#: app/helper/RTMediaAddon.php:
|
1331 |
msgid "Shortcode Generator"
|
1332 |
msgstr ""
|
1333 |
|
1334 |
-
#: app/helper/RTMediaAddon.php:
|
1335 |
msgid ""
|
1336 |
"This add-on will add shortcode generator button in WordPress post and page "
|
1337 |
"editor for all the rtMedia shortcodes."
|
1338 |
msgstr ""
|
1339 |
|
1340 |
-
#: app/helper/RTMediaAddon.php:
|
1341 |
msgid "Album Privacy"
|
1342 |
msgstr ""
|
1343 |
|
1344 |
-
#: app/helper/RTMediaAddon.php:
|
1345 |
msgid ""
|
1346 |
"Set album privacy when user create an album or change album privacy when "
|
1347 |
"editing existing albums. The privacy levels are Public, Logged in user, "
|
1348 |
"Friends and Private."
|
1349 |
msgstr ""
|
1350 |
|
1351 |
-
#: app/helper/RTMediaAddon.php:
|
1352 |
msgid "BuddyPress Group Media Control"
|
1353 |
msgstr ""
|
1354 |
|
1355 |
-
#: app/helper/RTMediaAddon.php:
|
1356 |
msgid "This add-on allows group owner to manage media upload feature group wise."
|
1357 |
msgstr ""
|
1358 |
|
1359 |
-
#: app/helper/RTMediaAddon.php:
|
1360 |
msgid "Set Custom Thumbnail for Audio/Video"
|
1361 |
msgstr ""
|
1362 |
|
1363 |
-
#: app/helper/RTMediaAddon.php:
|
1364 |
msgid ""
|
1365 |
"Allow media owner to change the thumbnail of uploaded audio/video files. "
|
1366 |
"The File Upload box will be provided to change media thumbnail."
|
1367 |
msgstr ""
|
1368 |
|
1369 |
-
#: app/helper/RTMediaAddon.php:
|
1370 |
msgid "myCRED"
|
1371 |
msgstr ""
|
1372 |
|
1373 |
-
#: app/helper/RTMediaAddon.php:
|
1374 |
msgid ""
|
1375 |
"This plugin integrates rtMedia and myCRED plugin, users can be can award "
|
1376 |
"virtual points for various rtMedia activities, like media upload, likes, "
|
1377 |
"deleted etc."
|
1378 |
msgstr ""
|
1379 |
|
1380 |
-
#: app/helper/RTMediaAddon.php:
|
1381 |
-
msgid "CubePoints"
|
1382 |
-
msgstr ""
|
1383 |
-
|
1384 |
-
#: app/helper/RTMediaAddon.php:449
|
1385 |
-
msgid ""
|
1386 |
-
"If you are using CubePoints plugin on your website than rtMedia CubePoint "
|
1387 |
-
"add-on can be integrate with that plugin to setup point management system "
|
1388 |
-
"for rtMedia related activities."
|
1389 |
-
msgstr ""
|
1390 |
-
|
1391 |
-
#: app/helper/RTMediaAddon.php:457
|
1392 |
msgid "Social Sync"
|
1393 |
msgstr ""
|
1394 |
|
1395 |
-
#: app/helper/RTMediaAddon.php:
|
1396 |
msgid "rtMedia Social Sync allows you to import media from your Facebook account."
|
1397 |
msgstr ""
|
1398 |
|
1399 |
-
#: app/helper/RTMediaAddon.php:
|
1400 |
msgid "Photo Watermark"
|
1401 |
msgstr ""
|
1402 |
|
1403 |
-
#: app/helper/RTMediaAddon.php:
|
1404 |
msgid ""
|
1405 |
"rtMedia Photo Watermark let you add watermark on your images uploaded using "
|
1406 |
"rtMedia."
|
1407 |
msgstr ""
|
1408 |
|
1409 |
-
#: app/helper/RTMediaAddon.php:
|
1410 |
msgid "Photo Tagging"
|
1411 |
msgstr ""
|
1412 |
|
1413 |
-
#: app/helper/RTMediaAddon.php:
|
1414 |
msgid ""
|
1415 |
"rtMedia Photo Tagging enable users to tag their friends on photos uploaded "
|
1416 |
"using rtMedia."
|
1417 |
msgstr ""
|
1418 |
|
1419 |
-
#: app/helper/RTMediaAddon.php:
|
1420 |
msgid "Photo Filters"
|
1421 |
msgstr ""
|
1422 |
|
1423 |
-
#: app/helper/RTMediaAddon.php:
|
1424 |
msgid ""
|
1425 |
"rtMedia Photo Filters adds Instagram like filters to images uploaded with "
|
1426 |
"rtMedia."
|
1427 |
msgstr ""
|
1428 |
|
1429 |
-
#: app/helper/RTMediaAddon.php:
|
1430 |
msgid "Membership Add-on"
|
1431 |
msgstr ""
|
1432 |
|
1433 |
-
#: app/helper/RTMediaAddon.php:
|
1434 |
msgid ""
|
1435 |
"rtMedia Membership add-on provides membership functionality in your site in "
|
1436 |
"terms of media upload."
|
1437 |
msgstr ""
|
1438 |
|
1439 |
-
#: app/helper/RTMediaAddon.php:
|
1440 |
msgid "Coming Soon !!"
|
1441 |
msgstr ""
|
1442 |
|
1443 |
-
#: app/helper/RTMediaAddon.php:
|
1444 |
-
msgid "
|
1445 |
msgstr ""
|
1446 |
|
1447 |
-
#: app/helper/RTMediaAddon.php:
|
1448 |
-
|
1449 |
-
#: app/helper/RTMediaThemes.php:355 app/importers/BPMediaAlbumimporter.php:205
|
1450 |
-
msgid "Buy Now"
|
1451 |
msgstr ""
|
1452 |
|
1453 |
-
#: app/helper/RTMediaAddon.php:
|
1454 |
#: app/helper/RTMediaThemes.php:203 app/helper/RTMediaThemes.php:309
|
1455 |
#: app/helper/RTMediaThemes.php:353 app/importers/BPMediaAlbumimporter.php:206
|
1456 |
msgid "Live Demo"
|
1457 |
msgstr ""
|
1458 |
|
1459 |
-
#: app/helper/RTMediaAdminWidget.php:
|
1460 |
msgid "Argument missing. id is required."
|
1461 |
msgstr ""
|
1462 |
|
@@ -1484,33 +1472,47 @@ msgstr ""
|
|
1484 |
msgid "rtMedia Addons"
|
1485 |
msgstr ""
|
1486 |
|
1487 |
-
#: app/helper/RTMediaLicense.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1488 |
msgid "Deactivate License"
|
1489 |
msgstr ""
|
1490 |
|
1491 |
-
#: app/helper/RTMediaLicense.php:
|
1492 |
msgid "Activate License"
|
1493 |
msgstr ""
|
1494 |
|
1495 |
-
#: app/helper/RTMediaLicense.php:
|
1496 |
#. translators: %s: Expiry date.
|
1497 |
msgid "Your license key expired on %s. Please renew your license key."
|
1498 |
msgstr ""
|
1499 |
|
1500 |
-
#: app/helper/RTMediaLicense.php:
|
1501 |
msgid ""
|
1502 |
"Your license key has been disabled. Please contact support for more "
|
1503 |
"information."
|
1504 |
msgstr ""
|
1505 |
|
1506 |
-
#: app/helper/RTMediaLicense.php:
|
1507 |
#. translators: %s: Account page link.
|
1508 |
msgid ""
|
1509 |
"Invalid license. Please <a href=\"%s\" target=\"_blank\">visit your account "
|
1510 |
"page</a> and verify it."
|
1511 |
msgstr ""
|
1512 |
|
1513 |
-
#: app/helper/RTMediaLicense.php:
|
1514 |
#. translators: 1: Add-on name, 2:My account page link.
|
1515 |
msgid ""
|
1516 |
"Your %1$s is not active for this URL. Please <a href=\"%2$s\" "
|
@@ -1518,39 +1520,39 @@ msgid ""
|
|
1518 |
"URLs."
|
1519 |
msgstr ""
|
1520 |
|
1521 |
-
#: app/helper/RTMediaLicense.php:
|
1522 |
#. translators: %s: Add-on name.
|
1523 |
msgid "This appears to be an invalid license key for %s."
|
1524 |
msgstr ""
|
1525 |
|
1526 |
-
#: app/helper/RTMediaLicense.php:
|
1527 |
#. translators: %s: Account link.
|
1528 |
msgid ""
|
1529 |
"Your license key has reached its activation limit. <a href=\"%s\">View "
|
1530 |
"possible upgrades</a> now."
|
1531 |
msgstr ""
|
1532 |
|
1533 |
-
#: app/helper/RTMediaLicense.php:
|
1534 |
#. translators: %s: Account link.
|
1535 |
msgid ""
|
1536 |
"Your license is not activable, please visit <a href=\"%s\">your account "
|
1537 |
"page</a>."
|
1538 |
msgstr ""
|
1539 |
|
1540 |
-
#: app/helper/RTMediaLicense.php:
|
1541 |
msgid "To receive updates, please enter your valid license key."
|
1542 |
msgstr ""
|
1543 |
|
1544 |
-
#: app/helper/RTMediaLicense.php:
|
1545 |
msgid "License key never expires."
|
1546 |
msgstr ""
|
1547 |
|
1548 |
-
#: app/helper/RTMediaLicense.php:
|
1549 |
#. translators: 1: Expiry date.
|
1550 |
msgid "Your license key expires soon! It expires on %1$s. Renew your license key."
|
1551 |
msgstr ""
|
1552 |
|
1553 |
-
#: app/helper/RTMediaLicense.php:
|
1554 |
#. translators: %s: Expiry date.
|
1555 |
msgid "Your license key expires on %s."
|
1556 |
msgstr ""
|
@@ -1857,6 +1859,12 @@ msgstr ""
|
|
1857 |
msgid "Theme Details"
|
1858 |
msgstr ""
|
1859 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1860 |
#: app/helper/RTMediaThemes.php:168 app/helper/RTMediaThemes.php:318
|
1861 |
msgid "Show previous theme"
|
1862 |
msgstr ""
|
@@ -2285,7 +2293,7 @@ msgstr ""
|
|
2285 |
msgid "No time remaining."
|
2286 |
msgstr ""
|
2287 |
|
2288 |
-
#: app/main/RTMedia.php:162 app/main/RTMedia.php:
|
2289 |
#: app/main/controllers/activity/RTMediaBuddyPressActivity.php:754
|
2290 |
#: app/main/controllers/shortcodes/RTMediaGalleryShortcode.php:113
|
2291 |
#: app/main/controllers/upload/processors/RTMediaUploadFile.php:246
|
@@ -2328,8 +2336,8 @@ msgstr ""
|
|
2328 |
msgid "Public - Visible to the world"
|
2329 |
msgstr ""
|
2330 |
|
2331 |
-
#: app/main/RTMedia.php:869 app/main/controllers/template/RTMediaNav.php:
|
2332 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
2333 |
msgid "All"
|
2334 |
msgstr ""
|
2335 |
|
@@ -2340,9 +2348,10 @@ msgstr ""
|
|
2340 |
msgid "Album"
|
2341 |
msgstr ""
|
2342 |
|
2343 |
-
#: app/main/RTMedia.php:885 app/main/RTMedia.php:
|
2344 |
#: app/main/controllers/media/RTMediaAlbum.php:55
|
2345 |
#: app/main/controllers/media/RTMediaAlbum.php:67
|
|
|
2346 |
msgid "Albums"
|
2347 |
msgstr ""
|
2348 |
|
@@ -2460,16 +2469,16 @@ msgstr ""
|
|
2460 |
#: app/main/RTMedia.php:1355
|
2461 |
#: app/main/controllers/media/RTMediaGalleryItemAction.php:88
|
2462 |
#: app/main/controllers/media/RTMediaGalleryItemAction.php:111
|
2463 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
2464 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
2465 |
msgid "Edit"
|
2466 |
msgstr ""
|
2467 |
|
2468 |
#: app/main/RTMedia.php:1356
|
2469 |
#: app/main/controllers/media/RTMediaGalleryItemAction.php:91
|
2470 |
#: app/main/controllers/media/RTMediaGalleryItemAction.php:111
|
2471 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
2472 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
2473 |
#: templates/media/album-single-edit.php:94
|
2474 |
msgid "Delete"
|
2475 |
msgstr ""
|
@@ -2510,47 +2519,47 @@ msgstr ""
|
|
2510 |
msgid "This media is uploaded. Are you sure you want to delete this media?"
|
2511 |
msgstr ""
|
2512 |
|
2513 |
-
#: app/main/RTMedia.php:
|
2514 |
msgid "Featured media set successfully."
|
2515 |
msgstr ""
|
2516 |
|
2517 |
-
#: app/main/RTMedia.php:
|
2518 |
msgid "Featured media removed successfully."
|
2519 |
msgstr ""
|
2520 |
|
2521 |
-
#: app/main/RTMedia.php:
|
2522 |
msgid "Title:"
|
2523 |
msgstr ""
|
2524 |
|
2525 |
-
#: app/main/RTMedia.php:
|
2526 |
msgid "Description:"
|
2527 |
msgstr ""
|
2528 |
|
2529 |
-
#: app/main/RTMedia.php:
|
2530 |
msgid "Oops !! There's no media found for the request !!"
|
2531 |
msgstr ""
|
2532 |
|
2533 |
-
#: app/main/RTMedia.php:
|
2534 |
msgid "Edit File Name"
|
2535 |
msgstr ""
|
2536 |
|
2537 |
-
#: app/main/RTMedia.php:
|
2538 |
msgid "Privacy updated successfully."
|
2539 |
msgstr ""
|
2540 |
|
2541 |
-
#: app/main/RTMedia.php:
|
2542 |
msgid "Couldn't change privacy, please try again."
|
2543 |
msgstr ""
|
2544 |
|
2545 |
-
#: app/main/RTMedia.php:
|
2546 |
msgid "There are some uploads in progress. Do you want to cancel them?"
|
2547 |
msgstr ""
|
2548 |
|
2549 |
-
#: app/main/RTMedia.php:
|
2550 |
msgid "Media upload is disabled. Please Enable at least one media type to proceed."
|
2551 |
msgstr ""
|
2552 |
|
2553 |
-
#: app/main/RTMedia.php:
|
2554 |
msgid "Adding media in Comments is not allowed"
|
2555 |
msgstr ""
|
2556 |
|
@@ -2567,7 +2576,7 @@ msgstr ""
|
|
2567 |
#: app/main/controllers/activity/RTMediaBuddyPressActivity.php:807
|
2568 |
#: app/main/controllers/media/RTMediaComment.php:204
|
2569 |
#: app/main/controllers/shortcodes/RTMediaUploadShortcode.php:125
|
2570 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
2571 |
msgid "You are not allowed to upload/attach media."
|
2572 |
msgstr ""
|
2573 |
|
@@ -3042,18 +3051,18 @@ msgstr ""
|
|
3042 |
msgid "Invalid attribute passed for rtmedia_gallery shortcode."
|
3043 |
msgstr ""
|
3044 |
|
3045 |
-
#: app/main/controllers/template/RTMediaTemplate.php:
|
3046 |
-
#: app/main/controllers/template/RTMediaTemplate.php:
|
3047 |
-
#: app/main/controllers/template/RTMediaTemplate.php:
|
3048 |
-
#: app/main/controllers/template/RTMediaTemplate.php:
|
3049 |
msgid "Ooops !!! Invalid access. No nonce was found !!"
|
3050 |
msgstr ""
|
3051 |
|
3052 |
-
#: app/main/controllers/template/RTMediaTemplate.php:
|
3053 |
msgid "Media updated Sucessfully"
|
3054 |
msgstr ""
|
3055 |
|
3056 |
-
#: app/main/controllers/template/RTMediaTemplate.php:
|
3057 |
msgid "Error in updating Media"
|
3058 |
msgstr ""
|
3059 |
|
@@ -3108,58 +3117,58 @@ msgstr ""
|
|
3108 |
msgid "Close (Esc)"
|
3109 |
msgstr ""
|
3110 |
|
3111 |
-
#: app/main/controllers/template/rtmedia-actions.php:
|
3112 |
msgid "You can consider rtMedia Team for following :"
|
3113 |
msgstr ""
|
3114 |
|
3115 |
-
#: app/main/controllers/template/rtmedia-actions.php:
|
3116 |
msgid "rtMedia Customization ( in Upgrade Safe manner )"
|
3117 |
msgstr ""
|
3118 |
|
3119 |
-
#: app/main/controllers/template/rtmedia-actions.php:
|
3120 |
msgid "WordPress/BuddyPress Theme Design and Development"
|
3121 |
msgstr ""
|
3122 |
|
3123 |
-
#: app/main/controllers/template/rtmedia-actions.php:
|
3124 |
msgid "WordPress/BuddyPress Plugin Development"
|
3125 |
msgstr ""
|
3126 |
|
3127 |
-
#: app/main/controllers/template/rtmedia-actions.php:
|
3128 |
msgid "Contact Us"
|
3129 |
msgstr ""
|
3130 |
|
3131 |
-
#: app/main/controllers/template/rtmedia-actions.php:617
|
3132 |
#: app/main/controllers/template/rtmedia-actions.php:618
|
|
|
3133 |
msgid "Previous"
|
3134 |
msgstr ""
|
3135 |
|
3136 |
-
#: app/main/controllers/template/rtmedia-actions.php:619
|
3137 |
#: app/main/controllers/template/rtmedia-actions.php:620
|
|
|
3138 |
#: templates/media/album-single-edit.php:142
|
3139 |
msgid "Next"
|
3140 |
msgstr ""
|
3141 |
|
3142 |
-
#: app/main/controllers/template/rtmedia-actions.php:
|
3143 |
msgid "Settings has been saved successfully."
|
3144 |
msgstr ""
|
3145 |
|
3146 |
-
#: app/main/controllers/template/rtmedia-actions.php:
|
3147 |
msgid "Refresh the page in case if license data is not showing correct."
|
3148 |
msgstr ""
|
3149 |
|
3150 |
-
#: app/main/controllers/template/rtmedia-actions.php:
|
3151 |
msgid "Posted a status update"
|
3152 |
msgstr ""
|
3153 |
|
3154 |
-
#: app/main/controllers/template/rtmedia-actions.php:
|
3155 |
msgid "rtMedia Updates"
|
3156 |
msgstr ""
|
3157 |
|
3158 |
-
#: app/main/controllers/template/rtmedia-actions.php:
|
3159 |
msgid "Search Media"
|
3160 |
msgstr ""
|
3161 |
|
3162 |
-
#: app/main/controllers/template/rtmedia-actions.php:
|
3163 |
msgid "Please swipe for more media."
|
3164 |
msgstr ""
|
3165 |
|
@@ -3168,7 +3177,7 @@ msgid "Doing wrong, invalid AJAX request!"
|
|
3168 |
msgstr ""
|
3169 |
|
3170 |
#: app/main/controllers/template/rtmedia-ajax-actions.php:152
|
3171 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3172 |
msgid "Comment"
|
3173 |
msgstr ""
|
3174 |
|
@@ -3185,12 +3194,12 @@ msgid "Delete Album"
|
|
3185 |
msgstr ""
|
3186 |
|
3187 |
#: app/main/controllers/template/rtmedia-filters.php:937
|
3188 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3189 |
msgid "rtMedia Shortcode Uploads"
|
3190 |
msgstr ""
|
3191 |
|
3192 |
#: app/main/controllers/template/rtmedia-filters.php:941
|
3193 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3194 |
msgid "rtMedia Activities"
|
3195 |
msgstr ""
|
3196 |
|
@@ -3220,146 +3229,146 @@ msgstr ""
|
|
3220 |
msgid "rtMedia Album Eraser"
|
3221 |
msgstr ""
|
3222 |
|
3223 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3224 |
msgid "There are no comments on this media yet."
|
3225 |
msgstr ""
|
3226 |
|
3227 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3228 |
#. translators: %s Count of comments.
|
3229 |
msgid "Show all %s comments"
|
3230 |
msgstr ""
|
3231 |
|
3232 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3233 |
msgid "Delete Comment"
|
3234 |
msgstr ""
|
3235 |
|
3236 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3237 |
msgid "Go to page no : "
|
3238 |
msgstr ""
|
3239 |
|
3240 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3241 |
msgid "Go"
|
3242 |
msgstr ""
|
3243 |
|
3244 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3245 |
msgid "Type Comment..."
|
3246 |
msgstr ""
|
3247 |
|
3248 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3249 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3250 |
msgid "Delete Media"
|
3251 |
msgstr ""
|
3252 |
|
3253 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3254 |
msgid "Profile Albums"
|
3255 |
msgstr ""
|
3256 |
|
3257 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3258 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3259 |
msgid "Group Albums"
|
3260 |
msgstr ""
|
3261 |
|
3262 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3263 |
msgid "Privacy : "
|
3264 |
msgstr ""
|
3265 |
|
3266 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3267 |
msgid "You like this"
|
3268 |
msgstr ""
|
3269 |
|
3270 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3271 |
msgid "You and "
|
3272 |
msgstr ""
|
3273 |
|
3274 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3275 |
msgid " person likes this"
|
3276 |
msgid_plural " people like this"
|
3277 |
msgstr[0] ""
|
3278 |
msgstr[1] ""
|
3279 |
|
3280 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3281 |
msgid "Public"
|
3282 |
msgstr ""
|
3283 |
|
3284 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3285 |
msgid "All members"
|
3286 |
msgstr ""
|
3287 |
|
3288 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3289 |
msgid "Your friends"
|
3290 |
msgstr ""
|
3291 |
|
3292 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3293 |
msgid "Only you"
|
3294 |
msgstr ""
|
3295 |
|
3296 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3297 |
msgid "Blocked temporarily"
|
3298 |
msgstr ""
|
3299 |
|
3300 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3301 |
#. translators: %s: count of hour/minute/second.
|
3302 |
msgid "%s ago "
|
3303 |
msgstr ""
|
3304 |
|
3305 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3306 |
#. translators: %s: number of seconds.
|
3307 |
msgid "%s second"
|
3308 |
msgid_plural "%s seconds"
|
3309 |
msgstr[0] ""
|
3310 |
msgstr[1] ""
|
3311 |
|
3312 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3313 |
#. translators: %s: number of minutes.
|
3314 |
msgid "%s minute"
|
3315 |
msgid_plural "%s minutes"
|
3316 |
msgstr[0] ""
|
3317 |
msgstr[1] ""
|
3318 |
|
3319 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3320 |
#. translators: %s: number of hours.
|
3321 |
msgid "%s hour"
|
3322 |
msgid_plural "%s hours"
|
3323 |
msgstr[0] ""
|
3324 |
msgstr[1] ""
|
3325 |
|
3326 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3327 |
#. translators: %s: date format, see http:php.net/date.
|
3328 |
msgid "View Conversation"
|
3329 |
msgstr ""
|
3330 |
|
3331 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3332 |
msgid "Activity Date"
|
3333 |
msgstr ""
|
3334 |
|
3335 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3336 |
msgid "Activity Content"
|
3337 |
msgstr ""
|
3338 |
|
3339 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3340 |
#: app/main/controllers/template/rtmedia-functions.php:4802
|
3341 |
msgid "Attachments"
|
3342 |
msgstr ""
|
3343 |
|
3344 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3345 |
msgid "Media Upload Date"
|
3346 |
msgstr ""
|
3347 |
|
3348 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3349 |
msgid "Media Title"
|
3350 |
msgstr ""
|
3351 |
|
3352 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3353 |
#: app/main/controllers/template/rtmedia-functions.php:4896
|
3354 |
#: app/main/controllers/template/rtmedia-functions.php:4997
|
3355 |
msgid "Media URL"
|
3356 |
msgstr ""
|
3357 |
|
3358 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3359 |
msgid "Album Title"
|
3360 |
msgstr ""
|
3361 |
|
3362 |
-
#: app/main/controllers/template/rtmedia-functions.php:
|
3363 |
msgid "rtMedia Activity Comments"
|
3364 |
msgstr ""
|
3365 |
|
@@ -3472,7 +3481,8 @@ msgstr ""
|
|
3472 |
msgid "Album List"
|
3473 |
msgstr ""
|
3474 |
|
3475 |
-
#: templates/media/album-gallery.php:
|
|
|
3476 |
#: templates/media/media-single-edit.php:74
|
3477 |
#: templates/media/media-single.php:212
|
3478 |
msgid "Sorry !! There's no media found for the request !!"
|
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.6.11\n"
|
6 |
"Report-Msgid-Bugs-To: https://rtmedia.io/support/\n"
|
7 |
+
"POT-Creation-Date: 2022-04-22 11:03:37+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-Textdomain-Support: yes\n"
|
25 |
"X-Generator: grunt-wp-i18n 1.0.3\n"
|
26 |
|
27 |
+
#: app/admin/RTMediaAdmin.php:194
|
28 |
msgid ""
|
29 |
"Install <a href=\"https://wordpress.org/plugins/transcoder/\" "
|
30 |
"target=\"_blank\">Transcoder plugin</a> to convert audio/video files and "
|
31 |
"thumbnails generation."
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: app/admin/RTMediaAdmin.php:276
|
35 |
#. translators: 1. Title.
|
36 |
msgid "View"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: app/admin/RTMediaAdmin.php:348
|
40 |
#. translators: 1. Product page link.
|
41 |
+
msgid ""
|
42 |
+
"comes with 35+ premium features & add-ons. Check it in our <a "
|
43 |
+
"href=\"%s\">store</a>."
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: app/admin/RTMediaAdmin.php:350
|
47 |
+
msgid "rtMedia Premium "
|
48 |
msgstr ""
|
49 |
|
50 |
+
#: app/admin/RTMediaAdmin.php:408
|
51 |
msgid "Meet InspireBook"
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: app/admin/RTMediaAdmin.php:410
|
55 |
msgid " - First official rtMedia premium theme."
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: app/admin/RTMediaAdmin.php:485
|
59 |
msgid "rtMedia:"
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: app/admin/RTMediaAdmin.php:485
|
63 |
msgid " You must"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: app/admin/RTMediaAdmin.php:485
|
67 |
msgid "update permalink structure"
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: app/admin/RTMediaAdmin.php:485
|
71 |
msgid "to something other than the default for it to work."
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: app/admin/RTMediaAdmin.php:509
|
75 |
+
msgid ""
|
76 |
+
" rtMedia Premium update is available. Please update it from the plugins or "
|
77 |
+
"download it from <a href = \"https://rtmedia.io/my-account/\" "
|
78 |
+
"target=\"_blank\" >your account</a>"
|
|
|
79 |
msgstr ""
|
80 |
|
81 |
+
#: app/admin/RTMediaAdmin.php:511
|
82 |
+
msgid "rtMedia: "
|
83 |
msgstr ""
|
84 |
|
85 |
+
#: app/admin/RTMediaAdmin.php:631
|
86 |
msgid "rtMedia Pro is released"
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: app/admin/RTMediaAdmin.php:650
|
90 |
msgid "Media Stats"
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: app/admin/RTMediaAdmin.php:680
|
94 |
msgid "Usage Stats"
|
95 |
msgstr ""
|
96 |
|
97 |
+
#: app/admin/RTMediaAdmin.php:693
|
98 |
msgid "Total "
|
99 |
msgstr ""
|
100 |
|
101 |
+
#: app/admin/RTMediaAdmin.php:704
|
102 |
msgid "With Media"
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: app/admin/RTMediaAdmin.php:715
|
106 |
msgid "Comments "
|
107 |
msgstr ""
|
108 |
|
109 |
+
#: app/admin/RTMediaAdmin.php:726 app/main/controllers/media/RTMediaLike.php:31
|
110 |
msgid "Likes"
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: app/admin/RTMediaAdmin.php:736
|
114 |
msgid "rtMedia Links:"
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: app/admin/RTMediaAdmin.php:737
|
118 |
msgid "Homepage"
|
119 |
msgstr ""
|
120 |
|
121 |
+
#: app/admin/RTMediaAdmin.php:739
|
122 |
msgid "Free Support"
|
123 |
msgstr ""
|
124 |
|
125 |
+
#: app/admin/RTMediaAdmin.php:742
|
126 |
msgid "Premium Addons"
|
127 |
msgstr ""
|
128 |
|
129 |
+
#: app/admin/RTMediaAdmin.php:759
|
130 |
msgid "Right Now in rtMedia"
|
131 |
msgstr ""
|
132 |
|
133 |
+
#: app/admin/RTMediaAdmin.php:792 app/admin/RTMediaAdmin.php:828
|
134 |
+
#: app/admin/RTMediaAdmin.php:831 app/admin/RTMediaAdmin.php:1034
|
135 |
+
#: app/admin/RTMediaAdmin.php:1035 app/admin/RTMediaAdmin.php:1397
|
136 |
msgid "Settings"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: app/admin/RTMediaAdmin.php:794 app/admin/RTMediaAdmin.php:854
|
140 |
+
#: app/admin/RTMediaAdmin.php:857 app/admin/RTMediaAdmin.php:1058
|
141 |
+
#: app/admin/RTMediaAdmin.php:1059 app/admin/RTMediaAdmin.php:1423
|
142 |
#: app/helper/RTMediaSettings.php:261 app/helper/RTMediaSupport.php:87
|
143 |
#: app/helper/RTMediaSupport.php:88
|
144 |
msgid "Support"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: app/admin/RTMediaAdmin.php:820 app/admin/RTMediaAdmin.php:1371
|
148 |
+
#: app/admin/RTMediaAdmin.php:1372 app/importers/RTMediaActivityUpgrade.php:188
|
149 |
#: app/importers/RTMediaMigration.php:92 app/main/RTMedia.php:1207
|
150 |
+
#: app/main/RTMedia.php:2178
|
151 |
msgid "rtMedia"
|
152 |
msgstr ""
|
153 |
|
154 |
+
#: app/admin/RTMediaAdmin.php:841 app/admin/RTMediaAdmin.php:844
|
155 |
+
#: app/admin/RTMediaAdmin.php:1046 app/admin/RTMediaAdmin.php:1047
|
156 |
+
#: app/admin/RTMediaAdmin.php:1402
|
157 |
msgid "Addons"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: app/admin/RTMediaAdmin.php:867 app/admin/RTMediaAdmin.php:870
|
161 |
+
#: app/admin/RTMediaAdmin.php:1071 app/admin/RTMediaAdmin.php:1072
|
162 |
+
#: app/admin/RTMediaAdmin.php:1410
|
163 |
msgid "Themes"
|
164 |
msgstr ""
|
165 |
|
166 |
+
#: app/admin/RTMediaAdmin.php:881 app/admin/RTMediaAdmin.php:884
|
167 |
+
#: app/admin/RTMediaAdmin.php:1085 app/admin/RTMediaAdmin.php:1086
|
168 |
+
#: app/admin/RTMediaAdmin.php:1416
|
169 |
msgid "Hire Us"
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: app/admin/RTMediaAdmin.php:895 app/admin/RTMediaAdmin.php:898
|
173 |
+
#: app/admin/RTMediaAdmin.php:1099 app/admin/RTMediaAdmin.php:1100
|
174 |
+
#: app/admin/RTMediaAdmin.php:1430
|
175 |
msgid "Licenses"
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: app/admin/RTMediaAdmin.php:953
|
179 |
msgid "Invalid value for [default_size_property]."
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: app/admin/RTMediaAdmin.php:958
|
183 |
msgid "Please do not refresh this page."
|
184 |
msgstr ""
|
185 |
|
186 |
+
#: app/admin/RTMediaAdmin.php:959
|
187 |
msgid "Something went wrong. Please "
|
188 |
msgstr ""
|
189 |
|
190 |
+
#: app/admin/RTMediaAdmin.php:959
|
191 |
msgid "refresh"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: app/admin/RTMediaAdmin.php:959
|
195 |
msgid " page."
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: app/admin/RTMediaAdmin.php:960
|
199 |
msgid "This will subscribe you to the free plan."
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: app/admin/RTMediaAdmin.php:961
|
203 |
msgid "Are you sure you want to disable the encoding service?"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: app/admin/RTMediaAdmin.php:962
|
207 |
msgid "Are you sure you want to enable the encoding service?"
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: app/admin/RTMediaAdmin.php:963
|
211 |
msgid "Settings have changed, you should save them!"
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: app/admin/RTMediaAdmin.php:964
|
215 |
msgid ""
|
216 |
"Number of video thumbnails to be generated should be greater than 0 in "
|
217 |
"media sizes settings. Setting it to default value 2."
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: app/admin/RTMediaAdmin.php:965
|
221 |
msgid ""
|
222 |
"Invalid value for number of video thumbnails in media sizes settings. "
|
223 |
"Setting it to round value"
|
224 |
msgstr ""
|
225 |
|
226 |
+
#: app/admin/RTMediaAdmin.php:966
|
227 |
msgid ""
|
228 |
"Number of percentage in JPEG image quality should be greater than 0 in "
|
229 |
"media sizes settings. Setting it to default value 90."
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: app/admin/RTMediaAdmin.php:967
|
233 |
msgid ""
|
234 |
"Number of percentage in JPEG image quality should be less than 100 in media "
|
235 |
"sizes settings. Setting it to 100."
|
236 |
msgstr ""
|
237 |
|
238 |
+
#: app/admin/RTMediaAdmin.php:968
|
239 |
msgid ""
|
240 |
"Invalid value for percentage in JPEG image quality in media sizes settings. "
|
241 |
"Setting it to round value"
|
242 |
msgstr ""
|
243 |
|
244 |
+
#: app/admin/RTMediaAdmin.php:969
|
245 |
msgid ""
|
246 |
"Please enter positive integer value only. Setting number of media per page "
|
247 |
"value to default value 10."
|
248 |
msgstr ""
|
249 |
|
250 |
+
#: app/admin/RTMediaAdmin.php:970
|
251 |
msgid ""
|
252 |
"Please enter positive integer value only. Setting number of media per page "
|
253 |
"value to round value"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: app/admin/RTMediaAdmin.php:971
|
257 |
msgid "Request failed."
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: app/admin/RTMediaAdmin.php:972
|
261 |
msgid "You can not use @import statement in custom css"
|
262 |
msgstr ""
|
263 |
|
264 |
+
#: app/admin/RTMediaAdmin.php:979
|
265 |
msgid "ON"
|
266 |
msgstr ""
|
267 |
|
268 |
+
#: app/admin/RTMediaAdmin.php:980
|
269 |
msgid "OFF"
|
270 |
msgstr ""
|
271 |
|
272 |
+
#: app/admin/RTMediaAdmin.php:991
|
273 |
msgid "Please enter WP Admin Login."
|
274 |
msgstr ""
|
275 |
|
276 |
+
#: app/admin/RTMediaAdmin.php:992
|
277 |
msgid "Please enter WP Admin password."
|
278 |
msgstr ""
|
279 |
|
280 |
+
#: app/admin/RTMediaAdmin.php:993
|
281 |
msgid "Please enter SSH / FTP host."
|
282 |
msgstr ""
|
283 |
|
284 |
+
#: app/admin/RTMediaAdmin.php:994
|
285 |
msgid "Please enter SSH / FTP login."
|
286 |
msgstr ""
|
287 |
|
288 |
+
#: app/admin/RTMediaAdmin.php:995
|
289 |
msgid "Please enter SSH / FTP password."
|
290 |
msgstr ""
|
291 |
|
292 |
+
#: app/admin/RTMediaAdmin.php:996
|
293 |
msgid "Please fill all the fields."
|
294 |
msgstr ""
|
295 |
|
296 |
+
#: app/admin/RTMediaAdmin.php:1254
|
297 |
msgid "Empowering The Web With WordPress"
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: app/admin/RTMediaAdmin.php:1276
|
301 |
msgid "Settings saved successfully!"
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: app/admin/RTMediaAdmin.php:1280 app/admin/RTMediaAdmin.php:1311
|
305 |
msgid "Save Settings"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: app/admin/RTMediaAdmin.php:1504 app/admin/RTMediaAdmin.php:1505
|
309 |
msgid "Display"
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: app/admin/RTMediaAdmin.php:1513
|
313 |
msgid "rtMedia BuddyPress"
|
314 |
msgstr ""
|
315 |
|
316 |
+
#: app/admin/RTMediaAdmin.php:1514
|
317 |
msgid "BuddyPress"
|
318 |
msgstr ""
|
319 |
|
320 |
+
#: app/admin/RTMediaAdmin.php:1522
|
321 |
msgid "rtMedia Types"
|
322 |
msgstr ""
|
323 |
|
324 |
+
#: app/admin/RTMediaAdmin.php:1523
|
325 |
msgid "Types"
|
326 |
msgstr ""
|
327 |
|
328 |
+
#: app/admin/RTMediaAdmin.php:1530
|
329 |
msgid "rtMedia Sizes"
|
330 |
msgstr ""
|
331 |
|
332 |
+
#: app/admin/RTMediaAdmin.php:1531
|
333 |
msgid "Media Sizes"
|
334 |
msgstr ""
|
335 |
|
336 |
+
#: app/admin/RTMediaAdmin.php:1538
|
337 |
msgid "rtMedia Privacy"
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: app/admin/RTMediaAdmin.php:1539
|
341 |
#: app/main/controllers/privacy/RTMediaPrivacy.php:540
|
342 |
msgid "Privacy"
|
343 |
msgstr ""
|
344 |
|
345 |
+
#: app/admin/RTMediaAdmin.php:1545
|
346 |
msgid "rtMedia Custom CSS"
|
347 |
msgstr ""
|
348 |
|
349 |
+
#: app/admin/RTMediaAdmin.php:1546
|
350 |
msgid "Custom CSS"
|
351 |
msgstr ""
|
352 |
|
353 |
+
#: app/admin/RTMediaAdmin.php:1555 app/admin/RTMediaAdmin.php:1556
|
354 |
msgid "Other Settings"
|
355 |
msgstr ""
|
356 |
|
357 |
+
#: app/admin/RTMediaAdmin.php:1563 app/admin/RTMediaAdmin.php:1564
|
358 |
msgid "Export/Import"
|
359 |
msgstr ""
|
360 |
|
361 |
+
#: app/admin/RTMediaAdmin.php:1615
|
362 |
#. translators: 1. Home url.
|
363 |
msgid "I use @rtMediaWP http://rt.cx/rtmedia on %s"
|
364 |
msgstr ""
|
365 |
|
366 |
+
#: app/admin/RTMediaAdmin.php:1617
|
367 |
msgid "Post to Twitter Now"
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: app/admin/RTMediaAdmin.php:1619
|
371 |
msgid "Post to Twitter"
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: app/admin/RTMediaAdmin.php:1621
|
375 |
msgid "Share on Facebook Now"
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: app/admin/RTMediaAdmin.php:1623
|
379 |
+
msgid "Post to Facebook"
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: app/admin/RTMediaAdmin.php:1625
|
383 |
msgid "Rate rtMedia on Wordpress.org"
|
384 |
msgstr ""
|
385 |
|
386 |
+
#: app/admin/RTMediaAdmin.php:1627
|
387 |
+
msgid "Rate us on Wordpress.org"
|
388 |
msgstr ""
|
389 |
|
390 |
+
#: app/admin/RTMediaAdmin.php:1630 app/admin/RTMediaAdmin.php:1632
|
391 |
msgid "Subscribe to our Feeds"
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: app/admin/RTMediaAdmin.php:1636
|
395 |
msgid "Spread the Word"
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: app/admin/RTMediaAdmin.php:1642 app/admin/RTMediaAdmin.php:1649
|
399 |
msgid "Subscribe"
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: app/admin/RTMediaAdmin.php:1698
|
403 |
msgid "Unable to read file!"
|
404 |
msgstr ""
|
405 |
|
406 |
+
#: app/admin/RTMediaAdmin.php:1710 app/admin/RTMediaAdmin.php:1717
|
407 |
msgid "Invalid JSON Supplied!"
|
408 |
msgstr ""
|
409 |
|
410 |
+
#: app/admin/RTMediaAdmin.php:1723
|
411 |
msgid "Invalid JSON Supplied. The JSON you supplied is not exported from rtMedia!"
|
412 |
msgstr ""
|
413 |
|
414 |
+
#: app/admin/RTMediaAdmin.php:1733
|
415 |
msgid "Data passed for settings is unchanged!"
|
416 |
msgstr ""
|
417 |
|
418 |
+
#: app/admin/RTMediaAdmin.php:1737
|
419 |
msgid "rtMedia Settings imported successfully!"
|
420 |
msgstr ""
|
421 |
|
422 |
+
#: app/admin/RTMediaAdmin.php:1740
|
423 |
msgid "Could not update rtMedia Settings"
|
424 |
msgstr ""
|
425 |
|
426 |
+
#: app/admin/RTMediaAdmin.php:1775
|
427 |
msgid "Thank you for your time."
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: app/admin/RTMediaAdmin.php:1799
|
431 |
+
msgid "Premium Plugin"
|
432 |
msgstr ""
|
433 |
|
434 |
+
#: app/admin/RTMediaAdmin.php:1823
|
435 |
#. translators: 1. Not supported image types.
|
436 |
msgid ""
|
437 |
"You have images enabled on rtMedia but your network allowed filetypes do "
|
438 |
"not permit uploading of %s. Click "
|
439 |
msgstr ""
|
440 |
|
441 |
+
#: app/admin/RTMediaAdmin.php:1825 app/admin/RTMediaAdmin.php:1843
|
442 |
+
#: app/admin/RTMediaAdmin.php:1861 app/admin/RTMediaFormHandler.php:628
|
443 |
#: app/helper/RTMediaSettings.php:342 app/helper/RTMediaSupport.php:445
|
444 |
#: app/helper/RTMediaSupport.php:736
|
445 |
msgid "here"
|
446 |
msgstr ""
|
447 |
|
448 |
+
#: app/admin/RTMediaAdmin.php:1826 app/admin/RTMediaAdmin.php:1844
|
449 |
+
#: app/admin/RTMediaAdmin.php:1862
|
450 |
msgid " to change your settings manually."
|
451 |
msgstr ""
|
452 |
|
453 |
+
#: app/admin/RTMediaAdmin.php:1828 app/admin/RTMediaAdmin.php:1846
|
454 |
+
#: app/admin/RTMediaAdmin.php:1864
|
455 |
msgid "Recommended:"
|
456 |
msgstr ""
|
457 |
|
458 |
+
#: app/admin/RTMediaAdmin.php:1829 app/admin/RTMediaAdmin.php:1847
|
459 |
+
#: app/admin/RTMediaAdmin.php:1865
|
460 |
msgid "Update Network Settings Automatically"
|
461 |
msgstr ""
|
462 |
|
463 |
+
#: app/admin/RTMediaAdmin.php:1842
|
464 |
msgid ""
|
465 |
"You have video enabled on BuddyPress Media but your network allowed "
|
466 |
"filetypes do not permit uploading of mp4. Click "
|
467 |
msgstr ""
|
468 |
|
469 |
+
#: app/admin/RTMediaAdmin.php:1860
|
470 |
msgid ""
|
471 |
"You have audio enabled on BuddyPress Media but your network allowed "
|
472 |
"filetypes do not permit uploading of mp3. Click "
|
473 |
msgstr ""
|
474 |
|
475 |
+
#: app/admin/RTMediaAdmin.php:1881
|
476 |
msgid "Network settings updated successfully."
|
477 |
msgstr ""
|
478 |
|
479 |
+
#: app/admin/RTMediaAdmin.php:1943
|
480 |
msgid ""
|
481 |
"Please update rtMedia template files if you have overridden the default "
|
482 |
"rtMedia templates in your theme. If not, you can ignore and hide this "
|
483 |
"notice."
|
484 |
msgstr ""
|
485 |
|
486 |
+
#: app/admin/RTMediaAdmin.php:1943
|
487 |
#: app/importers/RTMediaMediaSizeImporter.php:104
|
488 |
#: app/importers/RTMediaMigration.php:92
|
489 |
msgid "Hide"
|
490 |
msgstr ""
|
491 |
|
492 |
+
#: app/admin/RTMediaAdmin.php:2103
|
493 |
#. translators: 1. Account page and link.
|
494 |
msgid ""
|
495 |
"Your license keys can be found on <a href=\"%1$s\">my-account</a> page. For "
|
497 |
"page."
|
498 |
msgstr ""
|
499 |
|
500 |
+
#: app/admin/RTMediaAdmin.php:2119
|
501 |
#. translators: 1. License page link.
|
502 |
msgid ""
|
503 |
+
"We found an invalid or expired license key for rtMedia Premium. Please go "
|
504 |
"to the <a href=\"%1$s\">Licenses page</a> to fix this issue."
|
505 |
msgstr ""
|
506 |
|
522 |
msgid "Please provide a \"text\" in the argument."
|
523 |
msgstr ""
|
524 |
|
525 |
+
#: app/admin/RTMediaFormHandler.php:435 templates/media/album-gallery.php:129
|
526 |
#: templates/media/media-gallery.php:123
|
527 |
msgid "Load More"
|
528 |
msgstr ""
|
631 |
msgid "Single Media View"
|
632 |
msgstr ""
|
633 |
|
634 |
+
#: app/admin/RTMediaFormHandler.php:569 app/helper/RTMediaAddon.php:380
|
635 |
msgid "Media Likes"
|
636 |
msgstr ""
|
637 |
|
1096 |
"website SEO."
|
1097 |
msgstr ""
|
1098 |
|
1099 |
+
#: app/helper/RTMediaAddon.php:128
|
1100 |
msgid "Moderation"
|
1101 |
msgstr ""
|
1102 |
|
1103 |
+
#: app/helper/RTMediaAddon.php:131
|
1104 |
msgid ""
|
1105 |
"Report media if they find offensive. Set number of reports to automatically "
|
1106 |
"take down media from site."
|
1107 |
msgstr ""
|
1108 |
|
1109 |
+
#: app/helper/RTMediaAddon.php:140
|
1110 |
msgid "Custom Attributes"
|
1111 |
msgstr ""
|
1112 |
|
1113 |
+
#: app/helper/RTMediaAddon.php:143
|
1114 |
msgid ""
|
1115 |
"Categories media based on attributes. Site owner need to create attributes. "
|
1116 |
"When user upload a media, can select in which attribute that media can add."
|
1117 |
msgstr ""
|
1118 |
|
1119 |
+
#: app/helper/RTMediaAddon.php:152
|
1120 |
msgid "Docs and Other files"
|
1121 |
msgstr ""
|
1122 |
|
1123 |
+
#: app/helper/RTMediaAddon.php:155
|
1124 |
msgid ""
|
1125 |
"Allow users to upload documents and other file type using rtMedia upload "
|
1126 |
"box. This addon support all the file extensions which WordPress allows."
|
1127 |
msgstr ""
|
1128 |
|
1129 |
+
#: app/helper/RTMediaAddon.php:164
|
1130 |
msgid "Default Albums"
|
1131 |
msgstr ""
|
1132 |
|
1133 |
+
#: app/helper/RTMediaAddon.php:167
|
1134 |
msgid ""
|
1135 |
"This plugin allows the creation of multiple default albums for rtMedia "
|
1136 |
"uploads. One of these albums can be set as the default global album."
|
1137 |
msgstr ""
|
1138 |
|
1139 |
+
#: app/helper/RTMediaAddon.php:176
|
1140 |
msgid "Podcast (RSS and Atom feeds)"
|
1141 |
msgstr ""
|
1142 |
|
1143 |
+
#: app/helper/RTMediaAddon.php:179
|
1144 |
msgid ""
|
1145 |
"Read rtMedia uploads from iTunes as well as any RSS feed-reader/podcasting "
|
1146 |
"software."
|
1147 |
msgstr ""
|
1148 |
|
1149 |
+
#: app/helper/RTMediaAddon.php:188
|
1150 |
msgid "Playlists"
|
1151 |
msgstr ""
|
1152 |
|
1153 |
+
#: app/helper/RTMediaAddon.php:191
|
1154 |
msgid ""
|
1155 |
"Audio can be grouped into playlists. Once the user upload any audio file, "
|
1156 |
"can create a playlist or use existing one to manage audio files."
|
1157 |
msgstr ""
|
1158 |
|
1159 |
+
#: app/helper/RTMediaAddon.php:200
|
1160 |
msgid "Favorites"
|
1161 |
msgstr ""
|
1162 |
|
1163 |
+
#: app/helper/RTMediaAddon.php:203
|
1164 |
msgid ""
|
1165 |
"Users can create their list of favorite media in which they can add media "
|
1166 |
"previously uploaded by any user."
|
1167 |
msgstr ""
|
1168 |
|
1169 |
+
#: app/helper/RTMediaAddon.php:212
|
1170 |
msgid "Restrictions"
|
1171 |
msgstr ""
|
1172 |
|
1173 |
+
#: app/helper/RTMediaAddon.php:215
|
1174 |
msgid ""
|
1175 |
"Site admin can set an upload limit on the basis of time span, file size "
|
1176 |
"(MB) and number of files user can upload."
|
1177 |
msgstr ""
|
1178 |
|
1179 |
+
#: app/helper/RTMediaAddon.php:224
|
1180 |
msgid "bbPress Attachments"
|
1181 |
msgstr ""
|
1182 |
|
1183 |
+
#: app/helper/RTMediaAddon.php:227
|
1184 |
msgid "Attach media files to bbPress forum topics and replies."
|
1185 |
msgstr ""
|
1186 |
|
1187 |
+
#: app/helper/RTMediaAddon.php:236
|
1188 |
msgid "WordPress Sitewide Gallery"
|
1189 |
msgstr ""
|
1190 |
|
1191 |
+
#: app/helper/RTMediaAddon.php:239
|
1192 |
msgid ""
|
1193 |
"Site admin can create and upload media into WordPress album. Create album "
|
1194 |
"without being dependent on BuddyPress."
|
1195 |
msgstr ""
|
1196 |
|
1197 |
+
#: app/helper/RTMediaAddon.php:248
|
1198 |
msgid "WordPress Comment Attachments"
|
1199 |
msgstr ""
|
1200 |
|
1201 |
+
#: app/helper/RTMediaAddon.php:251
|
1202 |
msgid ""
|
1203 |
"Allow users to upload a media file in WordPress comment attachment box. It "
|
1204 |
"will display a thumbnail of attached file."
|
1205 |
msgstr ""
|
1206 |
|
1207 |
+
#: app/helper/RTMediaAddon.php:260
|
1208 |
msgid "Social Sharing"
|
1209 |
msgstr ""
|
1210 |
|
1211 |
+
#: app/helper/RTMediaAddon.php:263
|
1212 |
msgid ""
|
1213 |
"Share uploaded media on social network sites like Facebook, twitter, "
|
1214 |
"linkedin, Google +. This addon integrate with rtSocial plugin."
|
1215 |
msgstr ""
|
1216 |
|
1217 |
+
#: app/helper/RTMediaAddon.php:272
|
1218 |
msgid "Sidebar Widgets"
|
1219 |
msgstr ""
|
1220 |
|
1221 |
+
#: app/helper/RTMediaAddon.php:275
|
1222 |
msgid ""
|
1223 |
"This addon provide widgets to upload media and display gallery for rtMedia "
|
1224 |
"plugin."
|
1225 |
msgstr ""
|
1226 |
|
1227 |
+
#: app/helper/RTMediaAddon.php:284
|
1228 |
msgid "5 Star Ratings"
|
1229 |
msgstr ""
|
1230 |
|
1231 |
+
#: app/helper/RTMediaAddon.php:287
|
1232 |
msgid ""
|
1233 |
"Display 5 star rating for all the uploaded media. User can rate the media "
|
1234 |
"files from 1 to 5 star."
|
1235 |
msgstr ""
|
1236 |
|
1237 |
+
#: app/helper/RTMediaAddon.php:296
|
1238 |
msgid "Edit Mp3 Info (ID3 Tags)"
|
1239 |
msgstr ""
|
1240 |
|
1241 |
+
#: app/helper/RTMediaAddon.php:299
|
1242 |
msgid "Allow user to edit MP3 FIle Audio tags (ID 3 tags)."
|
1243 |
msgstr ""
|
1244 |
|
1245 |
+
#: app/helper/RTMediaAddon.php:308
|
1246 |
msgid "Media Sorting"
|
1247 |
msgstr ""
|
1248 |
|
1249 |
+
#: app/helper/RTMediaAddon.php:311
|
1250 |
msgid ""
|
1251 |
"Sort uploaded media based on file size, ascending/descending title, upload "
|
1252 |
"date of media."
|
1253 |
msgstr ""
|
1254 |
|
1255 |
+
#: app/helper/RTMediaAddon.php:320
|
1256 |
msgid "Bulk Edit"
|
1257 |
msgstr ""
|
1258 |
|
1259 |
+
#: app/helper/RTMediaAddon.php:323
|
1260 |
msgid ""
|
1261 |
"Bulk edit option will allow user to quickly select media files and do "
|
1262 |
"required actions like move files from one album to another, change "
|
1263 |
"attributes, change privacy, delete files."
|
1264 |
msgstr ""
|
1265 |
|
1266 |
+
#: app/helper/RTMediaAddon.php:332
|
1267 |
msgid "BuddyPress Profile Picture"
|
1268 |
msgstr ""
|
1269 |
|
1270 |
+
#: app/helper/RTMediaAddon.php:335
|
1271 |
msgid "User can easily set his/her profile picture from media uploaded via rtMedia."
|
1272 |
msgstr ""
|
1273 |
|
1274 |
+
#: app/helper/RTMediaAddon.php:344
|
1275 |
msgid "Album Cover Art"
|
1276 |
msgstr ""
|
1277 |
|
1278 |
+
#: app/helper/RTMediaAddon.php:347
|
1279 |
msgid "User can easily set any of the image of the album as album cover photo"
|
1280 |
msgstr ""
|
1281 |
|
1282 |
+
#: app/helper/RTMediaAddon.php:356
|
1283 |
msgid "Direct Download Link"
|
1284 |
msgstr ""
|
1285 |
|
1286 |
+
#: app/helper/RTMediaAddon.php:359
|
1287 |
msgid ""
|
1288 |
"User can download media from website. Site owner can restrict which media "
|
1289 |
"type can be allowed to download."
|
1290 |
msgstr ""
|
1291 |
|
1292 |
+
#: app/helper/RTMediaAddon.php:368
|
1293 |
msgid "Upload by URL"
|
1294 |
msgstr ""
|
1295 |
|
1296 |
+
#: app/helper/RTMediaAddon.php:371
|
1297 |
msgid ""
|
1298 |
"Users do not need to download media files from a URL and then upload it "
|
1299 |
"with rtMedia. Just provide the absolute URL for the media and it will "
|
1300 |
"upload on site."
|
1301 |
msgstr ""
|
1302 |
|
1303 |
+
#: app/helper/RTMediaAddon.php:383
|
1304 |
msgid ""
|
1305 |
"This add-on let you know who liked the media. User can also see which media "
|
1306 |
"they liked under their profile."
|
1307 |
msgstr ""
|
1308 |
|
1309 |
+
#: app/helper/RTMediaAddon.php:392
|
1310 |
msgid "Activity URL Preview"
|
1311 |
msgstr ""
|
1312 |
|
1313 |
+
#: app/helper/RTMediaAddon.php:395
|
1314 |
msgid ""
|
1315 |
"This addon provides a preview of the URL that is shared in BuddyPress "
|
1316 |
"activity. Just enter the URL you want to share on your site and see a "
|
1317 |
"preview of it before it is shared."
|
1318 |
msgstr ""
|
1319 |
|
1320 |
+
#: app/helper/RTMediaAddon.php:404
|
1321 |
msgid "View Counter"
|
1322 |
msgstr ""
|
1323 |
|
1324 |
+
#: app/helper/RTMediaAddon.php:407
|
1325 |
msgid ""
|
1326 |
"Enable view count for all the uploaded media. Whenever user open that media "
|
1327 |
"file in lightbox or in single media view, that view count will be "
|
1328 |
"calculated and display next to media file."
|
1329 |
msgstr ""
|
1330 |
|
1331 |
+
#: app/helper/RTMediaAddon.php:416
|
1332 |
msgid "Shortcode Generator"
|
1333 |
msgstr ""
|
1334 |
|
1335 |
+
#: app/helper/RTMediaAddon.php:419
|
1336 |
msgid ""
|
1337 |
"This add-on will add shortcode generator button in WordPress post and page "
|
1338 |
"editor for all the rtMedia shortcodes."
|
1339 |
msgstr ""
|
1340 |
|
1341 |
+
#: app/helper/RTMediaAddon.php:428
|
1342 |
msgid "Album Privacy"
|
1343 |
msgstr ""
|
1344 |
|
1345 |
+
#: app/helper/RTMediaAddon.php:431
|
1346 |
msgid ""
|
1347 |
"Set album privacy when user create an album or change album privacy when "
|
1348 |
"editing existing albums. The privacy levels are Public, Logged in user, "
|
1349 |
"Friends and Private."
|
1350 |
msgstr ""
|
1351 |
|
1352 |
+
#: app/helper/RTMediaAddon.php:440
|
1353 |
msgid "BuddyPress Group Media Control"
|
1354 |
msgstr ""
|
1355 |
|
1356 |
+
#: app/helper/RTMediaAddon.php:443
|
1357 |
msgid "This add-on allows group owner to manage media upload feature group wise."
|
1358 |
msgstr ""
|
1359 |
|
1360 |
+
#: app/helper/RTMediaAddon.php:452
|
1361 |
msgid "Set Custom Thumbnail for Audio/Video"
|
1362 |
msgstr ""
|
1363 |
|
1364 |
+
#: app/helper/RTMediaAddon.php:455
|
1365 |
msgid ""
|
1366 |
"Allow media owner to change the thumbnail of uploaded audio/video files. "
|
1367 |
"The File Upload box will be provided to change media thumbnail."
|
1368 |
msgstr ""
|
1369 |
|
1370 |
+
#: app/helper/RTMediaAddon.php:464
|
1371 |
msgid "myCRED"
|
1372 |
msgstr ""
|
1373 |
|
1374 |
+
#: app/helper/RTMediaAddon.php:467
|
1375 |
msgid ""
|
1376 |
"This plugin integrates rtMedia and myCRED plugin, users can be can award "
|
1377 |
"virtual points for various rtMedia activities, like media upload, likes, "
|
1378 |
"deleted etc."
|
1379 |
msgstr ""
|
1380 |
|
1381 |
+
#: app/helper/RTMediaAddon.php:476
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1382 |
msgid "Social Sync"
|
1383 |
msgstr ""
|
1384 |
|
1385 |
+
#: app/helper/RTMediaAddon.php:479
|
1386 |
msgid "rtMedia Social Sync allows you to import media from your Facebook account."
|
1387 |
msgstr ""
|
1388 |
|
1389 |
+
#: app/helper/RTMediaAddon.php:488
|
1390 |
msgid "Photo Watermark"
|
1391 |
msgstr ""
|
1392 |
|
1393 |
+
#: app/helper/RTMediaAddon.php:491
|
1394 |
msgid ""
|
1395 |
"rtMedia Photo Watermark let you add watermark on your images uploaded using "
|
1396 |
"rtMedia."
|
1397 |
msgstr ""
|
1398 |
|
1399 |
+
#: app/helper/RTMediaAddon.php:500
|
1400 |
msgid "Photo Tagging"
|
1401 |
msgstr ""
|
1402 |
|
1403 |
+
#: app/helper/RTMediaAddon.php:503
|
1404 |
msgid ""
|
1405 |
"rtMedia Photo Tagging enable users to tag their friends on photos uploaded "
|
1406 |
"using rtMedia."
|
1407 |
msgstr ""
|
1408 |
|
1409 |
+
#: app/helper/RTMediaAddon.php:512
|
1410 |
msgid "Photo Filters"
|
1411 |
msgstr ""
|
1412 |
|
1413 |
+
#: app/helper/RTMediaAddon.php:515
|
1414 |
msgid ""
|
1415 |
"rtMedia Photo Filters adds Instagram like filters to images uploaded with "
|
1416 |
"rtMedia."
|
1417 |
msgstr ""
|
1418 |
|
1419 |
+
#: app/helper/RTMediaAddon.php:524
|
1420 |
msgid "Membership Add-on"
|
1421 |
msgstr ""
|
1422 |
|
1423 |
+
#: app/helper/RTMediaAddon.php:527
|
1424 |
msgid ""
|
1425 |
"rtMedia Membership add-on provides membership functionality in your site in "
|
1426 |
"terms of media upload."
|
1427 |
msgstr ""
|
1428 |
|
1429 |
+
#: app/helper/RTMediaAddon.php:556
|
1430 |
msgid "Coming Soon !!"
|
1431 |
msgstr ""
|
1432 |
|
1433 |
+
#: app/helper/RTMediaAddon.php:606
|
1434 |
+
msgid "Docs"
|
1435 |
msgstr ""
|
1436 |
|
1437 |
+
#: app/helper/RTMediaAddon.php:610
|
1438 |
+
msgid "Get this"
|
|
|
|
|
1439 |
msgstr ""
|
1440 |
|
1441 |
+
#: app/helper/RTMediaAddon.php:614 app/helper/RTMediaThemes.php:159
|
1442 |
#: app/helper/RTMediaThemes.php:203 app/helper/RTMediaThemes.php:309
|
1443 |
#: app/helper/RTMediaThemes.php:353 app/importers/BPMediaAlbumimporter.php:206
|
1444 |
msgid "Live Demo"
|
1445 |
msgstr ""
|
1446 |
|
1447 |
+
#: app/helper/RTMediaAdminWidget.php:54
|
1448 |
msgid "Argument missing. id is required."
|
1449 |
msgstr ""
|
1450 |
|
1472 |
msgid "rtMedia Addons"
|
1473 |
msgstr ""
|
1474 |
|
1475 |
+
#: app/helper/RTMediaLicense.php:99
|
1476 |
+
msgid "Activate "
|
1477 |
+
msgstr ""
|
1478 |
+
|
1479 |
+
#: app/helper/RTMediaLicense.php:105
|
1480 |
+
msgid ""
|
1481 |
+
" with your license key to get support and automatic update from your "
|
1482 |
+
"WordPress dashboard."
|
1483 |
+
msgstr ""
|
1484 |
+
|
1485 |
+
#: app/helper/RTMediaLicense.php:112
|
1486 |
+
msgid "Enter your license key to activate"
|
1487 |
+
msgstr ""
|
1488 |
+
|
1489 |
+
#: app/helper/RTMediaLicense.php:119
|
1490 |
msgid "Deactivate License"
|
1491 |
msgstr ""
|
1492 |
|
1493 |
+
#: app/helper/RTMediaLicense.php:122
|
1494 |
msgid "Activate License"
|
1495 |
msgstr ""
|
1496 |
|
1497 |
+
#: app/helper/RTMediaLicense.php:170
|
1498 |
#. translators: %s: Expiry date.
|
1499 |
msgid "Your license key expired on %s. Please renew your license key."
|
1500 |
msgstr ""
|
1501 |
|
1502 |
+
#: app/helper/RTMediaLicense.php:180
|
1503 |
msgid ""
|
1504 |
"Your license key has been disabled. Please contact support for more "
|
1505 |
"information."
|
1506 |
msgstr ""
|
1507 |
|
1508 |
+
#: app/helper/RTMediaLicense.php:190
|
1509 |
#. translators: %s: Account page link.
|
1510 |
msgid ""
|
1511 |
"Invalid license. Please <a href=\"%s\" target=\"_blank\">visit your account "
|
1512 |
"page</a> and verify it."
|
1513 |
msgstr ""
|
1514 |
|
1515 |
+
#: app/helper/RTMediaLicense.php:206
|
1516 |
#. translators: 1: Add-on name, 2:My account page link.
|
1517 |
msgid ""
|
1518 |
"Your %1$s is not active for this URL. Please <a href=\"%2$s\" "
|
1520 |
"URLs."
|
1521 |
msgstr ""
|
1522 |
|
1523 |
+
#: app/helper/RTMediaLicense.php:219
|
1524 |
#. translators: %s: Add-on name.
|
1525 |
msgid "This appears to be an invalid license key for %s."
|
1526 |
msgstr ""
|
1527 |
|
1528 |
+
#: app/helper/RTMediaLicense.php:229
|
1529 |
#. translators: %s: Account link.
|
1530 |
msgid ""
|
1531 |
"Your license key has reached its activation limit. <a href=\"%s\">View "
|
1532 |
"possible upgrades</a> now."
|
1533 |
msgstr ""
|
1534 |
|
1535 |
+
#: app/helper/RTMediaLicense.php:239
|
1536 |
#. translators: %s: Account link.
|
1537 |
msgid ""
|
1538 |
"Your license is not activable, please visit <a href=\"%s\">your account "
|
1539 |
"page</a>."
|
1540 |
msgstr ""
|
1541 |
|
1542 |
+
#: app/helper/RTMediaLicense.php:247 app/helper/RTMediaLicense.php:302
|
1543 |
msgid "To receive updates, please enter your valid license key."
|
1544 |
msgstr ""
|
1545 |
|
1546 |
+
#: app/helper/RTMediaLicense.php:265
|
1547 |
msgid "License key never expires."
|
1548 |
msgstr ""
|
1549 |
|
1550 |
+
#: app/helper/RTMediaLicense.php:275
|
1551 |
#. translators: 1: Expiry date.
|
1552 |
msgid "Your license key expires soon! It expires on %1$s. Renew your license key."
|
1553 |
msgstr ""
|
1554 |
|
1555 |
+
#: app/helper/RTMediaLicense.php:287
|
1556 |
#. translators: %s: Expiry date.
|
1557 |
msgid "Your license key expires on %s."
|
1558 |
msgstr ""
|
1859 |
msgid "Theme Details"
|
1860 |
msgstr ""
|
1861 |
|
1862 |
+
#: app/helper/RTMediaThemes.php:161 app/helper/RTMediaThemes.php:205
|
1863 |
+
#: app/helper/RTMediaThemes.php:311 app/helper/RTMediaThemes.php:355
|
1864 |
+
#: app/importers/BPMediaAlbumimporter.php:205
|
1865 |
+
msgid "Buy Now"
|
1866 |
+
msgstr ""
|
1867 |
+
|
1868 |
#: app/helper/RTMediaThemes.php:168 app/helper/RTMediaThemes.php:318
|
1869 |
msgid "Show previous theme"
|
1870 |
msgstr ""
|
2293 |
msgid "No time remaining."
|
2294 |
msgstr ""
|
2295 |
|
2296 |
+
#: app/main/RTMedia.php:162 app/main/RTMedia.php:1517 app/main/RTMedia.php:1610
|
2297 |
#: app/main/controllers/activity/RTMediaBuddyPressActivity.php:754
|
2298 |
#: app/main/controllers/shortcodes/RTMediaGalleryShortcode.php:113
|
2299 |
#: app/main/controllers/upload/processors/RTMediaUploadFile.php:246
|
2336 |
msgid "Public - Visible to the world"
|
2337 |
msgstr ""
|
2338 |
|
2339 |
+
#: app/main/RTMedia.php:869 app/main/controllers/template/RTMediaNav.php:294
|
2340 |
+
#: app/main/controllers/template/rtmedia-functions.php:139
|
2341 |
msgid "All"
|
2342 |
msgstr ""
|
2343 |
|
2348 |
msgid "Album"
|
2349 |
msgstr ""
|
2350 |
|
2351 |
+
#: app/main/RTMedia.php:885 app/main/RTMedia.php:1412
|
2352 |
#: app/main/controllers/media/RTMediaAlbum.php:55
|
2353 |
#: app/main/controllers/media/RTMediaAlbum.php:67
|
2354 |
+
#: app/main/controllers/template/RTMediaNav.php:314
|
2355 |
msgid "Albums"
|
2356 |
msgstr ""
|
2357 |
|
2469 |
#: app/main/RTMedia.php:1355
|
2470 |
#: app/main/controllers/media/RTMediaGalleryItemAction.php:88
|
2471 |
#: app/main/controllers/media/RTMediaGalleryItemAction.php:111
|
2472 |
+
#: app/main/controllers/template/rtmedia-functions.php:1270
|
2473 |
+
#: app/main/controllers/template/rtmedia-functions.php:1289
|
2474 |
msgid "Edit"
|
2475 |
msgstr ""
|
2476 |
|
2477 |
#: app/main/RTMedia.php:1356
|
2478 |
#: app/main/controllers/media/RTMediaGalleryItemAction.php:91
|
2479 |
#: app/main/controllers/media/RTMediaGalleryItemAction.php:111
|
2480 |
+
#: app/main/controllers/template/rtmedia-functions.php:2232
|
2481 |
+
#: app/main/controllers/template/rtmedia-functions.php:2241
|
2482 |
#: templates/media/album-single-edit.php:94
|
2483 |
msgid "Delete"
|
2484 |
msgstr ""
|
2519 |
msgid "This media is uploaded. Are you sure you want to delete this media?"
|
2520 |
msgstr ""
|
2521 |
|
2522 |
+
#: app/main/RTMedia.php:1386
|
2523 |
msgid "Featured media set successfully."
|
2524 |
msgstr ""
|
2525 |
|
2526 |
+
#: app/main/RTMedia.php:1387
|
2527 |
msgid "Featured media removed successfully."
|
2528 |
msgstr ""
|
2529 |
|
2530 |
+
#: app/main/RTMedia.php:1393
|
2531 |
msgid "Title:"
|
2532 |
msgstr ""
|
2533 |
|
2534 |
+
#: app/main/RTMedia.php:1394
|
2535 |
msgid "Description:"
|
2536 |
msgstr ""
|
2537 |
|
2538 |
+
#: app/main/RTMedia.php:1398
|
2539 |
msgid "Oops !! There's no media found for the request !!"
|
2540 |
msgstr ""
|
2541 |
|
2542 |
+
#: app/main/RTMedia.php:1402
|
2543 |
msgid "Edit File Name"
|
2544 |
msgstr ""
|
2545 |
|
2546 |
+
#: app/main/RTMedia.php:1413
|
2547 |
msgid "Privacy updated successfully."
|
2548 |
msgstr ""
|
2549 |
|
2550 |
+
#: app/main/RTMedia.php:1414
|
2551 |
msgid "Couldn't change privacy, please try again."
|
2552 |
msgstr ""
|
2553 |
|
2554 |
+
#: app/main/RTMedia.php:1453
|
2555 |
msgid "There are some uploads in progress. Do you want to cancel them?"
|
2556 |
msgstr ""
|
2557 |
|
2558 |
+
#: app/main/RTMedia.php:1455
|
2559 |
msgid "Media upload is disabled. Please Enable at least one media type to proceed."
|
2560 |
msgstr ""
|
2561 |
|
2562 |
+
#: app/main/RTMedia.php:1566
|
2563 |
msgid "Adding media in Comments is not allowed"
|
2564 |
msgstr ""
|
2565 |
|
2576 |
#: app/main/controllers/activity/RTMediaBuddyPressActivity.php:807
|
2577 |
#: app/main/controllers/media/RTMediaComment.php:204
|
2578 |
#: app/main/controllers/shortcodes/RTMediaUploadShortcode.php:125
|
2579 |
+
#: app/main/controllers/template/rtmedia-functions.php:2271
|
2580 |
msgid "You are not allowed to upload/attach media."
|
2581 |
msgstr ""
|
2582 |
|
3051 |
msgid "Invalid attribute passed for rtmedia_gallery shortcode."
|
3052 |
msgstr ""
|
3053 |
|
3054 |
+
#: app/main/controllers/template/RTMediaTemplate.php:452
|
3055 |
+
#: app/main/controllers/template/RTMediaTemplate.php:581
|
3056 |
+
#: app/main/controllers/template/RTMediaTemplate.php:687
|
3057 |
+
#: app/main/controllers/template/RTMediaTemplate.php:907
|
3058 |
msgid "Ooops !!! Invalid access. No nonce was found !!"
|
3059 |
msgstr ""
|
3060 |
|
3061 |
+
#: app/main/controllers/template/RTMediaTemplate.php:462
|
3062 |
msgid "Media updated Sucessfully"
|
3063 |
msgstr ""
|
3064 |
|
3065 |
+
#: app/main/controllers/template/RTMediaTemplate.php:481
|
3066 |
msgid "Error in updating Media"
|
3067 |
msgstr ""
|
3068 |
|
3117 |
msgid "Close (Esc)"
|
3118 |
msgstr ""
|
3119 |
|
3120 |
+
#: app/main/controllers/template/rtmedia-actions.php:514
|
3121 |
msgid "You can consider rtMedia Team for following :"
|
3122 |
msgstr ""
|
3123 |
|
3124 |
+
#: app/main/controllers/template/rtmedia-actions.php:516
|
3125 |
msgid "rtMedia Customization ( in Upgrade Safe manner )"
|
3126 |
msgstr ""
|
3127 |
|
3128 |
+
#: app/main/controllers/template/rtmedia-actions.php:517
|
3129 |
msgid "WordPress/BuddyPress Theme Design and Development"
|
3130 |
msgstr ""
|
3131 |
|
3132 |
+
#: app/main/controllers/template/rtmedia-actions.php:518
|
3133 |
msgid "WordPress/BuddyPress Plugin Development"
|
3134 |
msgstr ""
|
3135 |
|
3136 |
+
#: app/main/controllers/template/rtmedia-actions.php:521
|
3137 |
msgid "Contact Us"
|
3138 |
msgstr ""
|
3139 |
|
|
|
3140 |
#: app/main/controllers/template/rtmedia-actions.php:618
|
3141 |
+
#: app/main/controllers/template/rtmedia-actions.php:619
|
3142 |
msgid "Previous"
|
3143 |
msgstr ""
|
3144 |
|
|
|
3145 |
#: app/main/controllers/template/rtmedia-actions.php:620
|
3146 |
+
#: app/main/controllers/template/rtmedia-actions.php:621
|
3147 |
#: templates/media/album-single-edit.php:142
|
3148 |
msgid "Next"
|
3149 |
msgstr ""
|
3150 |
|
3151 |
+
#: app/main/controllers/template/rtmedia-actions.php:828
|
3152 |
msgid "Settings has been saved successfully."
|
3153 |
msgstr ""
|
3154 |
|
3155 |
+
#: app/main/controllers/template/rtmedia-actions.php:832
|
3156 |
msgid "Refresh the page in case if license data is not showing correct."
|
3157 |
msgstr ""
|
3158 |
|
3159 |
+
#: app/main/controllers/template/rtmedia-actions.php:851
|
3160 |
msgid "Posted a status update"
|
3161 |
msgstr ""
|
3162 |
|
3163 |
+
#: app/main/controllers/template/rtmedia-actions.php:853
|
3164 |
msgid "rtMedia Updates"
|
3165 |
msgstr ""
|
3166 |
|
3167 |
+
#: app/main/controllers/template/rtmedia-actions.php:909
|
3168 |
msgid "Search Media"
|
3169 |
msgstr ""
|
3170 |
|
3171 |
+
#: app/main/controllers/template/rtmedia-actions.php:1104
|
3172 |
msgid "Please swipe for more media."
|
3173 |
msgstr ""
|
3174 |
|
3177 |
msgstr ""
|
3178 |
|
3179 |
#: app/main/controllers/template/rtmedia-ajax-actions.php:152
|
3180 |
+
#: app/main/controllers/template/rtmedia-functions.php:2169
|
3181 |
msgid "Comment"
|
3182 |
msgstr ""
|
3183 |
|
3194 |
msgstr ""
|
3195 |
|
3196 |
#: app/main/controllers/template/rtmedia-filters.php:937
|
3197 |
+
#: app/main/controllers/template/rtmedia-functions.php:4663
|
3198 |
msgid "rtMedia Shortcode Uploads"
|
3199 |
msgstr ""
|
3200 |
|
3201 |
#: app/main/controllers/template/rtmedia-filters.php:941
|
3202 |
+
#: app/main/controllers/template/rtmedia-functions.php:4544
|
3203 |
msgid "rtMedia Activities"
|
3204 |
msgstr ""
|
3205 |
|
3229 |
msgid "rtMedia Album Eraser"
|
3230 |
msgstr ""
|
3231 |
|
3232 |
+
#: app/main/controllers/template/rtmedia-functions.php:1355
|
3233 |
msgid "There are no comments on this media yet."
|
3234 |
msgstr ""
|
3235 |
|
3236 |
+
#: app/main/controllers/template/rtmedia-functions.php:1391
|
3237 |
#. translators: %s Count of comments.
|
3238 |
msgid "Show all %s comments"
|
3239 |
msgstr ""
|
3240 |
|
3241 |
+
#: app/main/controllers/template/rtmedia-functions.php:1424
|
3242 |
msgid "Delete Comment"
|
3243 |
msgstr ""
|
3244 |
|
3245 |
+
#: app/main/controllers/template/rtmedia-functions.php:1786
|
3246 |
msgid "Go to page no : "
|
3247 |
msgstr ""
|
3248 |
|
3249 |
+
#: app/main/controllers/template/rtmedia-functions.php:1791
|
3250 |
msgid "Go"
|
3251 |
msgstr ""
|
3252 |
|
3253 |
+
#: app/main/controllers/template/rtmedia-functions.php:2167
|
3254 |
msgid "Type Comment..."
|
3255 |
msgstr ""
|
3256 |
|
3257 |
+
#: app/main/controllers/template/rtmedia-functions.php:2232
|
3258 |
+
#: app/main/controllers/template/rtmedia-functions.php:2241
|
3259 |
msgid "Delete Media"
|
3260 |
msgstr ""
|
3261 |
|
3262 |
+
#: app/main/controllers/template/rtmedia-functions.php:2493
|
3263 |
msgid "Profile Albums"
|
3264 |
msgstr ""
|
3265 |
|
3266 |
+
#: app/main/controllers/template/rtmedia-functions.php:2497
|
3267 |
+
#: app/main/controllers/template/rtmedia-functions.php:2544
|
3268 |
msgid "Group Albums"
|
3269 |
msgstr ""
|
3270 |
|
3271 |
+
#: app/main/controllers/template/rtmedia-functions.php:2719
|
3272 |
msgid "Privacy : "
|
3273 |
msgstr ""
|
3274 |
|
3275 |
+
#: app/main/controllers/template/rtmedia-functions.php:3086
|
3276 |
msgid "You like this"
|
3277 |
msgstr ""
|
3278 |
|
3279 |
+
#: app/main/controllers/template/rtmedia-functions.php:3100
|
3280 |
msgid "You and "
|
3281 |
msgstr ""
|
3282 |
|
3283 |
+
#: app/main/controllers/template/rtmedia-functions.php:3123
|
3284 |
msgid " person likes this"
|
3285 |
msgid_plural " people like this"
|
3286 |
msgstr[0] ""
|
3287 |
msgstr[1] ""
|
3288 |
|
3289 |
+
#: app/main/controllers/template/rtmedia-functions.php:3243
|
3290 |
msgid "Public"
|
3291 |
msgstr ""
|
3292 |
|
3293 |
+
#: app/main/controllers/template/rtmedia-functions.php:3248
|
3294 |
msgid "All members"
|
3295 |
msgstr ""
|
3296 |
|
3297 |
+
#: app/main/controllers/template/rtmedia-functions.php:3253
|
3298 |
msgid "Your friends"
|
3299 |
msgstr ""
|
3300 |
|
3301 |
+
#: app/main/controllers/template/rtmedia-functions.php:3258
|
3302 |
msgid "Only you"
|
3303 |
msgstr ""
|
3304 |
|
3305 |
+
#: app/main/controllers/template/rtmedia-functions.php:3263
|
3306 |
msgid "Blocked temporarily"
|
3307 |
msgstr ""
|
3308 |
|
3309 |
+
#: app/main/controllers/template/rtmedia-functions.php:3321
|
3310 |
#. translators: %s: count of hour/minute/second.
|
3311 |
msgid "%s ago "
|
3312 |
msgstr ""
|
3313 |
|
3314 |
+
#: app/main/controllers/template/rtmedia-functions.php:3343
|
3315 |
#. translators: %s: number of seconds.
|
3316 |
msgid "%s second"
|
3317 |
msgid_plural "%s seconds"
|
3318 |
msgstr[0] ""
|
3319 |
msgstr[1] ""
|
3320 |
|
3321 |
+
#: app/main/controllers/template/rtmedia-functions.php:3348
|
3322 |
#. translators: %s: number of minutes.
|
3323 |
msgid "%s minute"
|
3324 |
msgid_plural "%s minutes"
|
3325 |
msgstr[0] ""
|
3326 |
msgstr[1] ""
|
3327 |
|
3328 |
+
#: app/main/controllers/template/rtmedia-functions.php:3353
|
3329 |
#. translators: %s: number of hours.
|
3330 |
msgid "%s hour"
|
3331 |
msgid_plural "%s hours"
|
3332 |
msgstr[0] ""
|
3333 |
msgstr[1] ""
|
3334 |
|
3335 |
+
#: app/main/controllers/template/rtmedia-functions.php:3990
|
3336 |
#. translators: %s: date format, see http:php.net/date.
|
3337 |
msgid "View Conversation"
|
3338 |
msgstr ""
|
3339 |
|
3340 |
+
#: app/main/controllers/template/rtmedia-functions.php:4570
|
3341 |
msgid "Activity Date"
|
3342 |
msgstr ""
|
3343 |
|
3344 |
+
#: app/main/controllers/template/rtmedia-functions.php:4574
|
3345 |
msgid "Activity Content"
|
3346 |
msgstr ""
|
3347 |
|
3348 |
+
#: app/main/controllers/template/rtmedia-functions.php:4578
|
3349 |
#: app/main/controllers/template/rtmedia-functions.php:4802
|
3350 |
msgid "Attachments"
|
3351 |
msgstr ""
|
3352 |
|
3353 |
+
#: app/main/controllers/template/rtmedia-functions.php:4672
|
3354 |
msgid "Media Upload Date"
|
3355 |
msgstr ""
|
3356 |
|
3357 |
+
#: app/main/controllers/template/rtmedia-functions.php:4676
|
3358 |
msgid "Media Title"
|
3359 |
msgstr ""
|
3360 |
|
3361 |
+
#: app/main/controllers/template/rtmedia-functions.php:4680
|
3362 |
#: app/main/controllers/template/rtmedia-functions.php:4896
|
3363 |
#: app/main/controllers/template/rtmedia-functions.php:4997
|
3364 |
msgid "Media URL"
|
3365 |
msgstr ""
|
3366 |
|
3367 |
+
#: app/main/controllers/template/rtmedia-functions.php:4684
|
3368 |
msgid "Album Title"
|
3369 |
msgstr ""
|
3370 |
|
3371 |
+
#: app/main/controllers/template/rtmedia-functions.php:4773
|
3372 |
msgid "rtMedia Activity Comments"
|
3373 |
msgstr ""
|
3374 |
|
3481 |
msgid "Album List"
|
3482 |
msgstr ""
|
3483 |
|
3484 |
+
#: templates/media/album-gallery.php:108 templates/media/album-gallery.php:137
|
3485 |
+
#: templates/media/media-gallery.php:101
|
3486 |
#: templates/media/media-single-edit.php:74
|
3487 |
#: templates/media/media-single.php:212
|
3488 |
msgid "Sorry !! There's no media found for the request !!"
|
readme.txt
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
=== rtMedia for WordPress, BuddyPress and bbPress ===
|
2 |
-
Contributors: rtcamp, mangeshp, sanket.parmar, pranalipatel, jignesh.nakrani, manishsongirkar36, kiranpotphode, yahil, 1naveengiri, bhargavbhandari90, raftaar1191, rittesh.patel, sagarjadhav, pushpak.pop, faishal, desaiuditd, rahul286, JoshuaAbenazer, gagan0123, saurabhshukla, nitun.lanjewar, umesh.nevase, suhasgirgaonkar, neerukoul, hrishiv90, kanakiyajay, jarretc, tobiaskluge, rafaelfunchal, UmeshSingla, mehulkaklotar, tannermirabel, kishores, chandrapatel, rahul3883, nomnom99, sayanchakraborty, milindmore22, thrijith, abhijitrakas, sid177, montu3366, jashwini, juhise, ravatparmar, dharmin16, malavvasita, pooja1210, krupajnanda, surajkumarsingh, kanumalivad, dishitpala, shobhit2412, vaishu.agola27, kapilpaul, opurockey, vkd007, pavanpatil1, pradeep1308, shardul200, sabbir1991, kamalahmed, ibnulk, harshbarach
|
3 |
Tags: BuddyPress, media, multimedia, album, audio, songs, music, video, photo, image, upload, share, MediaElement.js, media-node, rtMedia, WordPress, bbPress, masonry
|
4 |
License: GPLv2 or later
|
5 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
6 |
Requires at least: WordPress 4.1
|
7 |
-
Tested up to:
|
8 |
-
Stable tag: 4.6.
|
9 |
|
10 |
Add albums, photo, audio/video upload, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
|
11 |
|
@@ -47,43 +47,50 @@ rtMedia has a premium solution to take care of audio/video conversion.
|
|
47 |
|
48 |
* [Audio/Video Transcoding Service](https://wordpress.org/plugins/transcoder/ "Audio/Video Transcoding Service") - If free plan is not enough for you, there is monthly subscription service also. Easiest to setup.
|
49 |
|
50 |
-
= rtMedia Premium
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
|
88 |
|
89 |
= Important Links =
|
@@ -133,6 +140,20 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
|
|
133 |
|
134 |
== Changelog ==
|
135 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
136 |
= 4.6.10 [February 17, 2022] =
|
137 |
|
138 |
* Enhancement
|
@@ -1784,8 +1805,8 @@ http://www.youtube.com/watch?v=dJrykKQGDcs
|
|
1784 |
|
1785 |
== Upgrade Notice ==
|
1786 |
|
1787 |
-
= 4.6.
|
1788 |
-
rtMedia 4.6.
|
1789 |
|
1790 |
== Sponsors ==
|
1791 |
|
1 |
=== rtMedia for WordPress, BuddyPress and bbPress ===
|
2 |
+
Contributors: rtcamp, mangeshp, sanket.parmar, pranalipatel, jignesh.nakrani, manishsongirkar36, kiranpotphode, yahil, 1naveengiri, bhargavbhandari90, raftaar1191, rittesh.patel, sagarjadhav, pushpak.pop, faishal, desaiuditd, rahul286, JoshuaAbenazer, gagan0123, saurabhshukla, nitun.lanjewar, umesh.nevase, suhasgirgaonkar, neerukoul, hrishiv90, kanakiyajay, jarretc, tobiaskluge, rafaelfunchal, UmeshSingla, mehulkaklotar, tannermirabel, kishores, chandrapatel, rahul3883, nomnom99, sayanchakraborty, milindmore22, thrijith, abhijitrakas, sid177, montu3366, jashwini, juhise, ravatparmar, dharmin16, malavvasita, pooja1210, krupajnanda, surajkumarsingh, kanumalivad, dishitpala, shobhit2412, vaishu.agola27, kapilpaul, opurockey, vkd007, pavanpatil1, pradeep1308, shardul200, sabbir1991, kamalahmed, ibnulk, harshbarach, Mukulsingh27, vishalkakadiya
|
3 |
Tags: BuddyPress, media, multimedia, album, audio, songs, music, video, photo, image, upload, share, MediaElement.js, media-node, rtMedia, WordPress, bbPress, masonry
|
4 |
License: GPLv2 or later
|
5 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
6 |
Requires at least: WordPress 4.1
|
7 |
+
Tested up to: 6.0
|
8 |
+
Stable tag: 4.6.11
|
9 |
|
10 |
Add albums, photo, audio/video upload, privacy, sharing, front-end uploads & more. All this works on mobile/tablets devices.
|
11 |
|
47 |
|
48 |
* [Audio/Video Transcoding Service](https://wordpress.org/plugins/transcoder/ "Audio/Video Transcoding Service") - If free plan is not enough for you, there is monthly subscription service also. Easiest to setup.
|
49 |
|
50 |
+
= rtMedia Premium =
|
51 |
+
|
52 |
+
rtMedia Premium comes with some exciting advanced features along with it. Gain access to 18 powerful features with a single [rtMedia Premium]("https://rtmedia.io/rtmedia-premium/") purchase:
|
53 |
+
|
54 |
+
1. **Default-Albums** – This plugin allows the creation of multiple default albums for rtMedia uploads.
|
55 |
+
2. **Sidebar-Widgets** – This addon provides widgets to upload media and display gallery for rtMedia plugin.
|
56 |
+
3. **BuddyPress-Profile-Picture** – Allow users to set their profile picture from an existing uploaded media file.
|
57 |
+
4. **5-Star-Ratings** – Users can rate the media files from 1 to 5 stars.
|
58 |
+
5. **Upload-by-URL** – Allow users to upload media using absolute URL.
|
59 |
+
6. **Photo-Filters** – Users can apply Instagram like filters to photos.
|
60 |
+
7. **Favorites** – This feature allows users to create their own list of favorite media.
|
61 |
+
8. **Sorting** – Sort uploaded media based on file size, ascending/descending title, upload date of media.
|
62 |
+
9. **Playlists** – This plugin is used to create a playlist for uploaded music files with rtMedia.
|
63 |
+
10. **Bulk-Edit** – Allow users to move files from one album to another, change attributes, change privacy, delete files in bulk.
|
64 |
+
11. **myCRED-Points** – It allows you to integrate rtMedia with myCRED and award virtual points for various rtMedia activities, like media upload, likes, deleted, albums creation, playlist, etc.
|
65 |
+
12. **BuddyPress-Group-Media-Control** – Allow group owners to provide media upload features for their group.
|
66 |
+
13. **Album-Cover-Art** – Allow users to set album cover from uploaded image.
|
67 |
+
14. **Podcast-Feed** – Read rtMedia uploads from iTunes as well as any RSS feed-reader/podcasting software.
|
68 |
+
15. **WordPress-Sitewide-Gallery** – Site admin can create and upload media into WordPress albums.
|
69 |
+
16. **Album-Privacy** – Set album privacy when users create new albums or edit albums.
|
70 |
+
17. **Direct-Download-Link** – This addon provides a download button for all the uploaded media.
|
71 |
+
18. **Upload-by-URL** – Save your users time by allowing them to upload media files to your site directly from a URL.
|
72 |
+
|
73 |
+
= Achieve a lot more with 18 premium add-ons =
|
74 |
+
|
75 |
+
1. **Docs-and-Other-files** – This plugin allows uploading for doc, pdf and other file types such as zip, tar, etc.
|
76 |
+
2. **bbPress-Attachments** – Attach media files to bbPress forum topics and replies.
|
77 |
+
3. **Activity-URL-Preview** – This addon provides a preview of the URL that is shared and shows up on BuddyPress activity.
|
78 |
+
4. **Photo-Tagging** – Users can tag their friends/other users in photos.
|
79 |
+
5. **Restrictions** – Site admin can set limits in terms of total size & file count.
|
80 |
+
6. **Social-Sync** – It allows you to import media from your Facebook account.
|
81 |
+
7. **Moderation** – This plugin is for reporting media if users find it offensive.
|
82 |
+
8. **Social-Sharing** – Share uploaded media on social network sites like Facebook, twitter, linkedin, Google+. This add-on integrates with the rtSocial plugin.
|
83 |
+
9. **SEO** – Generate XML sitemap of all the public media files uploaded via rtMedia plugin, also compatible with [Yoast-SEO]("https://wordpress.org/plugins/wordpress-seo/") plugin if you are already using it on your site.
|
84 |
+
10. **WordPress-Comment-Attachments** – Allow users to upload a media file in WordPress comment attachment box.
|
85 |
+
11. **Photo-Watermark** – rtMedia Photo Watermark add-on lets you watermark or copyright your uploaded photos.
|
86 |
+
12. **Shortcode-Generator** – The shortcode generator button added in WordPress post and page editor for all the rtMedia shortcodes.
|
87 |
+
13. **Membership** – It provides membership functionality in your site.
|
88 |
+
14. **Custom-Attributes** – This plugin is for categorizing media using attributes defined by the site owner when uploading.
|
89 |
+
15. **Likes** – This add-on lets you know who likes the media. Users can also see which media file he/she likes under the user profile.
|
90 |
+
16. **Custom-Thumbnail-for-Audio/Video** – Allow media owners to change the thumbnail of uploaded audio/video files.
|
91 |
+
17. **View-Counter** – Enable view count for all the uploaded media.
|
92 |
+
18. **Edit-Mp3-Info-(ID3 Tags)** – Allow users to edit MP3 FIle Audio tags (ID 3 tags).
|
93 |
+
|
94 |
|
95 |
|
96 |
= Important Links =
|
140 |
|
141 |
== Changelog ==
|
142 |
|
143 |
+
= 4.6.11 [April 27, 2022] =
|
144 |
+
|
145 |
+
* Enhancement
|
146 |
+
|
147 |
+
* UI/UX Enhancements on Forms and rtMedia settings sidebar.
|
148 |
+
|
149 |
+
* Fixed
|
150 |
+
|
151 |
+
* UI/UX Issues.
|
152 |
+
* Fixed media is not visible on the group page after adding a comment.
|
153 |
+
* Twitter button share issue from rtMedia settings sidebar.
|
154 |
+
* Fixed Post update button not working when allow upload from activity stream setting from BuddyPress tab is disabled.
|
155 |
+
* Fixed count issue for album.
|
156 |
+
|
157 |
= 4.6.10 [February 17, 2022] =
|
158 |
|
159 |
* Enhancement
|
1805 |
|
1806 |
== Upgrade Notice ==
|
1807 |
|
1808 |
+
= 4.6.11 =
|
1809 |
+
rtMedia 4.6.11 with some enhancements & minor UI/UX fixes.
|
1810 |
|
1811 |
== Sponsors ==
|
1812 |
|
templates/media/album-gallery-item.php
CHANGED
@@ -53,6 +53,6 @@ if ( isset( $is_edit_allowed[0] ) ) {
|
|
53 |
/**
|
54 |
* Fires after album gallery item.
|
55 |
*/
|
56 |
-
do_action( 'rtmedia_after_album_gallery_item' );
|
57 |
?>
|
58 |
</li> <!-- End of .rtmedia-list-item -->
|
53 |
/**
|
54 |
* Fires after album gallery item.
|
55 |
*/
|
56 |
+
do_action( 'rtmedia_after_album_gallery_item', rtmedia_id(), null );
|
57 |
?>
|
58 |
</li> <!-- End of .rtmedia-list-item -->
|
templates/media/album-gallery.php
CHANGED
@@ -41,18 +41,74 @@ $rand_id = wp_rand( 0, 1000 );
|
|
41 |
|
42 |
<?php
|
43 |
do_action( 'rtmedia_after_media_gallery_title' );
|
44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
?>
|
46 |
|
47 |
<!-- addClass 'rtmedia-list-media' for work properly selectbox -->
|
48 |
-
|
|
|
|
|
|
|
49 |
<?php
|
50 |
while ( have_rtmedia() ) :
|
51 |
rtmedia();
|
52 |
include 'album-gallery-item.php';
|
53 |
endwhile;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
?>
|
55 |
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
|
57 |
<div class="rtmedia_next_prev rtm-load-more clearfix">
|
58 |
<!-- these links will be handled by backbone -->
|
41 |
|
42 |
<?php
|
43 |
do_action( 'rtmedia_after_media_gallery_title' );
|
44 |
+
$global_albums = rtmedia_global_albums();
|
45 |
+
$model = new RTMediaModel();
|
46 |
+
$album_objects = $model->get_media(
|
47 |
+
array(
|
48 |
+
'id' => ( $global_albums ),
|
49 |
+
)
|
50 |
+
);
|
51 |
+
|
52 |
+
if ( have_rtmedia() || ! empty( $album_objects ) ) {
|
53 |
?>
|
54 |
|
55 |
<!-- addClass 'rtmedia-list-media' for work properly selectbox -->
|
56 |
+
<?php
|
57 |
+
if ( have_rtmedia() ) {
|
58 |
+
?>
|
59 |
+
<ul class="rtmedia-list-media rtmedia-list rtmedia-album-list clearfix">
|
60 |
<?php
|
61 |
while ( have_rtmedia() ) :
|
62 |
rtmedia();
|
63 |
include 'album-gallery-item.php';
|
64 |
endwhile;
|
65 |
+
if ( ! empty( $album_objects ) && ! current_user_can( 'manage_options' ) ) {
|
66 |
+
foreach ( $album_objects as $album_object ) {
|
67 |
+
$media_id = $album_object->media_id;
|
68 |
+
$album_id = $album_object->id;
|
69 |
+
$media_title = $album_object->media_title;
|
70 |
+
?>
|
71 |
+
<!-- start default album gallery-->
|
72 |
+
<li class="rtmedia-list-item" id="<?php echo esc_attr( $media_id ); ?>">
|
73 |
+
<a href="<?php rtmedia_permalink( $media_id ); ?>" title="<?php echo esc_attr( $media_title ); ?>">
|
74 |
+
<div class="rtmedia-item-thumbnail">
|
75 |
+
<img src="<?php rtmedia_image( 'rt_media_thumbnail', $album_object->id ); ?>" alt="<?php echo esc_attr( $media_title ); ?>">
|
76 |
+
</div>
|
77 |
+
|
78 |
+
<?php
|
79 |
+
/**
|
80 |
+
* Filter to hide or show media titles in gallery.
|
81 |
+
*
|
82 |
+
* @param bool true Default value is true.
|
83 |
+
*/
|
84 |
+
if ( apply_filters( 'rtmedia_media_gallery_show_media_title', true ) ) {
|
85 |
+
?>
|
86 |
+
<div class="rtmedia-item-title">
|
87 |
+
<h4><?php echo esc_html( $media_title ); ?><span></h4>
|
88 |
+
</div>
|
89 |
+
<?php
|
90 |
+
}
|
91 |
+
?>
|
92 |
+
</a>
|
93 |
+
<?php
|
94 |
+
/**
|
95 |
+
* Fires after album gallery item.
|
96 |
+
*/
|
97 |
+
do_action( 'rtmedia_after_album_gallery_item', $media_id, $album_id );
|
98 |
+
?>
|
99 |
+
</li> <!-- End of .default- rtmedia-list-item -->
|
100 |
+
<?php
|
101 |
+
}
|
102 |
+
}
|
103 |
?>
|
104 |
</ul>
|
105 |
+
<?php } else { ?>
|
106 |
+
<p class="rtmedia-no-media-found">
|
107 |
+
<?php
|
108 |
+
echo esc_html( apply_filters( 'rtmedia_no_media_found_message_filter', __( 'Sorry !! There\'s no media found for the request !!', 'buddypress-media' ) ) );
|
109 |
+
?>
|
110 |
+
</p>
|
111 |
+
<?php } ?>
|
112 |
|
113 |
<div class="rtmedia_next_prev rtm-load-more clearfix">
|
114 |
<!-- these links will be handled by backbone -->
|