rtMedia for WordPress, BuddyPress and bbPress - Version 3.2

Version Description

  • UI Changes
  • Cover art for music
  • Used Font awesome for icon buttons
Download this release

Release Info

Developer faishal
Plugin Icon 128x128 rtMedia for WordPress, BuddyPress and bbPress
Version 3.2
Comparing to
See all releases

Code changes from version 3.1.7 to 3.2

Files changed (39) hide show
  1. app/assets/css/main.css +1 -1
  2. app/assets/js/rtMedia.backbone.js +69 -14
  3. app/assets/js/rtMedia.js +83 -9
  4. app/assets/sass/_foundation_reveal_settings.scss +42 -0
  5. app/assets/sass/main.scss +214 -38
  6. app/helper/RTMediaCommentModel.php +2 -2
  7. app/helper/RTMediaModel.php +22 -10
  8. app/main/RTMedia.php +6 -3
  9. app/main/contexts/RTMediaContext.php +3 -1
  10. app/main/controllers/activity/RTMediaActivity.php +2 -3
  11. app/main/controllers/activity/RTMediaBuddyPressActivity.php +4 -2
  12. app/main/controllers/group/RTMediaGroup.php +8 -3
  13. app/main/controllers/media/RTMediaComment.php +15 -1
  14. app/main/controllers/media/RTMediaLike.php +1 -0
  15. app/main/controllers/media/RTMediaViewCount.php +1 -0
  16. app/main/controllers/privacy/RTMediaPrivacy.php +4 -4
  17. app/main/controllers/shortcodes/RTMediaGalleryShortcode.php +3 -0
  18. app/main/controllers/shortcodes/RTMediaUploadShortcode.php +7 -1
  19. app/main/controllers/template/RTMediaNav.php +27 -19
  20. app/main/controllers/template/RTMediaTemplate.php +52 -8
  21. app/main/controllers/template/rt-template-functions.php +144 -48
  22. app/main/controllers/upload/RTMediaUpload.php +1 -0
  23. app/main/controllers/upload/RTMediaUploadEndpoint.php +14 -5
  24. app/main/controllers/upload/RTMediaUploadView.php +11 -4
  25. app/main/controllers/upload/processors/RTMediaUploadFile.php +1 -1
  26. app/main/interactions/RTMediaInteraction.php +8 -5
  27. app/main/routers/RTMediaRouter.php +3 -2
  28. app/main/routers/query/RTMediaQuery.php +9 -8
  29. index.php +1 -1
  30. languages/rtmedia-it_IT.mo +0 -0
  31. languages/rtmedia-ja_JA.mo +0 -0
  32. languages/rtmedia.mo +0 -0
  33. languages/rtmedia.po +184 -163
  34. lib/foundation/foundation.min.js +15 -0
  35. lib/foundation/foundation.reveal.js +330 -0
  36. readme.txt +11 -5
  37. templates/media/album-gallery.php +9 -4
  38. templates/media/album-single-edit.php +3 -1
  39. templates/media/media-gallery.php +19 -8
app/assets/css/main.css CHANGED
@@ -1 +1 @@
1
- .rtmedia-container,.rtmedia-activity-container,#buddypress div.rtmedia-activity-container{padding:5px;margin:0;clear:left}.rtmedia-container html,.rtmedia-activity-container html,#buddypress div.rtmedia-activity-container html,.rtmedia-container body,.rtmedia-activity-container body,#buddypress div.rtmedia-activity-container body,.rtmedia-container div,.rtmedia-activity-container div,#buddypress div.rtmedia-activity-container div,.rtmedia-container span,.rtmedia-activity-container span,#buddypress div.rtmedia-activity-container span,.rtmedia-container applet,.rtmedia-activity-container applet,#buddypress div.rtmedia-activity-container applet,.rtmedia-container object,.rtmedia-activity-container object,#buddypress div.rtmedia-activity-container object,.rtmedia-container iframe,.rtmedia-activity-container iframe,#buddypress div.rtmedia-activity-container iframe,.rtmedia-container h1,.rtmedia-activity-container h1,#buddypress div.rtmedia-activity-container h1,.rtmedia-container h2,.rtmedia-activity-container h2,#buddypress div.rtmedia-activity-container h2,.rtmedia-container h3,.rtmedia-activity-container h3,#buddypress div.rtmedia-activity-container h3,.rtmedia-container h4,.rtmedia-activity-container h4,#buddypress div.rtmedia-activity-container h4,.rtmedia-container h5,.rtmedia-activity-container h5,#buddypress div.rtmedia-activity-container h5,.rtmedia-container h6,.rtmedia-activity-container h6,#buddypress div.rtmedia-activity-container h6,.rtmedia-container p,.rtmedia-activity-container p,#buddypress div.rtmedia-activity-container p,.rtmedia-container blockquote,.rtmedia-activity-container blockquote,#buddypress div.rtmedia-activity-container blockquote,.rtmedia-container pre,.rtmedia-activity-container pre,#buddypress div.rtmedia-activity-container pre,.rtmedia-container a,.rtmedia-activity-container a,#buddypress div.rtmedia-activity-container a,.rtmedia-container abbr,.rtmedia-activity-container abbr,#buddypress div.rtmedia-activity-container abbr,.rtmedia-container acronym,.rtmedia-activity-container acronym,#buddypress div.rtmedia-activity-container acronym,.rtmedia-container address,.rtmedia-activity-container address,#buddypress div.rtmedia-activity-container address,.rtmedia-container big,.rtmedia-activity-container big,#buddypress div.rtmedia-activity-container big,.rtmedia-container cite,.rtmedia-activity-container cite,#buddypress div.rtmedia-activity-container cite,.rtmedia-container code,.rtmedia-activity-container code,#buddypress div.rtmedia-activity-container code,.rtmedia-container del,.rtmedia-activity-container del,#buddypress div.rtmedia-activity-container del,.rtmedia-container dfn,.rtmedia-activity-container dfn,#buddypress div.rtmedia-activity-container dfn,.rtmedia-container em,.rtmedia-activity-container em,#buddypress div.rtmedia-activity-container em,.rtmedia-container img,.rtmedia-activity-container img,#buddypress div.rtmedia-activity-container img,.rtmedia-container ins,.rtmedia-activity-container ins,#buddypress div.rtmedia-activity-container ins,.rtmedia-container kbd,.rtmedia-activity-container kbd,#buddypress div.rtmedia-activity-container kbd,.rtmedia-container q,.rtmedia-activity-container q,#buddypress div.rtmedia-activity-container q,.rtmedia-container s,.rtmedia-activity-container s,#buddypress div.rtmedia-activity-container s,.rtmedia-container samp,.rtmedia-activity-container samp,#buddypress div.rtmedia-activity-container samp,.rtmedia-container small,.rtmedia-activity-container small,#buddypress div.rtmedia-activity-container small,.rtmedia-container strike,.rtmedia-activity-container strike,#buddypress div.rtmedia-activity-container strike,.rtmedia-container strong,.rtmedia-activity-container strong,#buddypress div.rtmedia-activity-container strong,.rtmedia-container sub,.rtmedia-activity-container sub,#buddypress div.rtmedia-activity-container sub,.rtmedia-container sup,.rtmedia-activity-container sup,#buddypress div.rtmedia-activity-container sup,.rtmedia-container tt,.rtmedia-activity-container tt,#buddypress div.rtmedia-activity-container tt,.rtmedia-container var,.rtmedia-activity-container var,#buddypress div.rtmedia-activity-container var,.rtmedia-container b,.rtmedia-activity-container b,#buddypress div.rtmedia-activity-container b,.rtmedia-container u,.rtmedia-activity-container u,#buddypress div.rtmedia-activity-container u,.rtmedia-container i,.rtmedia-activity-container i,#buddypress div.rtmedia-activity-container i,.rtmedia-container center,.rtmedia-activity-container center,#buddypress div.rtmedia-activity-container center,.rtmedia-container dl,.rtmedia-activity-container dl,#buddypress div.rtmedia-activity-container dl,.rtmedia-container dt,.rtmedia-activity-container dt,#buddypress div.rtmedia-activity-container dt,.rtmedia-container dd,.rtmedia-activity-container dd,#buddypress div.rtmedia-activity-container dd,.rtmedia-container ol,.rtmedia-activity-container ol,#buddypress div.rtmedia-activity-container ol,.rtmedia-container ul,.rtmedia-activity-container ul,#buddypress div.rtmedia-activity-container ul,.rtmedia-container li,.rtmedia-activity-container li,#buddypress div.rtmedia-activity-container li,.rtmedia-container fieldset,.rtmedia-activity-container fieldset,#buddypress div.rtmedia-activity-container fieldset,.rtmedia-container form,.rtmedia-activity-container form,#buddypress div.rtmedia-activity-container form,.rtmedia-container label,.rtmedia-activity-container label,#buddypress div.rtmedia-activity-container label,.rtmedia-container legend,.rtmedia-activity-container legend,#buddypress div.rtmedia-activity-container legend,.rtmedia-container table,.rtmedia-activity-container table,#buddypress div.rtmedia-activity-container table,.rtmedia-container caption,.rtmedia-activity-container caption,#buddypress div.rtmedia-activity-container caption,.rtmedia-container tbody,.rtmedia-activity-container tbody,#buddypress div.rtmedia-activity-container tbody,.rtmedia-container tfoot,.rtmedia-activity-container tfoot,#buddypress div.rtmedia-activity-container tfoot,.rtmedia-container thead,.rtmedia-activity-container thead,#buddypress div.rtmedia-activity-container thead,.rtmedia-container tr,.rtmedia-activity-container tr,#buddypress div.rtmedia-activity-container tr,.rtmedia-container th,.rtmedia-activity-container th,#buddypress div.rtmedia-activity-container th,.rtmedia-container td,.rtmedia-activity-container td,#buddypress div.rtmedia-activity-container td,.rtmedia-container article,.rtmedia-activity-container article,#buddypress div.rtmedia-activity-container article,.rtmedia-container aside,.rtmedia-activity-container aside,#buddypress div.rtmedia-activity-container aside,.rtmedia-container canvas,.rtmedia-activity-container canvas,#buddypress div.rtmedia-activity-container canvas,.rtmedia-container details,.rtmedia-activity-container details,#buddypress div.rtmedia-activity-container details,.rtmedia-container embed,.rtmedia-activity-container embed,#buddypress div.rtmedia-activity-container embed,.rtmedia-container figure,.rtmedia-activity-container figure,#buddypress div.rtmedia-activity-container figure,.rtmedia-container figcaption,.rtmedia-activity-container figcaption,#buddypress div.rtmedia-activity-container figcaption,.rtmedia-container footer,.rtmedia-activity-container footer,#buddypress div.rtmedia-activity-container footer,.rtmedia-container header,.rtmedia-activity-container header,#buddypress div.rtmedia-activity-container header,.rtmedia-container hgroup,.rtmedia-activity-container hgroup,#buddypress div.rtmedia-activity-container hgroup,.rtmedia-container menu,.rtmedia-activity-container menu,#buddypress div.rtmedia-activity-container menu,.rtmedia-container nav,.rtmedia-activity-container nav,#buddypress div.rtmedia-activity-container nav,.rtmedia-container output,.rtmedia-activity-container output,#buddypress div.rtmedia-activity-container output,.rtmedia-container ruby,.rtmedia-activity-container ruby,#buddypress div.rtmedia-activity-container ruby,.rtmedia-container section,.rtmedia-activity-container section,#buddypress div.rtmedia-activity-container section,.rtmedia-container summary,.rtmedia-activity-container summary,#buddypress div.rtmedia-activity-container summary,.rtmedia-container time,.rtmedia-activity-container time,#buddypress div.rtmedia-activity-container time,.rtmedia-container mark,.rtmedia-activity-container mark,#buddypress div.rtmedia-activity-container mark,.rtmedia-container audio,.rtmedia-activity-container audio,#buddypress div.rtmedia-activity-container audio,.rtmedia-container video,.rtmedia-activity-container video,#buddypress div.rtmedia-activity-container video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}.rtmedia-container html,.rtmedia-activity-container html,#buddypress div.rtmedia-activity-container html{line-height:1}.rtmedia-container ol,.rtmedia-activity-container ol,#buddypress div.rtmedia-activity-container ol,.rtmedia-container ul,.rtmedia-activity-container ul,#buddypress div.rtmedia-activity-container ul{list-style:none}.rtmedia-container table,.rtmedia-activity-container table,#buddypress div.rtmedia-activity-container table{border-collapse:collapse;border-spacing:0}.rtmedia-container caption,.rtmedia-activity-container caption,#buddypress div.rtmedia-activity-container caption,.rtmedia-container th,.rtmedia-activity-container th,#buddypress div.rtmedia-activity-container th,.rtmedia-container td,.rtmedia-activity-container td,#buddypress div.rtmedia-activity-container td{text-align:left;font-weight:normal;vertical-align:middle}.rtmedia-container q,.rtmedia-activity-container q,#buddypress div.rtmedia-activity-container q,.rtmedia-container blockquote,.rtmedia-activity-container blockquote,#buddypress div.rtmedia-activity-container blockquote{quotes:none}.rtmedia-container q:before,.rtmedia-activity-container q:before,#buddypress div.rtmedia-activity-container q:before,.rtmedia-container q:after,.rtmedia-activity-container q:after,#buddypress div.rtmedia-activity-container q:after,.rtmedia-container blockquote:before,.rtmedia-activity-container blockquote:before,#buddypress div.rtmedia-activity-container blockquote:before,.rtmedia-container blockquote:after,.rtmedia-activity-container blockquote:after,#buddypress div.rtmedia-activity-container blockquote:after{content:"";content:none}.rtmedia-container a img,.rtmedia-activity-container a img,#buddypress div.rtmedia-activity-container a img{border:none}.rtmedia-container article,.rtmedia-activity-container article,#buddypress div.rtmedia-activity-container article,.rtmedia-container aside,.rtmedia-activity-container aside,#buddypress div.rtmedia-activity-container aside,.rtmedia-container details,.rtmedia-activity-container details,#buddypress div.rtmedia-activity-container details,.rtmedia-container figcaption,.rtmedia-activity-container figcaption,#buddypress div.rtmedia-activity-container figcaption,.rtmedia-container figure,.rtmedia-activity-container figure,#buddypress div.rtmedia-activity-container figure,.rtmedia-container footer,.rtmedia-activity-container footer,#buddypress div.rtmedia-activity-container footer,.rtmedia-container header,.rtmedia-activity-container header,#buddypress div.rtmedia-activity-container header,.rtmedia-container hgroup,.rtmedia-activity-container hgroup,#buddypress div.rtmedia-activity-container hgroup,.rtmedia-container menu,.rtmedia-activity-container menu,#buddypress div.rtmedia-activity-container menu,.rtmedia-container nav,.rtmedia-activity-container nav,#buddypress div.rtmedia-activity-container nav,.rtmedia-container section,.rtmedia-activity-container section,#buddypress div.rtmedia-activity-container section,.rtmedia-container summary,.rtmedia-activity-container summary,#buddypress div.rtmedia-activity-container summary{display:block}.rtmedia-container *,.rtmedia-activity-container *,#buddypress div.rtmedia-activity-container *,.rtmedia-container *:before,.rtmedia-activity-container *:before,#buddypress div.rtmedia-activity-container *:before,.rtmedia-container *:after,.rtmedia-activity-container *:after,#buddypress div.rtmedia-activity-container *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.rtmedia-container html,.rtmedia-activity-container html,#buddypress div.rtmedia-activity-container html,.rtmedia-container body,.rtmedia-activity-container body,#buddypress div.rtmedia-activity-container body{font-size:100%}.rtmedia-container body,.rtmedia-activity-container body,#buddypress div.rtmedia-activity-container body{background:#fff;color:#222;padding:0;margin:0;font-family:"Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;font-weight:normal;font-style:normal;line-height:1;position:relative;cursor:default}.rtmedia-container a:hover,.rtmedia-activity-container a:hover,#buddypress div.rtmedia-activity-container a:hover{cursor:pointer}.rtmedia-container a:focus,.rtmedia-activity-container a:focus,#buddypress div.rtmedia-activity-container a:focus{outline:none}.rtmedia-container img,.rtmedia-activity-container img,#buddypress div.rtmedia-activity-container img,.rtmedia-container object,.rtmedia-activity-container object,#buddypress div.rtmedia-activity-container object,.rtmedia-container embed,.rtmedia-activity-container embed,#buddypress div.rtmedia-activity-container embed{max-width:100%;height:auto}.rtmedia-container object,.rtmedia-activity-container object,#buddypress div.rtmedia-activity-container object,.rtmedia-container embed,.rtmedia-activity-container embed,#buddypress div.rtmedia-activity-container embed{height:100%}.rtmedia-container img,.rtmedia-activity-container img,#buddypress div.rtmedia-activity-container img{-ms-interpolation-mode:bicubic}.rtmedia-container #map_canvas img,.rtmedia-activity-container #map_canvas img,.rtmedia-container #map_canvas embed,.rtmedia-activity-container #map_canvas embed,.rtmedia-container #map_canvas object,.rtmedia-activity-container #map_canvas object,.rtmedia-container .map_canvas img,.rtmedia-activity-container .map_canvas img,#buddypress div.rtmedia-activity-container .map_canvas img,.rtmedia-container .map_canvas embed,.rtmedia-activity-container .map_canvas embed,#buddypress div.rtmedia-activity-container .map_canvas embed,.rtmedia-container .map_canvas object,.rtmedia-activity-container .map_canvas object,#buddypress div.rtmedia-activity-container .map_canvas object{max-width:none !important}.rtmedia-container .left,.rtmedia-activity-container .left,#buddypress div.rtmedia-activity-container .left{float:left !important}.rtmedia-container .right,.rtmedia-activity-container .right,#buddypress div.rtmedia-activity-container .right{float:right !important}.rtmedia-container .text-left,.rtmedia-activity-container .text-left,#buddypress div.rtmedia-activity-container .text-left{text-align:left !important}.rtmedia-container .text-right,.rtmedia-activity-container .text-right,#buddypress div.rtmedia-activity-container .text-right{text-align:right !important}.rtmedia-container .text-center,.rtmedia-activity-container .text-center,#buddypress div.rtmedia-activity-container .text-center{text-align:center !important}.rtmedia-container .text-justify,.rtmedia-activity-container .text-justify,#buddypress div.rtmedia-activity-container .text-justify{text-align:justify !important}.rtmedia-container .hide,.rtmedia-activity-container .hide,#buddypress div.rtmedia-activity-container .hide{display:none}.rtmedia-container .antialiased,.rtmedia-activity-container .antialiased,#buddypress div.rtmedia-activity-container .antialiased{-webkit-font-smoothing:antialiased}.rtmedia-container img,.rtmedia-activity-container img,#buddypress div.rtmedia-activity-container img{display:inline-block;vertical-align:middle}.rtmedia-container textarea,.rtmedia-activity-container textarea,#buddypress div.rtmedia-activity-container textarea{height:auto;min-height:50px}.rtmedia-container select,.rtmedia-activity-container select,#buddypress div.rtmedia-activity-container select{width:100%}.rtmedia-container .row,.rtmedia-activity-container .row,#buddypress div.rtmedia-activity-container .row{width:100%;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;max-width:62.5em;*zoom:1}.rtmedia-container .row:before,.rtmedia-activity-container .row:before,#buddypress div.rtmedia-activity-container .row:before,.rtmedia-container .row:after,.rtmedia-activity-container .row:after,#buddypress div.rtmedia-activity-container .row:after{content:" ";display:table}.rtmedia-container .row:after,.rtmedia-activity-container .row:after,#buddypress div.rtmedia-activity-container .row:after{clear:both}.rtmedia-container .row.collapse .column,.rtmedia-activity-container .row.collapse .column,#buddypress div.rtmedia-activity-container .row.collapse .column,.rtmedia-container .row.collapse .columns,.rtmedia-activity-container .row.collapse .columns,#buddypress div.rtmedia-activity-container .row.collapse .columns{position:relative;padding-left:0;padding-right:0;float:left}.rtmedia-container .row .row,.rtmedia-activity-container .row .row,#buddypress div.rtmedia-activity-container .row .row{width:auto;margin-left:-0.9375em;margin-right:-0.9375em;margin-top:0;margin-bottom:0;max-width:none;*zoom:1}.rtmedia-container .row .row:before,.rtmedia-activity-container .row .row:before,#buddypress div.rtmedia-activity-container .row .row:before,.rtmedia-container .row .row:after,.rtmedia-activity-container .row .row:after,#buddypress div.rtmedia-activity-container .row .row:after{content:" ";display:table}.rtmedia-container .row .row:after,.rtmedia-activity-container .row .row:after,#buddypress div.rtmedia-activity-container .row .row:after{clear:both}.rtmedia-container .row .row.collapse,.rtmedia-activity-container .row .row.collapse,#buddypress div.rtmedia-activity-container .row .row.collapse{width:auto;margin:0;max-width:none;*zoom:1}.rtmedia-container .row .row.collapse:before,.rtmedia-activity-container .row .row.collapse:before,#buddypress div.rtmedia-activity-container .row .row.collapse:before,.rtmedia-container .row .row.collapse:after,.rtmedia-activity-container .row .row.collapse:after,#buddypress div.rtmedia-activity-container .row .row.collapse:after{content:" ";display:table}.rtmedia-container .row .row.collapse:after,.rtmedia-activity-container .row .row.collapse:after,#buddypress div.rtmedia-activity-container .row .row.collapse:after{clear:both}.rtmedia-container .column,.rtmedia-activity-container .column,#buddypress div.rtmedia-activity-container .column,.rtmedia-container .columns,.rtmedia-activity-container .columns,#buddypress div.rtmedia-activity-container .columns{position:relative;padding-left:0.9375em;padding-right:0.9375em;width:100%;float:left}@media only screen{.rtmedia-container .column,.rtmedia-activity-container .column,#buddypress div.rtmedia-activity-container .column,.rtmedia-container .columns,.rtmedia-activity-container .columns,#buddypress div.rtmedia-activity-container .columns{position:relative;padding-left:0.9375em;padding-right:0.9375em;float:left}.rtmedia-container .small-1,.rtmedia-activity-container .small-1,#buddypress div.rtmedia-activity-container .small-1{position:relative;width:8.33333%}.rtmedia-container .small-2,.rtmedia-activity-container .small-2,#buddypress div.rtmedia-activity-container .small-2{position:relative;width:16.66667%}.rtmedia-container .small-3,.rtmedia-activity-container .small-3,#buddypress div.rtmedia-activity-container .small-3{position:relative;width:25%}.rtmedia-container .small-4,.rtmedia-activity-container .small-4,#buddypress div.rtmedia-activity-container .small-4{position:relative;width:33.33333%}.rtmedia-container .small-5,.rtmedia-activity-container .small-5,#buddypress div.rtmedia-activity-container .small-5{position:relative;width:41.66667%}.rtmedia-container .small-6,.rtmedia-activity-container .small-6,#buddypress div.rtmedia-activity-container .small-6{position:relative;width:50%}.rtmedia-container .small-7,.rtmedia-activity-container .small-7,#buddypress div.rtmedia-activity-container .small-7{position:relative;width:58.33333%}.rtmedia-container .small-8,.rtmedia-activity-container .small-8,#buddypress div.rtmedia-activity-container .small-8{position:relative;width:66.66667%}.rtmedia-container .small-9,.rtmedia-activity-container .small-9,#buddypress div.rtmedia-activity-container .small-9{position:relative;width:75%}.rtmedia-container .small-10,.rtmedia-activity-container .small-10,#buddypress div.rtmedia-activity-container .small-10{position:relative;width:83.33333%}.rtmedia-container .small-11,.rtmedia-activity-container .small-11,#buddypress div.rtmedia-activity-container .small-11{position:relative;width:91.66667%}.rtmedia-container .small-12,.rtmedia-activity-container .small-12,#buddypress div.rtmedia-activity-container .small-12{position:relative;width:100%}.rtmedia-container .small-offset-0,.rtmedia-activity-container .small-offset-0,#buddypress div.rtmedia-activity-container .small-offset-0{position:relative;margin-left:0%}.rtmedia-container .small-offset-1,.rtmedia-activity-container .small-offset-1,#buddypress div.rtmedia-activity-container .small-offset-1{position:relative;margin-left:8.33333%}.rtmedia-container .small-offset-2,.rtmedia-activity-container .small-offset-2,#buddypress div.rtmedia-activity-container .small-offset-2{position:relative;margin-left:16.66667%}.rtmedia-container .small-offset-3,.rtmedia-activity-container .small-offset-3,#buddypress div.rtmedia-activity-container .small-offset-3{position:relative;margin-left:25%}.rtmedia-container .small-offset-4,.rtmedia-activity-container .small-offset-4,#buddypress div.rtmedia-activity-container .small-offset-4{position:relative;margin-left:33.33333%}.rtmedia-container .small-offset-5,.rtmedia-activity-container .small-offset-5,#buddypress div.rtmedia-activity-container .small-offset-5{position:relative;margin-left:41.66667%}.rtmedia-container .small-offset-6,.rtmedia-activity-container .small-offset-6,#buddypress div.rtmedia-activity-container .small-offset-6{position:relative;margin-left:50%}.rtmedia-container .small-offset-7,.rtmedia-activity-container .small-offset-7,#buddypress div.rtmedia-activity-container .small-offset-7{position:relative;margin-left:58.33333%}.rtmedia-container .small-offset-8,.rtmedia-activity-container .small-offset-8,#buddypress div.rtmedia-activity-container .small-offset-8{position:relative;margin-left:66.66667%}.rtmedia-container .small-offset-9,.rtmedia-activity-container .small-offset-9,#buddypress div.rtmedia-activity-container .small-offset-9{position:relative;margin-left:75%}.rtmedia-container .small-offset-10,.rtmedia-activity-container .small-offset-10,#buddypress div.rtmedia-activity-container .small-offset-10{position:relative;margin-left:83.33333%}.rtmedia-container [class*="column"]+[class*="column"]:last-child,.rtmedia-activity-container [class*="column"]+[class*="column"]:last-child,#buddypress div.rtmedia-activity-container [class*="column"]+[class*="column"]:last-child{float:right}.rtmedia-container [class*="column"]+[class*="column"].end,.rtmedia-activity-container [class*="column"]+[class*="column"].end,#buddypress div.rtmedia-activity-container [class*="column"]+[class*="column"].end{float:left}.rtmedia-container .column.small-centered,.rtmedia-activity-container .column.small-centered,#buddypress div.rtmedia-activity-container .column.small-centered,.rtmedia-container .columns.small-centered,.rtmedia-activity-container .columns.small-centered,#buddypress div.rtmedia-activity-container .columns.small-centered{position:relative;margin-left:auto;margin-right:auto;float:none !important}}@media only screen and (min-width: 768px){.rtmedia-container .large-1,.rtmedia-activity-container .large-1,#buddypress div.rtmedia-activity-container .large-1{position:relative;width:8.33333%}.rtmedia-container .large-2,.rtmedia-activity-container .large-2,#buddypress div.rtmedia-activity-container .large-2{position:relative;width:16.66667%}.rtmedia-container .large-3,.rtmedia-activity-container .large-3,#buddypress div.rtmedia-activity-container .large-3{position:relative;width:25%}.rtmedia-container .large-4,.rtmedia-activity-container .large-4,#buddypress div.rtmedia-activity-container .large-4{position:relative;width:33.33333%}.rtmedia-container .large-5,.rtmedia-activity-container .large-5,#buddypress div.rtmedia-activity-container .large-5{position:relative;width:41.66667%}.rtmedia-container .large-6,.rtmedia-activity-container .large-6,#buddypress div.rtmedia-activity-container .large-6{position:relative;width:50%}.rtmedia-container .large-7,.rtmedia-activity-container .large-7,#buddypress div.rtmedia-activity-container .large-7{position:relative;width:58.33333%}.rtmedia-container .large-8,.rtmedia-activity-container .large-8,#buddypress div.rtmedia-activity-container .large-8{position:relative;width:66.66667%}.rtmedia-container .large-9,.rtmedia-activity-container .large-9,#buddypress div.rtmedia-activity-container .large-9{position:relative;width:75%}.rtmedia-container .large-10,.rtmedia-activity-container .large-10,#buddypress div.rtmedia-activity-container .large-10{position:relative;width:83.33333%}.rtmedia-container .large-11,.rtmedia-activity-container .large-11,#buddypress div.rtmedia-activity-container .large-11{position:relative;width:91.66667%}.rtmedia-container .large-12,.rtmedia-activity-container .large-12,#buddypress div.rtmedia-activity-container .large-12{position:relative;width:100%}.rtmedia-container .row .large-offset-0,.rtmedia-activity-container .row .large-offset-0,#buddypress div.rtmedia-activity-container .row .large-offset-0{position:relative;margin-left:0%}.rtmedia-container .row .large-offset-1,.rtmedia-activity-container .row .large-offset-1,#buddypress div.rtmedia-activity-container .row .large-offset-1{position:relative;margin-left:8.33333%}.rtmedia-container .row .large-offset-2,.rtmedia-activity-container .row .large-offset-2,#buddypress div.rtmedia-activity-container .row .large-offset-2{position:relative;margin-left:16.66667%}.rtmedia-container .row .large-offset-3,.rtmedia-activity-container .row .large-offset-3,#buddypress div.rtmedia-activity-container .row .large-offset-3{position:relative;margin-left:25%}.rtmedia-container .row .large-offset-4,.rtmedia-activity-container .row .large-offset-4,#buddypress div.rtmedia-activity-container .row .large-offset-4{position:relative;margin-left:33.33333%}.rtmedia-container .row .large-offset-5,.rtmedia-activity-container .row .large-offset-5,#buddypress div.rtmedia-activity-container .row .large-offset-5{position:relative;margin-left:41.66667%}.rtmedia-container .row .large-offset-6,.rtmedia-activity-container .row .large-offset-6,#buddypress div.rtmedia-activity-container .row .large-offset-6{position:relative;margin-left:50%}.rtmedia-container .row .large-offset-7,.rtmedia-activity-container .row .large-offset-7,#buddypress div.rtmedia-activity-container .row .large-offset-7{position:relative;margin-left:58.33333%}.rtmedia-container .row .large-offset-8,.rtmedia-activity-container .row .large-offset-8,#buddypress div.rtmedia-activity-container .row .large-offset-8{position:relative;margin-left:66.66667%}.rtmedia-container .row .large-offset-9,.rtmedia-activity-container .row .large-offset-9,#buddypress div.rtmedia-activity-container .row .large-offset-9{position:relative;margin-left:75%}.rtmedia-container .row .large-offset-10,.rtmedia-activity-container .row .large-offset-10,#buddypress div.rtmedia-activity-container .row .large-offset-10{position:relative;margin-left:83.33333%}.rtmedia-container .row .large-offset-11,.rtmedia-activity-container .row .large-offset-11,#buddypress div.rtmedia-activity-container .row .large-offset-11{position:relative;margin-left:91.66667%}.rtmedia-container .push-1,.rtmedia-activity-container .push-1,#buddypress div.rtmedia-activity-container .push-1{position:relative;left:8.33333%;right:auto}.rtmedia-container .pull-1,.rtmedia-activity-container .pull-1,#buddypress div.rtmedia-activity-container .pull-1{position:relative;right:8.33333%;left:auto}.rtmedia-container .push-2,.rtmedia-activity-container .push-2,#buddypress div.rtmedia-activity-container .push-2{position:relative;left:16.66667%;right:auto}.rtmedia-container .pull-2,.rtmedia-activity-container .pull-2,#buddypress div.rtmedia-activity-container .pull-2{position:relative;right:16.66667%;left:auto}.rtmedia-container .push-3,.rtmedia-activity-container .push-3,#buddypress div.rtmedia-activity-container .push-3{position:relative;left:25%;right:auto}.rtmedia-container .pull-3,.rtmedia-activity-container .pull-3,#buddypress div.rtmedia-activity-container .pull-3{position:relative;right:25%;left:auto}.rtmedia-container .push-4,.rtmedia-activity-container .push-4,#buddypress div.rtmedia-activity-container .push-4{position:relative;left:33.33333%;right:auto}.rtmedia-container .pull-4,.rtmedia-activity-container .pull-4,#buddypress div.rtmedia-activity-container .pull-4{position:relative;right:33.33333%;left:auto}.rtmedia-container .push-5,.rtmedia-activity-container .push-5,#buddypress div.rtmedia-activity-container .push-5{position:relative;left:41.66667%;right:auto}.rtmedia-container .pull-5,.rtmedia-activity-container .pull-5,#buddypress div.rtmedia-activity-container .pull-5{position:relative;right:41.66667%;left:auto}.rtmedia-container .push-6,.rtmedia-activity-container .push-6,#buddypress div.rtmedia-activity-container .push-6{position:relative;left:50%;right:auto}.rtmedia-container .pull-6,.rtmedia-activity-container .pull-6,#buddypress div.rtmedia-activity-container .pull-6{position:relative;right:50%;left:auto}.rtmedia-container .push-7,.rtmedia-activity-container .push-7,#buddypress div.rtmedia-activity-container .push-7{position:relative;left:58.33333%;right:auto}.rtmedia-container .pull-7,.rtmedia-activity-container .pull-7,#buddypress div.rtmedia-activity-container .pull-7{position:relative;right:58.33333%;left:auto}.rtmedia-container .push-8,.rtmedia-activity-container .push-8,#buddypress div.rtmedia-activity-container .push-8{position:relative;left:66.66667%;right:auto}.rtmedia-container .pull-8,.rtmedia-activity-container .pull-8,#buddypress div.rtmedia-activity-container .pull-8{position:relative;right:66.66667%;left:auto}.rtmedia-container .push-9,.rtmedia-activity-container .push-9,#buddypress div.rtmedia-activity-container .push-9{position:relative;left:75%;right:auto}.rtmedia-container .pull-9,.rtmedia-activity-container .pull-9,#buddypress div.rtmedia-activity-container .pull-9{position:relative;right:75%;left:auto}.rtmedia-container .push-10,.rtmedia-activity-container .push-10,#buddypress div.rtmedia-activity-container .push-10{position:relative;left:83.33333%;right:auto}.rtmedia-container .pull-10,.rtmedia-activity-container .pull-10,#buddypress div.rtmedia-activity-container .pull-10{position:relative;right:83.33333%;left:auto}.rtmedia-container .push-11,.rtmedia-activity-container .push-11,#buddypress div.rtmedia-activity-container .push-11{position:relative;left:91.66667%;right:auto}.rtmedia-container .pull-11,.rtmedia-activity-container .pull-11,#buddypress div.rtmedia-activity-container .pull-11{position:relative;right:91.66667%;left:auto}.rtmedia-container .column.large-centered,.rtmedia-activity-container .column.large-centered,#buddypress div.rtmedia-activity-container .column.large-centered,.rtmedia-container .columns.large-centered,.rtmedia-activity-container .columns.large-centered,#buddypress div.rtmedia-activity-container .columns.large-centered{position:relative;margin-left:auto;margin-right:auto;float:none !important}.rtmedia-container .column.large-uncentered,.rtmedia-activity-container .column.large-uncentered,#buddypress div.rtmedia-activity-container .column.large-uncentered,.rtmedia-container .columns.large-uncentered,.rtmedia-activity-container .columns.large-uncentered,#buddypress div.rtmedia-activity-container .columns.large-uncentered{margin-left:0;margin-right:0;float:left !important}.rtmedia-container .column.large-uncentered.opposite,.rtmedia-activity-container .column.large-uncentered.opposite,#buddypress div.rtmedia-activity-container .column.large-uncentered.opposite,.rtmedia-container .columns.large-uncentered.opposite,.rtmedia-activity-container .columns.large-uncentered.opposite,#buddypress div.rtmedia-activity-container .columns.large-uncentered.opposite{float:right !important}}.rtmedia-container .show-for-small,.rtmedia-activity-container .show-for-small,#buddypress div.rtmedia-activity-container .show-for-small,.rtmedia-container .show-for-medium-down,.rtmedia-activity-container .show-for-medium-down,#buddypress div.rtmedia-activity-container .show-for-medium-down,.rtmedia-container .show-for-large-down,.rtmedia-activity-container .show-for-large-down,#buddypress div.rtmedia-activity-container .show-for-large-down{display:inherit !important}.rtmedia-container .show-for-medium,.rtmedia-activity-container .show-for-medium,#buddypress div.rtmedia-activity-container .show-for-medium,.rtmedia-container .show-for-medium-up,.rtmedia-activity-container .show-for-medium-up,#buddypress div.rtmedia-activity-container .show-for-medium-up,.rtmedia-container .show-for-large,.rtmedia-activity-container .show-for-large,#buddypress div.rtmedia-activity-container .show-for-large,.rtmedia-container .show-for-large-up,.rtmedia-activity-container .show-for-large-up,#buddypress div.rtmedia-activity-container .show-for-large-up,.rtmedia-container .show-for-xlarge,.rtmedia-activity-container .show-for-xlarge,#buddypress div.rtmedia-activity-container .show-for-xlarge{display:none !important}.rtmedia-container .hide-for-medium,.rtmedia-activity-container .hide-for-medium,#buddypress div.rtmedia-activity-container .hide-for-medium,.rtmedia-container .hide-for-medium-up,.rtmedia-activity-container .hide-for-medium-up,#buddypress div.rtmedia-activity-container .hide-for-medium-up,.rtmedia-container .hide-for-large,.rtmedia-activity-container .hide-for-large,#buddypress div.rtmedia-activity-container .hide-for-large,.rtmedia-container .hide-for-large-up,.rtmedia-activity-container .hide-for-large-up,#buddypress div.rtmedia-activity-container .hide-for-large-up,.rtmedia-container .hide-for-xlarge,.rtmedia-activity-container .hide-for-xlarge,#buddypress div.rtmedia-activity-container .hide-for-xlarge{display:inherit !important}.rtmedia-container .hide-for-small,.rtmedia-activity-container .hide-for-small,#buddypress div.rtmedia-activity-container .hide-for-small,.rtmedia-container .hide-for-medium-down,.rtmedia-activity-container .hide-for-medium-down,#buddypress div.rtmedia-activity-container .hide-for-medium-down,.rtmedia-container .hide-for-large-down,.rtmedia-activity-container .hide-for-large-down,#buddypress div.rtmedia-activity-container .hide-for-large-down{display:none !important}.rtmedia-container table.show-for-small,.rtmedia-activity-container table.show-for-small,#buddypress div.rtmedia-activity-container table.show-for-small,.rtmedia-container table.show-for-medium-down,.rtmedia-activity-container table.show-for-medium-down,#buddypress div.rtmedia-activity-container table.show-for-medium-down,.rtmedia-container table.show-for-large-down,.rtmedia-activity-container table.show-for-large-down,#buddypress div.rtmedia-activity-container table.show-for-large-down,.rtmedia-container table.hide-for-medium,.rtmedia-activity-container table.hide-for-medium,#buddypress div.rtmedia-activity-container table.hide-for-medium,.rtmedia-container table.hide-for-medium-up,.rtmedia-activity-container table.hide-for-medium-up,#buddypress div.rtmedia-activity-container table.hide-for-medium-up,.rtmedia-container table.hide-for-large,.rtmedia-activity-container table.hide-for-large,#buddypress div.rtmedia-activity-container table.hide-for-large,.rtmedia-container table.hide-for-large-up,.rtmedia-activity-container table.hide-for-large-up,#buddypress div.rtmedia-activity-container table.hide-for-large-up,.rtmedia-container table.hide-for-xlarge,.rtmedia-activity-container table.hide-for-xlarge,#buddypress div.rtmedia-activity-container table.hide-for-xlarge{display:table}.rtmedia-container thead.show-for-small,.rtmedia-activity-container thead.show-for-small,#buddypress div.rtmedia-activity-container thead.show-for-small,.rtmedia-container thead.show-for-medium-down,.rtmedia-activity-container thead.show-for-medium-down,#buddypress div.rtmedia-activity-container thead.show-for-medium-down,.rtmedia-container thead.show-for-large-down,.rtmedia-activity-container thead.show-for-large-down,#buddypress div.rtmedia-activity-container thead.show-for-large-down,.rtmedia-container thead.hide-for-medium,.rtmedia-activity-container thead.hide-for-medium,#buddypress div.rtmedia-activity-container thead.hide-for-medium,.rtmedia-container thead.hide-for-medium-up,.rtmedia-activity-container thead.hide-for-medium-up,#buddypress div.rtmedia-activity-container thead.hide-for-medium-up,.rtmedia-container thead.hide-for-large,.rtmedia-activity-container thead.hide-for-large,#buddypress div.rtmedia-activity-container thead.hide-for-large,.rtmedia-container thead.hide-for-large-up,.rtmedia-activity-container thead.hide-for-large-up,#buddypress div.rtmedia-activity-container thead.hide-for-large-up,.rtmedia-container thead.hide-for-xlarge,.rtmedia-activity-container thead.hide-for-xlarge,#buddypress div.rtmedia-activity-container thead.hide-for-xlarge{display:table-header-group !important}.rtmedia-container tbody.show-for-small,.rtmedia-activity-container tbody.show-for-small,#buddypress div.rtmedia-activity-container tbody.show-for-small,.rtmedia-container tbody.show-for-medium-down,.rtmedia-activity-container tbody.show-for-medium-down,#buddypress div.rtmedia-activity-container tbody.show-for-medium-down,.rtmedia-container tbody.show-for-large-down,.rtmedia-activity-container tbody.show-for-large-down,#buddypress div.rtmedia-activity-container tbody.show-for-large-down,.rtmedia-container tbody.hide-for-medium,.rtmedia-activity-container tbody.hide-for-medium,#buddypress div.rtmedia-activity-container tbody.hide-for-medium,.rtmedia-container tbody.hide-for-medium-up,.rtmedia-activity-container tbody.hide-for-medium-up,#buddypress div.rtmedia-activity-container tbody.hide-for-medium-up,.rtmedia-container tbody.hide-for-large,.rtmedia-activity-container tbody.hide-for-large,#buddypress div.rtmedia-activity-container tbody.hide-for-large,.rtmedia-container tbody.hide-for-large-up,.rtmedia-activity-container tbody.hide-for-large-up,#buddypress div.rtmedia-activity-container tbody.hide-for-large-up,.rtmedia-container tbody.hide-for-xlarge,.rtmedia-activity-container tbody.hide-for-xlarge,#buddypress div.rtmedia-activity-container tbody.hide-for-xlarge{display:table-row-group !important}.rtmedia-container tr.show-for-small,.rtmedia-activity-container tr.show-for-small,#buddypress div.rtmedia-activity-container tr.show-for-small,.rtmedia-container tr.show-for-medium-down,.rtmedia-activity-container tr.show-for-medium-down,#buddypress div.rtmedia-activity-container tr.show-for-medium-down,.rtmedia-container tr.show-for-large-down,.rtmedia-activity-container tr.show-for-large-down,#buddypress div.rtmedia-activity-container tr.show-for-large-down,.rtmedia-container tr.hide-for-medium,.rtmedia-activity-container tr.hide-for-medium,#buddypress div.rtmedia-activity-container tr.hide-for-medium,.rtmedia-container tr.hide-for-medium-up,.rtmedia-activity-container tr.hide-for-medium-up,#buddypress div.rtmedia-activity-container tr.hide-for-medium-up,.rtmedia-container tr.hide-for-large,.rtmedia-activity-container tr.hide-for-large,#buddypress div.rtmedia-activity-container tr.hide-for-large,.rtmedia-container tr.hide-for-large-up,.rtmedia-activity-container tr.hide-for-large-up,#buddypress div.rtmedia-activity-container tr.hide-for-large-up,.rtmedia-container tr.hide-for-xlarge,.rtmedia-activity-container tr.hide-for-xlarge,#buddypress div.rtmedia-activity-container tr.hide-for-xlarge{display:table-row !important}.rtmedia-container td.show-for-small,.rtmedia-activity-container td.show-for-small,#buddypress div.rtmedia-activity-container td.show-for-small,.rtmedia-container td.show-for-medium-down,.rtmedia-activity-container td.show-for-medium-down,#buddypress div.rtmedia-activity-container td.show-for-medium-down,.rtmedia-container td.show-for-large-down,.rtmedia-activity-container td.show-for-large-down,#buddypress div.rtmedia-activity-container td.show-for-large-down,.rtmedia-container td.hide-for-medium,.rtmedia-activity-container td.hide-for-medium,#buddypress div.rtmedia-activity-container td.hide-for-medium,.rtmedia-container td.hide-for-medium-up,.rtmedia-activity-container td.hide-for-medium-up,#buddypress div.rtmedia-activity-container td.hide-for-medium-up,.rtmedia-container td.hide-for-large,.rtmedia-activity-container td.hide-for-large,#buddypress div.rtmedia-activity-container td.hide-for-large,.rtmedia-container td.hide-for-large-up,.rtmedia-activity-container td.hide-for-large-up,#buddypress div.rtmedia-activity-container td.hide-for-large-up,.rtmedia-container td.hide-for-xlarge,.rtmedia-activity-container td.hide-for-xlarge,#buddypress div.rtmedia-activity-container td.hide-for-xlarge,.rtmedia-container th.show-for-small,.rtmedia-activity-container th.show-for-small,#buddypress div.rtmedia-activity-container th.show-for-small,.rtmedia-container th.show-for-medium-down,.rtmedia-activity-container th.show-for-medium-down,#buddypress div.rtmedia-activity-container th.show-for-medium-down,.rtmedia-container th.show-for-large-down,.rtmedia-activity-container th.show-for-large-down,#buddypress div.rtmedia-activity-container th.show-for-large-down,.rtmedia-container th.hide-for-medium,.rtmedia-activity-container th.hide-for-medium,#buddypress div.rtmedia-activity-container th.hide-for-medium,.rtmedia-container th.hide-for-medium-up,.rtmedia-activity-container th.hide-for-medium-up,#buddypress div.rtmedia-activity-container th.hide-for-medium-up,.rtmedia-container th.hide-for-large,.rtmedia-activity-container th.hide-for-large,#buddypress div.rtmedia-activity-container th.hide-for-large,.rtmedia-container th.hide-for-large-up,.rtmedia-activity-container th.hide-for-large-up,#buddypress div.rtmedia-activity-container th.hide-for-large-up,.rtmedia-container th.hide-for-xlarge,.rtmedia-activity-container th.hide-for-xlarge,#buddypress div.rtmedia-activity-container th.hide-for-xlarge{display:table-cell !important}@media only screen and (min-width: 768px){.rtmedia-container .show-for-medium,.rtmedia-activity-container .show-for-medium,#buddypress div.rtmedia-activity-container .show-for-medium,.rtmedia-container .show-for-medium-up,.rtmedia-activity-container .show-for-medium-up,#buddypress div.rtmedia-activity-container .show-for-medium-up{display:inherit !important}.rtmedia-container .show-for-small,.rtmedia-activity-container .show-for-small,#buddypress div.rtmedia-activity-container .show-for-small{display:none !important}.rtmedia-container .hide-for-small,.rtmedia-activity-container .hide-for-small,#buddypress div.rtmedia-activity-container .hide-for-small{display:inherit !important}.rtmedia-container .hide-for-medium,.rtmedia-activity-container .hide-for-medium,#buddypress div.rtmedia-activity-container .hide-for-medium,.rtmedia-container .hide-for-medium-up,.rtmedia-activity-container .hide-for-medium-up,#buddypress div.rtmedia-activity-container .hide-for-medium-up{display:none !important}.rtmedia-container table.show-for-medium,.rtmedia-activity-container table.show-for-medium,#buddypress div.rtmedia-activity-container table.show-for-medium,.rtmedia-container table.show-for-medium-up,.rtmedia-activity-container table.show-for-medium-up,#buddypress div.rtmedia-activity-container table.show-for-medium-up,.rtmedia-container table.hide-for-small,.rtmedia-activity-container table.hide-for-small,#buddypress div.rtmedia-activity-container table.hide-for-small{display:table}.rtmedia-container thead.show-for-medium,.rtmedia-activity-container thead.show-for-medium,#buddypress div.rtmedia-activity-container thead.show-for-medium,.rtmedia-container thead.show-for-medium-up,.rtmedia-activity-container thead.show-for-medium-up,#buddypress div.rtmedia-activity-container thead.show-for-medium-up,.rtmedia-container thead.hide-for-small,.rtmedia-activity-container thead.hide-for-small,#buddypress div.rtmedia-activity-container thead.hide-for-small{display:table-header-group !important}.rtmedia-container tbody.show-for-medium,.rtmedia-activity-container tbody.show-for-medium,#buddypress div.rtmedia-activity-container tbody.show-for-medium,.rtmedia-container tbody.show-for-medium-up,.rtmedia-activity-container tbody.show-for-medium-up,#buddypress div.rtmedia-activity-container tbody.show-for-medium-up,.rtmedia-container tbody.hide-for-small,.rtmedia-activity-container tbody.hide-for-small,#buddypress div.rtmedia-activity-container tbody.hide-for-small{display:table-row-group !important}.rtmedia-container tr.show-for-medium,.rtmedia-activity-container tr.show-for-medium,#buddypress div.rtmedia-activity-container tr.show-for-medium,.rtmedia-container tr.show-for-medium-up,.rtmedia-activity-container tr.show-for-medium-up,#buddypress div.rtmedia-activity-container tr.show-for-medium-up,.rtmedia-container tr.hide-for-small,.rtmedia-activity-container tr.hide-for-small,#buddypress div.rtmedia-activity-container tr.hide-for-small{display:table-row !important}.rtmedia-container td.show-for-medium,.rtmedia-activity-container td.show-for-medium,#buddypress div.rtmedia-activity-container td.show-for-medium,.rtmedia-container td.show-for-medium-up,.rtmedia-activity-container td.show-for-medium-up,#buddypress div.rtmedia-activity-container td.show-for-medium-up,.rtmedia-container td.hide-for-small,.rtmedia-activity-container td.hide-for-small,#buddypress div.rtmedia-activity-container td.hide-for-small,.rtmedia-container th.show-for-medium,.rtmedia-activity-container th.show-for-medium,#buddypress div.rtmedia-activity-container th.show-for-medium,.rtmedia-container th.show-for-medium-up,.rtmedia-activity-container th.show-for-medium-up,#buddypress div.rtmedia-activity-container th.show-for-medium-up,.rtmedia-container th.hide-for-small,.rtmedia-activity-container th.hide-for-small,#buddypress div.rtmedia-activity-container th.hide-for-small{display:table-cell !important}}@media only screen and (min-width: 1280px){.rtmedia-container .show-for-large,.rtmedia-activity-container .show-for-large,#buddypress div.rtmedia-activity-container .show-for-large,.rtmedia-container .show-for-large-up,.rtmedia-activity-container .show-for-large-up,#buddypress div.rtmedia-activity-container .show-for-large-up{display:inherit !important}.rtmedia-container .show-for-medium,.rtmedia-activity-container .show-for-medium,#buddypress div.rtmedia-activity-container .show-for-medium,.rtmedia-container .show-for-medium-down,.rtmedia-activity-container .show-for-medium-down,#buddypress div.rtmedia-activity-container .show-for-medium-down{display:none !important}.rtmedia-container .hide-for-medium,.rtmedia-activity-container .hide-for-medium,#buddypress div.rtmedia-activity-container .hide-for-medium,.rtmedia-container .hide-for-medium-down,.rtmedia-activity-container .hide-for-medium-down,#buddypress div.rtmedia-activity-container .hide-for-medium-down{display:inherit !important}.rtmedia-container .hide-for-large,.rtmedia-activity-container .hide-for-large,#buddypress div.rtmedia-activity-container .hide-for-large,.rtmedia-container .hide-for-large-up,.rtmedia-activity-container .hide-for-large-up,#buddypress div.rtmedia-activity-container .hide-for-large-up{display:none !important}.rtmedia-container table.show-for-large,.rtmedia-activity-container table.show-for-large,#buddypress div.rtmedia-activity-container table.show-for-large,.rtmedia-container table.show-for-large-up,.rtmedia-activity-container table.show-for-large-up,#buddypress div.rtmedia-activity-container table.show-for-large-up,.rtmedia-container table.hide-for-medium,.rtmedia-activity-container table.hide-for-medium,#buddypress div.rtmedia-activity-container table.hide-for-medium,.rtmedia-container table.hide-for-medium-down,.rtmedia-activity-container table.hide-for-medium-down,#buddypress div.rtmedia-activity-container table.hide-for-medium-down{display:table}.rtmedia-container thead.show-for-large,.rtmedia-activity-container thead.show-for-large,#buddypress div.rtmedia-activity-container thead.show-for-large,.rtmedia-container thead.show-for-large-up,.rtmedia-activity-container thead.show-for-large-up,#buddypress div.rtmedia-activity-container thead.show-for-large-up,.rtmedia-container thead.hide-for-medium,.rtmedia-activity-container thead.hide-for-medium,#buddypress div.rtmedia-activity-container thead.hide-for-medium,.rtmedia-container thead.hide-for-medium-down,.rtmedia-activity-container thead.hide-for-medium-down,#buddypress div.rtmedia-activity-container thead.hide-for-medium-down{display:table-header-group !important}.rtmedia-container tbody.show-for-large,.rtmedia-activity-container tbody.show-for-large,#buddypress div.rtmedia-activity-container tbody.show-for-large,.rtmedia-container tbody.show-for-large-up,.rtmedia-activity-container tbody.show-for-large-up,#buddypress div.rtmedia-activity-container tbody.show-for-large-up,.rtmedia-container tbody.hide-for-medium,.rtmedia-activity-container tbody.hide-for-medium,#buddypress div.rtmedia-activity-container tbody.hide-for-medium,.rtmedia-container tbody.hide-for-medium-down,.rtmedia-activity-container tbody.hide-for-medium-down,#buddypress div.rtmedia-activity-container tbody.hide-for-medium-down{display:table-row-group !important}.rtmedia-container tr.show-for-large,.rtmedia-activity-container tr.show-for-large,#buddypress div.rtmedia-activity-container tr.show-for-large,.rtmedia-container tr.show-for-large-up,.rtmedia-activity-container tr.show-for-large-up,#buddypress div.rtmedia-activity-container tr.show-for-large-up,.rtmedia-container tr.hide-for-medium,.rtmedia-activity-container tr.hide-for-medium,#buddypress div.rtmedia-activity-container tr.hide-for-medium,.rtmedia-container tr.hide-for-medium-down,.rtmedia-activity-container tr.hide-for-medium-down,#buddypress div.rtmedia-activity-container tr.hide-for-medium-down{display:table-row !important}.rtmedia-container td.show-for-large,.rtmedia-activity-container td.show-for-large,#buddypress div.rtmedia-activity-container td.show-for-large,.rtmedia-container td.show-for-large-up,.rtmedia-activity-container td.show-for-large-up,#buddypress div.rtmedia-activity-container td.show-for-large-up,.rtmedia-container td.hide-for-medium,.rtmedia-activity-container td.hide-for-medium,#buddypress div.rtmedia-activity-container td.hide-for-medium,.rtmedia-container td.hide-for-medium-down,.rtmedia-activity-container td.hide-for-medium-down,#buddypress div.rtmedia-activity-container td.hide-for-medium-down,.rtmedia-container th.show-for-large,.rtmedia-activity-container th.show-for-large,#buddypress div.rtmedia-activity-container th.show-for-large,.rtmedia-container th.show-for-large-up,.rtmedia-activity-container th.show-for-large-up,#buddypress div.rtmedia-activity-container th.show-for-large-up,.rtmedia-container th.hide-for-medium,.rtmedia-activity-container th.hide-for-medium,#buddypress div.rtmedia-activity-container th.hide-for-medium,.rtmedia-container th.hide-for-medium-down,.rtmedia-activity-container th.hide-for-medium-down,#buddypress div.rtmedia-activity-container th.hide-for-medium-down{display:table-cell !important}}@media only screen and (min-width: 1440px){.rtmedia-container .show-for-xlarge,.rtmedia-activity-container .show-for-xlarge,#buddypress div.rtmedia-activity-container .show-for-xlarge{display:inherit !important}.rtmedia-container .show-for-large,.rtmedia-activity-container .show-for-large,#buddypress div.rtmedia-activity-container .show-for-large,.rtmedia-container .show-for-large-down,.rtmedia-activity-container .show-for-large-down,#buddypress div.rtmedia-activity-container .show-for-large-down{display:none !important}.rtmedia-container .hide-for-large,.rtmedia-activity-container .hide-for-large,#buddypress div.rtmedia-activity-container .hide-for-large,.rtmedia-container .hide-for-large-down,.rtmedia-activity-container .hide-for-large-down,#buddypress div.rtmedia-activity-container .hide-for-large-down{display:inherit !important}.rtmedia-container .hide-for-xlarge,.rtmedia-activity-container .hide-for-xlarge,#buddypress div.rtmedia-activity-container .hide-for-xlarge{display:none !important}.rtmedia-container table.show-for-xlarge,.rtmedia-activity-container table.show-for-xlarge,#buddypress div.rtmedia-activity-container table.show-for-xlarge,.rtmedia-container table.hide-for-large,.rtmedia-activity-container table.hide-for-large,#buddypress div.rtmedia-activity-container table.hide-for-large,.rtmedia-container table.hide-for-large-down,.rtmedia-activity-container table.hide-for-large-down,#buddypress div.rtmedia-activity-container table.hide-for-large-down{display:table}.rtmedia-container thead.show-for-xlarge,.rtmedia-activity-container thead.show-for-xlarge,#buddypress div.rtmedia-activity-container thead.show-for-xlarge,.rtmedia-container thead.hide-for-large,.rtmedia-activity-container thead.hide-for-large,#buddypress div.rtmedia-activity-container thead.hide-for-large,.rtmedia-container thead.hide-for-large-down,.rtmedia-activity-container thead.hide-for-large-down,#buddypress div.rtmedia-activity-container thead.hide-for-large-down{display:table-header-group !important}.rtmedia-container tbody.show-for-xlarge,.rtmedia-activity-container tbody.show-for-xlarge,#buddypress div.rtmedia-activity-container tbody.show-for-xlarge,.rtmedia-container tbody.hide-for-large,.rtmedia-activity-container tbody.hide-for-large,#buddypress div.rtmedia-activity-container tbody.hide-for-large,.rtmedia-container tbody.hide-for-large-down,.rtmedia-activity-container tbody.hide-for-large-down,#buddypress div.rtmedia-activity-container tbody.hide-for-large-down{display:table-row-group !important}.rtmedia-container tr.show-for-xlarge,.rtmedia-activity-container tr.show-for-xlarge,#buddypress div.rtmedia-activity-container tr.show-for-xlarge,.rtmedia-container tr.hide-for-large,.rtmedia-activity-container tr.hide-for-large,#buddypress div.rtmedia-activity-container tr.hide-for-large,.rtmedia-container tr.hide-for-large-down,.rtmedia-activity-container tr.hide-for-large-down,#buddypress div.rtmedia-activity-container tr.hide-for-large-down{display:table-row !important}.rtmedia-container td.show-for-xlarge,.rtmedia-activity-container td.show-for-xlarge,#buddypress div.rtmedia-activity-container td.show-for-xlarge,.rtmedia-container td.hide-for-large,.rtmedia-activity-container td.hide-for-large,#buddypress div.rtmedia-activity-container td.hide-for-large,.rtmedia-container td.hide-for-large-down,.rtmedia-activity-container td.hide-for-large-down,#buddypress div.rtmedia-activity-container td.hide-for-large-down,.rtmedia-container th.show-for-xlarge,.rtmedia-activity-container th.show-for-xlarge,#buddypress div.rtmedia-activity-container th.show-for-xlarge,.rtmedia-container th.hide-for-large,.rtmedia-activity-container th.hide-for-large,#buddypress div.rtmedia-activity-container th.hide-for-large,.rtmedia-container th.hide-for-large-down,.rtmedia-activity-container th.hide-for-large-down,#buddypress div.rtmedia-activity-container th.hide-for-large-down{display:table-cell !important}}.rtmedia-container .show-for-landscape,.rtmedia-activity-container .show-for-landscape,#buddypress div.rtmedia-activity-container .show-for-landscape,.rtmedia-container .hide-for-portrait,.rtmedia-activity-container .hide-for-portrait,#buddypress div.rtmedia-activity-container .hide-for-portrait{display:inherit !important}.rtmedia-container .hide-for-landscape,.rtmedia-activity-container .hide-for-landscape,#buddypress div.rtmedia-activity-container .hide-for-landscape,.rtmedia-container .show-for-portrait,.rtmedia-activity-container .show-for-portrait,#buddypress div.rtmedia-activity-container .show-for-portrait{display:none !important}.rtmedia-container table.hide-for-landscape,.rtmedia-activity-container table.hide-for-landscape,#buddypress div.rtmedia-activity-container table.hide-for-landscape,.rtmedia-container table.show-for-portrait,.rtmedia-activity-container table.show-for-portrait,#buddypress div.rtmedia-activity-container table.show-for-portrait{display:table}.rtmedia-container thead.hide-for-landscape,.rtmedia-activity-container thead.hide-for-landscape,#buddypress div.rtmedia-activity-container thead.hide-for-landscape,.rtmedia-container thead.show-for-portrait,.rtmedia-activity-container thead.show-for-portrait,#buddypress div.rtmedia-activity-container thead.show-for-portrait{display:table-header-group !important}.rtmedia-container tbody.hide-for-landscape,.rtmedia-activity-container tbody.hide-for-landscape,#buddypress div.rtmedia-activity-container tbody.hide-for-landscape,.rtmedia-container tbody.show-for-portrait,.rtmedia-activity-container tbody.show-for-portrait,#buddypress div.rtmedia-activity-container tbody.show-for-portrait{display:table-row-group !important}.rtmedia-container tr.hide-for-landscape,.rtmedia-activity-container tr.hide-for-landscape,#buddypress div.rtmedia-activity-container tr.hide-for-landscape,.rtmedia-container tr.show-for-portrait,.rtmedia-activity-container tr.show-for-portrait,#buddypress div.rtmedia-activity-container tr.show-for-portrait{display:table-row !important}.rtmedia-container td.hide-for-landscape,.rtmedia-activity-container td.hide-for-landscape,#buddypress div.rtmedia-activity-container td.hide-for-landscape,.rtmedia-container td.show-for-portrait,.rtmedia-activity-container td.show-for-portrait,#buddypress div.rtmedia-activity-container td.show-for-portrait,.rtmedia-container th.hide-for-landscape,.rtmedia-activity-container th.hide-for-landscape,#buddypress div.rtmedia-activity-container th.hide-for-landscape,.rtmedia-container th.show-for-portrait,.rtmedia-activity-container th.show-for-portrait,#buddypress div.rtmedia-activity-container th.show-for-portrait{display:table-cell !important}@media only screen and (orientation: landscape){.rtmedia-container .show-for-landscape,.rtmedia-activity-container .show-for-landscape,#buddypress div.rtmedia-activity-container .show-for-landscape,.rtmedia-container .hide-for-portrait,.rtmedia-activity-container .hide-for-portrait,#buddypress div.rtmedia-activity-container .hide-for-portrait{display:inherit !important}.rtmedia-container .hide-for-landscape,.rtmedia-activity-container .hide-for-landscape,#buddypress div.rtmedia-activity-container .hide-for-landscape,.rtmedia-container .show-for-portrait,.rtmedia-activity-container .show-for-portrait,#buddypress div.rtmedia-activity-container .show-for-portrait{display:none !important}.rtmedia-container table.show-for-landscape,.rtmedia-activity-container table.show-for-landscape,#buddypress div.rtmedia-activity-container table.show-for-landscape,.rtmedia-container table.hide-for-portrait,.rtmedia-activity-container table.hide-for-portrait,#buddypress div.rtmedia-activity-container table.hide-for-portrait{display:table}.rtmedia-container thead.show-for-landscape,.rtmedia-activity-container thead.show-for-landscape,#buddypress div.rtmedia-activity-container thead.show-for-landscape,.rtmedia-container thead.hide-for-portrait,.rtmedia-activity-container thead.hide-for-portrait,#buddypress div.rtmedia-activity-container thead.hide-for-portrait{display:table-header-group !important}.rtmedia-container tbody.show-for-landscape,.rtmedia-activity-container tbody.show-for-landscape,#buddypress div.rtmedia-activity-container tbody.show-for-landscape,.rtmedia-container tbody.hide-for-portrait,.rtmedia-activity-container tbody.hide-for-portrait,#buddypress div.rtmedia-activity-container tbody.hide-for-portrait{display:table-row-group !important}.rtmedia-container tr.show-for-landscape,.rtmedia-activity-container tr.show-for-landscape,#buddypress div.rtmedia-activity-container tr.show-for-landscape,.rtmedia-container tr.hide-for-portrait,.rtmedia-activity-container tr.hide-for-portrait,#buddypress div.rtmedia-activity-container tr.hide-for-portrait{display:table-row !important}.rtmedia-container td.show-for-landscape,.rtmedia-activity-container td.show-for-landscape,#buddypress div.rtmedia-activity-container td.show-for-landscape,.rtmedia-container td.hide-for-portrait,.rtmedia-activity-container td.hide-for-portrait,#buddypress div.rtmedia-activity-container td.hide-for-portrait,.rtmedia-container th.show-for-landscape,.rtmedia-activity-container th.show-for-landscape,#buddypress div.rtmedia-activity-container th.show-for-landscape,.rtmedia-container th.hide-for-portrait,.rtmedia-activity-container th.hide-for-portrait,#buddypress div.rtmedia-activity-container th.hide-for-portrait{display:table-cell !important}}@media only screen and (orientation: portrait){.rtmedia-container .show-for-portrait,.rtmedia-activity-container .show-for-portrait,#buddypress div.rtmedia-activity-container .show-for-portrait,.rtmedia-container .hide-for-landscape,.rtmedia-activity-container .hide-for-landscape,#buddypress div.rtmedia-activity-container .hide-for-landscape{display:inherit !important}.rtmedia-container .hide-for-portrait,.rtmedia-activity-container .hide-for-portrait,#buddypress div.rtmedia-activity-container .hide-for-portrait,.rtmedia-container .show-for-landscape,.rtmedia-activity-container .show-for-landscape,#buddypress div.rtmedia-activity-container .show-for-landscape{display:none !important}.rtmedia-container table.show-for-portrait,.rtmedia-activity-container table.show-for-portrait,#buddypress div.rtmedia-activity-container table.show-for-portrait,.rtmedia-container table.hide-for-landscape,.rtmedia-activity-container table.hide-for-landscape,#buddypress div.rtmedia-activity-container table.hide-for-landscape{display:table}.rtmedia-container thead.show-for-portrait,.rtmedia-activity-container thead.show-for-portrait,#buddypress div.rtmedia-activity-container thead.show-for-portrait,.rtmedia-container thead.hide-for-landscape,.rtmedia-activity-container thead.hide-for-landscape,#buddypress div.rtmedia-activity-container thead.hide-for-landscape{display:table-header-group !important}.rtmedia-container tbody.show-for-portrait,.rtmedia-activity-container tbody.show-for-portrait,#buddypress div.rtmedia-activity-container tbody.show-for-portrait,.rtmedia-container tbody.hide-for-landscape,.rtmedia-activity-container tbody.hide-for-landscape,#buddypress div.rtmedia-activity-container tbody.hide-for-landscape{display:table-row-group !important}.rtmedia-container tr.show-for-portrait,.rtmedia-activity-container tr.show-for-portrait,#buddypress div.rtmedia-activity-container tr.show-for-portrait,.rtmedia-container tr.hide-for-landscape,.rtmedia-activity-container tr.hide-for-landscape,#buddypress div.rtmedia-activity-container tr.hide-for-landscape{display:table-row !important}.rtmedia-container td.show-for-portrait,.rtmedia-activity-container td.show-for-portrait,#buddypress div.rtmedia-activity-container td.show-for-portrait,.rtmedia-container td.hide-for-landscape,.rtmedia-activity-container td.hide-for-landscape,#buddypress div.rtmedia-activity-container td.hide-for-landscape,.rtmedia-container th.show-for-portrait,.rtmedia-activity-container th.show-for-portrait,#buddypress div.rtmedia-activity-container th.show-for-portrait,.rtmedia-container th.hide-for-landscape,.rtmedia-activity-container th.hide-for-landscape,#buddypress div.rtmedia-activity-container th.hide-for-landscape{display:table-cell !important}}.rtmedia-container .show-for-touch,.rtmedia-activity-container .show-for-touch,#buddypress div.rtmedia-activity-container .show-for-touch{display:none !important}.rtmedia-container .hide-for-touch,.rtmedia-activity-container .hide-for-touch,#buddypress div.rtmedia-activity-container .hide-for-touch{display:inherit !important}.rtmedia-container .touch .show-for-touch,.rtmedia-activity-container .touch .show-for-touch,#buddypress div.rtmedia-activity-container .touch .show-for-touch{display:inherit !important}.rtmedia-container .touch .hide-for-touch,.rtmedia-activity-container .touch .hide-for-touch,#buddypress div.rtmedia-activity-container .touch .hide-for-touch{display:none !important}.rtmedia-container table.hide-for-touch,.rtmedia-activity-container table.hide-for-touch,#buddypress div.rtmedia-activity-container table.hide-for-touch{display:table}.rtmedia-container .touch table.show-for-touch,.rtmedia-activity-container .touch table.show-for-touch,#buddypress div.rtmedia-activity-container .touch table.show-for-touch{display:table}.rtmedia-container thead.hide-for-touch,.rtmedia-activity-container thead.hide-for-touch,#buddypress div.rtmedia-activity-container thead.hide-for-touch{display:table-header-group !important}.rtmedia-container .touch thead.show-for-touch,.rtmedia-activity-container .touch thead.show-for-touch,#buddypress div.rtmedia-activity-container .touch thead.show-for-touch{display:table-header-group !important}.rtmedia-container tbody.hide-for-touch,.rtmedia-activity-container tbody.hide-for-touch,#buddypress div.rtmedia-activity-container tbody.hide-for-touch{display:table-row-group !important}.rtmedia-container .touch tbody.show-for-touch,.rtmedia-activity-container .touch tbody.show-for-touch,#buddypress div.rtmedia-activity-container .touch tbody.show-for-touch{display:table-row-group !important}.rtmedia-container tr.hide-for-touch,.rtmedia-activity-container tr.hide-for-touch,#buddypress div.rtmedia-activity-container tr.hide-for-touch{display:table-row !important}.rtmedia-container .touch tr.show-for-touch,.rtmedia-activity-container .touch tr.show-for-touch,#buddypress div.rtmedia-activity-container .touch tr.show-for-touch{display:table-row !important}.rtmedia-container td.hide-for-touch,.rtmedia-activity-container td.hide-for-touch,#buddypress div.rtmedia-activity-container td.hide-for-touch{display:table-cell !important}.rtmedia-container .touch td.show-for-touch,.rtmedia-activity-container .touch td.show-for-touch,#buddypress div.rtmedia-activity-container .touch td.show-for-touch{display:table-cell !important}.rtmedia-container th.hide-for-touch,.rtmedia-activity-container th.hide-for-touch,#buddypress div.rtmedia-activity-container th.hide-for-touch{display:table-cell !important}.rtmedia-container .touch th.show-for-touch,.rtmedia-activity-container .touch th.show-for-touch,#buddypress div.rtmedia-activity-container .touch th.show-for-touch{display:table-cell !important}.rtmedia-container .flex-video,.rtmedia-activity-container .flex-video,#buddypress div.rtmedia-activity-container .flex-video{position:relative;padding-top:1.5625em;padding-bottom:67.5%;height:0;margin-bottom:1em;overflow:hidden}.rtmedia-container .flex-video.widescreen,.rtmedia-activity-container .flex-video.widescreen,#buddypress div.rtmedia-activity-container .flex-video.widescreen{padding-bottom:57.25%}.rtmedia-container .flex-video.vimeo,.rtmedia-activity-container .flex-video.vimeo,#buddypress div.rtmedia-activity-container .flex-video.vimeo{padding-top:0}.rtmedia-container .flex-video iframe,.rtmedia-activity-container .flex-video iframe,#buddypress div.rtmedia-activity-container .flex-video iframe,.rtmedia-container .flex-video object,.rtmedia-activity-container .flex-video object,#buddypress div.rtmedia-activity-container .flex-video object,.rtmedia-container .flex-video embed,.rtmedia-activity-container .flex-video embed,#buddypress div.rtmedia-activity-container .flex-video embed,.rtmedia-container .flex-video video,.rtmedia-activity-container .flex-video video,#buddypress div.rtmedia-activity-container .flex-video video{position:absolute;top:0;left:0;width:100%;height:100%}.rtmedia-container #buddypress li,.rtmedia-activity-container #buddypress li{list-style:none}.rtmedia-container .row,.rtmedia-activity-container .row,#buddypress div.rtmedia-activity-container .row{max-width:95%}.rtmedia-container .rtmedia-item-title,.rtmedia-activity-container .rtmedia-item-title,#buddypress div.rtmedia-activity-container .rtmedia-item-title{text-align:center}.rtmedia-container .rtmedia-item-title h4,.rtmedia-activity-container .rtmedia-item-title h4,#buddypress div.rtmedia-activity-container .rtmedia-item-title h4{text-overflow:ellipsis;white-space:nowrap;width:100%;overflow:hidden;font-size:1.1em;text-align:center}.rtmedia-container .rtmedia-success,.rtmedia-activity-container .rtmedia-success,#buddypress div.rtmedia-activity-container .rtmedia-success{display:block;padding:10px;border:1px solid #008000;background-color:#90EE90;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px}.rtmedia-container h2,.rtmedia-activity-container h2,#buddypress div.rtmedia-activity-container h2{font-size:1.4em;font-weight:bold;line-height:2.4em}.rtmedia-container .drag-drop,.rtmedia-activity-container .drag-drop,#buddypress div.rtmedia-activity-container .drag-drop{border:4px dashed #DDD;text-align:center;background:#fafafa;overflow:hidden;padding:15px 0}.rtmedia-container .drag-drop.dragover,.rtmedia-activity-container .drag-drop.dragover,#buddypress div.rtmedia-activity-container .drag-drop.dragover{border-color:#83b4d8}.rtmedia-container .rtmedia-action-update,.rtmedia-activity-container .rtmedia-action-update,#buddypress div.rtmedia-activity-container .rtmedia-action-update{float:left;margin-top:12px;margin-right:10px}.rtmedia-container .rtmedia-list,.rtmedia-activity-container .rtmedia-list,#buddypress div.rtmedia-activity-container .rtmedia-list{list-style:none}.rtmedia-container .rtmedia-list .rtmedia-list-item,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item{word-wrap:break-word;margin:10px;float:left;list-style:none}.rtmedia-container .rtmedia-list .rtmedia-list-item a,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item a,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item a{text-decoration:none}.rtmedia-container .rtmedia-list .rtmedia-list-item a h4,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item a h4,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item a h4{line-height:1.4em;font-size:1.2em;padding-top:10px}.rtmedia-container .rtmedia-list .rtmedia-list-item.media-type-music,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-music,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-music,.rtmedia-container .rtmedia-list .rtmedia-list-item.media-type-video,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-video,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-video{width:100%}.rtmedia-container .rtmedia-list .rtmedia-list-item.media-type-music .mejs-controls .mejs-time-rail,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-music .mejs-controls .mejs-time-rail,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-music .mejs-controls .mejs-time-rail,.rtmedia-container .rtmedia-list .rtmedia-list-item.media-type-video .mejs-controls .mejs-time-rail,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-video .mejs-controls .mejs-time-rail,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-video .mejs-controls .mejs-time-rail{margin:8px 2px 2px 0}.rtmedia-container .rtmedia-media img,.rtmedia-activity-container .rtmedia-media img,#buddypress div.rtmedia-activity-container .rtmedia-media img{max-width:100%}.rtmedia-container .rtmedia-item-thumbnail,.rtmedia-activity-container .rtmedia-item-thumbnail,#buddypress div.rtmedia-activity-container .rtmedia-item-thumbnail{text-align:center}.rtmedia-container .rtmedia-item-thumbnail img,.rtmedia-activity-container .rtmedia-item-thumbnail img,#buddypress div.rtmedia-activity-container .rtmedia-item-thumbnail img{vertical-align:middle}.rtmedia-container .rtmedia_next_prev,.rtmedia-activity-container .rtmedia_next_prev,#buddypress div.rtmedia-activity-container .rtmedia_next_prev{clear:both}.rtmedia-container .rtmedia_next_prev a,.rtmedia-activity-container .rtmedia_next_prev a,#buddypress div.rtmedia-activity-container .rtmedia_next_prev a{display:block;clear:both;background-color:#E9E9E9;padding:10px;text-align:center;text-decoration:none;color:#000;margin:15px}.rtmedia-container .rtmedia-item-comments-container,.rtmedia-activity-container .rtmedia-item-comments-container,#buddypress div.rtmedia-activity-container .rtmedia-item-comments-container{margin:3% 3%}.rtmedia-container .rtmedia-comment,.rtmedia-activity-container .rtmedia-comment,#buddypress div.rtmedia-activity-container .rtmedia-comment{list-style:none;background:#f6f6f6;border:1px solid #ddd;-moz-border-radius:3px;border-radius:3px;margin:5px 0;padding:1px 5px 25px;width:391px;max-width:100%}.rtmedia-container .rtmedia-comment .rtmedia-comment-author,.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-author,#buddypress div.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-author{display:block}.rtmedia-container .rtmedia-comment .rtmedia-comment-content,.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-content,#buddypress div.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-content{display:block}.rtmedia-container .rtmedia-comment .rtmedia-comment-date,.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-date,#buddypress div.rtmedia-activity-container .rtmedia-comment .rtmedia-comment-date{display:block;float:right}.rtmedia-container .rtmedia-bp-header,.rtmedia-activity-container .rtmedia-bp-header,#buddypress div.rtmedia-activity-container .rtmedia-bp-header{width:460px;margin:auto}.rtmedia-container #div-attache-rtmedia,.rtmedia-activity-container #div-attache-rtmedia,#buddypress div.rtmedia-activity-container #div-attache-rtmedia{display:none}.rtmedia-container #rtMedia-update-queue-list p span,.rtmedia-activity-container #rtMedia-update-queue-list p span{margin-right:20px}.rtmedia-container .rtmedia-move-container,.rtmedia-activity-container .rtmedia-move-container,#buddypress div.rtmedia-activity-container .rtmedia-move-container{display:none}.rtmedia-container #rtmedia-add-media-button-post-update,.rtmedia-activity-container #rtmedia-add-media-button-post-update,#buddypress div.rtmedia-activity-container #rtmedia-add-media-button-post-update{float:left;margin-top:10px;margin-right:20px}.rtmedia-container #whats-new-post-in-box,.rtmedia-activity-container #whats-new-post-in-box,#buddypress div.rtmedia-activity-container #whats-new-post-in-box{float:left}.rtmedia-container .rtmedia-activity-text,.rtmedia-activity-container .rtmedia-activity-text,#buddypress div.rtmedia-activity-container .rtmedia-activity-text{display:block;padding-bottom:10px}.rtmedia-container .rtmedia-merge-container,.rtmedia-activity-container .rtmedia-merge-container,#buddypress div.rtmedia-activity-container .rtmedia-merge-container{display:none}.rtmedia-container .rtmedia-create-new-album-container,.rtmedia-activity-container .rtmedia-create-new-album-container,#buddypress div.rtmedia-activity-container .rtmedia-create-new-album-container{display:none}.rtmedia-container select,.rtmedia-activity-container select,#buddypress div.rtmedia-activity-container select{width:auto}.rtmedia-container.rtmedia-single-container .row,.rtmedia-single-container.rtmedia-activity-container .row,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row{background-color:#FFF}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container{padding-top:10px;padding-bottom:10px}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container .rtmedia-media div.mejs-layers div.mejs-poster,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container .rtmedia-media div.mejs-layers div.mejs-poster{overflow:hidden}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container .rtmedia-media .mejs-layers .mejs-overlay-button,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container .rtmedia-media .mejs-layers .mejs-overlay-button{margin:-50px 0 0 -50px}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container .rtmedia-media .mejs-layers .mejs-poster,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container .rtmedia-media .mejs-layers .mejs-poster{overflow:hidden}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container .rtmedia-media-title,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container .rtmedia-media-title{margin:0 0 5px 0;display:block;font-weight:bold;letter-spacing:1px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta{padding:10px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta div.userprofile,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta div.userprofile,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta div.userprofile{float:left;padding:10px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta div.username,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta div.username,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta div.username{padding:10px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta button,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta button,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta button{color:#5E5E5E;background-color:#EBEBEB;background-repeat:repeat-x;background-image:-moz-linear-gradient(top, #f9f9f9, #ebebeb);background-image:-ms-linear-gradient(top, #f9f9f9, #ebebeb);background-image:-webkit-linear-gradient(top, #f9f9f9, #ebebeb);background-image:-o-linear-gradient(top, #f9f9f9, #ebebeb);background-image:linear-gradient(top, #f9f9f9,#ebebeb)}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta>a,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta>a,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta>a{float:left;margin:10px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta .rtmedia-item-actions>a,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions>a,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions>a{display:inline-block;float:left}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta .rtmedia-item-actions>form,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions>form,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions>form{float:left;margin-right:5px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta .rtmedia-item-actions .rtmedia-action-buttons span,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions .rtmedia-action-buttons span,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions .rtmedia-action-buttons span{background:#EEE;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%;border:1px solid #CCC;color:#999;display:inline;font-size:70%;margin-left:2px;margin-right:2px;padding:3px 6px;text-align:center;vertical-align:middle}.rtmedia-container.rtmedia-single-container .row .rtmedia-item-comments,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-item-comments,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-item-comments{background-color:transparent}.rtmedia-container.rtmedia-single-container .row .rtmedia-item-comments div,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-item-comments div,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-item-comments div{background-color:transparent}.rtmedia-container #wp-description-editor-tools a.wp-switch-editor,.rtmedia-activity-container #wp-description-editor-tools a.wp-switch-editor{margin:5px 5px 0 0;padding:4px 5px 2px;float:right;cursor:pointer;border:1px solid;border-color:#DFDFDF #DFDFDF #CCC;font:13px/18px Arial,Helvetica,sans-serif normal;height:auto}.rtmedia-container #description_toolbargroup .mceToolbar td,.rtmedia-activity-container #description_toolbargroup .mceToolbar td{padding:0px}.rtmedia-container #wp-description-editor-container,.rtmedia-activity-container #wp-description-editor-container,#buddypress div.rtmedia-activity-container #wp-description-editor-container{border-width:1px;border-style:solid;-webkit-border-top-right-radius:3px;-webkit-border-top-left-radius:3px;border-top-right-radius:3px;border-top-left-radius:3px;border-color:#CCC #CCC #DFDFDF}.rtmedia-container .rtmedia-change-cover-arts p,.rtmedia-activity-container .rtmedia-change-cover-arts p,#buddypress div.rtmedia-activity-container .rtmedia-change-cover-arts p{padding:5px 0}#buddypress div.rtmedia-activity-container ul.rtmedia-list li{float:left;padding:10px}#buddypress div.rtmedia-activity-container ul.rtmedia-list li .rtmedia-item-thumbnail{overflow:hidden}#buddypress div.rtmedia-activity-container ul.rtmedia-list li.media-type-video{float:none}#buddypress div.rtmedia-activity-container ul.rtmedia-list li.media-type-video .rtmedia-item-thumbnail{margin:0 auto;overflow:hidden}#buddypress div.rtmedia-activity-container ul.rtmedia-list li.media-type-video .rtmedia-item-thumbnail .mejs-overlay-button{margin:-50px 0 0 -50px}#buddypress .mejs-controls button,.rtmedia-container .mejs-controls button,.rtmedia-activity-container .mejs-controls button,#buddypress div.rtmedia-activity-container .mejs-controls button{padding:4px 8px;border:none;background:rgba(0,0,0,0) url("../../../lib/media-element/controls.png") no-repeat}#buddypress .mejs-controls .mejs-play button,.rtmedia-container .mejs-controls .mejs-play button,.rtmedia-activity-container .mejs-controls .mejs-play button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-play button{background-position:0 0}#buddypress .mejs-controls .mejs-pause button,.rtmedia-container .mejs-controls .mejs-pause button,.rtmedia-activity-container .mejs-controls .mejs-pause button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-pause button{background-position:0 -16px}#buddypress .mejs-controls .mejs-unmute button,.rtmedia-container .mejs-controls .mejs-unmute button,.rtmedia-activity-container .mejs-controls .mejs-unmute button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-unmute button{background-position:-16px 0}#buddypress .mejs-controls .mejs-mute button,.rtmedia-container .mejs-controls .mejs-mute button,.rtmedia-activity-container .mejs-controls .mejs-mute button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-mute button{background-position:-16px -16px}#buddypress .mejs-controls .mejs-fullscreen-button button,.rtmedia-container .mejs-controls .mejs-fullscreen-button button,.rtmedia-activity-container .mejs-controls .mejs-fullscreen-button button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-fullscreen-button button{background-position:-32px 0}#buddypress .mejs-controls .mejs-unfullscreen button,.rtmedia-container .mejs-controls .mejs-unfullscreen button,.rtmedia-activity-container .mejs-controls .mejs-unfullscreen button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-unfullscreen button{background-position:-32px -16px}.mfp-content #rtmedia-single-media-container .rtmedia-media{text-align:center;background-color:#333}.mfp-content #rtmedia-single-media-container .rtmedia-media img{max-height:95%}#rtmedia-action-update{float:left;padding-right:10px}#header{z-index:1 !important}.bp_media_content video{background-color:black}.rtmedia-success{display:block;padding:10px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;background-color:#2ECC71;color:white}.rtmedia-error{color:white;display:block;padding:10px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;background-color:#E74C3C}.rtmp-uploaded-file{width:100%}.close{cursor:pointer;color:red}button.mfp-arrow,button.mfp-arrow:active{margin-top:-30px}button.mfp-close{margin-top:-10px}#object-nav li,#group-admins li,.item-list-tabs li{list-style:none}.mejs-video .mejs-controls{position:absolute}.mfp-content #rtmedia-single-media-container .wp-audio-shortcode{height:0px !important}.rtmedia-single-container .rtmedia-editor-description{margin-top:15px}
1
+ .rtmedia-container,.rtmedia-activity-container,#buddypress div.rtmedia-activity-container{padding:5px;margin:0;clear:left}.rtmedia-container html,.rtmedia-activity-container html,#buddypress div.rtmedia-activity-container html,.rtmedia-container body,.rtmedia-activity-container body,#buddypress div.rtmedia-activity-container body,.rtmedia-container div,.rtmedia-activity-container div,#buddypress div.rtmedia-activity-container div,.rtmedia-container span,.rtmedia-activity-container span,#buddypress div.rtmedia-activity-container span,.rtmedia-container applet,.rtmedia-activity-container applet,#buddypress div.rtmedia-activity-container applet,.rtmedia-container object,.rtmedia-activity-container object,#buddypress div.rtmedia-activity-container object,.rtmedia-container iframe,.rtmedia-activity-container iframe,#buddypress div.rtmedia-activity-container iframe,.rtmedia-container h1,.rtmedia-activity-container h1,#buddypress div.rtmedia-activity-container h1,.rtmedia-container h2,.rtmedia-activity-container h2,#buddypress div.rtmedia-activity-container h2,.rtmedia-container h3,.rtmedia-activity-container h3,#buddypress div.rtmedia-activity-container h3,.rtmedia-container h4,.rtmedia-activity-container h4,#buddypress div.rtmedia-activity-container h4,.rtmedia-container h5,.rtmedia-activity-container h5,#buddypress div.rtmedia-activity-container h5,.rtmedia-container h6,.rtmedia-activity-container h6,#buddypress div.rtmedia-activity-container h6,.rtmedia-container p,.rtmedia-activity-container p,#buddypress div.rtmedia-activity-container p,.rtmedia-container blockquote,.rtmedia-activity-container blockquote,#buddypress div.rtmedia-activity-container blockquote,.rtmedia-container pre,.rtmedia-activity-container pre,#buddypress div.rtmedia-activity-container pre,.rtmedia-container a,.rtmedia-activity-container a,#buddypress div.rtmedia-activity-container a,.rtmedia-container abbr,.rtmedia-activity-container abbr,#buddypress div.rtmedia-activity-container abbr,.rtmedia-container acronym,.rtmedia-activity-container acronym,#buddypress div.rtmedia-activity-container acronym,.rtmedia-container address,.rtmedia-activity-container address,#buddypress div.rtmedia-activity-container address,.rtmedia-container big,.rtmedia-activity-container big,#buddypress div.rtmedia-activity-container big,.rtmedia-container cite,.rtmedia-activity-container cite,#buddypress div.rtmedia-activity-container cite,.rtmedia-container code,.rtmedia-activity-container code,#buddypress div.rtmedia-activity-container code,.rtmedia-container del,.rtmedia-activity-container del,#buddypress div.rtmedia-activity-container del,.rtmedia-container dfn,.rtmedia-activity-container dfn,#buddypress div.rtmedia-activity-container dfn,.rtmedia-container em,.rtmedia-activity-container em,#buddypress div.rtmedia-activity-container em,.rtmedia-container img,.rtmedia-activity-container img,#buddypress div.rtmedia-activity-container img,.rtmedia-container ins,.rtmedia-activity-container ins,#buddypress div.rtmedia-activity-container ins,.rtmedia-container kbd,.rtmedia-activity-container kbd,#buddypress div.rtmedia-activity-container kbd,.rtmedia-container q,.rtmedia-activity-container q,#buddypress div.rtmedia-activity-container q,.rtmedia-container s,.rtmedia-activity-container s,#buddypress div.rtmedia-activity-container s,.rtmedia-container samp,.rtmedia-activity-container samp,#buddypress div.rtmedia-activity-container samp,.rtmedia-container small,.rtmedia-activity-container small,#buddypress div.rtmedia-activity-container small,.rtmedia-container strike,.rtmedia-activity-container strike,#buddypress div.rtmedia-activity-container strike,.rtmedia-container strong,.rtmedia-activity-container strong,#buddypress div.rtmedia-activity-container strong,.rtmedia-container sub,.rtmedia-activity-container sub,#buddypress div.rtmedia-activity-container sub,.rtmedia-container sup,.rtmedia-activity-container sup,#buddypress div.rtmedia-activity-container sup,.rtmedia-container tt,.rtmedia-activity-container tt,#buddypress div.rtmedia-activity-container tt,.rtmedia-container var,.rtmedia-activity-container var,#buddypress div.rtmedia-activity-container var,.rtmedia-container b,.rtmedia-activity-container b,#buddypress div.rtmedia-activity-container b,.rtmedia-container u,.rtmedia-activity-container u,#buddypress div.rtmedia-activity-container u,.rtmedia-container i,.rtmedia-activity-container i,#buddypress div.rtmedia-activity-container i,.rtmedia-container center,.rtmedia-activity-container center,#buddypress div.rtmedia-activity-container center,.rtmedia-container dl,.rtmedia-activity-container dl,#buddypress div.rtmedia-activity-container dl,.rtmedia-container dt,.rtmedia-activity-container dt,#buddypress div.rtmedia-activity-container dt,.rtmedia-container dd,.rtmedia-activity-container dd,#buddypress div.rtmedia-activity-container dd,.rtmedia-container ol,.rtmedia-activity-container ol,#buddypress div.rtmedia-activity-container ol,.rtmedia-container ul,.rtmedia-activity-container ul,#buddypress div.rtmedia-activity-container ul,.rtmedia-container li,.rtmedia-activity-container li,#buddypress div.rtmedia-activity-container li,.rtmedia-container fieldset,.rtmedia-activity-container fieldset,#buddypress div.rtmedia-activity-container fieldset,.rtmedia-container form,.rtmedia-activity-container form,#buddypress div.rtmedia-activity-container form,.rtmedia-container label,.rtmedia-activity-container label,#buddypress div.rtmedia-activity-container label,.rtmedia-container legend,.rtmedia-activity-container legend,#buddypress div.rtmedia-activity-container legend,.rtmedia-container table,.rtmedia-activity-container table,#buddypress div.rtmedia-activity-container table,.rtmedia-container caption,.rtmedia-activity-container caption,#buddypress div.rtmedia-activity-container caption,.rtmedia-container tbody,.rtmedia-activity-container tbody,#buddypress div.rtmedia-activity-container tbody,.rtmedia-container tfoot,.rtmedia-activity-container tfoot,#buddypress div.rtmedia-activity-container tfoot,.rtmedia-container thead,.rtmedia-activity-container thead,#buddypress div.rtmedia-activity-container thead,.rtmedia-container tr,.rtmedia-activity-container tr,#buddypress div.rtmedia-activity-container tr,.rtmedia-container th,.rtmedia-activity-container th,#buddypress div.rtmedia-activity-container th,.rtmedia-container td,.rtmedia-activity-container td,#buddypress div.rtmedia-activity-container td,.rtmedia-container article,.rtmedia-activity-container article,#buddypress div.rtmedia-activity-container article,.rtmedia-container aside,.rtmedia-activity-container aside,#buddypress div.rtmedia-activity-container aside,.rtmedia-container canvas,.rtmedia-activity-container canvas,#buddypress div.rtmedia-activity-container canvas,.rtmedia-container details,.rtmedia-activity-container details,#buddypress div.rtmedia-activity-container details,.rtmedia-container embed,.rtmedia-activity-container embed,#buddypress div.rtmedia-activity-container embed,.rtmedia-container figure,.rtmedia-activity-container figure,#buddypress div.rtmedia-activity-container figure,.rtmedia-container figcaption,.rtmedia-activity-container figcaption,#buddypress div.rtmedia-activity-container figcaption,.rtmedia-container footer,.rtmedia-activity-container footer,#buddypress div.rtmedia-activity-container footer,.rtmedia-container header,.rtmedia-activity-container header,#buddypress div.rtmedia-activity-container header,.rtmedia-container hgroup,.rtmedia-activity-container hgroup,#buddypress div.rtmedia-activity-container hgroup,.rtmedia-container menu,.rtmedia-activity-container menu,#buddypress div.rtmedia-activity-container menu,.rtmedia-container nav,.rtmedia-activity-container nav,#buddypress div.rtmedia-activity-container nav,.rtmedia-container output,.rtmedia-activity-container output,#buddypress div.rtmedia-activity-container output,.rtmedia-container ruby,.rtmedia-activity-container ruby,#buddypress div.rtmedia-activity-container ruby,.rtmedia-container section,.rtmedia-activity-container section,#buddypress div.rtmedia-activity-container section,.rtmedia-container summary,.rtmedia-activity-container summary,#buddypress div.rtmedia-activity-container summary,.rtmedia-container time,.rtmedia-activity-container time,#buddypress div.rtmedia-activity-container time,.rtmedia-container mark,.rtmedia-activity-container mark,#buddypress div.rtmedia-activity-container mark,.rtmedia-container audio,.rtmedia-activity-container audio,#buddypress div.rtmedia-activity-container audio,.rtmedia-container video,.rtmedia-activity-container video,#buddypress div.rtmedia-activity-container video{margin:0;padding:0;border:0;font:inherit;font-size:100%;vertical-align:baseline}.rtmedia-container html,.rtmedia-activity-container html,#buddypress div.rtmedia-activity-container html{line-height:1}.rtmedia-container ol,.rtmedia-activity-container ol,#buddypress div.rtmedia-activity-container ol,.rtmedia-container ul,.rtmedia-activity-container ul,#buddypress div.rtmedia-activity-container ul{list-style:none}.rtmedia-container table,.rtmedia-activity-container table,#buddypress div.rtmedia-activity-container table{border-collapse:collapse;border-spacing:0}.rtmedia-container caption,.rtmedia-activity-container caption,#buddypress div.rtmedia-activity-container caption,.rtmedia-container th,.rtmedia-activity-container th,#buddypress div.rtmedia-activity-container th,.rtmedia-container td,.rtmedia-activity-container td,#buddypress div.rtmedia-activity-container td{text-align:left;font-weight:normal;vertical-align:middle}.rtmedia-container q,.rtmedia-activity-container q,#buddypress div.rtmedia-activity-container q,.rtmedia-container blockquote,.rtmedia-activity-container blockquote,#buddypress div.rtmedia-activity-container blockquote{quotes:none}.rtmedia-container q:before,.rtmedia-activity-container q:before,#buddypress div.rtmedia-activity-container q:before,.rtmedia-container q:after,.rtmedia-activity-container q:after,#buddypress div.rtmedia-activity-container q:after,.rtmedia-container blockquote:before,.rtmedia-activity-container blockquote:before,#buddypress div.rtmedia-activity-container blockquote:before,.rtmedia-container blockquote:after,.rtmedia-activity-container blockquote:after,#buddypress div.rtmedia-activity-container blockquote:after{content:"";content:none}.rtmedia-container a img,.rtmedia-activity-container a img,#buddypress div.rtmedia-activity-container a img{border:none}.rtmedia-container article,.rtmedia-activity-container article,#buddypress div.rtmedia-activity-container article,.rtmedia-container aside,.rtmedia-activity-container aside,#buddypress div.rtmedia-activity-container aside,.rtmedia-container details,.rtmedia-activity-container details,#buddypress div.rtmedia-activity-container details,.rtmedia-container figcaption,.rtmedia-activity-container figcaption,#buddypress div.rtmedia-activity-container figcaption,.rtmedia-container figure,.rtmedia-activity-container figure,#buddypress div.rtmedia-activity-container figure,.rtmedia-container footer,.rtmedia-activity-container footer,#buddypress div.rtmedia-activity-container footer,.rtmedia-container header,.rtmedia-activity-container header,#buddypress div.rtmedia-activity-container header,.rtmedia-container hgroup,.rtmedia-activity-container hgroup,#buddypress div.rtmedia-activity-container hgroup,.rtmedia-container menu,.rtmedia-activity-container menu,#buddypress div.rtmedia-activity-container menu,.rtmedia-container nav,.rtmedia-activity-container nav,#buddypress div.rtmedia-activity-container nav,.rtmedia-container section,.rtmedia-activity-container section,#buddypress div.rtmedia-activity-container section,.rtmedia-container summary,.rtmedia-activity-container summary,#buddypress div.rtmedia-activity-container summary{display:block}.rtmedia-container *,.rtmedia-activity-container *,#buddypress div.rtmedia-activity-container *,.rtmedia-container *:before,.rtmedia-activity-container *:before,#buddypress div.rtmedia-activity-container *:before,.rtmedia-container *:after,.rtmedia-activity-container *:after,#buddypress div.rtmedia-activity-container *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.rtmedia-container html,.rtmedia-activity-container html,#buddypress div.rtmedia-activity-container html,.rtmedia-container body,.rtmedia-activity-container body,#buddypress div.rtmedia-activity-container body{font-size:100%}.rtmedia-container body,.rtmedia-activity-container body,#buddypress div.rtmedia-activity-container body{background:#fff;color:#222;padding:0;margin:0;font-family:"Helvetica Neue","Helvetica",Helvetica,Arial,sans-serif;font-weight:normal;font-style:normal;line-height:1;position:relative;cursor:default}.rtmedia-container a:hover,.rtmedia-activity-container a:hover,#buddypress div.rtmedia-activity-container a:hover{cursor:pointer}.rtmedia-container a:focus,.rtmedia-activity-container a:focus,#buddypress div.rtmedia-activity-container a:focus{outline:none}.rtmedia-container img,.rtmedia-activity-container img,#buddypress div.rtmedia-activity-container img,.rtmedia-container object,.rtmedia-activity-container object,#buddypress div.rtmedia-activity-container object,.rtmedia-container embed,.rtmedia-activity-container embed,#buddypress div.rtmedia-activity-container embed{max-width:100%;height:auto}.rtmedia-container object,.rtmedia-activity-container object,#buddypress div.rtmedia-activity-container object,.rtmedia-container embed,.rtmedia-activity-container embed,#buddypress div.rtmedia-activity-container embed{height:100%}.rtmedia-container img,.rtmedia-activity-container img,#buddypress div.rtmedia-activity-container img{-ms-interpolation-mode:bicubic}.rtmedia-container #map_canvas img,.rtmedia-activity-container #map_canvas img,.rtmedia-container #map_canvas embed,.rtmedia-activity-container #map_canvas embed,.rtmedia-container #map_canvas object,.rtmedia-activity-container #map_canvas object,.rtmedia-container .map_canvas img,.rtmedia-activity-container .map_canvas img,#buddypress div.rtmedia-activity-container .map_canvas img,.rtmedia-container .map_canvas embed,.rtmedia-activity-container .map_canvas embed,#buddypress div.rtmedia-activity-container .map_canvas embed,.rtmedia-container .map_canvas object,.rtmedia-activity-container .map_canvas object,#buddypress div.rtmedia-activity-container .map_canvas object{max-width:none !important}.rtmedia-container .left,.rtmedia-activity-container .left,#buddypress div.rtmedia-activity-container .left{float:left !important}.rtmedia-container .right,.rtmedia-activity-container .right,#buddypress div.rtmedia-activity-container .right{float:right !important}.rtmedia-container .text-left,.rtmedia-activity-container .text-left,#buddypress div.rtmedia-activity-container .text-left{text-align:left !important}.rtmedia-container .text-right,.rtmedia-activity-container .text-right,#buddypress div.rtmedia-activity-container .text-right{text-align:right !important}.rtmedia-container .text-center,.rtmedia-activity-container .text-center,#buddypress div.rtmedia-activity-container .text-center{text-align:center !important}.rtmedia-container .text-justify,.rtmedia-activity-container .text-justify,#buddypress div.rtmedia-activity-container .text-justify{text-align:justify !important}.rtmedia-container .hide,.rtmedia-activity-container .hide,#buddypress div.rtmedia-activity-container .hide{display:none}.rtmedia-container .antialiased,.rtmedia-activity-container .antialiased,#buddypress div.rtmedia-activity-container .antialiased{-webkit-font-smoothing:antialiased}.rtmedia-container img,.rtmedia-activity-container img,#buddypress div.rtmedia-activity-container img{display:inline-block;vertical-align:middle}.rtmedia-container textarea,.rtmedia-activity-container textarea,#buddypress div.rtmedia-activity-container textarea{height:auto;min-height:50px}.rtmedia-container select,.rtmedia-activity-container select,#buddypress div.rtmedia-activity-container select{width:100%}.rtmedia-container .row,.rtmedia-activity-container .row,#buddypress div.rtmedia-activity-container .row{width:100%;margin-left:auto;margin-right:auto;margin-top:0;margin-bottom:0;max-width:62.5em;*zoom:1}.rtmedia-container .row:before,.rtmedia-activity-container .row:before,#buddypress div.rtmedia-activity-container .row:before,.rtmedia-container .row:after,.rtmedia-activity-container .row:after,#buddypress div.rtmedia-activity-container .row:after{content:" ";display:table}.rtmedia-container .row:after,.rtmedia-activity-container .row:after,#buddypress div.rtmedia-activity-container .row:after{clear:both}.rtmedia-container .row.collapse .column,.rtmedia-activity-container .row.collapse .column,#buddypress div.rtmedia-activity-container .row.collapse .column,.rtmedia-container .row.collapse .columns,.rtmedia-activity-container .row.collapse .columns,#buddypress div.rtmedia-activity-container .row.collapse .columns{position:relative;padding-left:0;padding-right:0;float:left}.rtmedia-container .row .row,.rtmedia-activity-container .row .row,#buddypress div.rtmedia-activity-container .row .row{width:auto;margin-left:-0.9375em;margin-right:-0.9375em;margin-top:0;margin-bottom:0;max-width:none;*zoom:1}.rtmedia-container .row .row:before,.rtmedia-activity-container .row .row:before,#buddypress div.rtmedia-activity-container .row .row:before,.rtmedia-container .row .row:after,.rtmedia-activity-container .row .row:after,#buddypress div.rtmedia-activity-container .row .row:after{content:" ";display:table}.rtmedia-container .row .row:after,.rtmedia-activity-container .row .row:after,#buddypress div.rtmedia-activity-container .row .row:after{clear:both}.rtmedia-container .row .row.collapse,.rtmedia-activity-container .row .row.collapse,#buddypress div.rtmedia-activity-container .row .row.collapse{width:auto;margin:0;max-width:none;*zoom:1}.rtmedia-container .row .row.collapse:before,.rtmedia-activity-container .row .row.collapse:before,#buddypress div.rtmedia-activity-container .row .row.collapse:before,.rtmedia-container .row .row.collapse:after,.rtmedia-activity-container .row .row.collapse:after,#buddypress div.rtmedia-activity-container .row .row.collapse:after{content:" ";display:table}.rtmedia-container .row .row.collapse:after,.rtmedia-activity-container .row .row.collapse:after,#buddypress div.rtmedia-activity-container .row .row.collapse:after{clear:both}.rtmedia-container .column,.rtmedia-activity-container .column,#buddypress div.rtmedia-activity-container .column,.rtmedia-container .columns,.rtmedia-activity-container .columns,#buddypress div.rtmedia-activity-container .columns{position:relative;padding-left:0.9375em;padding-right:0.9375em;width:100%;float:left}@media only screen{.rtmedia-container .column,.rtmedia-activity-container .column,#buddypress div.rtmedia-activity-container .column,.rtmedia-container .columns,.rtmedia-activity-container .columns,#buddypress div.rtmedia-activity-container .columns{position:relative;padding-left:0.9375em;padding-right:0.9375em;float:left}.rtmedia-container .small-1,.rtmedia-activity-container .small-1,#buddypress div.rtmedia-activity-container .small-1{position:relative;width:8.33333%}.rtmedia-container .small-2,.rtmedia-activity-container .small-2,#buddypress div.rtmedia-activity-container .small-2{position:relative;width:16.66667%}.rtmedia-container .small-3,.rtmedia-activity-container .small-3,#buddypress div.rtmedia-activity-container .small-3{position:relative;width:25%}.rtmedia-container .small-4,.rtmedia-activity-container .small-4,#buddypress div.rtmedia-activity-container .small-4{position:relative;width:33.33333%}.rtmedia-container .small-5,.rtmedia-activity-container .small-5,#buddypress div.rtmedia-activity-container .small-5{position:relative;width:41.66667%}.rtmedia-container .small-6,.rtmedia-activity-container .small-6,#buddypress div.rtmedia-activity-container .small-6{position:relative;width:50%}.rtmedia-container .small-7,.rtmedia-activity-container .small-7,#buddypress div.rtmedia-activity-container .small-7{position:relative;width:58.33333%}.rtmedia-container .small-8,.rtmedia-activity-container .small-8,#buddypress div.rtmedia-activity-container .small-8{position:relative;width:66.66667%}.rtmedia-container .small-9,.rtmedia-activity-container .small-9,#buddypress div.rtmedia-activity-container .small-9{position:relative;width:75%}.rtmedia-container .small-10,.rtmedia-activity-container .small-10,#buddypress div.rtmedia-activity-container .small-10{position:relative;width:83.33333%}.rtmedia-container .small-11,.rtmedia-activity-container .small-11,#buddypress div.rtmedia-activity-container .small-11{position:relative;width:91.66667%}.rtmedia-container .small-12,.rtmedia-activity-container .small-12,#buddypress div.rtmedia-activity-container .small-12{position:relative;width:100%}.rtmedia-container .small-offset-0,.rtmedia-activity-container .small-offset-0,#buddypress div.rtmedia-activity-container .small-offset-0{position:relative;margin-left:0%}.rtmedia-container .small-offset-1,.rtmedia-activity-container .small-offset-1,#buddypress div.rtmedia-activity-container .small-offset-1{position:relative;margin-left:8.33333%}.rtmedia-container .small-offset-2,.rtmedia-activity-container .small-offset-2,#buddypress div.rtmedia-activity-container .small-offset-2{position:relative;margin-left:16.66667%}.rtmedia-container .small-offset-3,.rtmedia-activity-container .small-offset-3,#buddypress div.rtmedia-activity-container .small-offset-3{position:relative;margin-left:25%}.rtmedia-container .small-offset-4,.rtmedia-activity-container .small-offset-4,#buddypress div.rtmedia-activity-container .small-offset-4{position:relative;margin-left:33.33333%}.rtmedia-container .small-offset-5,.rtmedia-activity-container .small-offset-5,#buddypress div.rtmedia-activity-container .small-offset-5{position:relative;margin-left:41.66667%}.rtmedia-container .small-offset-6,.rtmedia-activity-container .small-offset-6,#buddypress div.rtmedia-activity-container .small-offset-6{position:relative;margin-left:50%}.rtmedia-container .small-offset-7,.rtmedia-activity-container .small-offset-7,#buddypress div.rtmedia-activity-container .small-offset-7{position:relative;margin-left:58.33333%}.rtmedia-container .small-offset-8,.rtmedia-activity-container .small-offset-8,#buddypress div.rtmedia-activity-container .small-offset-8{position:relative;margin-left:66.66667%}.rtmedia-container .small-offset-9,.rtmedia-activity-container .small-offset-9,#buddypress div.rtmedia-activity-container .small-offset-9{position:relative;margin-left:75%}.rtmedia-container .small-offset-10,.rtmedia-activity-container .small-offset-10,#buddypress div.rtmedia-activity-container .small-offset-10{position:relative;margin-left:83.33333%}.rtmedia-container [class*="column"]+[class*="column"]:last-child,.rtmedia-activity-container [class*="column"]+[class*="column"]:last-child,#buddypress div.rtmedia-activity-container [class*="column"]+[class*="column"]:last-child{float:right}.rtmedia-container [class*="column"]+[class*="column"].end,.rtmedia-activity-container [class*="column"]+[class*="column"].end,#buddypress div.rtmedia-activity-container [class*="column"]+[class*="column"].end{float:left}.rtmedia-container .column.small-centered,.rtmedia-activity-container .column.small-centered,#buddypress div.rtmedia-activity-container .column.small-centered,.rtmedia-container .columns.small-centered,.rtmedia-activity-container .columns.small-centered,#buddypress div.rtmedia-activity-container .columns.small-centered{position:relative;margin-left:auto;margin-right:auto;float:none !important}}@media only screen and (min-width: 768px){.rtmedia-container .large-1,.rtmedia-activity-container .large-1,#buddypress div.rtmedia-activity-container .large-1{position:relative;width:8.33333%}.rtmedia-container .large-2,.rtmedia-activity-container .large-2,#buddypress div.rtmedia-activity-container .large-2{position:relative;width:16.66667%}.rtmedia-container .large-3,.rtmedia-activity-container .large-3,#buddypress div.rtmedia-activity-container .large-3{position:relative;width:25%}.rtmedia-container .large-4,.rtmedia-activity-container .large-4,#buddypress div.rtmedia-activity-container .large-4{position:relative;width:33.33333%}.rtmedia-container .large-5,.rtmedia-activity-container .large-5,#buddypress div.rtmedia-activity-container .large-5{position:relative;width:41.66667%}.rtmedia-container .large-6,.rtmedia-activity-container .large-6,#buddypress div.rtmedia-activity-container .large-6{position:relative;width:50%}.rtmedia-container .large-7,.rtmedia-activity-container .large-7,#buddypress div.rtmedia-activity-container .large-7{position:relative;width:58.33333%}.rtmedia-container .large-8,.rtmedia-activity-container .large-8,#buddypress div.rtmedia-activity-container .large-8{position:relative;width:66.66667%}.rtmedia-container .large-9,.rtmedia-activity-container .large-9,#buddypress div.rtmedia-activity-container .large-9{position:relative;width:75%}.rtmedia-container .large-10,.rtmedia-activity-container .large-10,#buddypress div.rtmedia-activity-container .large-10{position:relative;width:83.33333%}.rtmedia-container .large-11,.rtmedia-activity-container .large-11,#buddypress div.rtmedia-activity-container .large-11{position:relative;width:91.66667%}.rtmedia-container .large-12,.rtmedia-activity-container .large-12,#buddypress div.rtmedia-activity-container .large-12{position:relative;width:100%}.rtmedia-container .row .large-offset-0,.rtmedia-activity-container .row .large-offset-0,#buddypress div.rtmedia-activity-container .row .large-offset-0{position:relative;margin-left:0%}.rtmedia-container .row .large-offset-1,.rtmedia-activity-container .row .large-offset-1,#buddypress div.rtmedia-activity-container .row .large-offset-1{position:relative;margin-left:8.33333%}.rtmedia-container .row .large-offset-2,.rtmedia-activity-container .row .large-offset-2,#buddypress div.rtmedia-activity-container .row .large-offset-2{position:relative;margin-left:16.66667%}.rtmedia-container .row .large-offset-3,.rtmedia-activity-container .row .large-offset-3,#buddypress div.rtmedia-activity-container .row .large-offset-3{position:relative;margin-left:25%}.rtmedia-container .row .large-offset-4,.rtmedia-activity-container .row .large-offset-4,#buddypress div.rtmedia-activity-container .row .large-offset-4{position:relative;margin-left:33.33333%}.rtmedia-container .row .large-offset-5,.rtmedia-activity-container .row .large-offset-5,#buddypress div.rtmedia-activity-container .row .large-offset-5{position:relative;margin-left:41.66667%}.rtmedia-container .row .large-offset-6,.rtmedia-activity-container .row .large-offset-6,#buddypress div.rtmedia-activity-container .row .large-offset-6{position:relative;margin-left:50%}.rtmedia-container .row .large-offset-7,.rtmedia-activity-container .row .large-offset-7,#buddypress div.rtmedia-activity-container .row .large-offset-7{position:relative;margin-left:58.33333%}.rtmedia-container .row .large-offset-8,.rtmedia-activity-container .row .large-offset-8,#buddypress div.rtmedia-activity-container .row .large-offset-8{position:relative;margin-left:66.66667%}.rtmedia-container .row .large-offset-9,.rtmedia-activity-container .row .large-offset-9,#buddypress div.rtmedia-activity-container .row .large-offset-9{position:relative;margin-left:75%}.rtmedia-container .row .large-offset-10,.rtmedia-activity-container .row .large-offset-10,#buddypress div.rtmedia-activity-container .row .large-offset-10{position:relative;margin-left:83.33333%}.rtmedia-container .row .large-offset-11,.rtmedia-activity-container .row .large-offset-11,#buddypress div.rtmedia-activity-container .row .large-offset-11{position:relative;margin-left:91.66667%}.rtmedia-container .push-1,.rtmedia-activity-container .push-1,#buddypress div.rtmedia-activity-container .push-1{position:relative;left:8.33333%;right:auto}.rtmedia-container .pull-1,.rtmedia-activity-container .pull-1,#buddypress div.rtmedia-activity-container .pull-1{position:relative;right:8.33333%;left:auto}.rtmedia-container .push-2,.rtmedia-activity-container .push-2,#buddypress div.rtmedia-activity-container .push-2{position:relative;left:16.66667%;right:auto}.rtmedia-container .pull-2,.rtmedia-activity-container .pull-2,#buddypress div.rtmedia-activity-container .pull-2{position:relative;right:16.66667%;left:auto}.rtmedia-container .push-3,.rtmedia-activity-container .push-3,#buddypress div.rtmedia-activity-container .push-3{position:relative;left:25%;right:auto}.rtmedia-container .pull-3,.rtmedia-activity-container .pull-3,#buddypress div.rtmedia-activity-container .pull-3{position:relative;right:25%;left:auto}.rtmedia-container .push-4,.rtmedia-activity-container .push-4,#buddypress div.rtmedia-activity-container .push-4{position:relative;left:33.33333%;right:auto}.rtmedia-container .pull-4,.rtmedia-activity-container .pull-4,#buddypress div.rtmedia-activity-container .pull-4{position:relative;right:33.33333%;left:auto}.rtmedia-container .push-5,.rtmedia-activity-container .push-5,#buddypress div.rtmedia-activity-container .push-5{position:relative;left:41.66667%;right:auto}.rtmedia-container .pull-5,.rtmedia-activity-container .pull-5,#buddypress div.rtmedia-activity-container .pull-5{position:relative;right:41.66667%;left:auto}.rtmedia-container .push-6,.rtmedia-activity-container .push-6,#buddypress div.rtmedia-activity-container .push-6{position:relative;left:50%;right:auto}.rtmedia-container .pull-6,.rtmedia-activity-container .pull-6,#buddypress div.rtmedia-activity-container .pull-6{position:relative;right:50%;left:auto}.rtmedia-container .push-7,.rtmedia-activity-container .push-7,#buddypress div.rtmedia-activity-container .push-7{position:relative;left:58.33333%;right:auto}.rtmedia-container .pull-7,.rtmedia-activity-container .pull-7,#buddypress div.rtmedia-activity-container .pull-7{position:relative;right:58.33333%;left:auto}.rtmedia-container .push-8,.rtmedia-activity-container .push-8,#buddypress div.rtmedia-activity-container .push-8{position:relative;left:66.66667%;right:auto}.rtmedia-container .pull-8,.rtmedia-activity-container .pull-8,#buddypress div.rtmedia-activity-container .pull-8{position:relative;right:66.66667%;left:auto}.rtmedia-container .push-9,.rtmedia-activity-container .push-9,#buddypress div.rtmedia-activity-container .push-9{position:relative;left:75%;right:auto}.rtmedia-container .pull-9,.rtmedia-activity-container .pull-9,#buddypress div.rtmedia-activity-container .pull-9{position:relative;right:75%;left:auto}.rtmedia-container .push-10,.rtmedia-activity-container .push-10,#buddypress div.rtmedia-activity-container .push-10{position:relative;left:83.33333%;right:auto}.rtmedia-container .pull-10,.rtmedia-activity-container .pull-10,#buddypress div.rtmedia-activity-container .pull-10{position:relative;right:83.33333%;left:auto}.rtmedia-container .push-11,.rtmedia-activity-container .push-11,#buddypress div.rtmedia-activity-container .push-11{position:relative;left:91.66667%;right:auto}.rtmedia-container .pull-11,.rtmedia-activity-container .pull-11,#buddypress div.rtmedia-activity-container .pull-11{position:relative;right:91.66667%;left:auto}.rtmedia-container .column.large-centered,.rtmedia-activity-container .column.large-centered,#buddypress div.rtmedia-activity-container .column.large-centered,.rtmedia-container .columns.large-centered,.rtmedia-activity-container .columns.large-centered,#buddypress div.rtmedia-activity-container .columns.large-centered{position:relative;margin-left:auto;margin-right:auto;float:none !important}.rtmedia-container .column.large-uncentered,.rtmedia-activity-container .column.large-uncentered,#buddypress div.rtmedia-activity-container .column.large-uncentered,.rtmedia-container .columns.large-uncentered,.rtmedia-activity-container .columns.large-uncentered,#buddypress div.rtmedia-activity-container .columns.large-uncentered{margin-left:0;margin-right:0;float:left !important}.rtmedia-container .column.large-uncentered.opposite,.rtmedia-activity-container .column.large-uncentered.opposite,#buddypress div.rtmedia-activity-container .column.large-uncentered.opposite,.rtmedia-container .columns.large-uncentered.opposite,.rtmedia-activity-container .columns.large-uncentered.opposite,#buddypress div.rtmedia-activity-container .columns.large-uncentered.opposite{float:right !important}}.rtmedia-container .show-for-small,.rtmedia-activity-container .show-for-small,#buddypress div.rtmedia-activity-container .show-for-small,.rtmedia-container .show-for-medium-down,.rtmedia-activity-container .show-for-medium-down,#buddypress div.rtmedia-activity-container .show-for-medium-down,.rtmedia-container .show-for-large-down,.rtmedia-activity-container .show-for-large-down,#buddypress div.rtmedia-activity-container .show-for-large-down{display:inherit !important}.rtmedia-container .show-for-medium,.rtmedia-activity-container .show-for-medium,#buddypress div.rtmedia-activity-container .show-for-medium,.rtmedia-container .show-for-medium-up,.rtmedia-activity-container .show-for-medium-up,#buddypress div.rtmedia-activity-container .show-for-medium-up,.rtmedia-container .show-for-large,.rtmedia-activity-container .show-for-large,#buddypress div.rtmedia-activity-container .show-for-large,.rtmedia-container .show-for-large-up,.rtmedia-activity-container .show-for-large-up,#buddypress div.rtmedia-activity-container .show-for-large-up,.rtmedia-container .show-for-xlarge,.rtmedia-activity-container .show-for-xlarge,#buddypress div.rtmedia-activity-container .show-for-xlarge{display:none !important}.rtmedia-container .hide-for-medium,.rtmedia-activity-container .hide-for-medium,#buddypress div.rtmedia-activity-container .hide-for-medium,.rtmedia-container .hide-for-medium-up,.rtmedia-activity-container .hide-for-medium-up,#buddypress div.rtmedia-activity-container .hide-for-medium-up,.rtmedia-container .hide-for-large,.rtmedia-activity-container .hide-for-large,#buddypress div.rtmedia-activity-container .hide-for-large,.rtmedia-container .hide-for-large-up,.rtmedia-activity-container .hide-for-large-up,#buddypress div.rtmedia-activity-container .hide-for-large-up,.rtmedia-container .hide-for-xlarge,.rtmedia-activity-container .hide-for-xlarge,#buddypress div.rtmedia-activity-container .hide-for-xlarge{display:inherit !important}.rtmedia-container .hide-for-small,.rtmedia-activity-container .hide-for-small,#buddypress div.rtmedia-activity-container .hide-for-small,.rtmedia-container .hide-for-medium-down,.rtmedia-activity-container .hide-for-medium-down,#buddypress div.rtmedia-activity-container .hide-for-medium-down,.rtmedia-container .hide-for-large-down,.rtmedia-activity-container .hide-for-large-down,#buddypress div.rtmedia-activity-container .hide-for-large-down{display:none !important}.rtmedia-container table.show-for-small,.rtmedia-activity-container table.show-for-small,#buddypress div.rtmedia-activity-container table.show-for-small,.rtmedia-container table.show-for-medium-down,.rtmedia-activity-container table.show-for-medium-down,#buddypress div.rtmedia-activity-container table.show-for-medium-down,.rtmedia-container table.show-for-large-down,.rtmedia-activity-container table.show-for-large-down,#buddypress div.rtmedia-activity-container table.show-for-large-down,.rtmedia-container table.hide-for-medium,.rtmedia-activity-container table.hide-for-medium,#buddypress div.rtmedia-activity-container table.hide-for-medium,.rtmedia-container table.hide-for-medium-up,.rtmedia-activity-container table.hide-for-medium-up,#buddypress div.rtmedia-activity-container table.hide-for-medium-up,.rtmedia-container table.hide-for-large,.rtmedia-activity-container table.hide-for-large,#buddypress div.rtmedia-activity-container table.hide-for-large,.rtmedia-container table.hide-for-large-up,.rtmedia-activity-container table.hide-for-large-up,#buddypress div.rtmedia-activity-container table.hide-for-large-up,.rtmedia-container table.hide-for-xlarge,.rtmedia-activity-container table.hide-for-xlarge,#buddypress div.rtmedia-activity-container table.hide-for-xlarge{display:table}.rtmedia-container thead.show-for-small,.rtmedia-activity-container thead.show-for-small,#buddypress div.rtmedia-activity-container thead.show-for-small,.rtmedia-container thead.show-for-medium-down,.rtmedia-activity-container thead.show-for-medium-down,#buddypress div.rtmedia-activity-container thead.show-for-medium-down,.rtmedia-container thead.show-for-large-down,.rtmedia-activity-container thead.show-for-large-down,#buddypress div.rtmedia-activity-container thead.show-for-large-down,.rtmedia-container thead.hide-for-medium,.rtmedia-activity-container thead.hide-for-medium,#buddypress div.rtmedia-activity-container thead.hide-for-medium,.rtmedia-container thead.hide-for-medium-up,.rtmedia-activity-container thead.hide-for-medium-up,#buddypress div.rtmedia-activity-container thead.hide-for-medium-up,.rtmedia-container thead.hide-for-large,.rtmedia-activity-container thead.hide-for-large,#buddypress div.rtmedia-activity-container thead.hide-for-large,.rtmedia-container thead.hide-for-large-up,.rtmedia-activity-container thead.hide-for-large-up,#buddypress div.rtmedia-activity-container thead.hide-for-large-up,.rtmedia-container thead.hide-for-xlarge,.rtmedia-activity-container thead.hide-for-xlarge,#buddypress div.rtmedia-activity-container thead.hide-for-xlarge{display:table-header-group !important}.rtmedia-container tbody.show-for-small,.rtmedia-activity-container tbody.show-for-small,#buddypress div.rtmedia-activity-container tbody.show-for-small,.rtmedia-container tbody.show-for-medium-down,.rtmedia-activity-container tbody.show-for-medium-down,#buddypress div.rtmedia-activity-container tbody.show-for-medium-down,.rtmedia-container tbody.show-for-large-down,.rtmedia-activity-container tbody.show-for-large-down,#buddypress div.rtmedia-activity-container tbody.show-for-large-down,.rtmedia-container tbody.hide-for-medium,.rtmedia-activity-container tbody.hide-for-medium,#buddypress div.rtmedia-activity-container tbody.hide-for-medium,.rtmedia-container tbody.hide-for-medium-up,.rtmedia-activity-container tbody.hide-for-medium-up,#buddypress div.rtmedia-activity-container tbody.hide-for-medium-up,.rtmedia-container tbody.hide-for-large,.rtmedia-activity-container tbody.hide-for-large,#buddypress div.rtmedia-activity-container tbody.hide-for-large,.rtmedia-container tbody.hide-for-large-up,.rtmedia-activity-container tbody.hide-for-large-up,#buddypress div.rtmedia-activity-container tbody.hide-for-large-up,.rtmedia-container tbody.hide-for-xlarge,.rtmedia-activity-container tbody.hide-for-xlarge,#buddypress div.rtmedia-activity-container tbody.hide-for-xlarge{display:table-row-group !important}.rtmedia-container tr.show-for-small,.rtmedia-activity-container tr.show-for-small,#buddypress div.rtmedia-activity-container tr.show-for-small,.rtmedia-container tr.show-for-medium-down,.rtmedia-activity-container tr.show-for-medium-down,#buddypress div.rtmedia-activity-container tr.show-for-medium-down,.rtmedia-container tr.show-for-large-down,.rtmedia-activity-container tr.show-for-large-down,#buddypress div.rtmedia-activity-container tr.show-for-large-down,.rtmedia-container tr.hide-for-medium,.rtmedia-activity-container tr.hide-for-medium,#buddypress div.rtmedia-activity-container tr.hide-for-medium,.rtmedia-container tr.hide-for-medium-up,.rtmedia-activity-container tr.hide-for-medium-up,#buddypress div.rtmedia-activity-container tr.hide-for-medium-up,.rtmedia-container tr.hide-for-large,.rtmedia-activity-container tr.hide-for-large,#buddypress div.rtmedia-activity-container tr.hide-for-large,.rtmedia-container tr.hide-for-large-up,.rtmedia-activity-container tr.hide-for-large-up,#buddypress div.rtmedia-activity-container tr.hide-for-large-up,.rtmedia-container tr.hide-for-xlarge,.rtmedia-activity-container tr.hide-for-xlarge,#buddypress div.rtmedia-activity-container tr.hide-for-xlarge{display:table-row !important}.rtmedia-container td.show-for-small,.rtmedia-activity-container td.show-for-small,#buddypress div.rtmedia-activity-container td.show-for-small,.rtmedia-container td.show-for-medium-down,.rtmedia-activity-container td.show-for-medium-down,#buddypress div.rtmedia-activity-container td.show-for-medium-down,.rtmedia-container td.show-for-large-down,.rtmedia-activity-container td.show-for-large-down,#buddypress div.rtmedia-activity-container td.show-for-large-down,.rtmedia-container td.hide-for-medium,.rtmedia-activity-container td.hide-for-medium,#buddypress div.rtmedia-activity-container td.hide-for-medium,.rtmedia-container td.hide-for-medium-up,.rtmedia-activity-container td.hide-for-medium-up,#buddypress div.rtmedia-activity-container td.hide-for-medium-up,.rtmedia-container td.hide-for-large,.rtmedia-activity-container td.hide-for-large,#buddypress div.rtmedia-activity-container td.hide-for-large,.rtmedia-container td.hide-for-large-up,.rtmedia-activity-container td.hide-for-large-up,#buddypress div.rtmedia-activity-container td.hide-for-large-up,.rtmedia-container td.hide-for-xlarge,.rtmedia-activity-container td.hide-for-xlarge,#buddypress div.rtmedia-activity-container td.hide-for-xlarge,.rtmedia-container th.show-for-small,.rtmedia-activity-container th.show-for-small,#buddypress div.rtmedia-activity-container th.show-for-small,.rtmedia-container th.show-for-medium-down,.rtmedia-activity-container th.show-for-medium-down,#buddypress div.rtmedia-activity-container th.show-for-medium-down,.rtmedia-container th.show-for-large-down,.rtmedia-activity-container th.show-for-large-down,#buddypress div.rtmedia-activity-container th.show-for-large-down,.rtmedia-container th.hide-for-medium,.rtmedia-activity-container th.hide-for-medium,#buddypress div.rtmedia-activity-container th.hide-for-medium,.rtmedia-container th.hide-for-medium-up,.rtmedia-activity-container th.hide-for-medium-up,#buddypress div.rtmedia-activity-container th.hide-for-medium-up,.rtmedia-container th.hide-for-large,.rtmedia-activity-container th.hide-for-large,#buddypress div.rtmedia-activity-container th.hide-for-large,.rtmedia-container th.hide-for-large-up,.rtmedia-activity-container th.hide-for-large-up,#buddypress div.rtmedia-activity-container th.hide-for-large-up,.rtmedia-container th.hide-for-xlarge,.rtmedia-activity-container th.hide-for-xlarge,#buddypress div.rtmedia-activity-container th.hide-for-xlarge{display:table-cell !important}@media only screen and (min-width: 768px){.rtmedia-container .show-for-medium,.rtmedia-activity-container .show-for-medium,#buddypress div.rtmedia-activity-container .show-for-medium,.rtmedia-container .show-for-medium-up,.rtmedia-activity-container .show-for-medium-up,#buddypress div.rtmedia-activity-container .show-for-medium-up{display:inherit !important}.rtmedia-container .show-for-small,.rtmedia-activity-container .show-for-small,#buddypress div.rtmedia-activity-container .show-for-small{display:none !important}.rtmedia-container .hide-for-small,.rtmedia-activity-container .hide-for-small,#buddypress div.rtmedia-activity-container .hide-for-small{display:inherit !important}.rtmedia-container .hide-for-medium,.rtmedia-activity-container .hide-for-medium,#buddypress div.rtmedia-activity-container .hide-for-medium,.rtmedia-container .hide-for-medium-up,.rtmedia-activity-container .hide-for-medium-up,#buddypress div.rtmedia-activity-container .hide-for-medium-up{display:none !important}.rtmedia-container table.show-for-medium,.rtmedia-activity-container table.show-for-medium,#buddypress div.rtmedia-activity-container table.show-for-medium,.rtmedia-container table.show-for-medium-up,.rtmedia-activity-container table.show-for-medium-up,#buddypress div.rtmedia-activity-container table.show-for-medium-up,.rtmedia-container table.hide-for-small,.rtmedia-activity-container table.hide-for-small,#buddypress div.rtmedia-activity-container table.hide-for-small{display:table}.rtmedia-container thead.show-for-medium,.rtmedia-activity-container thead.show-for-medium,#buddypress div.rtmedia-activity-container thead.show-for-medium,.rtmedia-container thead.show-for-medium-up,.rtmedia-activity-container thead.show-for-medium-up,#buddypress div.rtmedia-activity-container thead.show-for-medium-up,.rtmedia-container thead.hide-for-small,.rtmedia-activity-container thead.hide-for-small,#buddypress div.rtmedia-activity-container thead.hide-for-small{display:table-header-group !important}.rtmedia-container tbody.show-for-medium,.rtmedia-activity-container tbody.show-for-medium,#buddypress div.rtmedia-activity-container tbody.show-for-medium,.rtmedia-container tbody.show-for-medium-up,.rtmedia-activity-container tbody.show-for-medium-up,#buddypress div.rtmedia-activity-container tbody.show-for-medium-up,.rtmedia-container tbody.hide-for-small,.rtmedia-activity-container tbody.hide-for-small,#buddypress div.rtmedia-activity-container tbody.hide-for-small{display:table-row-group !important}.rtmedia-container tr.show-for-medium,.rtmedia-activity-container tr.show-for-medium,#buddypress div.rtmedia-activity-container tr.show-for-medium,.rtmedia-container tr.show-for-medium-up,.rtmedia-activity-container tr.show-for-medium-up,#buddypress div.rtmedia-activity-container tr.show-for-medium-up,.rtmedia-container tr.hide-for-small,.rtmedia-activity-container tr.hide-for-small,#buddypress div.rtmedia-activity-container tr.hide-for-small{display:table-row !important}.rtmedia-container td.show-for-medium,.rtmedia-activity-container td.show-for-medium,#buddypress div.rtmedia-activity-container td.show-for-medium,.rtmedia-container td.show-for-medium-up,.rtmedia-activity-container td.show-for-medium-up,#buddypress div.rtmedia-activity-container td.show-for-medium-up,.rtmedia-container td.hide-for-small,.rtmedia-activity-container td.hide-for-small,#buddypress div.rtmedia-activity-container td.hide-for-small,.rtmedia-container th.show-for-medium,.rtmedia-activity-container th.show-for-medium,#buddypress div.rtmedia-activity-container th.show-for-medium,.rtmedia-container th.show-for-medium-up,.rtmedia-activity-container th.show-for-medium-up,#buddypress div.rtmedia-activity-container th.show-for-medium-up,.rtmedia-container th.hide-for-small,.rtmedia-activity-container th.hide-for-small,#buddypress div.rtmedia-activity-container th.hide-for-small{display:table-cell !important}}@media only screen and (min-width: 1280px){.rtmedia-container .show-for-large,.rtmedia-activity-container .show-for-large,#buddypress div.rtmedia-activity-container .show-for-large,.rtmedia-container .show-for-large-up,.rtmedia-activity-container .show-for-large-up,#buddypress div.rtmedia-activity-container .show-for-large-up{display:inherit !important}.rtmedia-container .show-for-medium,.rtmedia-activity-container .show-for-medium,#buddypress div.rtmedia-activity-container .show-for-medium,.rtmedia-container .show-for-medium-down,.rtmedia-activity-container .show-for-medium-down,#buddypress div.rtmedia-activity-container .show-for-medium-down{display:none !important}.rtmedia-container .hide-for-medium,.rtmedia-activity-container .hide-for-medium,#buddypress div.rtmedia-activity-container .hide-for-medium,.rtmedia-container .hide-for-medium-down,.rtmedia-activity-container .hide-for-medium-down,#buddypress div.rtmedia-activity-container .hide-for-medium-down{display:inherit !important}.rtmedia-container .hide-for-large,.rtmedia-activity-container .hide-for-large,#buddypress div.rtmedia-activity-container .hide-for-large,.rtmedia-container .hide-for-large-up,.rtmedia-activity-container .hide-for-large-up,#buddypress div.rtmedia-activity-container .hide-for-large-up{display:none !important}.rtmedia-container table.show-for-large,.rtmedia-activity-container table.show-for-large,#buddypress div.rtmedia-activity-container table.show-for-large,.rtmedia-container table.show-for-large-up,.rtmedia-activity-container table.show-for-large-up,#buddypress div.rtmedia-activity-container table.show-for-large-up,.rtmedia-container table.hide-for-medium,.rtmedia-activity-container table.hide-for-medium,#buddypress div.rtmedia-activity-container table.hide-for-medium,.rtmedia-container table.hide-for-medium-down,.rtmedia-activity-container table.hide-for-medium-down,#buddypress div.rtmedia-activity-container table.hide-for-medium-down{display:table}.rtmedia-container thead.show-for-large,.rtmedia-activity-container thead.show-for-large,#buddypress div.rtmedia-activity-container thead.show-for-large,.rtmedia-container thead.show-for-large-up,.rtmedia-activity-container thead.show-for-large-up,#buddypress div.rtmedia-activity-container thead.show-for-large-up,.rtmedia-container thead.hide-for-medium,.rtmedia-activity-container thead.hide-for-medium,#buddypress div.rtmedia-activity-container thead.hide-for-medium,.rtmedia-container thead.hide-for-medium-down,.rtmedia-activity-container thead.hide-for-medium-down,#buddypress div.rtmedia-activity-container thead.hide-for-medium-down{display:table-header-group !important}.rtmedia-container tbody.show-for-large,.rtmedia-activity-container tbody.show-for-large,#buddypress div.rtmedia-activity-container tbody.show-for-large,.rtmedia-container tbody.show-for-large-up,.rtmedia-activity-container tbody.show-for-large-up,#buddypress div.rtmedia-activity-container tbody.show-for-large-up,.rtmedia-container tbody.hide-for-medium,.rtmedia-activity-container tbody.hide-for-medium,#buddypress div.rtmedia-activity-container tbody.hide-for-medium,.rtmedia-container tbody.hide-for-medium-down,.rtmedia-activity-container tbody.hide-for-medium-down,#buddypress div.rtmedia-activity-container tbody.hide-for-medium-down{display:table-row-group !important}.rtmedia-container tr.show-for-large,.rtmedia-activity-container tr.show-for-large,#buddypress div.rtmedia-activity-container tr.show-for-large,.rtmedia-container tr.show-for-large-up,.rtmedia-activity-container tr.show-for-large-up,#buddypress div.rtmedia-activity-container tr.show-for-large-up,.rtmedia-container tr.hide-for-medium,.rtmedia-activity-container tr.hide-for-medium,#buddypress div.rtmedia-activity-container tr.hide-for-medium,.rtmedia-container tr.hide-for-medium-down,.rtmedia-activity-container tr.hide-for-medium-down,#buddypress div.rtmedia-activity-container tr.hide-for-medium-down{display:table-row !important}.rtmedia-container td.show-for-large,.rtmedia-activity-container td.show-for-large,#buddypress div.rtmedia-activity-container td.show-for-large,.rtmedia-container td.show-for-large-up,.rtmedia-activity-container td.show-for-large-up,#buddypress div.rtmedia-activity-container td.show-for-large-up,.rtmedia-container td.hide-for-medium,.rtmedia-activity-container td.hide-for-medium,#buddypress div.rtmedia-activity-container td.hide-for-medium,.rtmedia-container td.hide-for-medium-down,.rtmedia-activity-container td.hide-for-medium-down,#buddypress div.rtmedia-activity-container td.hide-for-medium-down,.rtmedia-container th.show-for-large,.rtmedia-activity-container th.show-for-large,#buddypress div.rtmedia-activity-container th.show-for-large,.rtmedia-container th.show-for-large-up,.rtmedia-activity-container th.show-for-large-up,#buddypress div.rtmedia-activity-container th.show-for-large-up,.rtmedia-container th.hide-for-medium,.rtmedia-activity-container th.hide-for-medium,#buddypress div.rtmedia-activity-container th.hide-for-medium,.rtmedia-container th.hide-for-medium-down,.rtmedia-activity-container th.hide-for-medium-down,#buddypress div.rtmedia-activity-container th.hide-for-medium-down{display:table-cell !important}}@media only screen and (min-width: 1440px){.rtmedia-container .show-for-xlarge,.rtmedia-activity-container .show-for-xlarge,#buddypress div.rtmedia-activity-container .show-for-xlarge{display:inherit !important}.rtmedia-container .show-for-large,.rtmedia-activity-container .show-for-large,#buddypress div.rtmedia-activity-container .show-for-large,.rtmedia-container .show-for-large-down,.rtmedia-activity-container .show-for-large-down,#buddypress div.rtmedia-activity-container .show-for-large-down{display:none !important}.rtmedia-container .hide-for-large,.rtmedia-activity-container .hide-for-large,#buddypress div.rtmedia-activity-container .hide-for-large,.rtmedia-container .hide-for-large-down,.rtmedia-activity-container .hide-for-large-down,#buddypress div.rtmedia-activity-container .hide-for-large-down{display:inherit !important}.rtmedia-container .hide-for-xlarge,.rtmedia-activity-container .hide-for-xlarge,#buddypress div.rtmedia-activity-container .hide-for-xlarge{display:none !important}.rtmedia-container table.show-for-xlarge,.rtmedia-activity-container table.show-for-xlarge,#buddypress div.rtmedia-activity-container table.show-for-xlarge,.rtmedia-container table.hide-for-large,.rtmedia-activity-container table.hide-for-large,#buddypress div.rtmedia-activity-container table.hide-for-large,.rtmedia-container table.hide-for-large-down,.rtmedia-activity-container table.hide-for-large-down,#buddypress div.rtmedia-activity-container table.hide-for-large-down{display:table}.rtmedia-container thead.show-for-xlarge,.rtmedia-activity-container thead.show-for-xlarge,#buddypress div.rtmedia-activity-container thead.show-for-xlarge,.rtmedia-container thead.hide-for-large,.rtmedia-activity-container thead.hide-for-large,#buddypress div.rtmedia-activity-container thead.hide-for-large,.rtmedia-container thead.hide-for-large-down,.rtmedia-activity-container thead.hide-for-large-down,#buddypress div.rtmedia-activity-container thead.hide-for-large-down{display:table-header-group !important}.rtmedia-container tbody.show-for-xlarge,.rtmedia-activity-container tbody.show-for-xlarge,#buddypress div.rtmedia-activity-container tbody.show-for-xlarge,.rtmedia-container tbody.hide-for-large,.rtmedia-activity-container tbody.hide-for-large,#buddypress div.rtmedia-activity-container tbody.hide-for-large,.rtmedia-container tbody.hide-for-large-down,.rtmedia-activity-container tbody.hide-for-large-down,#buddypress div.rtmedia-activity-container tbody.hide-for-large-down{display:table-row-group !important}.rtmedia-container tr.show-for-xlarge,.rtmedia-activity-container tr.show-for-xlarge,#buddypress div.rtmedia-activity-container tr.show-for-xlarge,.rtmedia-container tr.hide-for-large,.rtmedia-activity-container tr.hide-for-large,#buddypress div.rtmedia-activity-container tr.hide-for-large,.rtmedia-container tr.hide-for-large-down,.rtmedia-activity-container tr.hide-for-large-down,#buddypress div.rtmedia-activity-container tr.hide-for-large-down{display:table-row !important}.rtmedia-container td.show-for-xlarge,.rtmedia-activity-container td.show-for-xlarge,#buddypress div.rtmedia-activity-container td.show-for-xlarge,.rtmedia-container td.hide-for-large,.rtmedia-activity-container td.hide-for-large,#buddypress div.rtmedia-activity-container td.hide-for-large,.rtmedia-container td.hide-for-large-down,.rtmedia-activity-container td.hide-for-large-down,#buddypress div.rtmedia-activity-container td.hide-for-large-down,.rtmedia-container th.show-for-xlarge,.rtmedia-activity-container th.show-for-xlarge,#buddypress div.rtmedia-activity-container th.show-for-xlarge,.rtmedia-container th.hide-for-large,.rtmedia-activity-container th.hide-for-large,#buddypress div.rtmedia-activity-container th.hide-for-large,.rtmedia-container th.hide-for-large-down,.rtmedia-activity-container th.hide-for-large-down,#buddypress div.rtmedia-activity-container th.hide-for-large-down{display:table-cell !important}}.rtmedia-container .show-for-landscape,.rtmedia-activity-container .show-for-landscape,#buddypress div.rtmedia-activity-container .show-for-landscape,.rtmedia-container .hide-for-portrait,.rtmedia-activity-container .hide-for-portrait,#buddypress div.rtmedia-activity-container .hide-for-portrait{display:inherit !important}.rtmedia-container .hide-for-landscape,.rtmedia-activity-container .hide-for-landscape,#buddypress div.rtmedia-activity-container .hide-for-landscape,.rtmedia-container .show-for-portrait,.rtmedia-activity-container .show-for-portrait,#buddypress div.rtmedia-activity-container .show-for-portrait{display:none !important}.rtmedia-container table.hide-for-landscape,.rtmedia-activity-container table.hide-for-landscape,#buddypress div.rtmedia-activity-container table.hide-for-landscape,.rtmedia-container table.show-for-portrait,.rtmedia-activity-container table.show-for-portrait,#buddypress div.rtmedia-activity-container table.show-for-portrait{display:table}.rtmedia-container thead.hide-for-landscape,.rtmedia-activity-container thead.hide-for-landscape,#buddypress div.rtmedia-activity-container thead.hide-for-landscape,.rtmedia-container thead.show-for-portrait,.rtmedia-activity-container thead.show-for-portrait,#buddypress div.rtmedia-activity-container thead.show-for-portrait{display:table-header-group !important}.rtmedia-container tbody.hide-for-landscape,.rtmedia-activity-container tbody.hide-for-landscape,#buddypress div.rtmedia-activity-container tbody.hide-for-landscape,.rtmedia-container tbody.show-for-portrait,.rtmedia-activity-container tbody.show-for-portrait,#buddypress div.rtmedia-activity-container tbody.show-for-portrait{display:table-row-group !important}.rtmedia-container tr.hide-for-landscape,.rtmedia-activity-container tr.hide-for-landscape,#buddypress div.rtmedia-activity-container tr.hide-for-landscape,.rtmedia-container tr.show-for-portrait,.rtmedia-activity-container tr.show-for-portrait,#buddypress div.rtmedia-activity-container tr.show-for-portrait{display:table-row !important}.rtmedia-container td.hide-for-landscape,.rtmedia-activity-container td.hide-for-landscape,#buddypress div.rtmedia-activity-container td.hide-for-landscape,.rtmedia-container td.show-for-portrait,.rtmedia-activity-container td.show-for-portrait,#buddypress div.rtmedia-activity-container td.show-for-portrait,.rtmedia-container th.hide-for-landscape,.rtmedia-activity-container th.hide-for-landscape,#buddypress div.rtmedia-activity-container th.hide-for-landscape,.rtmedia-container th.show-for-portrait,.rtmedia-activity-container th.show-for-portrait,#buddypress div.rtmedia-activity-container th.show-for-portrait{display:table-cell !important}@media only screen and (orientation: landscape){.rtmedia-container .show-for-landscape,.rtmedia-activity-container .show-for-landscape,#buddypress div.rtmedia-activity-container .show-for-landscape,.rtmedia-container .hide-for-portrait,.rtmedia-activity-container .hide-for-portrait,#buddypress div.rtmedia-activity-container .hide-for-portrait{display:inherit !important}.rtmedia-container .hide-for-landscape,.rtmedia-activity-container .hide-for-landscape,#buddypress div.rtmedia-activity-container .hide-for-landscape,.rtmedia-container .show-for-portrait,.rtmedia-activity-container .show-for-portrait,#buddypress div.rtmedia-activity-container .show-for-portrait{display:none !important}.rtmedia-container table.show-for-landscape,.rtmedia-activity-container table.show-for-landscape,#buddypress div.rtmedia-activity-container table.show-for-landscape,.rtmedia-container table.hide-for-portrait,.rtmedia-activity-container table.hide-for-portrait,#buddypress div.rtmedia-activity-container table.hide-for-portrait{display:table}.rtmedia-container thead.show-for-landscape,.rtmedia-activity-container thead.show-for-landscape,#buddypress div.rtmedia-activity-container thead.show-for-landscape,.rtmedia-container thead.hide-for-portrait,.rtmedia-activity-container thead.hide-for-portrait,#buddypress div.rtmedia-activity-container thead.hide-for-portrait{display:table-header-group !important}.rtmedia-container tbody.show-for-landscape,.rtmedia-activity-container tbody.show-for-landscape,#buddypress div.rtmedia-activity-container tbody.show-for-landscape,.rtmedia-container tbody.hide-for-portrait,.rtmedia-activity-container tbody.hide-for-portrait,#buddypress div.rtmedia-activity-container tbody.hide-for-portrait{display:table-row-group !important}.rtmedia-container tr.show-for-landscape,.rtmedia-activity-container tr.show-for-landscape,#buddypress div.rtmedia-activity-container tr.show-for-landscape,.rtmedia-container tr.hide-for-portrait,.rtmedia-activity-container tr.hide-for-portrait,#buddypress div.rtmedia-activity-container tr.hide-for-portrait{display:table-row !important}.rtmedia-container td.show-for-landscape,.rtmedia-activity-container td.show-for-landscape,#buddypress div.rtmedia-activity-container td.show-for-landscape,.rtmedia-container td.hide-for-portrait,.rtmedia-activity-container td.hide-for-portrait,#buddypress div.rtmedia-activity-container td.hide-for-portrait,.rtmedia-container th.show-for-landscape,.rtmedia-activity-container th.show-for-landscape,#buddypress div.rtmedia-activity-container th.show-for-landscape,.rtmedia-container th.hide-for-portrait,.rtmedia-activity-container th.hide-for-portrait,#buddypress div.rtmedia-activity-container th.hide-for-portrait{display:table-cell !important}}@media only screen and (orientation: portrait){.rtmedia-container .show-for-portrait,.rtmedia-activity-container .show-for-portrait,#buddypress div.rtmedia-activity-container .show-for-portrait,.rtmedia-container .hide-for-landscape,.rtmedia-activity-container .hide-for-landscape,#buddypress div.rtmedia-activity-container .hide-for-landscape{display:inherit !important}.rtmedia-container .hide-for-portrait,.rtmedia-activity-container .hide-for-portrait,#buddypress div.rtmedia-activity-container .hide-for-portrait,.rtmedia-container .show-for-landscape,.rtmedia-activity-container .show-for-landscape,#buddypress div.rtmedia-activity-container .show-for-landscape{display:none !important}.rtmedia-container table.show-for-portrait,.rtmedia-activity-container table.show-for-portrait,#buddypress div.rtmedia-activity-container table.show-for-portrait,.rtmedia-container table.hide-for-landscape,.rtmedia-activity-container table.hide-for-landscape,#buddypress div.rtmedia-activity-container table.hide-for-landscape{display:table}.rtmedia-container thead.show-for-portrait,.rtmedia-activity-container thead.show-for-portrait,#buddypress div.rtmedia-activity-container thead.show-for-portrait,.rtmedia-container thead.hide-for-landscape,.rtmedia-activity-container thead.hide-for-landscape,#buddypress div.rtmedia-activity-container thead.hide-for-landscape{display:table-header-group !important}.rtmedia-container tbody.show-for-portrait,.rtmedia-activity-container tbody.show-for-portrait,#buddypress div.rtmedia-activity-container tbody.show-for-portrait,.rtmedia-container tbody.hide-for-landscape,.rtmedia-activity-container tbody.hide-for-landscape,#buddypress div.rtmedia-activity-container tbody.hide-for-landscape{display:table-row-group !important}.rtmedia-container tr.show-for-portrait,.rtmedia-activity-container tr.show-for-portrait,#buddypress div.rtmedia-activity-container tr.show-for-portrait,.rtmedia-container tr.hide-for-landscape,.rtmedia-activity-container tr.hide-for-landscape,#buddypress div.rtmedia-activity-container tr.hide-for-landscape{display:table-row !important}.rtmedia-container td.show-for-portrait,.rtmedia-activity-container td.show-for-portrait,#buddypress div.rtmedia-activity-container td.show-for-portrait,.rtmedia-container td.hide-for-landscape,.rtmedia-activity-container td.hide-for-landscape,#buddypress div.rtmedia-activity-container td.hide-for-landscape,.rtmedia-container th.show-for-portrait,.rtmedia-activity-container th.show-for-portrait,#buddypress div.rtmedia-activity-container th.show-for-portrait,.rtmedia-container th.hide-for-landscape,.rtmedia-activity-container th.hide-for-landscape,#buddypress div.rtmedia-activity-container th.hide-for-landscape{display:table-cell !important}}.rtmedia-container .show-for-touch,.rtmedia-activity-container .show-for-touch,#buddypress div.rtmedia-activity-container .show-for-touch{display:none !important}.rtmedia-container .hide-for-touch,.rtmedia-activity-container .hide-for-touch,#buddypress div.rtmedia-activity-container .hide-for-touch{display:inherit !important}.rtmedia-container .touch .show-for-touch,.rtmedia-activity-container .touch .show-for-touch,#buddypress div.rtmedia-activity-container .touch .show-for-touch{display:inherit !important}.rtmedia-container .touch .hide-for-touch,.rtmedia-activity-container .touch .hide-for-touch,#buddypress div.rtmedia-activity-container .touch .hide-for-touch{display:none !important}.rtmedia-container table.hide-for-touch,.rtmedia-activity-container table.hide-for-touch,#buddypress div.rtmedia-activity-container table.hide-for-touch{display:table}.rtmedia-container .touch table.show-for-touch,.rtmedia-activity-container .touch table.show-for-touch,#buddypress div.rtmedia-activity-container .touch table.show-for-touch{display:table}.rtmedia-container thead.hide-for-touch,.rtmedia-activity-container thead.hide-for-touch,#buddypress div.rtmedia-activity-container thead.hide-for-touch{display:table-header-group !important}.rtmedia-container .touch thead.show-for-touch,.rtmedia-activity-container .touch thead.show-for-touch,#buddypress div.rtmedia-activity-container .touch thead.show-for-touch{display:table-header-group !important}.rtmedia-container tbody.hide-for-touch,.rtmedia-activity-container tbody.hide-for-touch,#buddypress div.rtmedia-activity-container tbody.hide-for-touch{display:table-row-group !important}.rtmedia-container .touch tbody.show-for-touch,.rtmedia-activity-container .touch tbody.show-for-touch,#buddypress div.rtmedia-activity-container .touch tbody.show-for-touch{display:table-row-group !important}.rtmedia-container tr.hide-for-touch,.rtmedia-activity-container tr.hide-for-touch,#buddypress div.rtmedia-activity-container tr.hide-for-touch{display:table-row !important}.rtmedia-container .touch tr.show-for-touch,.rtmedia-activity-container .touch tr.show-for-touch,#buddypress div.rtmedia-activity-container .touch tr.show-for-touch{display:table-row !important}.rtmedia-container td.hide-for-touch,.rtmedia-activity-container td.hide-for-touch,#buddypress div.rtmedia-activity-container td.hide-for-touch{display:table-cell !important}.rtmedia-container .touch td.show-for-touch,.rtmedia-activity-container .touch td.show-for-touch,#buddypress div.rtmedia-activity-container .touch td.show-for-touch{display:table-cell !important}.rtmedia-container th.hide-for-touch,.rtmedia-activity-container th.hide-for-touch,#buddypress div.rtmedia-activity-container th.hide-for-touch{display:table-cell !important}.rtmedia-container .touch th.show-for-touch,.rtmedia-activity-container .touch th.show-for-touch,#buddypress div.rtmedia-activity-container .touch th.show-for-touch{display:table-cell !important}.rtmedia-container .flex-video,.rtmedia-activity-container .flex-video,#buddypress div.rtmedia-activity-container .flex-video{position:relative;padding-top:1.5625em;padding-bottom:67.5%;height:0;margin-bottom:1em;overflow:hidden}.rtmedia-container .flex-video.widescreen,.rtmedia-activity-container .flex-video.widescreen,#buddypress div.rtmedia-activity-container .flex-video.widescreen{padding-bottom:57.25%}.rtmedia-container .flex-video.vimeo,.rtmedia-activity-container .flex-video.vimeo,#buddypress div.rtmedia-activity-container .flex-video.vimeo{padding-top:0}.rtmedia-container .flex-video iframe,.rtmedia-activity-container .flex-video iframe,#buddypress div.rtmedia-activity-container .flex-video iframe,.rtmedia-container .flex-video object,.rtmedia-activity-container .flex-video object,#buddypress div.rtmedia-activity-container .flex-video object,.rtmedia-container .flex-video embed,.rtmedia-activity-container .flex-video embed,#buddypress div.rtmedia-activity-container .flex-video embed,.rtmedia-container .flex-video video,.rtmedia-activity-container .flex-video video,#buddypress div.rtmedia-activity-container .flex-video video{position:absolute;top:0;left:0;width:100%;height:100%}.rtmedia-container .reveal-modal-bg,.rtmedia-activity-container .reveal-modal-bg,#buddypress div.rtmedia-activity-container .reveal-modal-bg{position:fixed;height:100%;width:100%;background:#000;background:rgba(0,0,0,0.45);z-index:98;display:none;top:0;left:0}.rtmedia-container .reveal-modal,.rtmedia-activity-container .reveal-modal,#buddypress div.rtmedia-activity-container .reveal-modal{visibility:hidden;display:none;position:absolute;left:50%;z-index:99;height:auto;margin-left:-40%;width:80%;background-color:#fff;padding:1.25em;border:solid 1px #666;-webkit-box-shadow:0 0 10px rgba(0,0,0,0.4);box-shadow:0 0 10px rgba(0,0,0,0.4);top:50px}.rtmedia-container .reveal-modal .column,.rtmedia-activity-container .reveal-modal .column,#buddypress div.rtmedia-activity-container .reveal-modal .column,.rtmedia-container .reveal-modal .columns,.rtmedia-activity-container .reveal-modal .columns,#buddypress div.rtmedia-activity-container .reveal-modal .columns{min-width:0}.rtmedia-container .reveal-modal>:first-child,.rtmedia-activity-container .reveal-modal>:first-child,#buddypress div.rtmedia-activity-container .reveal-modal>:first-child{margin-top:0}.rtmedia-container .reveal-modal>:last-child,.rtmedia-activity-container .reveal-modal>:last-child,#buddypress div.rtmedia-activity-container .reveal-modal>:last-child{margin-bottom:0}.rtmedia-container .reveal-modal .close-reveal-modal,.rtmedia-activity-container .reveal-modal .close-reveal-modal,#buddypress div.rtmedia-activity-container .reveal-modal .close-reveal-modal{font-size:1.375em;line-height:1;position:absolute;top:0.5em;right:0.6875em;color:#aaa;font-weight:bold;cursor:pointer}@media only screen and (min-width: 768px){.rtmedia-container .reveal-modal,.rtmedia-activity-container .reveal-modal,#buddypress div.rtmedia-activity-container .reveal-modal{padding:1.875em;top:6.25em}.rtmedia-container .reveal-modal.tiny,.rtmedia-activity-container .reveal-modal.tiny,#buddypress div.rtmedia-activity-container .reveal-modal.tiny{margin-left:-15%;width:30%}.rtmedia-container .reveal-modal.small,.rtmedia-activity-container .reveal-modal.small,#buddypress div.rtmedia-activity-container .reveal-modal.small{margin-left:-20%;width:40%}.rtmedia-container .reveal-modal.medium,.rtmedia-activity-container .reveal-modal.medium,#buddypress div.rtmedia-activity-container .reveal-modal.medium{margin-left:-30%;width:60%}.rtmedia-container .reveal-modal.large,.rtmedia-activity-container .reveal-modal.large,#buddypress div.rtmedia-activity-container .reveal-modal.large{margin-left:-35%;width:70%}.rtmedia-container .reveal-modal.xlarge,.rtmedia-activity-container .reveal-modal.xlarge,#buddypress div.rtmedia-activity-container .reveal-modal.xlarge{margin-left:-47.5%;width:95%}}@media print{.rtmedia-container .reveal-modal,.rtmedia-activity-container .reveal-modal,#buddypress div.rtmedia-activity-container .reveal-modal{background:#fff !important}}.rtmedia-container #buddypress li,.rtmedia-activity-container #buddypress li{list-style:none}.rtmedia-container .row,.rtmedia-activity-container .row,#buddypress div.rtmedia-activity-container .row{max-width:95%}.rtmedia-container .rtmedia-item-title,.rtmedia-activity-container .rtmedia-item-title,#buddypress div.rtmedia-activity-container .rtmedia-item-title{text-align:center}.rtmedia-container .rtmedia-item-title h4,.rtmedia-activity-container .rtmedia-item-title h4,#buddypress div.rtmedia-activity-container .rtmedia-item-title h4{text-overflow:ellipsis;white-space:nowrap;width:100%;overflow:hidden;font-size:1.1em;text-align:center}.rtmedia-container .rtmedia-success,.rtmedia-activity-container .rtmedia-success,#buddypress div.rtmedia-activity-container .rtmedia-success{display:block;padding:5px;margin-top:15px;border:1px solid #457A1A;background-color:#5DA423;font-weight:bold}.rtmedia-container h2,.rtmedia-activity-container h2,#buddypress div.rtmedia-activity-container h2{font-size:1.4em;font-weight:bold;line-height:2.4em}.rtmedia-container .drag-drop,.rtmedia-activity-container .drag-drop,#buddypress div.rtmedia-activity-container .drag-drop{border:4px dashed #DDD;text-align:center;background:#fafafa;overflow:hidden;padding:15px 0}.rtmedia-container .drag-drop.dragover,.rtmedia-activity-container .drag-drop.dragover,#buddypress div.rtmedia-activity-container .drag-drop.dragover{border-color:#83b4d8}.rtmedia-container .rtmedia-action-update,.rtmedia-activity-container .rtmedia-action-update,#buddypress div.rtmedia-activity-container .rtmedia-action-update{float:left;margin-top:12px;margin-right:10px}.rtmedia-container .rtmedia-list,.rtmedia-activity-container .rtmedia-list,#buddypress div.rtmedia-activity-container .rtmedia-list{list-style:none}.rtmedia-container .rtmedia-list .rtmedia-list-item,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item{word-wrap:break-word;margin:10px;float:left;list-style:none}.rtmedia-container .rtmedia-list .rtmedia-list-item a,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item a,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item a{text-decoration:none}.rtmedia-container .rtmedia-list .rtmedia-list-item a h4,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item a h4,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item a h4{line-height:1.4em;font-size:1.2em;padding-top:10px}.rtmedia-container .rtmedia-list .rtmedia-list-item.media-type-music,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-music,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-music,.rtmedia-container .rtmedia-list .rtmedia-list-item.media-type-video,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-video,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-video{width:100%}.rtmedia-container .rtmedia-list .rtmedia-list-item.media-type-music .mejs-controls .mejs-time-rail,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-music .mejs-controls .mejs-time-rail,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-music .mejs-controls .mejs-time-rail,.rtmedia-container .rtmedia-list .rtmedia-list-item.media-type-video .mejs-controls .mejs-time-rail,.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-video .mejs-controls .mejs-time-rail,#buddypress div.rtmedia-activity-container .rtmedia-list .rtmedia-list-item.media-type-video .mejs-controls .mejs-time-rail{margin:8px 2px 2px 0}.rtmedia-container .rtmedia-media img,.rtmedia-activity-container .rtmedia-media img,#buddypress div.rtmedia-activity-container .rtmedia-media img{max-width:100%}.rtmedia-container .rtmedia-item-thumbnail,.rtmedia-activity-container .rtmedia-item-thumbnail,#buddypress div.rtmedia-activity-container .rtmedia-item-thumbnail{text-align:center}.rtmedia-container .rtmedia-item-thumbnail img,.rtmedia-activity-container .rtmedia-item-thumbnail img,#buddypress div.rtmedia-activity-container .rtmedia-item-thumbnail img{vertical-align:middle}.rtmedia-container .rtmedia_next_prev,.rtmedia-activity-container .rtmedia_next_prev,#buddypress div.rtmedia-activity-container .rtmedia_next_prev{clear:both}.rtmedia-container .rtmedia_next_prev a,.rtmedia-activity-container .rtmedia_next_prev a,#buddypress div.rtmedia-activity-container .rtmedia_next_prev a{display:block;clear:both;background-color:#E9E9E9;padding:10px;text-align:center;text-decoration:none;color:#000;margin:15px}.rtmedia-container .rtmedia-item-comments-container,.rtmedia-activity-container .rtmedia-item-comments-container,#buddypress div.rtmedia-activity-container .rtmedia-item-comments-container{margin:3% 3%}.rtmedia-container #rtmedia_comment_ul,.rtmedia-activity-container #rtmedia_comment_ul,#buddypress div.rtmedia-activity-container #rtmedia_comment_ul{margin-left:0;margin-bottom:10px}.rtmedia-container .rtmedia-bp-header,.rtmedia-activity-container .rtmedia-bp-header,#buddypress div.rtmedia-activity-container .rtmedia-bp-header{width:460px;margin:auto}.rtmedia-container #div-attache-rtmedia,.rtmedia-activity-container #div-attache-rtmedia,#buddypress div.rtmedia-activity-container #div-attache-rtmedia{display:none}.rtmedia-container #rtMedia-update-queue-list p span,.rtmedia-activity-container #rtMedia-update-queue-list p span{margin-right:20px}.rtmedia-container .rtmedia-move-container,.rtmedia-activity-container .rtmedia-move-container,#buddypress div.rtmedia-activity-container .rtmedia-move-container{display:none}.rtmedia-container #rtmedia-add-media-button-post-update,.rtmedia-activity-container #rtmedia-add-media-button-post-update,#buddypress div.rtmedia-activity-container #rtmedia-add-media-button-post-update{float:left;margin-top:10px;margin-right:20px}.rtmedia-container #whats-new-post-in-box,.rtmedia-activity-container #whats-new-post-in-box,#buddypress div.rtmedia-activity-container #whats-new-post-in-box{float:left}.rtmedia-container .rtmedia-activity-text,.rtmedia-activity-container .rtmedia-activity-text,#buddypress div.rtmedia-activity-container .rtmedia-activity-text{display:block;padding-bottom:10px}.rtmedia-container select,.rtmedia-activity-container select,#buddypress div.rtmedia-activity-container select{width:auto}.rtmedia-container.rtmedia-single-container .row,.rtmedia-single-container.rtmedia-activity-container .row,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row{background-color:#FFF}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container{padding-top:10px;padding-bottom:10px}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container .rtmedia-media div.mejs-layers div.mejs-poster,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container .rtmedia-media div.mejs-layers div.mejs-poster{overflow:hidden}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container .rtmedia-media .mejs-layers .mejs-overlay-button,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container .rtmedia-media .mejs-layers .mejs-overlay-button{margin:-50px 0 0 -50px}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container .rtmedia-media .mejs-layers .mejs-poster,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container .rtmedia-media .mejs-layers .mejs-poster{overflow:hidden}.rtmedia-container.rtmedia-single-container .row #rtmedia-single-media-container .rtmedia-media-title,.rtmedia-single-container.rtmedia-activity-container .row #rtmedia-single-media-container .rtmedia-media-title{margin:0 0 5px 0;display:block;font-weight:bold;letter-spacing:1px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta{padding:10px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta div.userprofile,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta div.userprofile,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta div.userprofile{float:left;padding:10px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta div.username,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta div.username,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta div.username{padding:10px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta button,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta button,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta button{color:#5E5E5E;background-color:#EBEBEB;background-repeat:repeat-x;background-image:-moz-linear-gradient(top, #f9f9f9, #ebebeb);background-image:-ms-linear-gradient(top, #f9f9f9, #ebebeb);background-image:-webkit-linear-gradient(top, #f9f9f9, #ebebeb);background-image:-o-linear-gradient(top, #f9f9f9, #ebebeb);background-image:linear-gradient(top, #f9f9f9,#ebebeb)}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta>a,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta>a,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta>a{float:left;margin:10px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta .rtmedia-item-actions>a,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions>a,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions>a{display:inline-block;float:left}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta .rtmedia-item-actions>form,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions>form,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions>form{float:left;margin-right:5px}.rtmedia-container.rtmedia-single-container .row .rtmedia-single-meta .rtmedia-item-actions .rtmedia-action-buttons span,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions .rtmedia-action-buttons span,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-single-meta .rtmedia-item-actions .rtmedia-action-buttons span{background:#EEE;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%;border-radius:50%;border:1px solid #CCC;color:#999;display:inline;font-size:70%;margin-left:2px;margin-right:2px;padding:3px 6px;text-align:center;vertical-align:middle}.rtmedia-container.rtmedia-single-container .row .rtmedia-item-comments,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-item-comments,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-item-comments{background-color:transparent}.rtmedia-container.rtmedia-single-container .row .rtmedia-item-comments div,.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-item-comments div,#buddypress div.rtmedia-single-container.rtmedia-activity-container .row .rtmedia-item-comments div{background-color:transparent}.rtmedia-container #wp-description-editor-tools a.wp-switch-editor,.rtmedia-activity-container #wp-description-editor-tools a.wp-switch-editor{margin:5px 5px 0 0;padding:4px 5px 2px;float:right;cursor:pointer;border:1px solid;border-color:#DFDFDF #DFDFDF #CCC;font:13px/18px Arial,Helvetica,sans-serif normal;height:auto}.rtmedia-container #description_toolbargroup .mceToolbar td,.rtmedia-activity-container #description_toolbargroup .mceToolbar td{padding:0px}.rtmedia-container #wp-description-editor-container,.rtmedia-activity-container #wp-description-editor-container,#buddypress div.rtmedia-activity-container #wp-description-editor-container{border-width:1px;border-style:solid;-webkit-border-top-right-radius:3px;-webkit-border-top-left-radius:3px;border-top-right-radius:3px;border-top-left-radius:3px;border-color:#CCC #CCC #DFDFDF}.rtmedia-container .rtmedia-change-cover-arts p,.rtmedia-activity-container .rtmedia-change-cover-arts p,#buddypress div.rtmedia-activity-container .rtmedia-change-cover-arts p{padding:5px 0}#buddypress div.rtmedia-activity-container ul.rtmedia-list li{float:left;padding:10px}#buddypress div.rtmedia-activity-container ul.rtmedia-list li .rtmedia-item-thumbnail{overflow:hidden}#buddypress div.rtmedia-activity-container ul.rtmedia-list li.media-type-video{float:none}#buddypress div.rtmedia-activity-container ul.rtmedia-list li.media-type-video .rtmedia-item-thumbnail{margin:0 auto;overflow:hidden}#buddypress div.rtmedia-activity-container ul.rtmedia-list li.media-type-video .rtmedia-item-thumbnail .mejs-overlay-button{margin:-50px 0 0 -50px}#buddypress .mejs-controls button,.rtmedia-container .mejs-controls button,.rtmedia-activity-container .mejs-controls button,#buddypress div.rtmedia-activity-container .mejs-controls button{padding:4px 8px;border:none;background:rgba(0,0,0,0) url("../../../lib/media-element/controls.png") no-repeat}#buddypress .mejs-controls .mejs-play button,.rtmedia-container .mejs-controls .mejs-play button,.rtmedia-activity-container .mejs-controls .mejs-play button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-play button{background-position:0 0}#buddypress .mejs-controls .mejs-pause button,.rtmedia-container .mejs-controls .mejs-pause button,.rtmedia-activity-container .mejs-controls .mejs-pause button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-pause button{background-position:0 -16px}#buddypress .mejs-controls .mejs-unmute button,.rtmedia-container .mejs-controls .mejs-unmute button,.rtmedia-activity-container .mejs-controls .mejs-unmute button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-unmute button{background-position:-16px 0}#buddypress .mejs-controls .mejs-mute button,.rtmedia-container .mejs-controls .mejs-mute button,.rtmedia-activity-container .mejs-controls .mejs-mute button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-mute button{background-position:-16px -16px}#buddypress .mejs-controls .mejs-fullscreen-button button,.rtmedia-container .mejs-controls .mejs-fullscreen-button button,.rtmedia-activity-container .mejs-controls .mejs-fullscreen-button button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-fullscreen-button button{background-position:-32px 0}#buddypress .mejs-controls .mejs-unfullscreen button,.rtmedia-container .mejs-controls .mejs-unfullscreen button,.rtmedia-activity-container .mejs-controls .mejs-unfullscreen button,#buddypress div.rtmedia-activity-container .mejs-controls .mejs-unfullscreen button{background-position:-32px -16px}.mfp-content #rtmedia-single-media-container .rtmedia-media{text-align:center;background-color:#333}.mfp-content #rtmedia-single-media-container .rtmedia-media img{max-height:95%}#rtmedia-action-update{float:left;padding-right:10px}.mfp-ready,.mfp-bg{z-index:9999}.bp_media_content video{background-color:black}.rtmedia-success{display:block;padding:10px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;background-color:#2ECC71;color:white}.rtmedia-error{color:white;display:block;padding:10px;-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;-o-border-radius:4px;border-radius:4px;background-color:#E74C3C}.rtmp-uploaded-file{width:100%}.close{cursor:pointer;color:red}button.mfp-arrow,button.mfp-arrow:active{margin-top:-30px}button.mfp-close{margin-top:-10px}#object-nav li,#group-admins li,.item-list-tabs li{list-style:none}.mejs-video .mejs-controls{position:absolute}.mfp-content #rtmedia-single-media-container .wp-audio-shortcode{height:0px !important}.rtmedia-single-container .rtmedia-editor-description{margin-top:15px}.rtmedia-container #rtm-media-options,.rtmedia-activity-container #rtm-media-options,#buddypress div.rtmedia-activity-container #rtm-media-options,.rtmedia-container,.rtmedia-activity-container,#buddypress div.rtmedia-activity-container{line-height:30px}.rtmedia-container #rtm-media-options [class^="icon-"],.rtmedia-activity-container #rtm-media-options [class^="icon-"],.rtmedia-container #rtm-media-options [class*=" icon-"],.rtmedia-activity-container #rtm-media-options [class*=" icon-"],.rtmedia-container [class^="icon-"],.rtmedia-activity-container [class^="icon-"],#buddypress div.rtmedia-activity-container [class^="icon-"],.rtmedia-container [class*=" icon-"],.rtmedia-activity-container [class*=" icon-"],#buddypress div.rtmedia-activity-container [class*=" icon-"]{font-family:FontAwesome;font-style:normal;font-weight:normal;text-decoration:inherit;cursor:pointer;padding:0;border:none}.rtmedia-container #rtm-media-options [class^="icon-"].icon-2x,.rtmedia-activity-container #rtm-media-options [class^="icon-"].icon-2x,.rtmedia-container #rtm-media-options [class*=" icon-"].icon-2x,.rtmedia-activity-container #rtm-media-options [class*=" icon-"].icon-2x,.rtmedia-container [class^="icon-"].icon-2x,.rtmedia-activity-container [class^="icon-"].icon-2x,#buddypress div.rtmedia-activity-container [class^="icon-"].icon-2x,.rtmedia-container [class*=" icon-"].icon-2x,.rtmedia-activity-container [class*=" icon-"].icon-2x,#buddypress div.rtmedia-activity-container [class*=" icon-"].icon-2x{font-size:1.6em}.rtmedia-container #rtm-media-options [class^="icon-"].icon-3x,.rtmedia-activity-container #rtm-media-options [class^="icon-"].icon-3x,.rtmedia-container #rtm-media-options [class*=" icon-"].icon-3x,.rtmedia-activity-container #rtm-media-options [class*=" icon-"].icon-3x,.rtmedia-container [class^="icon-"].icon-3x,.rtmedia-activity-container [class^="icon-"].icon-3x,#buddypress div.rtmedia-activity-container [class^="icon-"].icon-3x,.rtmedia-container [class*=" icon-"].icon-3x,.rtmedia-activity-container [class*=" icon-"].icon-3x,#buddypress div.rtmedia-activity-container [class*=" icon-"].icon-3x{font-size:3em}.rtmedia-container #rtm-media-options [class^="icon-"]:visited,.rtmedia-activity-container #rtm-media-options [class^="icon-"]:visited,.rtmedia-container #rtm-media-options [class*=" icon-"]:visited,.rtmedia-activity-container #rtm-media-options [class*=" icon-"]:visited,.rtmedia-container [class^="icon-"]:visited,.rtmedia-activity-container [class^="icon-"]:visited,#buddypress div.rtmedia-activity-container [class^="icon-"]:visited,.rtmedia-container [class*=" icon-"]:visited,.rtmedia-activity-container [class*=" icon-"]:visited,#buddypress div.rtmedia-activity-container [class*=" icon-"]:visited{color:#444444}.rtmedia-container #rtm-media-options [class^="icon-"]:hover,.rtmedia-activity-container #rtm-media-options [class^="icon-"]:hover,.rtmedia-container #rtm-media-options [class*=" icon-"]:hover,.rtmedia-activity-container #rtm-media-options [class*=" icon-"]:hover,.rtmedia-container [class^="icon-"]:hover,.rtmedia-activity-container [class^="icon-"]:hover,#buddypress div.rtmedia-activity-container [class^="icon-"]:hover,.rtmedia-container [class*=" icon-"]:hover,.rtmedia-activity-container [class*=" icon-"]:hover,#buddypress div.rtmedia-activity-container [class*=" icon-"]:hover{background:none}.rtmedia-container #rtm-media-options .icon-remove,.rtmedia-activity-container #rtm-media-options .icon-remove,.rtmedia-container .icon-remove,.rtmedia-activity-container .icon-remove,#buddypress div.rtmedia-activity-container .icon-remove{color:red}#rtm-media-options{text-align:right}#rtm-media-options [class^="icon-"],#rtm-media-options [class*=" icon-"]{margin-left:10px;color:#444444}.rtmedia-inline{display:inline}.rtm-modal{text-align:left}.rtm-modal #rtm-modal-container .rtm-modal-title{font-size:24px;line-height:24px;margin-bottom:30px}.rtm-modal #rtm-modal-container .rtm-input-medium{width:55%}.rtm-modal #rtm-modal-container input,.rtm-modal #rtm-modal-container select{margin-right:10px}.rtm-modal #rtm-modal-container p{margin-bottom:10px}.rtm-modal #rtm-modal-container label{min-width:90px;display:inline-block}.rtmedia-container #rtMedia-queue-list,.rtmedia-activity-container #rtMedia-queue-list,#buddypress div.rtmedia-activity-container #rtMedia-queue-list{margin-bottom:10px;line-height:20px}.rtmedia-container #rtMedia-queue-list tr td,.rtmedia-activity-container #rtMedia-queue-list tr td,.rtmedia-container #rtMedia-queue-list tr th,.rtmedia-activity-container #rtMedia-queue-list tr th{padding:3px 5px}#rtm-drop-files-title{font-size:24px;text-align:center;margin:-80px 0 40px 0;z-index:0;display:none}.rtm-drag-drop-active{border:4px dashed green !important;opacity:0.5;height:150px;display:block;z-index:9999}#drag-drop-title{position:absolute;margin-top:-30px;z-index:0}#rtm-upload-start-notice{display:none}#rtm-upload-start-notice>span{color:red;font-size:12px;line-height:16px}#rtm-media-gallery-uploader{display:none;margin-bottom:20px}#rtm-gallery-title-container{margin-bottom:15px}#rtm-gallery-title-container .rtm-gallery-title{width:69%;display:inline-block;margin:0;overflow:hidden;vertical-align:bottom}#rtm-gallery-title-container #rtm-media-options{width:30%;padding:5px 0;display:inline-block}.rtmedia-container ul#rtmedia_comment_ul li.rtmedia-comment,.rtmedia-activity-container ul#rtmedia_comment_ul li.rtmedia-comment{list-style:none;background:#EDEFF4;margin:2px 0;padding:1px 5px 4px;width:100%;position:relative;word-wrap:break;line-height:20px}.rtmedia-container ul#rtmedia_comment_ul li.rtmedia-comment .rtmedia-comment-user-pic,.rtmedia-activity-container ul#rtmedia_comment_ul li.rtmedia-comment .rtmedia-comment-user-pic{float:left}.rtmedia-container ul#rtmedia_comment_ul li.rtmedia-comment .rtmedia-comment-user-pic img,.rtmedia-activity-container ul#rtmedia_comment_ul li.rtmedia-comment .rtmedia-comment-user-pic img{height:35px !important;width:35px !important;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0;border-radius:0;margin-top:4px}.rtmedia-container ul#rtmedia_comment_ul li.rtmedia-comment .rtmedia-comment-author,.rtmedia-activity-container ul#rtmedia_comment_ul li.rtmedia-comment .rtmedia-comment-author{display:block;line-height:24px}.rtmedia-container ul#rtmedia_comment_ul li.rtmedia-comment .rtmedia-comment-author a,.rtmedia-activity-container ul#rtmedia_comment_ul li.rtmedia-comment .rtmedia-comment-author a{margin-left:5px;color:#3B5998;font-weight:bold;text-decoration:none;line-height:24px}.rtmedia-container ul#rtmedia_comment_ul li.rtmedia-comment .rtmedia-comment-author a:hover,.rtmedia-activity-container ul#rtmedia_comment_ul li.rtmedia-comment .rtmedia-comment-author a:hover{text-decoration:underline}.rtmedia-container ul#rtmedia_comment_ul li.rtmedia-comment .rtmedia-comment-content,.rtmedia-activity-container ul#rtmedia_comment_ul li.rtmedia-comment .rtmedia-comment-content{margin-left:5px}.rtmedia-container ul#rtmedia_comment_ul li.rtmedia-comment .rtmedia-comment-date,.rtmedia-activity-container ul#rtmedia_comment_ul li.rtmedia-comment .rtmedia-comment-date{clear:left;display:block;text-align:right;color:#808080}.rtmedia-container ul#rtmedia_comment_ul li.rtmedia-comment .rtmedia-delte-comment,.rtmedia-activity-container ul#rtmedia_comment_ul li.rtmedia-comment .rtmedia-delte-comment{text-decoration:none;position:absolute;right:8px;top:0;color:#3B59A1}
app/assets/js/rtMedia.backbone.js CHANGED
@@ -280,7 +280,7 @@ jQuery(function($) {
280
  tdSize.className = "plupload_file_size";
281
  tdSize.innerHTML = plupload.formatSize(file.size);
282
  tdDelete = document.createElement("td");
283
- tdDelete.innerHTML = "X";
284
  tdDelete.title = "Close";
285
  tdDelete.className = "close plupload_delete"
286
  tr = document.createElement("tr");
@@ -400,6 +400,16 @@ jQuery(function($) {
400
  /** Activity Update Js **/
401
 
402
  jQuery(document).ready(function($) {
 
 
 
 
 
 
 
 
 
 
403
  if (typeof rtMedia_update_plupload_config == 'undefined') {
404
  return false;
405
  }
@@ -409,10 +419,9 @@ jQuery(document).ready(function($) {
409
  if ($("#rtm-file_upload-ui .privacy").length > 0) {
410
  $("#rtmedia-action-update").append($("#rtm-file_upload-ui .privacy"));
411
  }
412
- }
413
  objUploadView = new UploadView(rtMedia_update_plupload_config);
414
  $("#whats-new-form").on('click', '#rtmedia-add-media-button-post-update', function(e) {
415
- $("#div-attache-rtmedia").toggle();
416
  objUploadView.uploader.refresh();
417
  });
418
  //whats-new-post-in
@@ -428,16 +437,32 @@ jQuery(document).ready(function($) {
428
  upload_remove_array.push(file.id);
429
  return true;
430
  }
431
- tdName = document.createElement("span");
432
  tdName.innerHTML = file.name;
433
- tdStatus = document.createElement("span");
434
  tdStatus.className = "plupload_file_status";
435
  tdStatus.innerHTML = "0%";
436
- tr = document.createElement("p");
 
 
 
 
 
 
 
437
  tr.id = file.id;
438
  tr.appendChild(tdName);
439
  tr.appendChild(tdStatus);
440
- $("#rtMedia-update-queue-list").append(tr);
 
 
 
 
 
 
 
 
 
441
  });
442
  $.each(objUploadView.upload_remove_array, function(i, rfile) {
443
  objUploadView.uploader.removeFile(objUploadView.uploader.getFile(rfile));
@@ -491,6 +516,9 @@ jQuery(document).ready(function($) {
491
  objUploadView.uploader.bind('UploadComplete', function(up, files) {
492
  media_uploading = true;
493
  $("#aw-whats-new-submit").click();
 
 
 
494
  //$("#aw-whats-new-submit").removeAttr('disabled');
495
  });
496
  objUploadView.uploader.bind('UploadProgress', function(up, file) {
@@ -523,7 +551,7 @@ jQuery(document).ready(function($) {
523
  options.beforeSend = function() {
524
  if ($.trim($("#whats-new").val()) == "") {
525
  alert("Please enter some content to post.");
526
- $("#aw-whats-new-submit").prop("disabled", true).removeClass('loading');
527
  return false;
528
  }
529
  if (!media_uploading && objUploadView.uploader.files.length > 0) {
@@ -550,7 +578,7 @@ jQuery(document).ready(function($) {
550
  }
551
  objUploadView.uploader.refresh()
552
  $('#rtMedia-update-queue-list').html('');
553
- $("#div-attache-rtmedia").hide();
554
  apply_rtMagnificPopup(jQuery('.rtmedia-list-media, .rtmedia-activity-container ul.rtmedia-list, #bp-media-list,.widget-item-listing,.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'));
555
  }
556
  $("#whats-new-post-in").removeAttr('disabled');
@@ -564,7 +592,7 @@ jQuery(document).ready(function($) {
564
  * rtMedia Comment Js
565
  */
566
  jQuery(document).ready(function($) {
567
- jQuery(document).on("click", ".mfp-content #rt_media_comment_form #rt_media_comment_submit", function(e) {
568
  e.preventDefault();
569
  if ($.trim($("#comment_content").val()) == "") {
570
  alert("Empty Comment is not allowed");
@@ -578,9 +606,9 @@ jQuery(document).ready(function($) {
578
  type: 'post',
579
  data: jQuery("#rt_media_comment_form").serialize() + "&rtajax=true",
580
  success: function(data) {
581
- $(".mfp-content #rtmedia_comment_ul").append(data);
582
  $("#comment_content").val("");
583
- $(".mfp-content #rt_media_comment_form #rt_media_comment_submit").removeAttr('disabled');
584
  }
585
  });
586
 
@@ -588,8 +616,35 @@ jQuery(document).ready(function($) {
588
 
589
  return false;
590
  });
591
-
592
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
593
 
594
  $(document).on("click", '.rtmedia-like', function(e) {
595
  e.preventDefault();
280
  tdSize.className = "plupload_file_size";
281
  tdSize.innerHTML = plupload.formatSize(file.size);
282
  tdDelete = document.createElement("td");
283
+ tdDelete.innerHTML = "<i class='icon-remove'></i>";
284
  tdDelete.title = "Close";
285
  tdDelete.className = "close plupload_delete"
286
  tr = document.createElement("tr");
400
  /** Activity Update Js **/
401
 
402
  jQuery(document).ready(function($) {
403
+
404
+ //handling the "post update: button on activity page
405
+ jQuery('#aw-whats-new-submit').removeAttr('disabled');
406
+ jQuery(document).on( "blur",'#whats-new', function(){
407
+ setTimeout(function(){ jQuery('#aw-whats-new-submit').removeAttr('disabled'); },100);
408
+ });
409
+ jQuery('#aw-whats-new-submit').on('click', function(e){
410
+ setTimeout(function(){ jQuery('#aw-whats-new-submit').removeAttr('disabled'); },100);
411
+ });
412
+
413
  if (typeof rtMedia_update_plupload_config == 'undefined') {
414
  return false;
415
  }
419
  if ($("#rtm-file_upload-ui .privacy").length > 0) {
420
  $("#rtmedia-action-update").append($("#rtm-file_upload-ui .privacy"));
421
  }
422
+ }
423
  objUploadView = new UploadView(rtMedia_update_plupload_config);
424
  $("#whats-new-form").on('click', '#rtmedia-add-media-button-post-update', function(e) {
 
425
  objUploadView.uploader.refresh();
426
  });
427
  //whats-new-post-in
437
  upload_remove_array.push(file.id);
438
  return true;
439
  }
440
+ tdName = document.createElement("td");
441
  tdName.innerHTML = file.name;
442
+ tdStatus = document.createElement("td");
443
  tdStatus.className = "plupload_file_status";
444
  tdStatus.innerHTML = "0%";
445
+ tdSize = document.createElement("td");
446
+ tdSize.className = "plupload_file_size";
447
+ tdSize.innerHTML = plupload.formatSize(file.size);
448
+ tdDelete = document.createElement("td");
449
+ tdDelete.innerHTML = "<i class='icon-remove'></i>";
450
+ tdDelete.title = "Remove from queue";
451
+ tdDelete.className = "close plupload_delete right";
452
+ tr = document.createElement("tr");
453
  tr.id = file.id;
454
  tr.appendChild(tdName);
455
  tr.appendChild(tdStatus);
456
+ tr.appendChild(tdSize);
457
+ tr.appendChild(tdDelete);
458
+ $("#rtm-upload-start-notice").css('display','block'); // show the file upload notice to the user
459
+ $("#rtMedia-queue-list").append(tr);
460
+ $("#" + file.id + " td.plupload_delete").click(function(e) {
461
+ e.preventDefault();
462
+ objUploadView.uploader.removeFile(upl.getFile(file.id));
463
+ $("#" + file.id).remove();
464
+ return false;
465
+ });
466
  });
467
  $.each(objUploadView.upload_remove_array, function(i, rfile) {
468
  objUploadView.uploader.removeFile(objUploadView.uploader.getFile(rfile));
516
  objUploadView.uploader.bind('UploadComplete', function(up, files) {
517
  media_uploading = true;
518
  $("#aw-whats-new-submit").click();
519
+ //remove the current file list
520
+ $("#rtMedia-queue-list tr").remove();
521
+ $("#rtm-upload-start-notice").hide();
522
  //$("#aw-whats-new-submit").removeAttr('disabled');
523
  });
524
  objUploadView.uploader.bind('UploadProgress', function(up, file) {
551
  options.beforeSend = function() {
552
  if ($.trim($("#whats-new").val()) == "") {
553
  alert("Please enter some content to post.");
554
+ // $("#aw-whats-new-submit").prop("disabled", true).removeClass('loading');
555
  return false;
556
  }
557
  if (!media_uploading && objUploadView.uploader.files.length > 0) {
578
  }
579
  objUploadView.uploader.refresh()
580
  $('#rtMedia-update-queue-list').html('');
581
+ //$("#div-attache-rtmedia").hide();
582
  apply_rtMagnificPopup(jQuery('.rtmedia-list-media, .rtmedia-activity-container ul.rtmedia-list, #bp-media-list,.widget-item-listing,.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'));
583
  }
584
  $("#whats-new-post-in").removeAttr('disabled');
592
  * rtMedia Comment Js
593
  */
594
  jQuery(document).ready(function($) {
595
+ jQuery(document).on("click", "#rt_media_comment_form #rt_media_comment_submit", function(e) {
596
  e.preventDefault();
597
  if ($.trim($("#comment_content").val()) == "") {
598
  alert("Empty Comment is not allowed");
606
  type: 'post',
607
  data: jQuery("#rt_media_comment_form").serialize() + "&rtajax=true",
608
  success: function(data) {
609
+ $("#rtmedia_comment_ul").append(data);
610
  $("#comment_content").val("");
611
+ $("#rt_media_comment_form #rt_media_comment_submit").removeAttr('disabled');
612
  }
613
  });
614
 
616
 
617
  return false;
618
  });
619
+
620
+ //Delete comment
621
+ jQuery(document).on('click', '.rtmedia-delte-comment', function(e){
622
+ e.preventDefault();
623
+ if(!confirm('Are you sure you want to delete this comment ?'))
624
+ return false;
625
+ var current_comment = jQuery(this);
626
+ var current_comment_parent = current_comment.parent();
627
+ var comment_id = current_comment.data('id');
628
+ current_comment_parent.css('opacity', '0.4');
629
+ if(comment_id == '' || isNaN(comment_id)){
630
+ return false;
631
+ }
632
+ var action = current_comment.closest('ul').data("action");
633
+
634
+ jQuery.ajax({
635
+ url: action,
636
+ type: 'post',
637
+ data: { comment_id : comment_id },
638
+ success: function(res) {
639
+ if(res !='undefined' && res == 1){
640
+ current_comment.closest('li').hide(1000, function(){ current_comment.closest('li').remove(); });
641
+ }else
642
+ current_comment.css('opacity', '1');
643
+
644
+ }
645
+ });
646
+
647
+ });
648
 
649
  $(document).on("click", '.rtmedia-like', function(e) {
650
  e.preventDefault();
app/assets/js/rtMedia.js CHANGED
@@ -78,7 +78,7 @@ var rtMediaHook = {
78
  }
79
  }
80
  jQuery('document').ready(function($) {
81
-
82
  $("#rt_media_comment_form").submit(function(e) {
83
  if ($.trim($("#comment_content").val()) == "") {
84
  alert("Empty Comment is not allowed");
@@ -117,13 +117,13 @@ jQuery('document').ready(function($) {
117
  jQuery('.rtmedia-move-container').slideToggle();
118
  });
119
 
120
- jQuery('.rtmedia-container').on('click', '.rtmedia-merge', function(e) {
121
- jQuery('.rtmedia-merge-container').slideToggle();
122
- });
123
 
124
- jQuery('.rtmedia-container').on('click', '.rtmedia-create-new-album-button', function(e) {
125
- jQuery('.rtmedia-create-new-album-container').slideToggle();
126
- });
127
 
128
  jQuery('.rtmedia-container').on('click', '#rtmedia_create_new_album', function(e) {
129
  $albumname = jQuery.trim(jQuery('#rtmedia_album_name').val());
@@ -167,7 +167,7 @@ jQuery('document').ready(function($) {
167
  jQuery('select.rtmedia-user-album-list option[value="' + response + '"]').prop('selected', true);
168
  jQuery('.rtmedia-create-new-album-container').slideToggle();
169
  jQuery('#rtmedia_album_name').val("");
170
- jQuery(".rtmedia-create-new-album-button").after("<span class='rtmedia-success rtmedia-create-album-alert'><b>" + $albumname + "</b> album created.</span>");
171
  setTimeout(function() {
172
  jQuery(".rtmedia-create-album-alert").remove()
173
  }, 4000);
@@ -208,13 +208,87 @@ jQuery('document').ready(function($) {
208
  rtMediaHook.register('rtmedia_js_popup_after_content_added',
209
  function() {
210
  rtmedia_media_view_counts();
 
211
  return true;
212
  }
213
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
214
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
215
  });
216
 
 
 
217
  //Legacy media element for old activities
218
  function bp_media_create_element(id) {
219
  return false;
220
- }
78
  }
79
  }
80
  jQuery('document').ready(function($) {
81
+
82
  $("#rt_media_comment_form").submit(function(e) {
83
  if ($.trim($("#comment_content").val()) == "") {
84
  alert("Empty Comment is not allowed");
117
  jQuery('.rtmedia-move-container').slideToggle();
118
  });
119
 
120
+ // jQuery('.rtmedia-container').on('click', '.rtmedia-merge', function(e) {
121
+ // jQuery('.rtmedia-merge-container').slideToggle();
122
+ // });
123
 
124
+ // jQuery('.rtmedia-container').on('click', '.rtmedia-create-new-album-button', function(e) {
125
+ // jQuery('.rtmedia-create-new-album-container').slideToggle();
126
+ // });
127
 
128
  jQuery('.rtmedia-container').on('click', '#rtmedia_create_new_album', function(e) {
129
  $albumname = jQuery.trim(jQuery('#rtmedia_album_name').val());
167
  jQuery('select.rtmedia-user-album-list option[value="' + response + '"]').prop('selected', true);
168
  jQuery('.rtmedia-create-new-album-container').slideToggle();
169
  jQuery('#rtmedia_album_name').val("");
170
+ jQuery("#rtmedia_create_new_album").after("<span class='rtmedia-success rtmedia-create-album-alert'><b>" + $albumname + "</b> album created.</span>");
171
  setTimeout(function() {
172
  jQuery(".rtmedia-create-album-alert").remove()
173
  }, 4000);
208
  rtMediaHook.register('rtmedia_js_popup_after_content_added',
209
  function() {
210
  rtmedia_media_view_counts();
211
+ rtmedia_init_media_deleting();
212
  return true;
213
  }
214
  );
215
+ var dragArea = jQuery("#drag-drop-area");
216
+ var activityArea = jQuery('#whats-new');
217
+ var content = dragArea.html();
218
+ jQuery('#rtmedia-upload-container').after("<h2 id='rtm-drop-files-title'>Drop files here</h2>");
219
+ jQuery('#whats-new-textarea').after("<h2 id='rtm-drop-files-title'>Drop files here</h2>");
220
+ jQuery(document)
221
+ .on('dragover', function(e) {
222
+ jQuery('#rtm-media-gallery-uploader').show();
223
+ activityArea.addClass('rtm-drag-drop-active');
224
+ activityArea.css('height','150px');
225
+ dragArea.addClass('rtm-drag-drop-active');
226
+ jQuery('#rtm-drop-files-title').css('display', 'block');
227
+ })
228
+ .on("dragleave", function(e){
229
+ e.preventDefault();
230
+ activityArea.removeClass('rtm-drag-drop-active');
231
+ activityArea.removeAttr('style');
232
+ dragArea.removeClass('rtm-drag-drop-active');
233
+ jQuery('#rtm-drop-files-title').hide();
234
+
235
+ })
236
+ .on("drop", function(e){
237
+ e.preventDefault();
238
+ activityArea.removeClass('rtm-drag-drop-active');
239
+ activityArea.removeAttr('style');
240
+ dragArea.removeClass('rtm-drag-drop-active');
241
+ jQuery('#rtm-drop-files-title').hide();
242
+ });
243
+
244
+
245
+ function rtmedia_init_media_deleting() {
246
+ jQuery('.rtmedia-container').on('click', '.rtmedia-delete-media', function(e) {
247
+ e.preventDefault();
248
+ if(confirm('Are you sure you want to delete this media?')) {
249
+ jQuery(this).closest('form').submit();
250
+ }
251
+ });
252
+ }
253
+
254
+ jQuery('.rtmedia-container').on('click', '.rtmedia-delete-album' , function(e) {
255
+ e.preventDefault();
256
+ if(confirm('Are you sure you want to delete this Album?')) {
257
+ jQuery(this).closest('form').submit();
258
+ }
259
+ });
260
+
261
+ jQuery('.rtmedia-container').on('click', '.rtmedia-delete-media', function(e) {
262
+ e.preventDefault();
263
+ if(confirm('Are you sure you want to delete this media?')) {
264
+ jQuery(this).closest('form').submit();
265
+ }
266
+ });
267
 
268
+ jQuery(document).on('click', '.rtmedia-reveal-modal', function(e){
269
+ e.preventDefault();
270
+ var modalId = jQuery(this).data('reveal-id');
271
+ jQuery('.reveal-modal-bg').css('display', 'block');
272
+ jQuery('.reveal-modal-bg').css('opacity', '0.5');
273
+ jQuery("#"+modalId).foundation('reveal', 'open');
274
+ });
275
+
276
+ jQuery(document).on('click', '.close-reveal-modal', function(e){
277
+ e.preventDefault();
278
+ var modalId = jQuery(this).parent('.reveal-modal');
279
+ jQuery(modalId).foundation('reveal', 'close');
280
+ jQuery('.reveal-modal-bg').fadeOut();
281
+ });
282
+
283
+ jQuery(document).on('click', '#rtm_show_upload_ui', function(){
284
+ jQuery('#rtm-media-gallery-uploader').slideToggle();
285
+ });
286
+
287
  });
288
 
289
+
290
+
291
  //Legacy media element for old activities
292
  function bp_media_create_element(id) {
293
  return false;
294
+ }
app/assets/sass/_foundation_reveal_settings.scss ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ To change this license header, choose License Headers in Project Properties.
3
+ To change this template file, choose Tools | Templates
4
+ and open the template in the editor.
5
+ */
6
+ /*
7
+ Created on : 3 Oct, 2013, 8:22:21 PM
8
+ Author : pushpak
9
+ */
10
+
11
+ //
12
+ // Reveal Variables
13
+ //
14
+ // Reveal overlay.
15
+
16
+ $reveal-overlay-bg: rgba(#000, .45);
17
+ $reveal-overlay-bg-old: #000;
18
+
19
+ // Modal itself.
20
+
21
+ $reveal-modal-bg: #fff;
22
+ $reveal-position-top: 50px;
23
+ $reveal-default-width: 80%;
24
+ $reveal-modal-padding: emCalc(20px);
25
+ $reveal-box-shadow: 0 0 10px rgba(#000,.4);
26
+
27
+ // Reveal close button
28
+
29
+ $reveal-close-font-size: emCalc(22px);
30
+ $reveal-close-top: emCalc(8px);
31
+ $reveal-close-side: emCalc(11px);
32
+ $reveal-close-color: #aaa;
33
+ $reveal-close-weight: bold;
34
+
35
+ // Modal border
36
+
37
+ $reveal-border-style: solid;
38
+ $reveal-border-width: 1px;
39
+ $reveal-border-color: #666;
40
+
41
+ $reveal-modal-class: "reveal-modal";
42
+ $close-reveal-modal-class: "close-reveal-modal";
app/assets/sass/main.scss CHANGED
@@ -1,10 +1,14 @@
1
  @import "compass/css3";
2
  .rtmedia-container{
3
  @import "compass/reset";
 
4
  @import "foundation/components/global"; // *always required
5
  @import "foundation/components/grid";
6
  @import "foundation/components/visibility";
7
  @import "foundation/components/flex-video";
 
 
 
8
  #buddypress{
9
  li{
10
  list-style:none;
@@ -26,10 +30,11 @@
26
  }
27
  .rtmedia-success{
28
  display: block;
29
- padding: 10px;
30
- border: 1px solid #008000;
31
- background-color: #90EE90;
32
- @include border-radius(4px);
 
33
  }
34
  padding:5px;
35
  margin: 0;
@@ -110,31 +115,11 @@
110
  .rtmedia-item-comments-container {
111
  margin: 3% 3%;
112
  }
113
-
114
- .rtmedia-comment {
115
- list-style: none;
116
- background: #f6f6f6;
117
- border: 1px solid #ddd;
118
- -moz-border-radius: 3px;
119
- border-radius: 3px;
120
- margin: 5px 0;
121
- padding: 1px 5px 25px;
122
- width: 391px;
123
- max-width:100%;
124
-
125
- .rtmedia-comment-author {
126
- display: block;
127
- }
128
-
129
- .rtmedia-comment-content {
130
- display: block;
131
- }
132
-
133
- .rtmedia-comment-date {
134
- display: block;
135
- float: right;
136
- }
137
- }
138
 
139
  .rtmedia-bp-header {
140
  width: 460px;
@@ -166,12 +151,12 @@
166
  display:block;
167
  padding-bottom:10px;
168
  }
169
- .rtmedia-merge-container{
170
  display: none;
171
  }
172
  .rtmedia-create-new-album-container{
173
  display: none;
174
- }
175
  select{
176
  width: auto;
177
  }
@@ -383,8 +368,8 @@
383
  float: left;
384
  padding-right: 10px;
385
  }
386
- #header{
387
- z-index:1 !important;
388
  }
389
 
390
  .bp_media_content{
@@ -433,13 +418,204 @@ button.mfp-close {
433
  }
434
 
435
  /* audio player positioning fix */
436
- .mejs-container .mejs-controls {
437
- // position: static;
438
- }
439
  .mfp-content #rtmedia-single-media-container .wp-audio-shortcode{
440
  height: 0px!important;
441
  }
442
-
443
  .rtmedia-single-container .rtmedia-editor-description {
444
  margin-top: 15px;
445
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  @import "compass/css3";
2
  .rtmedia-container{
3
  @import "compass/reset";
4
+ @import "foundation/variables";
5
  @import "foundation/components/global"; // *always required
6
  @import "foundation/components/grid";
7
  @import "foundation/components/visibility";
8
  @import "foundation/components/flex-video";
9
+ @import 'foundation_reveal_settings';
10
+ @import "foundation/components/reveal";
11
+
12
  #buddypress{
13
  li{
14
  list-style:none;
30
  }
31
  .rtmedia-success{
32
  display: block;
33
+ padding: 5px;
34
+ margin-top : 15px;
35
+ border: 1px solid #457A1A;
36
+ background-color: #5DA423;
37
+ font-weight: bold;
38
  }
39
  padding:5px;
40
  margin: 0;
115
  .rtmedia-item-comments-container {
116
  margin: 3% 3%;
117
  }
118
+
119
+ #rtmedia_comment_ul {
120
+ margin-left: 0;
121
+ margin-bottom: 10px;
122
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
 
124
  .rtmedia-bp-header {
125
  width: 460px;
151
  display:block;
152
  padding-bottom:10px;
153
  }
154
+ /* .rtmedia-merge-container{
155
  display: none;
156
  }
157
  .rtmedia-create-new-album-container{
158
  display: none;
159
+ }*/
160
  select{
161
  width: auto;
162
  }
368
  float: left;
369
  padding-right: 10px;
370
  }
371
+ .mfp-ready, .mfp-bg{
372
+ z-index:9999;
373
  }
374
 
375
  .bp_media_content{
418
  }
419
 
420
  /* audio player positioning fix */
 
 
 
421
  .mfp-content #rtmedia-single-media-container .wp-audio-shortcode{
422
  height: 0px!important;
423
  }
 
424
  .rtmedia-single-container .rtmedia-editor-description {
425
  margin-top: 15px;
426
+ }
427
+
428
+ .rtmedia-container #rtm-media-options, .rtmedia-container {
429
+
430
+ line-height : 30px;
431
+
432
+ [class^="icon-"], [class*=" icon-"] {
433
+ font-family: FontAwesome;
434
+ font-style: normal;
435
+ font-weight: normal;
436
+ text-decoration: inherit;
437
+ cursor: pointer;
438
+ padding: 0;
439
+ border: none;
440
+
441
+ &.icon-2x {
442
+ font-size: 1.6em;
443
+ }
444
+ &.icon-3x {
445
+ font-size: 3em;
446
+ }
447
+ &:visited {
448
+ color: #444444;
449
+ }
450
+ &:hover {
451
+ background: none;
452
+ }
453
+ }
454
+ .icon-remove {
455
+ color: red;
456
+ }
457
+ }
458
+
459
+ #rtm-media-options {
460
+ text-align: right;
461
+
462
+ [class^="icon-"],[class*=" icon-"] {
463
+ margin-left: 10px;
464
+ color : #444444;
465
+ }
466
+ }
467
+
468
+ .rtmedia-inline{
469
+ display: inline;
470
+ }
471
+
472
+ .rtm-modal {
473
+ text-align: left;
474
+
475
+ #rtm-modal-container {
476
+
477
+ .rtm-modal-title{
478
+ font-size: 24px;
479
+ line-height : 24px;
480
+ margin-bottom : 30px;
481
+ }
482
+ .rtm-input-medium {
483
+ width: 55%;
484
+ }
485
+
486
+ input,select {
487
+ margin-right: 10px;
488
+ }
489
+
490
+ p {
491
+ margin-bottom: 10px;
492
+ }
493
+
494
+ label{
495
+ min-width: 90px;
496
+ display:inline-block;
497
+ }
498
+ }
499
+ }
500
+
501
+ .rtmedia-container #rtMedia-queue-list {
502
+ margin-bottom : 10px;
503
+ line-height : 20px;
504
+ tr td, tr th {
505
+ padding: 3px 5px;
506
+ }
507
+ }
508
+
509
+ #rtm-drop-files-title {
510
+ font-size: 24px;
511
+ text-align: center;
512
+ margin: -80px 0 40px 0;
513
+ z-index: 0;
514
+ display: none;
515
+ }
516
+
517
+ .rtm-drag-drop-active {
518
+ border: 4px dashed green!important;
519
+ opacity : 0.5;
520
+ height : 150px;
521
+ display: block;
522
+ z-index: 9999;
523
+ }
524
+ #drag-drop-title {
525
+ position: absolute;
526
+ margin-top: -30px;
527
+ z-index: 0;
528
+
529
+ }
530
+
531
+ #rtm-upload-start-notice{
532
+ display:none;
533
+ & > span {
534
+ color: red;
535
+ font-size: 12px;
536
+ line-height: 16px;
537
+ }
538
+
539
+ }
540
+ #rtm-media-gallery-uploader {
541
+ display : none;
542
+ margin-bottom : 20px;
543
+ }
544
+
545
+ #rtm-gallery-title-container {
546
+
547
+ margin-bottom : 15px;
548
+
549
+ .rtm-gallery-title {
550
+ width : 69%;
551
+ display : inline-block;
552
+ margin :0;
553
+ overflow: hidden;
554
+ vertical-align: bottom;
555
+
556
+ }
557
+
558
+ #rtm-media-options {
559
+ width: 30%;
560
+ padding: 5px 0;
561
+ display: inline-block;
562
+
563
+ }
564
+ }
565
+
566
+ .rtmedia-container ul#rtmedia_comment_ul li.rtmedia-comment {
567
+ list-style: none;
568
+ background: #EDEFF4;
569
+ margin: 2px 0;
570
+ padding: 1px 5px 4px;
571
+ width: 100%;
572
+ position: relative;
573
+ word-wrap: break;
574
+ line-height : 20px;
575
+
576
+ .rtmedia-comment-user-pic {
577
+
578
+ float: left;
579
+ img {
580
+ height: 35px!important;
581
+ width : 35px!important;
582
+ //importants are provided to override the inline style that comes when buddypress is not active and image is set as profile pic
583
+ @include border-radius(0);
584
+ margin-top : 4px;
585
+ }
586
+ }
587
+
588
+ .rtmedia-comment-author {
589
+ display: block;
590
+ line-height : 24px;
591
+ a {
592
+ margin-left : 5px;
593
+ color: #3B5998;
594
+ font-weight: bold;
595
+ text-decoration: none;
596
+ line-height: 24px;
597
+ }
598
+ a:hover{
599
+ text-decoration: underline;
600
+ }
601
+ }
602
+
603
+ .rtmedia-comment-content {
604
+ margin-left : 5px;
605
+ }
606
+
607
+ .rtmedia-comment-date {
608
+ clear: left;
609
+ display: block;
610
+ text-align: right;
611
+ color : #808080;
612
+ }
613
+
614
+ .rtmedia-delte-comment{
615
+ text-decoration: none;
616
+ position : absolute;
617
+ right: 8px;
618
+ top : 0;
619
+ color : #3B59A1;
620
+ }
621
+ }
app/helper/RTMediaCommentModel.php CHANGED
@@ -37,8 +37,8 @@ class RTMediaCommentModel {
37
 
38
  function delete($id) {
39
 
40
- return wp_delete_comment($id);
41
  }
42
  }
43
 
44
- ?>
37
 
38
  function delete($id) {
39
 
40
+ return wp_delete_comment($id, true);
41
  }
42
  }
43
 
44
+ ?>
app/helper/RTMediaModel.php CHANGED
@@ -35,9 +35,15 @@ class RTMediaModel extends RTDBModel {
35
  * @param type $order_by
36
  * @return type
37
  */
38
- function get ( $columns, $offset = false, $per_page = false, $order_by = 'media_id desc' ) {
39
  global $wpdb;
40
- $select = "SELECT {$this->table_name}.* ";
 
 
 
 
 
 
41
  $from = " FROM {$this->table_name} ";
42
  $join = "";
43
  $where = " where 2=2 ";
@@ -71,12 +77,16 @@ class RTMediaModel extends RTDBModel {
71
  $where .= " AND {$this->table_name}.{$colname} = '{$colvalue}'";
72
  }
73
  }
74
- $qgroup_by = " ";
75
- $qorder_by = " ORDER BY {$this->table_name}.$order_by";
 
 
 
 
76
 
77
  $select = apply_filters ( 'rtmedia-model-select-query', $select, $this->table_name );
78
  $join = apply_filters ( 'rtmedia-model-join-query', $join, $this->table_name );
79
- $where = apply_filters ( 'rtmedia-model-where-query', $where, $this->table_name );
80
  $qgroup_by = apply_filters ( 'rtmedia-model-group-by-query', $qgroup_by, $this->table_name );
81
  $qorder_by = apply_filters ( 'rtmedia-model-order-by-query', $qorder_by, $this->table_name );
82
 
@@ -84,8 +94,10 @@ class RTMediaModel extends RTDBModel {
84
  if ( is_integer ( $offset ) && is_integer ( $per_page ) ) {
85
  $sql .= ' LIMIT ' . $offset . ',' . $per_page;
86
  }
87
-
88
- return $wpdb->get_results ( $sql );
 
 
89
  }
90
 
91
  /**
@@ -131,11 +143,11 @@ class RTMediaModel extends RTDBModel {
131
  * @param type $order_by
132
  * @return type
133
  */
134
- function get_media ( $columns, $offset = false, $per_page = false, $order_by = 'media_id desc' ) {
135
  if ( is_multisite () ) {
136
- $results = $this->get ( $columns, $offset, $per_page, "blog_id ," . $order_by );
137
  } else {
138
- $results = $this->get ( $columns, $offset, $per_page, $order_by );
139
  }
140
  return $results;
141
  }
35
  * @param type $order_by
36
  * @return type
37
  */
38
+ function get ( $columns, $offset = false, $per_page = false, $order_by = 'media_id desc' , $count_flag = false ) {
39
  global $wpdb;
40
+ $select = "SELECT ";
41
+ if($count_flag){
42
+ $select .= "count(*) ";
43
+ }else{
44
+ $select .= "{$this->table_name}.* " ;
45
+ }
46
+
47
  $from = " FROM {$this->table_name} ";
48
  $join = "";
49
  $where = " where 2=2 ";
77
  $where .= " AND {$this->table_name}.{$colname} = '{$colvalue}'";
78
  }
79
  }
80
+ $qgroup_by = " ";
81
+ if($order_by){
82
+ $qorder_by = " ORDER BY {$this->table_name}.{$order_by}";
83
+ } else {
84
+ $qorder_by = "";
85
+ }
86
 
87
  $select = apply_filters ( 'rtmedia-model-select-query', $select, $this->table_name );
88
  $join = apply_filters ( 'rtmedia-model-join-query', $join, $this->table_name );
89
+ $where = apply_filters ( 'rtmedia-model-where-query', $where, $this->table_name, $join );
90
  $qgroup_by = apply_filters ( 'rtmedia-model-group-by-query', $qgroup_by, $this->table_name );
91
  $qorder_by = apply_filters ( 'rtmedia-model-order-by-query', $qorder_by, $this->table_name );
92
 
94
  if ( is_integer ( $offset ) && is_integer ( $per_page ) ) {
95
  $sql .= ' LIMIT ' . $offset . ',' . $per_page;
96
  }
97
+ if( ! $count_flag )
98
+ return $wpdb->get_results ( $sql );
99
+ else
100
+ return $wpdb->get_var ( $sql );
101
  }
102
 
103
  /**
143
  * @param type $order_by
144
  * @return type
145
  */
146
+ function get_media ( $columns, $offset = false, $per_page = false, $order_by = 'media_id desc', $count_flag = false ) {
147
  if ( is_multisite () ) {
148
+ $results = $this->get ( $columns, $offset, $per_page, "blog_id ," . $order_by, $count_flag );
149
  } else {
150
+ $results = $this->get ( $columns, $offset, $per_page, $order_by , $count_flag );
151
  }
152
  return $results;
153
  }
app/main/RTMedia.php CHANGED
@@ -211,7 +211,7 @@ class RTMedia
211
 
212
  // sanitize all the types
213
  $allowed_types = $this->sanitize_allowed_types($allowed_types);
214
-
215
  // set the allowed types property
216
  $this->allowed_types = $allowed_types;
217
  }
@@ -233,7 +233,7 @@ class RTMedia
233
  if (!isset($type['name']) || // check if a name is set
234
  empty($type['name']) ||
235
  //commented this section for playlist // !isset($type['extn']) || // check if file extensions are set
236
- //commented this section for playlist // empty($type['extn']) ||
237
  strstr($type['name'], " ") || strstr($type['name'], "_")) {
238
  unset($allowed_types[$key]); // if not unset this type
239
  continue;
@@ -601,7 +601,7 @@ class RTMedia
601
  }
602
  }
603
  }
604
-
605
  $this->set_allowed_types(); // Define allowed types
606
 
607
  global $rtmedia_buddypress_activity;
@@ -703,6 +703,9 @@ class RTMedia
703
  }
704
 
705
  wp_enqueue_style('rtmedia-main', RTMEDIA_URL . 'app/assets/css/main.css', '', RTMEDIA_VERSION);
 
 
 
706
  wp_enqueue_script('rtmedia-main', RTMEDIA_URL . 'app/assets/js/rtMedia.js', array('jquery', 'wp-mediaelement'), RTMEDIA_VERSION);
707
  wp_enqueue_style('rtmedia-magnific', RTMEDIA_URL . 'lib/magnific/magnific.css', '', RTMEDIA_VERSION);
708
  wp_enqueue_script('rtmedia-magnific', RTMEDIA_URL . 'lib/magnific/magnific.js', '', RTMEDIA_VERSION);
211
 
212
  // sanitize all the types
213
  $allowed_types = $this->sanitize_allowed_types($allowed_types);
214
+
215
  // set the allowed types property
216
  $this->allowed_types = $allowed_types;
217
  }
233
  if (!isset($type['name']) || // check if a name is set
234
  empty($type['name']) ||
235
  //commented this section for playlist // !isset($type['extn']) || // check if file extensions are set
236
+ //commented this section for playlist // empty($type['extn']) ||
237
  strstr($type['name'], " ") || strstr($type['name'], "_")) {
238
  unset($allowed_types[$key]); // if not unset this type
239
  continue;
601
  }
602
  }
603
  }
604
+
605
  $this->set_allowed_types(); // Define allowed types
606
 
607
  global $rtmedia_buddypress_activity;
703
  }
704
 
705
  wp_enqueue_style('rtmedia-main', RTMEDIA_URL . 'app/assets/css/main.css', '', RTMEDIA_VERSION);
706
+ wp_enqueue_style('rtmedia-font-awesome', RTMEDIA_URL . 'app/assets/css/font-awesome.min.css', '', RTMEDIA_VERSION);
707
+ wp_enqueue_script('rtmedia-foundation', RTMEDIA_URL . 'lib/foundation/foundation.min.js', array('jquery'), RTMEDIA_VERSION);
708
+ wp_enqueue_script('rtmedia-foundation-reveal', RTMEDIA_URL . 'lib/foundation/foundation.reveal.js', array('jquery'), RTMEDIA_VERSION);
709
  wp_enqueue_script('rtmedia-main', RTMEDIA_URL . 'app/assets/js/rtMedia.js', array('jquery', 'wp-mediaelement'), RTMEDIA_VERSION);
710
  wp_enqueue_style('rtmedia-magnific', RTMEDIA_URL . 'lib/magnific/magnific.css', '', RTMEDIA_VERSION);
711
  wp_enqueue_script('rtmedia-magnific', RTMEDIA_URL . 'lib/magnific/magnific.js', '', RTMEDIA_VERSION);
app/main/contexts/RTMediaContext.php CHANGED
@@ -98,7 +98,9 @@ class RTMediaContext {
98
  */
99
  function get_current_bp_component_id () {
100
  switch ( bp_current_component () ) {
101
- case 'groups': return bp_get_current_group_id ();
 
 
102
  break;
103
  default:
104
  return bp_displayed_user_id ();
98
  */
99
  function get_current_bp_component_id () {
100
  switch ( bp_current_component () ) {
101
+ case 'groups': if(function_exists("bp_get_current_group_id"))
102
+ return bp_get_current_group_id ();
103
+ return null;
104
  break;
105
  default:
106
  return bp_displayed_user_id ();
app/main/controllers/activity/RTMediaActivity.php CHANGED
@@ -48,7 +48,7 @@ class RTMediaActivity {
48
 
49
  $mediaObj = new RTMediaModel();
50
  $media_details = $mediaObj->get ( array( 'id' => $this->media ) );
51
-
52
  if( intval( $limitActivityFeed ) > 0 )
53
  $media_details = array_slice( $media_details, 0, $limitActivityFeed, true);
54
 
@@ -100,7 +100,7 @@ class RTMediaActivity {
100
  // return '<img src="'.$src.'" />';
101
  // }
102
  // }
103
-
104
  if ( $media->media_type == 'photo' ) {
105
  $thumbnail_id = $media->media_id;
106
  if ( $thumbnail_id ) {
@@ -108,7 +108,6 @@ class RTMediaActivity {
108
  $html = '<img src="' . $src . '" />';
109
  }
110
  } elseif ( $media->media_type == 'video' ) {
111
- global $rtmedia;
112
  $cover_art = rtmedia_get_cover_art_src($media->id);
113
  if($cover_art) {
114
  $poster = 'poster = "'. $cover_art .'"';
48
 
49
  $mediaObj = new RTMediaModel();
50
  $media_details = $mediaObj->get ( array( 'id' => $this->media ) );
51
+
52
  if( intval( $limitActivityFeed ) > 0 )
53
  $media_details = array_slice( $media_details, 0, $limitActivityFeed, true);
54
 
100
  // return '<img src="'.$src.'" />';
101
  // }
102
  // }
103
+ global $rtmedia;
104
  if ( $media->media_type == 'photo' ) {
105
  $thumbnail_id = $media->media_id;
106
  if ( $thumbnail_id ) {
108
  $html = '<img src="' . $src . '" />';
109
  }
110
  } elseif ( $media->media_type == 'video' ) {
 
111
  $cover_art = rtmedia_get_cover_art_src($media->id);
112
  if($cover_art) {
113
  $poster = 'poster = "'. $cover_art .'"';
app/main/controllers/activity/RTMediaBuddyPressActivity.php CHANGED
@@ -125,9 +125,9 @@ class RTMediaBuddyPressActivity {
125
  $params = array(
126
  'url' => (isset ( $url ) && (strpos ( $url, "/media/" ) !== false)) ? str_replace ( "/media/", "/upload/", $url ) : 'upload/',
127
  'runtimes' => 'html5,silverlight,flash,html4',
128
- 'browse_button' => 'rtmedia-whts-new-upload-button',
129
  'container' => 'rtmedia-whts-new-upload-container',
130
- 'drop_element' => 'rtmedia-whts-new-drag-drop-area',
131
  'filters' => apply_filters ( 'rtmedia_plupload_files_filter', array( array( 'title' => "Media Files", 'extensions' => get_rtmedia_allowed_upload_type () ) ) ),
132
  'max_file_size' => min ( array( ini_get ( 'upload_max_filesize' ), ini_get ( 'post_max_size' ) ) ),
133
  'multipart' => true,
@@ -150,6 +150,8 @@ class RTMediaBuddyPressActivity {
150
 
151
 
152
  $uploadView = new RTMediaUploadView ( array( 'activity' => true ) );
 
 
153
  $uploadView->render ( 'uploader' );
154
  }
155
 
125
  $params = array(
126
  'url' => (isset ( $url ) && (strpos ( $url, "/media/" ) !== false)) ? str_replace ( "/media/", "/upload/", $url ) : 'upload/',
127
  'runtimes' => 'html5,silverlight,flash,html4',
128
+ 'browse_button' => 'rtmedia-add-media-button-post-update',// browse button assigned to "Attach Files" Button.
129
  'container' => 'rtmedia-whts-new-upload-container',
130
+ 'drop_element' => 'whats-new-textarea',// drag-drop area assigned to activity update textarea
131
  'filters' => apply_filters ( 'rtmedia_plupload_files_filter', array( array( 'title' => "Media Files", 'extensions' => get_rtmedia_allowed_upload_type () ) ) ),
132
  'max_file_size' => min ( array( ini_get ( 'upload_max_filesize' ), ini_get ( 'post_max_size' ) ) ),
133
  'multipart' => true,
150
 
151
 
152
  $uploadView = new RTMediaUploadView ( array( 'activity' => true ) );
153
+ global $rtmedia_query;
154
+ $rtmedia_query->is_upload_shortcode = false;
155
  $uploadView->render ( 'uploader' );
156
  }
157
 
app/main/controllers/group/RTMediaGroup.php CHANGED
@@ -2,15 +2,20 @@
2
  /*
3
  * To change this template, choose Tools | Templates
4
  * and open the template in the editor.
5
- *
6
  */
7
  class RTMediaGroup{
8
  public $create_slug = "media-setting";
9
  function __construct() {
 
 
 
 
 
10
  if(function_exists("bp_is_active") && bp_is_active("groups")){
11
  bp_register_group_extension("RTMediaGroupExtension");
12
  }
13
-
14
  }
15
-
16
  }
2
  /*
3
  * To change this template, choose Tools | Templates
4
  * and open the template in the editor.
5
+ *
6
  */
7
  class RTMediaGroup{
8
  public $create_slug = "media-setting";
9
  function __construct() {
10
+ global $rtmedia;
11
+ $options = $rtmedia->options;
12
+ if( ! ( isset ( $options [ 'buddypress_enableOnGroup' ] ) && $options [ 'buddypress_enableOnGroup' ] == "1" ) ) {
13
+ return;
14
+ }
15
  if(function_exists("bp_is_active") && bp_is_active("groups")){
16
  bp_register_group_extension("RTMediaGroupExtension");
17
  }
18
+
19
  }
20
+
21
  }
app/main/controllers/media/RTMediaComment.php CHANGED
@@ -73,6 +73,20 @@ class RTMediaComment {
73
 
74
  function remove($id) {
75
 
76
- do_action('rtmedia_before_remove_comment', $attr);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
  }
78
  }
73
 
74
  function remove($id) {
75
 
76
+ do_action('rtmedia_before_remove_comment', $id);
77
+
78
+ $comment = "";
79
+ if(!empty($id)) {
80
+ $comment = get_comment( $id );
81
+ }
82
+
83
+ if(!is_rt_admin() && isset( $comment->user_id ) && $comment->user_id != get_current_user_id() )
84
+ return;
85
+
86
+ $comment_deleted = $this->rtmedia_comment_model->delete($id);
87
+
88
+ do_action('rtmedia_after_remove_comment', $id);
89
+
90
+ return $comment_deleted;
91
  }
92
  }
app/main/controllers/media/RTMediaLike.php CHANGED
@@ -82,6 +82,7 @@ class RTMediaLike extends RTMediaUserInteraction {
82
 
83
  $return["count"] = $actions;
84
  $this->model->update( array( $this->plural => $actions ), array( 'id' => $this->action_query->id ) );
 
85
  if(isset($_REQUEST["json"]) && $_REQUEST["json"]=="true"){
86
  echo json_encode($return);
87
  die();
82
 
83
  $return["count"] = $actions;
84
  $this->model->update( array( $this->plural => $actions ), array( 'id' => $this->action_query->id ) );
85
+ do_action("rtmedia_after_like_media", $this);
86
  if(isset($_REQUEST["json"]) && $_REQUEST["json"]=="true"){
87
  echo json_encode($return);
88
  die();
app/main/controllers/media/RTMediaViewCount.php CHANGED
@@ -82,6 +82,7 @@ class RTMediaViewCount extends RTMediaUserInteraction {
82
  $insert_id = $rtmediainteraction->insert($columns);
83
 
84
  }
 
85
  die();
86
  }
87
  }
82
  $insert_id = $rtmediainteraction->insert($columns);
83
 
84
  }
85
+ do_action("rtmedia_after_view_media", $this);
86
  die();
87
  }
88
  }
app/main/controllers/privacy/RTMediaPrivacy.php CHANGED
@@ -20,7 +20,7 @@ class RTMediaPrivacy {
20
 
21
  function __construct ($flag = true) {
22
  if ( is_rtmedia_privacy_enable () && $flag ) {
23
- add_action ( 'rtmedia_after_file_upload_ui' , array ( $this , 'uploader_privacy_ui' ) ) ;
24
  add_action ( 'rtmedia_add_edit_fields' , array ( $this , 'select_privacy_ui' ) ) ;
25
  add_action ( 'bp_init' , array ( $this , 'add_nav' ) ) ;
26
  add_action ( 'bp_template_content' , array ( $this , 'content' ) ) ;
@@ -29,12 +29,12 @@ class RTMediaPrivacy {
29
  }
30
 
31
  function uploader_privacy_ui ( $attr ) {
32
- if ( ! isset ( $attr[ 'privacy' ] ) ) {
33
- $this -> select_privacy_ui () ;
34
  }
35
  }
36
 
37
- function select_privacy_ui ( $echo = true, $select_id = false ) {
38
  global $rtmedia ;
39
 
40
  if ( ! is_rtmedia_privacy_enable () )
20
 
21
  function __construct ($flag = true) {
22
  if ( is_rtmedia_privacy_enable () && $flag ) {
23
+ //add_action ( 'rtmedia_after_file_upload_ui' , array ( $this , 'uploader_privacy_ui' ) ) ;
24
  add_action ( 'rtmedia_add_edit_fields' , array ( $this , 'select_privacy_ui' ) ) ;
25
  add_action ( 'bp_init' , array ( $this , 'add_nav' ) ) ;
26
  add_action ( 'bp_template_content' , array ( $this , 'content' ) ) ;
29
  }
30
 
31
  function uploader_privacy_ui ( $attr ) {
32
+ if ( ! isset ( $attr[ 'privacy' ] ) ) {
33
+ $this -> select_privacy_ui () ;
34
  }
35
  }
36
 
37
+ function select_privacy_ui ( $echo = true, $select_id = false ) {
38
  global $rtmedia ;
39
 
40
  if ( ! is_rtmedia_privacy_enable () )
app/main/controllers/shortcodes/RTMediaGalleryShortcode.php CHANGED
@@ -110,6 +110,9 @@ class RTMediaGalleryShortcode {
110
  $attr[ "attr" ][ "context" ] = $post->post_type;
111
  }
112
  }
 
 
 
113
 
114
  $template = new RTMediaTemplate();
115
  $gallery_template = false;
110
  $attr[ "attr" ][ "context" ] = $post->post_type;
111
  }
112
  }
113
+
114
+ global $rtmedia_query;
115
+ $rtmedia_query->is_gallery_shortcode = true;// to check if gallery shortcode is executed to display the gallery.
116
 
117
  $template = new RTMediaTemplate();
118
  $gallery_template = false;
app/main/controllers/shortcodes/RTMediaUploadShortcode.php CHANGED
@@ -47,6 +47,12 @@ class RTMediaUploadShortcode {
47
  */
48
  static function pre_render ( $attr ) {
49
  global $post;
 
 
 
 
 
 
50
  if ( isset ( $attr ) && !empty($attr)) {
51
  if ( ! is_array ( $attr ) ) {
52
  $attr = Array( );
@@ -65,7 +71,7 @@ class RTMediaUploadShortcode {
65
  return;
66
  }
67
  ob_start ();
68
-
69
  self::$add_sc_script = true;
70
  RTMediaUploadTemplate::render ( $attr );
71
 
47
  */
48
  static function pre_render ( $attr ) {
49
  global $post;
50
+ global $rtmedia_query;
51
+ if( !isset($attr['is_up_shortcode']) || $attr['is_up_shortcode'] !== false) {
52
+ $rtmedia_query->is_upload_shortcode = true;// set is_upload_shortcode in rtmedia query as true
53
+ } else {
54
+ $rtmedia_query->is_upload_shortcode = false;// set is_upload_shortcode in rtmedia query as true
55
+ }
56
  if ( isset ( $attr ) && !empty($attr)) {
57
  if ( ! is_array ( $attr ) ) {
58
  $attr = Array( );
71
  return;
72
  }
73
  ob_start ();
74
+
75
  self::$add_sc_script = true;
76
  RTMediaUploadTemplate::render ( $attr );
77
 
app/main/controllers/template/RTMediaNav.php CHANGED
@@ -112,8 +112,25 @@ class RTMediaNav {
112
  }
113
 
114
  global $rtmedia, $rtmedia_query;
115
-
116
  $default = false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
117
 
118
  if ( ! isset ( $rtmedia_query->action_query->action ) || empty ( $rtmedia_query->action_query->action ) ) {
119
  $default = true;
@@ -122,23 +139,13 @@ class RTMediaNav {
122
 
123
  $global_album = '';
124
  $albums = '';
125
- if ( isset ( $rtmedia_query->action_query->media_type ) && $rtmedia_query->action_query->media_type == 'album' )
126
- $albums = 'class="current selected"';
 
 
127
  $other_count = 0;
128
  if ( is_rtmedia_album_enable () ) {
129
- if ( function_exists ( 'bp_is_group' ) && bp_is_group () ) {
130
- $link = get_rtmedia_group_link ( bp_get_group_id () );
131
- $model = new RTMediaModel();
132
- $other_count = $model->get_other_album_count ( bp_get_group_id (), "group" );
133
- } else {
134
- if ( function_exists ( 'bp_displayed_user_id' ) && bp_displayed_user_id () ) {
135
- $link = get_rtmedia_user_link ( bp_displayed_user_id () );
136
- } elseif ( get_query_var ( 'author' ) ) {
137
- $link = get_rtmedia_user_link ( get_query_var ( 'author' ) );
138
- }
139
- $model = new RTMediaModel();
140
- $other_count = $model->get_other_album_count ( bp_displayed_user_id (), "profile" );
141
- }
142
  if ( ! isset ( $counts[ 'total' ][ "album" ] ) ) {
143
  $counts[ 'total' ][ "album" ] = 0;
144
  }
@@ -146,7 +153,7 @@ class RTMediaNav {
146
  $counts[ 'total' ][ "album" ] = $counts[ 'total' ][ "album" ] + $other_count;
147
  echo apply_filters ( 'rtmedia_sub_nav_albums', '<li id="rtmedia-nav-item-albums-li" ' . $albums . '><a id="rtmedia-nav-item-albums" href="' . trailingslashit ( $link ) . RTMEDIA_MEDIA_SLUG . '/album/">' . __ ( "Albums", "rtmedia" ) . '<span>' . ((isset ( $counts[ 'total' ][ "album" ] )) ? $counts[ 'total' ][ "album" ] : 0 ) . '</span>' . '</a></li>' );
148
  }
149
-
150
  foreach ( $rtmedia->allowed_types as $type ) {
151
  //print_r($type);
152
  if ( ! $rtmedia->options[ 'allowedTypes_' . $type[ 'name' ] . '_enabled' ] )
@@ -193,7 +200,7 @@ class RTMediaNav {
193
  . $type[ 'plural_label' ] . '<span>' . ((isset ( $counts[ 'total' ][ $type[ 'name' ] ] )) ? $counts[ 'total' ][ $type[ 'name' ] ] : 0) . '</span>' . '</a></li>', $type[ 'name' ]
194
  );
195
  }
196
-
197
  do_action("add_extra_sub_nav");
198
  }
199
 
@@ -274,6 +281,7 @@ class RTMediaNav {
274
 
275
  function process_count ( $media_count, $privacy ) {
276
  $total = array( 'all' => 0 );
 
277
 
278
  foreach ( $media_count as $private => $ind_count ) {
279
  if ( $private <= $privacy ) {
@@ -306,7 +314,7 @@ class RTMediaNav {
306
  function set_privacy ( $profile ) {
307
  if( is_rt_admin () )
308
  return 60;
309
-
310
  $user = $this->visitor_id ();
311
  $privacy = 0;
312
  if ( $user ) {
112
  }
113
 
114
  global $rtmedia, $rtmedia_query;
 
115
  $default = false;
116
+ if ( function_exists ( 'bp_is_group' ) && bp_is_group () ) {
117
+ $link = get_rtmedia_group_link ( bp_get_group_id () );
118
+ $model = new RTMediaModel();
119
+ $other_count = $model->get_other_album_count ( bp_get_group_id (), "group" );
120
+ } else {
121
+ if ( function_exists ( 'bp_displayed_user_id' ) && bp_displayed_user_id () ) {
122
+ $link = get_rtmedia_user_link ( bp_displayed_user_id () );
123
+ } elseif ( get_query_var ( 'author' ) ) {
124
+ $link = get_rtmedia_user_link ( get_query_var ( 'author' ) );
125
+ }
126
+ $model = new RTMediaModel();
127
+ $other_count = $model->get_other_album_count ( bp_displayed_user_id (), "profile" );
128
+ }
129
+ $all = '';
130
+ if ( ! isset ( $rtmedia_query->action_query->media_type )) {
131
+ $all = 'class="current selected"';
132
+ }
133
+ echo apply_filters ( 'rtmedia_sub_nav_all', '<li id="rtmedia-nav-item-all-li" ' . $all . '><a id="rtmedia-nav-item-all" href="' . trailingslashit ( $link ) . RTMEDIA_MEDIA_SLUG . '/">' . __ ( "All", "rtmedia" ) . '<span>' . ((isset ( $counts[ 'total' ][ 'all' ] )) ? $counts[ 'total' ][ 'all' ] : 0 ) . '</span>' . '</a></li>' );
134
 
135
  if ( ! isset ( $rtmedia_query->action_query->action ) || empty ( $rtmedia_query->action_query->action ) ) {
136
  $default = true;
139
 
140
  $global_album = '';
141
  $albums = '';
142
+ if ( isset ( $rtmedia_query->action_query->media_type ) && $rtmedia_query->action_query->media_type == 'album' ) {
143
+ $albums = 'class="current selected"';
144
+ }
145
+
146
  $other_count = 0;
147
  if ( is_rtmedia_album_enable () ) {
148
+
 
 
 
 
 
 
 
 
 
 
 
 
149
  if ( ! isset ( $counts[ 'total' ][ "album" ] ) ) {
150
  $counts[ 'total' ][ "album" ] = 0;
151
  }
153
  $counts[ 'total' ][ "album" ] = $counts[ 'total' ][ "album" ] + $other_count;
154
  echo apply_filters ( 'rtmedia_sub_nav_albums', '<li id="rtmedia-nav-item-albums-li" ' . $albums . '><a id="rtmedia-nav-item-albums" href="' . trailingslashit ( $link ) . RTMEDIA_MEDIA_SLUG . '/album/">' . __ ( "Albums", "rtmedia" ) . '<span>' . ((isset ( $counts[ 'total' ][ "album" ] )) ? $counts[ 'total' ][ "album" ] : 0 ) . '</span>' . '</a></li>' );
155
  }
156
+
157
  foreach ( $rtmedia->allowed_types as $type ) {
158
  //print_r($type);
159
  if ( ! $rtmedia->options[ 'allowedTypes_' . $type[ 'name' ] . '_enabled' ] )
200
  . $type[ 'plural_label' ] . '<span>' . ((isset ( $counts[ 'total' ][ $type[ 'name' ] ] )) ? $counts[ 'total' ][ $type[ 'name' ] ] : 0) . '</span>' . '</a></li>', $type[ 'name' ]
201
  );
202
  }
203
+
204
  do_action("add_extra_sub_nav");
205
  }
206
 
281
 
282
  function process_count ( $media_count, $privacy ) {
283
  $total = array( 'all' => 0 );
284
+ $media_count = !empty( $media_count ) ? $media_count : array();
285
 
286
  foreach ( $media_count as $private => $ind_count ) {
287
  if ( $private <= $privacy ) {
314
  function set_privacy ( $profile ) {
315
  if( is_rt_admin () )
316
  return 60;
317
+
318
  $user = $this->visitor_id ();
319
  $privacy = 0;
320
  if ( $user ) {
app/main/controllers/template/RTMediaTemplate.php CHANGED
@@ -81,6 +81,8 @@ class RTMediaTemplate {
81
 
82
  $this->check_return_comments ();
83
 
 
 
84
  return $this->get_default_template ();
85
  } else if ( ! $shortcode_attr ) {
86
  return $this->get_default_template ();
@@ -196,13 +198,13 @@ class RTMediaTemplate {
196
 
197
  function media_update_success_messege () {
198
  $message = apply_filters ( "rtmedia_update_media_message", "Media updated Sucessfully", false );
199
- $html = "<div class='rtmedia-success media-edit-messge'><p>" . __ ( $message, "rtmedia" ) . "</p></div>";
200
  echo apply_filters ( "rtmedia_update_media_message_html", $html, $message, false );
201
  }
202
 
203
  function media_update_success_error () {
204
  $message = apply_filters ( "rtmedia_update_media_message", "Error in updating Media", true );
205
- $html = "<div class='rtmedia-error media-edit-messge'><p>" . __ ( $message, "rtmedia" ) . "</p></div>";
206
  echo apply_filters ( "rtmedia_update_media_message_html", $html, $message, true );
207
  }
208
 
@@ -239,6 +241,13 @@ class RTMediaTemplate {
239
  }
240
  }
241
  }
 
 
 
 
 
 
 
242
  wp_safe_redirect ( get_rtmedia_permalink ( $rtmedia_query->media_query[ 'album_id' ] ) . 'edit/' );
243
  } else {
244
  echo __ ( "Ooops !!! Invalid access. No nonce was found !!", "rtmedia" );
@@ -387,9 +396,12 @@ class RTMediaTemplate {
387
  global $rtmedia_buddypress_activity;
388
  remove_action ( "bp_activity_comment_posted", array( $rtmedia_buddypress_activity, "comment_sync" ), 10, 2 );
389
  if ( function_exists ( 'bp_activity_new_comment' ) ) {
390
- bp_activity_new_comment ( array( 'content' => $_POST[ 'comment_content' ], 'activity_id' => $result[ 0 ]->activity_id ) );
391
  }
392
  }
 
 
 
393
  if ( isset ( $_POST[ "rtajax" ] ) ) {
394
  global $wpdb;
395
  $comments = $wpdb->get_row ( $wpdb->prepare ( "SELECT * FROM $wpdb->comments WHERE comment_ID = %d", $id ), ARRAY_A );
@@ -401,6 +413,38 @@ class RTMediaTemplate {
401
  }
402
  }
403
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
404
 
405
  /**
406
  * Helper method to fetch allowed media types from each section
@@ -500,14 +544,14 @@ class RTMediaTemplate {
500
  $template = 'media-single-edit';
501
  }else {
502
  return;
503
- }
504
  $template = apply_filters('rtmedia_template_filter',$template);
505
  }
506
 
507
  $context = apply_filters( 'rtmedia_context_filter' , $context );
508
-
509
  $template_name = $template . '.php';
510
-
511
  if ( $context === false ) {
512
  $context = 'media/';
513
  }
@@ -537,9 +581,9 @@ class RTMediaTemplate {
537
  $located = trailingslashit ( RTMEDIA_PATH ) . $ogpath . $template_name;
538
  }
539
  }
540
-
541
  $located = apply_filters('rtmedia_located_template', $located , $url, $ogpath, $template_name );// filter for rtmedia pro
542
  return $located;
543
  }
544
 
545
- }
81
 
82
  $this->check_return_comments ();
83
 
84
+ $this->check_delete_comments ();
85
+
86
  return $this->get_default_template ();
87
  } else if ( ! $shortcode_attr ) {
88
  return $this->get_default_template ();
198
 
199
  function media_update_success_messege () {
200
  $message = apply_filters ( "rtmedia_update_media_message", "Media updated Sucessfully", false );
201
+ $html = "<div class='rtmedia-success media-edit-messge'>" . __ ( $message, "rtmedia" ) . "</div>";
202
  echo apply_filters ( "rtmedia_update_media_message_html", $html, $message, false );
203
  }
204
 
205
  function media_update_success_error () {
206
  $message = apply_filters ( "rtmedia_update_media_message", "Error in updating Media", true );
207
+ $html = "<div class='rtmedia-error media-edit-messge'>" . __ ( $message, "rtmedia" ) . "</div>";
208
  echo apply_filters ( "rtmedia_update_media_message_html", $html, $message, true );
209
  }
210
 
241
  }
242
  }
243
  }
244
+ //refresh
245
+ $rtMediaNav = new RTMediaNav();
246
+ if ( $rtmedia_query->media[ 0 ]->context == "group" ) {
247
+ $rtMediaNav->refresh_counts ( $rtmedia_query->media[ 0 ]->context_id, array( "context" => $rtmedia_query->media[ 0 ]->context, 'context_id' => $rtmedia_query->media[ 0 ]->context_id ) );
248
+ } else {
249
+ $rtMediaNav->refresh_counts ( $rtmedia_query->media[ 0 ]->media_author, array( "context" => "profile", 'media_author' => $rtmedia_query->media[ 0 ]->media_author ) );
250
+ }
251
  wp_safe_redirect ( get_rtmedia_permalink ( $rtmedia_query->media_query[ 'album_id' ] ) . 'edit/' );
252
  } else {
253
  echo __ ( "Ooops !!! Invalid access. No nonce was found !!", "rtmedia" );
396
  global $rtmedia_buddypress_activity;
397
  remove_action ( "bp_activity_comment_posted", array( $rtmedia_buddypress_activity, "comment_sync" ), 10, 2 );
398
  if ( function_exists ( 'bp_activity_new_comment' ) ) {
399
+ $comment_activity_id = bp_activity_new_comment ( array( 'content' => $_POST[ 'comment_content' ], 'activity_id' => $result[ 0 ]->activity_id ) );
400
  }
401
  }
402
+ if(!empty($comment_activity_id)){
403
+ update_comment_meta($id, 'activity_id', $comment_activity_id);
404
+ }
405
  if ( isset ( $_POST[ "rtajax" ] ) ) {
406
  global $wpdb;
407
  $comments = $wpdb->get_row ( $wpdb->prepare ( "SELECT * FROM $wpdb->comments WHERE comment_ID = %d", $id ), ARRAY_A );
413
  }
414
  }
415
  }
416
+ function check_delete_comments () {
417
+ global $rtmedia_query;
418
+
419
+ if ( $rtmedia_query->action_query->action != 'delete-comment' )
420
+ return;
421
+
422
+ if ( count ( $_POST ) ) {
423
+ /**
424
+ * /media/id/delete-comment [POST]
425
+ * Delete Comment by Comment ID
426
+ */
427
+
428
+ if ( empty ( $_POST[ 'comment_id' ] ) ) {
429
+ return false;
430
+ }
431
+ $comment = new RTMediaComment();
432
+ $id = $_POST['comment_id'];
433
+ $activity_id = get_comment_meta($id, 'activity_id',true);
434
+
435
+ if(!empty($activity_id)){
436
+ $activity_deleted = bp_activity_delete_comment ($activity_id, $id);
437
+
438
+ $delete = bp_activity_delete( array( 'id' => $activity_id, 'type' => 'activity_comment' ) );
439
+
440
+ }
441
+ $comment_deleted = $comment->remove ( $id );
442
+
443
+
444
+ echo $comment_deleted;
445
+ exit;
446
+ }
447
+ }
448
 
449
  /**
450
  * Helper method to fetch allowed media types from each section
544
  $template = 'media-single-edit';
545
  }else {
546
  return;
547
+ }
548
  $template = apply_filters('rtmedia_template_filter',$template);
549
  }
550
 
551
  $context = apply_filters( 'rtmedia_context_filter' , $context );
552
+
553
  $template_name = $template . '.php';
554
+
555
  if ( $context === false ) {
556
  $context = 'media/';
557
  }
581
  $located = trailingslashit ( RTMEDIA_PATH ) . $ogpath . $template_name;
582
  }
583
  }
584
+
585
  $located = apply_filters('rtmedia_located_template', $located , $url, $ogpath, $template_name );// filter for rtmedia pro
586
  return $located;
587
  }
588
 
589
+ }
app/main/controllers/template/rt-template-functions.php CHANGED
@@ -1,4 +1,4 @@
1
- <?php
2
 
3
  /**
4
  * Checks at any point of time any media is left to be processed in the db pool
@@ -53,7 +53,12 @@ function get_rtmedia_gallery_title () {
53
  global $rtmedia_query;
54
  $title = '';
55
  if( isset( $rtmedia_query->media_query['media_type'] ) && !is_array( $rtmedia_query->media_query['media_type']) && $rtmedia_query->media_query['media_type'] != "") {
56
- $title = __('All '. $rtmedia_query->media_query['media_type'] . "s" , 'rtmedia');
 
 
 
 
 
57
  return $title;
58
  }
59
  if( isset( $rtmedia_query->query['media_type'] ) && $rtmedia_query->query['media_type'] == "album"
@@ -70,28 +75,40 @@ function get_rtmedia_title($id) {
70
  return $title[0]->media_title;
71
  }
72
 
73
- function rtmedia_author_profile_pic ( $show_link = true ) {
74
  global $rtmedia_backbone;
75
  if ( $rtmedia_backbone[ 'backbone' ] ) {
76
  echo '';
77
  } else {
78
- global $rtmedia_media;
 
 
 
 
79
  $show_link = apply_filters ( "rtmedia_single_media_show_profile_picture_link", $show_link );
 
 
80
  if ( $show_link ) {
81
- echo "<a href='" . get_rtmedia_user_link ( $rtmedia_media->media_author ) . "' title='" . rtmedia_get_author_name ( $rtmedia_media->media_author ) . "'>";
82
  }
83
  $size = apply_filters ( "rtmedia_single_media_profile_picture_size", 90 );
84
  if ( function_exists ( "bp_get_user_has_avatar" ) ) {
85
- if ( bp_core_fetch_avatar ( array( 'item_id' => $rtmedia_media->media_author, 'object' => 'user', 'no_grav' => false, 'html' => false ) ) != bp_core_avatar_default () ) {
86
- echo bp_core_fetch_avatar ( array( 'item_id' => $rtmedia_media->media_author, 'object' => 'user', 'no_grav' => false, 'html' => true, 'width' => $size, 'height' => $size ) );
87
  } else {
88
- echo "<img src='" . bp_core_avatar_default () . "' width='" . $size . "' height='" . $size . "'/>";
89
  }
90
  } else {
91
- echo get_avatar ( $rtmedia_media->media_author, $size );
92
  }
93
  if ( $show_link ) {
94
- echo "</a>";
 
 
 
 
 
 
95
  }
96
  }
97
  }
@@ -268,6 +285,13 @@ function rtmedia_image ( $size = 'rt_media_thumbnail', $id = false ,$recho = tru
268
  } else {
269
  $thumbnail_id = false;
270
  }
 
 
 
 
 
 
 
271
  } else {
272
  $src = false;
273
  }
@@ -303,7 +327,6 @@ function rtmedia_album_image ( $size = 'thumbnail', $id = false) {
303
  $model = new RTMediaModel();
304
  if($id == false){
305
  $id = $rtmedia_media->id;
306
-
307
  }
308
  global $rtmedia_query;
309
  $media = $model->get_media ( array( 'album_id' => $id, 'media_type' => 'photo', 'media_author' => $rtmedia_query->query['context_id'] ), 0, 1 );
@@ -384,7 +407,7 @@ function rtmedia_description_input () {
384
  $html = '';
385
 
386
  if ( rtmedia_request_action () == 'edit' )
387
- $html .= wp_editor ( $value, $name, array( 'media_buttons' => false , 'textarea_rows' => 4, 'quicktags' => false) );
388
  else
389
  $html .= '<div name="' . $name . '" id="' . $name . '">' . $value . '</div>';
390
 
@@ -491,7 +514,7 @@ function rtmedia_actions () {
491
  */
492
  function rtmedia_comments () {
493
 
494
- $html = '<ul id="rtmedia_comment_ul" class="large-block-grid-1">';
495
 
496
  global $wpdb, $rtmedia_media;
497
 
@@ -509,12 +532,27 @@ function rtmedia_comments () {
509
  function rmedia_single_comment ( $comment ) {
510
  $html = "";
511
  $html .= '<li class="rtmedia-comment">';
512
- $html .= '<div class ="rtmedia-comment-author">' . (($comment[ 'comment_author' ]) ? $comment[ 'comment_author' ] : 'Annonymous') . ' ' . __ ( 'said', 'rtmedia' ) . ' : </div>';
513
- $html .= '<div class="rtmedia-comment-content">' . $comment[ 'comment_content' ] . '</div>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
514
  $html .= '<div class ="rtmedia-comment-date"> ' . __ ( 'on', 'rtmedia' ) . ' ' . $comment[ 'comment_date_gmt' ] . '</div>';
515
- // $html .= '<a href></a>';
516
- $html .= '</li>';
517
- return $html;
518
  }
519
 
520
  function rtmedia_pagination_prev_link () {
@@ -570,7 +608,7 @@ function rtmedia_pagination_next_link () {
570
  } else {
571
  //$post = get_post ( $rtmedia_media->post_parent );
572
  $post = get_post ( get_post_field("post_parent", $rtmedia_media->media_id));
573
-
574
  $link .= $site_url . $post->post_name . '/';
575
  }
576
  $link .= RTMEDIA_MEDIA_SLUG . '/';
@@ -791,7 +829,7 @@ function rtmedia_image_editor () {
791
  echo '<div id="imgedit-response-' . $media_id . '"></div>';
792
  echo '<div class="wp_attachment_image" id="media-head-' . $media_id . '">
793
  <p id="thumbnail-head-' . $id . '"><img class="thumbnail" src="' . set_url_scheme ( $thumb_url[ 0 ] ) . '" alt="" /></p>
794
- <p><input type="button" class="rtmedia-image-edit" id="imgedit-open-btn-' . $media_id . '" onclick="imageEdit.open( \'' . $media_id . '\', \'' . $nonce . '\' )" class="button" value="Modifiy Image"> <span class="spinner"></span></p></div>';
795
  echo '</div>';
796
  }
797
 
@@ -855,7 +893,7 @@ function rtmedia_delete_form () {
855
  $html .= '<input type="hidden" name="request_action" id="request_action" value="delete">';
856
  echo $html;
857
  RTMediaMedia::media_nonce_generator ( rtmedia_id (), true );
858
- echo '<button type="submit">' . __ ( 'Delete', 'rtmedia' ) . '</button></form>';
859
  }
860
 
861
  /**
@@ -993,20 +1031,19 @@ function rtmedia_group_album_list () {
993
  return false;
994
  }
995
 
996
- add_action ( 'rtmedia_before_media_gallery', 'rtmedia_create_album' );
997
 
998
- add_action ( 'rtmedia_before_album_gallery', 'rtmedia_create_album' );
999
 
1000
  function rtmedia_create_album () {
1001
- if ( ! is_rtmedia_album_enable () ) {
1002
  return;
1003
  }
1004
  $return = true;
1005
- $return = apply_filters("rtm_is_album_create_enable",$return);
1006
- if( !$return ) {
1007
  return;
1008
  }
1009
-
1010
  global $rtmedia_query;
1011
  $user_id = get_current_user_id ();
1012
  $display = false;
@@ -1028,19 +1065,27 @@ function rtmedia_create_album () {
1028
  }
1029
  if ( $display === true ) {
1030
  ?>
1031
- <button type="button" class="button rtmedia-create-new-album-button"><?php _e ( "Create New Album", "rtmedia" ); ?> </button>
1032
- <div class="rtmedia-create-new-album-container">
1033
- <input type="text" id="rtmedia_album_name" value="" />
1034
- <input type="hidden" id="rtmedia_album_context" value="<?php echo $rtmedia_query->query[ 'context' ]; ?>">
1035
- <input type="hidden" id="rtmedia_album_context_id" value="<?php echo $rtmedia_query->query[ 'context_id' ]; ?>">
1036
- <?php do_action("rtmedia_add_album_privacy"); ?>
1037
- <button type="button" id="rtmedia_create_new_album"><?php _e ( "Create Album", "rtmedia" ); ?>
1038
- </button>
1039
- </div><?php
 
 
 
 
 
 
 
 
1040
  }
1041
  }
1042
 
1043
- add_action ( 'rtmedia_before_media_gallery', 'rtmedia_album_edit' );
1044
 
1045
  function rtmedia_album_edit () {
1046
 
@@ -1050,23 +1095,30 @@ function rtmedia_album_edit () {
1050
  return;
1051
  global $rtmedia_query;
1052
  //var_dump($rtmedia_query);
 
 
 
1053
  if ( isset ( $rtmedia_query->media_query ) && ! in_array ( $rtmedia_query->media_query[ 'album_id' ], get_site_option ( 'rtmedia-global-albums' ) ) ) {
1054
  if ( isset ( $rtmedia_query->media_query[ 'media_author' ] ) && get_current_user_id () == $rtmedia_query->media_query[ 'media_author' ] ) {
1055
  ?>
1056
- <a class="alignleft" href="edit/"><input type="button" class="button rtmedia-edit" value="<?php _e ( 'Edit', 'rtmedia' ); ?>" /></a>
1057
- <form method="post" class="album-delete-form alignleft" action="delete/">
1058
  <?php wp_nonce_field ( 'rtmedia_delete_album_' . $rtmedia_query->media_query[ 'album_id' ], 'rtmedia_delete_album_nonce' ); ?>
1059
- <input type="submit" name="album-delete" value="<?php _e ( 'Delete', 'rtmedia' ); ?>" />
1060
  </form>
1061
  <?php if ( $album_list = rtmedia_user_album_list () ) { ?>
1062
- <input type="button" class="button rtmedia-merge" value="<?php _e ( 'Merge', 'rtmedia' ); ?>" />
1063
- <div class="rtmedia-merge-container">
1064
- <?php _e ( 'Merge to', 'rtmedia' ); ?>
1065
- <form method="post" class="album-merge-form" action="merge/">
1066
- <?php echo '<select name="album" class="rtmedia-merge-user-album-list">' . $album_list . '</select>'; ?>
1067
- <?php wp_nonce_field ( 'rtmedia_merge_album_' . $rtmedia_query->media_query[ 'album_id' ], 'rtmedia_merge_album_nonce' ); ?>
1068
- <input type="submit" class="rtmedia-move-selected" name="merge-album" value="<?php _e ( 'Merge Album', 'rtmedia' ); ?>" />
1069
- </form>
 
 
 
 
1070
  </div>
1071
  <?php
1072
  }
@@ -1260,3 +1312,47 @@ function get_rtmedia_like($media_id = false) {
1260
  }
1261
  return $actions;
1262
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
 
3
  /**
4
  * Checks at any point of time any media is left to be processed in the db pool
53
  global $rtmedia_query;
54
  $title = '';
55
  if( isset( $rtmedia_query->media_query['media_type'] ) && !is_array( $rtmedia_query->media_query['media_type']) && $rtmedia_query->media_query['media_type'] != "") {
56
+
57
+ if($rtmedia_query->media_query['media_type'] == "music") {
58
+ $title = __('All '. $rtmedia_query->media_query['media_type'] , 'rtmedia');
59
+ } else {
60
+ $title = __('All '. $rtmedia_query->media_query['media_type'] . "s" , 'rtmedia');
61
+ }
62
  return $title;
63
  }
64
  if( isset( $rtmedia_query->query['media_type'] ) && $rtmedia_query->query['media_type'] == "album"
75
  return $title[0]->media_title;
76
  }
77
 
78
+ function rtmedia_author_profile_pic ( $show_link = true, $echo = true, $author_id = false ) {
79
  global $rtmedia_backbone;
80
  if ( $rtmedia_backbone[ 'backbone' ] ) {
81
  echo '';
82
  } else {
83
+ if( !$author_id || $author_id == ""){
84
+ global $rtmedia_media;
85
+ $author_id = $rtmedia_media->media_author;
86
+ }
87
+
88
  $show_link = apply_filters ( "rtmedia_single_media_show_profile_picture_link", $show_link );
89
+ $profile_pic = "";
90
+
91
  if ( $show_link ) {
92
+ $profile_pic .= "<a href='" . get_rtmedia_user_link ( $author_id ) . "' title='" . rtmedia_get_author_name ( $author_id ) . "'>";
93
  }
94
  $size = apply_filters ( "rtmedia_single_media_profile_picture_size", 90 );
95
  if ( function_exists ( "bp_get_user_has_avatar" ) ) {
96
+ if ( bp_core_fetch_avatar ( array( 'item_id' => $author_id, 'object' => 'user', 'no_grav' => false, 'html' => false ) ) != bp_core_avatar_default () ) {
97
+ $profile_pic .= bp_core_fetch_avatar ( array( 'item_id' => $author_id, 'object' => 'user', 'no_grav' => false, 'html' => true, 'width' => $size, 'height' => $size ) );
98
  } else {
99
+ $profile_pic .= "<img src='" . bp_core_avatar_default () . "' width='" . $size . "' height='" . $size . "'/>";
100
  }
101
  } else {
102
+ $profile_pic .= get_avatar ( $author_id, $size );
103
  }
104
  if ( $show_link ) {
105
+ $profile_pic .= "</a>";
106
+ }
107
+
108
+ if( $echo ) {
109
+ echo $profile_pic;
110
+ } else {
111
+ return $profile_pic;
112
  }
113
  }
114
  }
285
  } else {
286
  $thumbnail_id = false;
287
  }
288
+ if($media_object->media_type == 'music' && $thumbnail_id == "") {
289
+ $thumbnail_id = get_music_cover_art(get_attached_file($media_object->media_id),$media_object->id);
290
+ }
291
+ if($media_object->media_type == 'music' && $thumbnail_id == "-1") {
292
+ $thumbnail_id = false;
293
+ }
294
+
295
  } else {
296
  $src = false;
297
  }
327
  $model = new RTMediaModel();
328
  if($id == false){
329
  $id = $rtmedia_media->id;
 
330
  }
331
  global $rtmedia_query;
332
  $media = $model->get_media ( array( 'album_id' => $id, 'media_type' => 'photo', 'media_author' => $rtmedia_query->query['context_id'] ), 0, 1 );
407
  $html = '';
408
 
409
  if ( rtmedia_request_action () == 'edit' )
410
+ $html .= wp_editor ( $value, $name, array( 'media_buttons' => false , 'textarea_rows' => 2, 'quicktags' => false) );
411
  else
412
  $html .= '<div name="' . $name . '" id="' . $name . '">' . $value . '</div>';
413
 
514
  */
515
  function rtmedia_comments () {
516
 
517
+ $html = '<ul id="rtmedia_comment_ul" class="large-block-grid-1" data-action="'. get_rtmedia_permalink ( rtmedia_id () ) .'delete-comment/">';
518
 
519
  global $wpdb, $rtmedia_media;
520
 
532
  function rmedia_single_comment ( $comment ) {
533
  $html = "";
534
  $html .= '<li class="rtmedia-comment">';
535
+ if($comment[ 'user_id' ]){
536
+ $user_name = "<a href='" . get_rtmedia_user_link ( $comment['user_id'] ) . "' title='" . rtmedia_get_author_name ( $comment['user_id'] ) . "'>" . rtmedia_get_author_name ( $comment['user_id'] ) . "</a>";
537
+ $profile_pic = rtmedia_author_profile_pic( $show_link = true, $echo = false, $comment['user_id'] );
538
+ } else {
539
+ $user_name = "Annonymous";
540
+ $profile_pic = "";
541
+ }
542
+ if( $profile_pic != "") {
543
+ $html .= "<div class='rtmedia-comment-user-pic'>" . $profile_pic . "</div>";
544
+ }
545
+ $html .= "<div>";
546
+ $html .= '<span class ="rtmedia-comment-author">'
547
+ . '' . $user_name . ' : </span>';
548
+
549
+ if(isset( $comment['user_id'] ) && ( is_rt_admin() || ( get_current_user_id() == $comment['user_id'] )) ){ // show delete button for comment author and admins
550
+ $html .= '<i data-id="' . $comment['comment_ID'] . '" class = "rtmedia-delte-comment icon-remove" title="Delete Comment"></i>';
551
+ }
552
+ $html .= '<span class="rtmedia-comment-content">' . $comment[ 'comment_content' ] . '</span>';
553
  $html .= '<div class ="rtmedia-comment-date"> ' . __ ( 'on', 'rtmedia' ) . ' ' . $comment[ 'comment_date_gmt' ] . '</div>';
554
+ $html .= '</div></li>';
555
+ return apply_filters( 'rtmedia_single_comment', $html, $comment );
 
556
  }
557
 
558
  function rtmedia_pagination_prev_link () {
608
  } else {
609
  //$post = get_post ( $rtmedia_media->post_parent );
610
  $post = get_post ( get_post_field("post_parent", $rtmedia_media->media_id));
611
+
612
  $link .= $site_url . $post->post_name . '/';
613
  }
614
  $link .= RTMEDIA_MEDIA_SLUG . '/';
829
  echo '<div id="imgedit-response-' . $media_id . '"></div>';
830
  echo '<div class="wp_attachment_image" id="media-head-' . $media_id . '">
831
  <p id="thumbnail-head-' . $id . '"><img class="thumbnail" src="' . set_url_scheme ( $thumb_url[ 0 ] ) . '" alt="" /></p>
832
+ <p><input type="button" class="rtmedia-image-edit" id="imgedit-open-btn-' . $media_id . '" onclick="imageEdit.open( \'' . $media_id . '\', \'' . $nonce . '\' )" class="button" value="Modify Image"> <span class="spinner"></span></p></div>';
833
  echo '</div>';
834
  }
835
 
893
  $html .= '<input type="hidden" name="request_action" id="request_action" value="delete">';
894
  echo $html;
895
  RTMediaMedia::media_nonce_generator ( rtmedia_id (), true );
896
+ echo '<button type="submit" class="rtmedia-delete-media">' . __ ( 'Delete', 'rtmedia' ) . '</button></form>';
897
  }
898
 
899
  /**
1031
  return false;
1032
  }
1033
 
1034
+ add_action ( 'rtmedia_media_gallery_actions', 'rtmedia_create_album' );
1035
 
1036
+ add_action ( 'rtmedia_album_gallery_actions', 'rtmedia_create_album' );
1037
 
1038
  function rtmedia_create_album () {
1039
+ if ( ! is_rtmedia_album_enable () ) {
1040
  return;
1041
  }
1042
  $return = true;
1043
+ $return = apply_filters("rtm_is_album_create_enable", $return);
1044
+ if(!$return) {
1045
  return;
1046
  }
 
1047
  global $rtmedia_query;
1048
  $user_id = get_current_user_id ();
1049
  $display = false;
1065
  }
1066
  if ( $display === true ) {
1067
  ?>
1068
+ <i class="rtmedia-reveal-modal icon-plus-sign icon-2x" data-reveal-id="rtmedia-create-album-modal" title="<?php _e ( "Create New Album", "rtmedia" ); ?>"></i>
1069
+ <div class="reveal-modal rtm-modal small" id='rtmedia-create-album-modal'>
1070
+ <div id="rtm-modal-container">
1071
+ <h2 class="rtm-modal-title"><?php _e('Create New Album', 'rtmedia'); ?></h2>
1072
+ <p>
1073
+ <label for="rtmedia_album_name"><?php _e('Album Title : ', 'rtmedia');?></label>
1074
+ <input type="text" id="rtmedia_album_name" value="" class="rtm-input-medium" />
1075
+ <input type="hidden" id="rtmedia_album_context" value="<?php echo $rtmedia_query->query[ 'context' ]; ?>">
1076
+ <input type="hidden" id="rtmedia_album_context_id" value="<?php echo $rtmedia_query->query[ 'context_id' ]; ?>">
1077
+ <button type="button" id="rtmedia_create_new_album"><?php _e ( "Create Album", "rtmedia" ); ?></button>
1078
+ </p>
1079
+ <?php do_action("rtmedia_add_album_privacy"); ?>
1080
+ </div>
1081
+ <a class="close-reveal-modal" >&#215;</a>
1082
+ </div>
1083
+ <div class="reveal-modal-bg" style="display: none"></div>
1084
+ <?php
1085
  }
1086
  }
1087
 
1088
+ add_action ( 'rtmedia_media_gallery_actions', 'rtmedia_album_edit' );
1089
 
1090
  function rtmedia_album_edit () {
1091
 
1095
  return;
1096
  global $rtmedia_query;
1097
  //var_dump($rtmedia_query);
1098
+ ?>
1099
+ <div class="reveal-modal-bg" style="display: none"></div>
1100
+ <?php
1101
  if ( isset ( $rtmedia_query->media_query ) && ! in_array ( $rtmedia_query->media_query[ 'album_id' ], get_site_option ( 'rtmedia-global-albums' ) ) ) {
1102
  if ( isset ( $rtmedia_query->media_query[ 'media_author' ] ) && get_current_user_id () == $rtmedia_query->media_query[ 'media_author' ] ) {
1103
  ?>
1104
+ <a href="edit/" class="icon-edit rtmedia-edit icon-2x" title="<?php _e ( 'Edit', 'rtmedia' ); ?>"></a>
1105
+ <form method="post" class="album-delete-form rtmedia-inline" action="delete/">
1106
  <?php wp_nonce_field ( 'rtmedia_delete_album_' . $rtmedia_query->media_query[ 'album_id' ], 'rtmedia_delete_album_nonce' ); ?>
1107
+ <button type="submit" name="album-delete" class="icon-button icon-2x icon-remove rtmedia-delete-album" title="<?php _e ( 'Delete', 'rtmedia' ); ?>"></button>
1108
  </form>
1109
  <?php if ( $album_list = rtmedia_user_album_list () ) { ?>
1110
+ <i class="icon-code-fork rtmedia-reveal-modal icon-2x" data-reveal-id="rtmedia-merge" title="<?php _e ( 'Merge', 'rtmedia' ); ?>" ></i>
1111
+ <div class="rtmedia-merge-container reveal-modal small rtm-modal" id="rtmedia-merge">
1112
+ <div id="rtm-modal-container">
1113
+ <h2 class="rtm-modal-title"><?php _e ( 'Merge Album', 'rtmedia' ); ?></h2>
1114
+ <form method="post" class="album-merge-form" action="merge/">
1115
+ <?php _e('Select Album to merge with : ','rtmedia'); ?>
1116
+ <?php echo '<select name="album" class="rtmedia-merge-user-album-list">' . $album_list . '</select>'; ?>
1117
+ <?php wp_nonce_field ( 'rtmedia_merge_album_' . $rtmedia_query->media_query[ 'album_id' ], 'rtmedia_merge_album_nonce' ); ?>
1118
+ <input type="submit" class="rtmedia-move-selected" name="merge-album" value="<?php _e ( 'Merge Album', 'rtmedia' ); ?>" />
1119
+ </form>
1120
+ </div>
1121
+ <a class="close-reveal-modal" >&#215;</a>
1122
  </div>
1123
  <?php
1124
  }
1312
  }
1313
  return $actions;
1314
  }
1315
+
1316
+ add_action('rtmedia_media_gallery_actions', 'add_upload_button');
1317
+ add_action('rtmedia_album_gallery_actions', 'add_upload_button');
1318
+ function add_upload_button() {
1319
+ if ( function_exists ( 'bp_is_blog_page' ) && ! bp_is_blog_page () ) {
1320
+ if ( function_exists ( 'bp_is_user' ) && bp_is_user () && function_exists ( 'bp_displayed_user_id' ) && bp_displayed_user_id () == get_current_user_id () )
1321
+ echo '<span class="icon-upload-alt icon-2x" id="rtm_show_upload_ui" title="Upload Media"></span>';
1322
+ else if ( function_exists ( 'bp_is_group' ) && bp_is_group () ) {
1323
+ if ( can_user_upload_in_group () )
1324
+ echo '<span class="icon-upload-alt icon-2x" id="rtm_show_upload_ui" title="Upload Media"></span>';
1325
+ }
1326
+ }
1327
+ }
1328
+
1329
+ //add_action("rtemdia_after_file_upload_before_activity","add_music_cover_art" ,20 ,2);
1330
+ function add_music_cover_art($file_object, $upload_obj) {
1331
+ $mediaObj = new RTMediaMedia();
1332
+ $media = $mediaObj->model->get ( array( 'id' => $upload_obj->media_ids[ 0 ] ) );
1333
+ if ( $media[ 0 ]->media_type == "music" ) {
1334
+ //$cover_art = get_music_cover_art($file_object[0]['file'], $upload_obj->media_ids[ 0 ]);
1335
+ }
1336
+ }
1337
+
1338
+ function get_music_cover_art($file, $id) {
1339
+ $mediaObj = new RTMediaMedia();
1340
+ if ( ! class_exists ( "getID3" ) ) {
1341
+ include_once(trailingslashit ( RTMEDIA_PATH ) . 'lib/getid3/getid3.php');
1342
+ }
1343
+ $getID3 = new getID3;
1344
+ $file_info = $getID3->analyze ( $file );
1345
+ if( isset($file_info['id3v2']['APIC']) && is_array ( $file_info['id3v2']['APIC'] ) && $file_info['id3v2']['APIC'] != "" ) {
1346
+ $title = "cover_art";
1347
+ if(isset($file_info['id3v2']['comments']['title'][0])) {
1348
+ $title = $file_info['id3v2']['comments']['title'][0];
1349
+ }
1350
+ $thumb_upload_info = wp_upload_bits($file_info['id3v2']['comments']['title'][0].".jpeg", null, $file_info['id3v2']['APIC'][0]['data']);
1351
+ if( is_array ( $thumb_upload_info ) && $thumb_upload_info['url'] != "") {
1352
+ $mediaObj->model->update ( array( 'cover_art' => $thumb_upload_info['url'] ), array( 'id' => $id ) );
1353
+ return $thumb_upload_info['url'];
1354
+ }
1355
+ }
1356
+ $mediaObj->model->update ( array( 'cover_art' => "-1" ), array( 'id' => $id ) );
1357
+ return false;
1358
+ }
app/main/controllers/upload/RTMediaUpload.php CHANGED
@@ -43,6 +43,7 @@ class RTMediaUpload {
43
  */
44
  if ($file_object && $uploaded) {
45
  $this->media_ids= $this->media->add($uploaded, $file_object);
 
46
  if ($this->media_ids) {
47
  return true;
48
  } else {
43
  */
44
  if ($file_object && $uploaded) {
45
  $this->media_ids= $this->media->add($uploaded, $file_object);
46
+ do_action("rtemdia_after_file_upload_before_activity", $file_object, $this);
47
  if ($this->media_ids) {
48
  return true;
49
  } else {
app/main/controllers/upload/RTMediaUploadEndpoint.php CHANGED
@@ -39,6 +39,15 @@ class RTMediaUploadEndpoint {
39
  $mediaObj = new RTMediaMedia();
40
  $media = $mediaObj->model->get ( array( 'id' => $rtupload->media_ids[ 0 ] ) );
41
  $rtMediaNav = new RTMediaNav();
 
 
 
 
 
 
 
 
 
42
  if ( $media[ 0 ]->context == "group" ) {
43
  $rtMediaNav->refresh_counts ( $media[ 0 ]->context_id, array( "context" => $media[ 0 ]->context, 'context_id' => $media[ 0 ]->context_id ) );
44
  } else {
@@ -64,7 +73,7 @@ class RTMediaUploadEndpoint {
64
  $wpdb->update ( $bp->activity->table_name, array( "type" => "rtmedia_update", "content" => $objActivity->create_activity_html () ), array( "id" => $activity_id ) );
65
  }
66
  }
67
-
68
  if ( isset ( $_POST[ "redirect" ] ) && is_numeric ( $_POST[ "redirect" ] ) ) {
69
  if ( intval ( $_POST[ "redirect" ] ) > 1 ) {
70
  //bulkurl
@@ -77,7 +86,7 @@ class RTMediaUploadEndpoint {
77
  $redirect_url = get_rtmedia_permalink ( $media[ 0 ]->id );
78
  }
79
  }
80
-
81
  // Ha ha ha
82
  ob_end_clean ();
83
  if ( isset ( $_POST[ "rtmedia_update" ] ) && $_POST[ "rtmedia_update" ] == "true" ) {
@@ -89,7 +98,7 @@ class RTMediaUploadEndpoint {
89
  echo json_encode ( $rtupload->media_ids );
90
  } else {
91
  // Media Upload Case - on album/post/profile/group
92
- $data = array( 'activity_id' => $activity_id, 'redirect_url' => $redirect_url );
93
  if(preg_match('/(?i)msie [1-9]/',$_SERVER['HTTP_USER_AGENT'])) { // if IE(<=9) set content type = text/plain
94
  header ( 'Content-type: text/plain' );
95
  } else {
@@ -97,8 +106,8 @@ class RTMediaUploadEndpoint {
97
  }
98
  echo json_encode ( $data );
99
  }
100
-
101
-
102
  die ();
103
  }
104
  }
39
  $mediaObj = new RTMediaMedia();
40
  $media = $mediaObj->model->get ( array( 'id' => $rtupload->media_ids[ 0 ] ) );
41
  $rtMediaNav = new RTMediaNav();
42
+ $perma_link = get_rtmedia_permalink($rtupload->media_ids[ 0 ]);
43
+ if($media[0]->media_type == "photo") {
44
+ $thumb_image = rtmedia_image("rt_media_thumbnail", $rtupload->media_ids[ 0 ], false);
45
+ } elseif( $media[0]->media_type == "music" ) {
46
+ $thumb_image = $media[0]->cover_art;
47
+ } else {
48
+ $thumb_image = "";
49
+ }
50
+
51
  if ( $media[ 0 ]->context == "group" ) {
52
  $rtMediaNav->refresh_counts ( $media[ 0 ]->context_id, array( "context" => $media[ 0 ]->context, 'context_id' => $media[ 0 ]->context_id ) );
53
  } else {
73
  $wpdb->update ( $bp->activity->table_name, array( "type" => "rtmedia_update", "content" => $objActivity->create_activity_html () ), array( "id" => $activity_id ) );
74
  }
75
  }
76
+
77
  if ( isset ( $_POST[ "redirect" ] ) && is_numeric ( $_POST[ "redirect" ] ) ) {
78
  if ( intval ( $_POST[ "redirect" ] ) > 1 ) {
79
  //bulkurl
86
  $redirect_url = get_rtmedia_permalink ( $media[ 0 ]->id );
87
  }
88
  }
89
+
90
  // Ha ha ha
91
  ob_end_clean ();
92
  if ( isset ( $_POST[ "rtmedia_update" ] ) && $_POST[ "rtmedia_update" ] == "true" ) {
98
  echo json_encode ( $rtupload->media_ids );
99
  } else {
100
  // Media Upload Case - on album/post/profile/group
101
+ $data = array( 'activity_id' => $activity_id, 'redirect_url' => $redirect_url, 'permalink' => $perma_link, 'cover_art' => $thumb_image );
102
  if(preg_match('/(?i)msie [1-9]/',$_SERVER['HTTP_USER_AGENT'])) { // if IE(<=9) set content type = text/plain
103
  header ( 'Content-type: text/plain' );
104
  } else {
106
  }
107
  echo json_encode ( $data );
108
  }
109
+
110
+
111
  die ();
112
  }
113
  }
app/main/controllers/upload/RTMediaUploadView.php CHANGED
@@ -47,16 +47,23 @@ class RTMediaUploadView {
47
  } elseif ( is_rtmedia_album_enable () && $rtmedia_query && is_rtmedia_gallery () ) {
48
 
49
  if ( $rtmedia_query->query[ 'context' ] == 'profile' ) {
50
- $album = '<select name="album" class="rtmedia-user-album-list">' . rtmedia_user_album_list () . '</select>';
51
  }
52
  if ( $rtmedia_query->query[ 'context' ] == 'group' ) {
53
- $album = '<select name="album" class="rtmedia-user-album-list">' . rtmedia_group_album_list () . '</select>';
54
  }
55
  }
 
 
 
 
 
 
56
  $tabs = array(
57
  'file_upload' => array(
58
- 'default' => array( 'title' => __ ( 'File Upload', 'rtmedia' ), 'content' => '<div id="rtmedia-upload-container" ><div id="drag-drop-area" class="drag-drop">' . $album . '<input id="rtMedia-upload-button" value="' . __ ( "Select", "rtmedia" ) . '" type="button" class="rtmedia-upload-input rtmedia-file" /></div><table id="rtMedia-queue-list"><tbody></tbody></table></div>' ),
59
- 'activity' => array( 'title' => __ ( 'File Upload', 'rtmedia' ), 'content' => '<div class="rtmedia-container"><div id="rtmedia-action-update"><input type="button" class="rtmedia-add-media-button" id="rtmedia-add-media-button-post-update" value="' . __ ( "Add Media", "rtmedia" ) . '" /></div><div id="div-attache-rtmedia"><div id="rtmedia-whts-new-upload-container" ><div id="rtmedia-whts-new-drag-drop-area" class="drag-drop"><input id="rtmedia-whts-new-upload-button" value="' . __ ( "Select", "rtmedia" ) . '" type="button" class="rtmedia-upload-input rtmedia-file" /></div><div id="rtMedia-update-queue-list"></div></div></div></div>' )
 
60
  ),
61
  // 'file_upload' => array( 'title' => __('File Upload','rtmedia'), 'content' => '<div id="rtmedia-uploader"><p>Your browser does not have HTML5 support.</p></div>'),
62
  'link_input' => array( 'title' => __ ( 'Insert from URL', 'rtmedia' ), 'content' => '<input type="url" name="bp-media-url" class="rtmedia-upload-input rtmedia-url" />' ),
47
  } elseif ( is_rtmedia_album_enable () && $rtmedia_query && is_rtmedia_gallery () ) {
48
 
49
  if ( $rtmedia_query->query[ 'context' ] == 'profile' ) {
50
+ $album = '<label>Album: </label><select name="album" class="rtmedia-user-album-list">' . rtmedia_user_album_list () . '</select>';
51
  }
52
  if ( $rtmedia_query->query[ 'context' ] == 'group' ) {
53
+ $album = '<label>Album: </label><select name="album" class="rtmedia-user-album-list">' . rtmedia_group_album_list () . '</select>';
54
  }
55
  }
56
+ global $rtmedia_query;
57
+ $up_privacy = ""; //uploader privacy dropdown for uploader under rtMedia Media tab.
58
+ if( is_rtmedia_privacy_enable () && isset( $rtmedia_query->is_upload_shortcode ) && $rtmedia_query->is_upload_shortcode === false) {
59
+ $up_privacy = new RTMediaPrivacy();
60
+ $up_privacy = $up_privacy->select_privacy_ui( false, 'rtSelectPrivacy') ;
61
+ }
62
  $tabs = array(
63
  'file_upload' => array(
64
+ 'default' => array( 'title' => __ ( 'File Upload', 'rtmedia' ), 'content' => '<div id="rtmedia-upload-container" ><div id="drag-drop-area" class="drag-drop">' . $album . $up_privacy . '<input id="rtMedia-upload-button" value="' . __ ( "Select", "rtmedia" ) . '" type="button" class="rtmedia-upload-input rtmedia-file" /></div><table id="rtMedia-queue-list"><tbody></tbody></table></div>' ),
65
+ //'activity' => array( 'title' => __ ( 'File Upload', 'rtmedia' ), 'content' => '<div class="rtmedia-container"><div id="rtmedia-action-update"><input type="button" class="rtmedia-add-media-button" id="rtmedia-add-media-button-post-update" value="' . __ ( "Attach Files", "rtmedia" ) . '" /></div><div id="div-attache-rtmedia"><div id="rtmedia-whts-new-upload-container" ><div id="rtmedia-whts-new-drag-drop-area" class="drag-drop"><input id="rtmedia-whts-new-upload-button" value="' . __ ( "Select", "rtmedia" ) . '" type="button" class="rtmedia-upload-input rtmedia-file" /></div><div id="rtMedia-update-queue-list"></div></div></div></div>' )
66
+ 'activity' => array( 'title' => __ ( 'File Upload', 'rtmedia' ), 'content' => '<div class="rtmedia-container"><div id="rtmedia-action-update"><button class="rtmedia-add-media-button" id="rtmedia-add-media-button-post-update"><i class="icon-plus-sign"></i>' . __ ( " Attach Files ", "rtmedia " ) . '</button>' . $up_privacy . '</div><div id="rtmedia-whts-new-upload-container"><div id="rtm-upload-start-notice"><span>Upload will start as soon as you enter some content to post and click [Post Update] button.</span></div><table id="rtMedia-queue-list"><tbody></tbody></table></div></div>')
67
  ),
68
  // 'file_upload' => array( 'title' => __('File Upload','rtmedia'), 'content' => '<div id="rtmedia-uploader"><p>Your browser does not have HTML5 support.</p></div>'),
69
  'link_input' => array( 'title' => __ ( 'Insert from URL', 'rtmedia' ), 'content' => '<input type="url" name="bp-media-url" class="rtmedia-upload-input rtmedia-url" />' ),
app/main/controllers/upload/processors/RTMediaUploadFile.php CHANGED
@@ -144,7 +144,7 @@ class RTMediaUploadFile {
144
  $allowed_types = array( );
145
  $rtmedia->allowed_types = apply_filters ( 'rtmedia_allowed_types', $rtmedia->allowed_types );
146
  foreach ( $rtmedia->allowed_types as $type ) {
147
- if ( call_user_func ( "is_rtmedia_upload_" . $type[ "name" ] . "_enabled" ) ) {
148
  foreach ( $type[ 'extn' ] as $extn ) {
149
  $allowed_types[ ] = $extn;
150
  }
144
  $allowed_types = array( );
145
  $rtmedia->allowed_types = apply_filters ( 'rtmedia_allowed_types', $rtmedia->allowed_types );
146
  foreach ( $rtmedia->allowed_types as $type ) {
147
+ if ( $type[ 'extn' ] != "" && call_user_func ( "is_rtmedia_upload_" . $type[ "name" ] . "_enabled" ) ) {
148
  foreach ( $type[ 'extn' ] as $extn ) {
149
  $allowed_types[ ] = $extn;
150
  }
app/main/interactions/RTMediaInteraction.php CHANGED
@@ -154,11 +154,14 @@ class RTMediaInteraction {
154
  if ( isset ( $rtmedia_query->query ) && isset ( $rtmedia_query->query[ "media_type" ] ) ) {
155
  if ( $rtmedia_query->query[ "media_type" ] == "album" ) {
156
  if ( isset ( $rtmedia_query->media_query ) && isset ( $rtmedia_query->media_query[ "album_id" ] ) ) {
157
- foreach ( $rtmedia_query->album as $single_album ) {
158
- if ( intval ( $single_album->id ) == intval ( $rtmedia_query->media_query[ "album_id" ] ) ) {
159
- $title .= $sep . ucfirst ( $single_album->media_title );
160
- $sep = $oldSep;
161
- }
 
 
 
162
  }
163
  }
164
  } else {
154
  if ( isset ( $rtmedia_query->query ) && isset ( $rtmedia_query->query[ "media_type" ] ) ) {
155
  if ( $rtmedia_query->query[ "media_type" ] == "album" ) {
156
  if ( isset ( $rtmedia_query->media_query ) && isset ( $rtmedia_query->media_query[ "album_id" ] ) ) {
157
+ //print_r( $rtmedia_query ); die();
158
+ if ( is_array( $rtmedia_query->album ) && count ( $rtmedia_query->album ) > 0 ) {
159
+ foreach ( $rtmedia_query->album as $single_album ) {
160
+ if ( intval ( $single_album->id ) == intval ( $rtmedia_query->media_query[ "album_id" ] ) ) {
161
+ $title .= $sep . ucfirst ( $single_album->media_title );
162
+ $sep = $oldSep;
163
+ }
164
+ }
165
  }
166
  }
167
  } else {
app/main/routers/RTMediaRouter.php CHANGED
@@ -138,10 +138,11 @@ class RTMediaRouter {
138
  if($rt_ajax_request)
139
  return $new_rt_template;
140
  if( function_exists ('bp_set_theme_compat_active'))
141
- bp_set_theme_compat_active( true );
142
  add_filter( 'the_content', array(&$this,'rt_replace_the_content') );
143
  $this ->rt_theme_compat_reset_post();
144
- return $template;
 
145
 
146
  }
147
 
138
  if($rt_ajax_request)
139
  return $new_rt_template;
140
  if( function_exists ('bp_set_theme_compat_active'))
141
+ bp_set_theme_compat_active( apply_filters( 'rtmedia_main_template_set_theme_compat', true ) );
142
  add_filter( 'the_content', array(&$this,'rt_replace_the_content') );
143
  $this ->rt_theme_compat_reset_post();
144
+
145
+ return apply_filters( 'rtmedia_main_template_include', $template, $new_rt_template );
146
 
147
  }
148
 
app/main/routers/query/RTMediaQuery.php CHANGED
@@ -41,10 +41,11 @@ class RTMediaQuery {
41
  *
42
  * @var array The actions recognised for the object
43
  */
44
- public $actions = array(
45
  'edit' => array( 'Edit', false ),
46
  'delete' => array( 'Delete', false ),
47
- 'comment' => array( 'Comment', true )
 
48
  );
49
  public $media = '';
50
  public $media_count = 0;
@@ -224,9 +225,9 @@ class RTMediaQuery {
224
  include get_404_template ();
225
  die ();
226
  }
227
-
228
  do_action('rtmedia_slug_404_handler'); // disbale media type 404 handler
229
-
230
  // requesting nonce /media/nonce/edit/ | /media/nonce/comment
231
  // | /media/nonce/delete
232
 
@@ -534,7 +535,7 @@ class RTMediaQuery {
534
  else
535
  $pre_media = $this->model->{$query_function} ( $context_id, ($this->action_query->page - 1) * $this->action_query->per_page_media, $this->action_query->per_page_media, $order_by );
536
 
537
- $media_for_total_count = $this->model->{$query_function} ( $context_id, false, false );
538
  } else {
539
  /**
540
  * fetch media entries from rtMedia context
@@ -547,10 +548,10 @@ class RTMediaQuery {
547
  /**
548
  * count total medias in album irrespective of pagination
549
  */
550
- $media_for_total_count = $this->model->get_media ( $this->media_query, false, false );
551
  }
552
 
553
- $this->media_count = count ( $media_for_total_count );
554
 
555
  if ( ! $pre_media )
556
  return false;
@@ -833,4 +834,4 @@ class RTMediaQuery {
833
 
834
  }
835
 
836
- ?>
41
  *
42
  * @var array The actions recognised for the object
43
  */
44
+ public $actions = array(
45
  'edit' => array( 'Edit', false ),
46
  'delete' => array( 'Delete', false ),
47
+ 'comment' => array( 'Comment', true ),
48
+ 'delete-comment' => array( 'Comment Deleted', false )
49
  );
50
  public $media = '';
51
  public $media_count = 0;
225
  include get_404_template ();
226
  die ();
227
  }
228
+
229
  do_action('rtmedia_slug_404_handler'); // disbale media type 404 handler
230
+
231
  // requesting nonce /media/nonce/edit/ | /media/nonce/comment
232
  // | /media/nonce/delete
233
 
535
  else
536
  $pre_media = $this->model->{$query_function} ( $context_id, ($this->action_query->page - 1) * $this->action_query->per_page_media, $this->action_query->per_page_media, $order_by );
537
 
538
+ $media_for_total_count = count ( $this->model->{$query_function} ( $context_id, false, false ) );
539
  } else {
540
  /**
541
  * fetch media entries from rtMedia context
548
  /**
549
  * count total medias in album irrespective of pagination
550
  */
551
+ $media_for_total_count = $this->model->get_media ( $this->media_query, false, false, false , true );
552
  }
553
 
554
+ $this->media_count = intval( $media_for_total_count );
555
 
556
  if ( ! $pre_media )
557
  return false;
834
 
835
  }
836
 
837
+ ?>
index.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: rtMedia for WordPress, BuddyPress and bbPress
5
  Plugin URI: http://rtcamp.com/buddypress-media/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
6
  Description: This plugin adds missing media rich features like photos, videos and audio uploading to BuddyPress which are essential if you are building social network, seriously!
7
- Version: 3.1.7
8
  Author: rtCamp
9
  Text Domain: rtmedia
10
  Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
4
  Plugin Name: rtMedia for WordPress, BuddyPress and bbPress
5
  Plugin URI: http://rtcamp.com/buddypress-media/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
6
  Description: This plugin adds missing media rich features like photos, videos and audio uploading to BuddyPress which are essential if you are building social network, seriously!
7
+ Version: 3.2
8
  Author: rtCamp
9
  Text Domain: rtmedia
10
  Author URI: http://rtcamp.com/?utm_source=dashboard&utm_medium=plugin&utm_campaign=buddypress-media
languages/rtmedia-it_IT.mo CHANGED
Binary file
languages/rtmedia-ja_JA.mo CHANGED
Binary file
languages/rtmedia.mo CHANGED
Binary file
languages/rtmedia.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: BuddyPress Media\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-09-17 11:45+0530\n"
6
- "PO-Revision-Date: 2013-09-17 11:46+0530\n"
7
  "Last-Translator: faishal <faishal.saiyed@rtcamp.com>\n"
8
  "Language-Team: rtCamp <info@rtcamp.com>\n"
9
  "Language: en_IN\n"
@@ -19,10 +19,6 @@ msgstr ""
19
  msgid "Media Stats"
20
  msgstr ""
21
 
22
- #: app/admin/RTMediaAdmin.php:107
23
- msgid "s"
24
- msgstr ""
25
-
26
  #: app/admin/RTMediaAdmin.php:117
27
  msgid "Usage Stats"
28
  msgstr ""
@@ -40,6 +36,7 @@ msgid "Comments "
40
  msgstr ""
41
 
42
  #: app/admin/RTMediaAdmin.php:149
 
43
  msgid "Likes"
44
  msgstr ""
45
 
@@ -64,7 +61,7 @@ msgstr ""
64
 
65
  #: app/admin/RTMediaAdmin.php:248 app/admin/RTMediaAdmin.php:251
66
  #: app/admin/RTMediaAdmin.php:338 app/admin/RTMediaAdmin.php:679
67
- #: app/helper/RTMediaSettings.php:101
68
  msgid "Support"
69
  msgstr ""
70
 
@@ -177,7 +174,7 @@ msgid "rtMedia Privacy"
177
  msgstr ""
178
 
179
  #: app/admin/RTMediaAdmin.php:765
180
- #: app/main/controllers/privacy/RTMediaPrivacy.php:255
181
  msgid "Privacy"
182
  msgstr ""
183
 
@@ -276,15 +273,16 @@ msgstr ""
276
  msgid "Video can't be sent to generate thumbnails."
277
  msgstr ""
278
 
279
- #: app/admin/RTMediaFormHandler.php:28 app/admin/RTMediaFormHandler.php:94
 
280
  msgid "Please provide \"value\" in the argument."
281
  msgstr ""
282
 
283
- #: app/admin/RTMediaFormHandler.php:58
284
  msgid "Need to specify atleast to radios else use a checkbox instead"
285
  msgstr ""
286
 
287
- #: app/admin/RTMediaFormHandler.php:121 app/main/RTMedia.php:450
288
  #: app/main/controllers/media/RTMediaAlbum.php:39
289
  #: app/main/controllers/media/RTMediaAlbum.php:51
290
  #: app/main/controllers/template/RTMediaNav.php:84
@@ -292,136 +290,134 @@ msgstr ""
292
  msgid "Albums"
293
  msgstr ""
294
 
295
- #: app/admin/RTMediaFormHandler.php:126
296
  msgid "Enable Albums in rtMedia"
297
  msgstr ""
298
 
299
- #: app/admin/RTMediaFormHandler.php:130
300
  #: app/importers/BPMediaAlbumimporter.php:111
 
301
  msgid "Comments"
302
  msgstr ""
303
 
304
- #: app/admin/RTMediaFormHandler.php:135
305
  msgid "Enable Comments in rtMedia"
306
  msgstr ""
307
 
308
- #: app/admin/RTMediaFormHandler.php:139
309
- msgid "Download Button"
310
- msgstr ""
311
-
312
- #: app/admin/RTMediaFormHandler.php:144
313
- msgid "Display download button under media"
314
- msgstr ""
315
-
316
- #: app/admin/RTMediaFormHandler.php:148
317
  msgid "Lightbox"
318
  msgstr ""
319
 
320
- #: app/admin/RTMediaFormHandler.php:153
321
  msgid "Enable Lighbox on Media"
322
  msgstr ""
323
 
324
- #: app/admin/RTMediaFormHandler.php:157
325
  msgid "Number of Media Per Page"
326
  msgstr ""
327
 
328
- #: app/admin/RTMediaFormHandler.php:175
329
  msgid "Number of Video Thumbnails"
330
  msgstr ""
331
 
332
- #: app/admin/RTMediaFormHandler.php:184
333
  msgid "Admin Bar Menu"
334
  msgstr ""
335
 
336
- #: app/admin/RTMediaFormHandler.php:189
337
  msgid "Enable menu in WordPress admin bar"
338
  msgstr ""
339
 
340
- #: app/admin/RTMediaFormHandler.php:274 app/helper/RTMediaSettings.php:191
341
  msgid "Media Type"
342
  msgstr ""
343
 
344
- #: app/admin/RTMediaFormHandler.php:275
345
  msgid "Allows you to upload a particular media type on your post."
346
  msgstr ""
347
 
348
- #: app/admin/RTMediaFormHandler.php:275
349
  msgid "Allow Upload"
350
  msgstr ""
351
 
352
- #: app/admin/RTMediaFormHandler.php:276
353
  msgid "Put a specific media as a featured content on the post."
354
  msgstr ""
355
 
356
- #: app/admin/RTMediaFormHandler.php:276
 
357
  msgid "Set Featured"
358
  msgstr ""
359
 
360
- #: app/admin/RTMediaFormHandler.php:277
361
  msgid "File extensions that can be uploaded on the website."
362
  msgstr ""
363
 
364
- #: app/admin/RTMediaFormHandler.php:277
365
  msgid "File Extensions"
366
  msgstr ""
367
 
368
- #: app/admin/RTMediaFormHandler.php:336
369
  msgid "Category"
370
  msgstr ""
371
 
372
- #: app/admin/RTMediaFormHandler.php:337
373
  msgid "Entity"
374
  msgstr ""
375
 
376
- #: app/admin/RTMediaFormHandler.php:338
377
  msgid "Width"
378
  msgstr ""
379
 
380
- #: app/admin/RTMediaFormHandler.php:338
381
  msgid "Height"
382
  msgstr ""
383
 
384
- #: app/admin/RTMediaFormHandler.php:338
385
  msgid "Crop"
386
  msgstr ""
387
 
388
- #: app/admin/RTMediaFormHandler.php:381
389
  msgid "Enable Privacy"
390
  msgstr ""
391
 
392
- #: app/admin/RTMediaFormHandler.php:390
393
- #: app/main/controllers/privacy/RTMediaPrivacy.php:238
394
  msgid "Default Privacy"
395
  msgstr ""
396
 
397
- #: app/admin/RTMediaFormHandler.php:399
398
  msgid "User Override"
399
  msgstr ""
400
 
401
- #: app/admin/RTMediaFormHandler.php:438
402
  msgid "Enable Media in Profile"
403
  msgstr ""
404
 
405
- #: app/admin/RTMediaFormHandler.php:443
406
  msgid "Enable Media on BuddyPress Profile"
407
  msgstr ""
408
 
409
- #: app/admin/RTMediaFormHandler.php:447
410
  msgid "Enable Media in Group"
411
  msgstr ""
412
 
413
- #: app/admin/RTMediaFormHandler.php:452
414
  msgid "Enable Media on BuddyPress Groups"
415
  msgstr ""
416
 
417
- #: app/admin/RTMediaFormHandler.php:456
418
  msgid "Enable Media in Activity"
419
  msgstr ""
420
 
421
- #: app/admin/RTMediaFormHandler.php:461
422
  msgid "Enable Media on BuddyPress Activities"
423
  msgstr ""
424
 
 
 
 
 
425
  #: app/helper/RTMediaAddon.php:52
426
  msgid "Audio/Video Encoding"
427
  msgstr ""
@@ -514,69 +510,69 @@ msgstr ""
514
  msgid "Posted "
515
  msgstr ""
516
 
517
- #: app/helper/RTMediaSettings.php:78
518
  msgid "Max Video thumbnail size is "
519
  msgstr ""
520
 
521
- #: app/helper/RTMediaSettings.php:99
522
  msgid "BuddyPress Media Addons for Photos"
523
  msgstr ""
524
 
525
- #: app/helper/RTMediaSettings.php:152
526
  #, php-format
527
  msgid ""
528
  "Currently your network allows uploading of the following file types. You can "
529
  "change the settings <a href=\"%s\">here</a>.<br /><code>%s</code></span>"
530
  msgstr ""
531
 
532
- #: app/helper/RTMediaSettings.php:170 app/helper/RTMediaSettings.php:172
533
  msgid "Recounting of media files done successfully"
534
  msgstr ""
535
 
536
- #: app/helper/RTMediaSettings.php:172
537
  msgid "Recount Success"
538
  msgstr ""
539
 
540
- #: app/helper/RTMediaSettings.php:175 app/helper/RTMediaSettings.php:177
541
  msgid "Recounting Failed"
542
  msgstr ""
543
 
544
- #: app/helper/RTMediaSettings.php:177
545
  msgid "Recount Fail"
546
  msgstr ""
547
 
548
- #: app/helper/RTMediaSettings.php:189 app/helper/RTMediaSettings.php:191
549
  msgid "Atleast one Media Type Must be selected"
550
  msgstr ""
551
 
552
- #: app/helper/RTMediaSettings.php:198 app/helper/RTMediaSettings.php:200
553
  msgid "\"Number of media\" count value should be numeric and greater than 0."
554
  msgstr ""
555
 
556
- #: app/helper/RTMediaSettings.php:200
557
  msgid "Default Count"
558
  msgstr ""
559
 
560
- #: app/helper/RTMediaSettings.php:204
561
  msgid "Settings saved."
562
  msgstr ""
563
 
564
- #: app/helper/RTMediaSettings.php:219
565
  #, php-format
566
  msgid ""
567
  "If you make changes to width, height or crop settings, you must use \"<a "
568
  "href=\"%s\">Regenerate Thumbnail Plugin</a>\" to regenerate old images.\""
569
  msgstr ""
570
 
571
- #: app/helper/RTMediaSettings.php:239
572
  msgid "BuddyPress Media 2.6 requires a database upgrade. "
573
  msgstr ""
574
 
575
- #: app/helper/RTMediaSettings.php:240
576
  msgid "Update Database"
577
  msgstr ""
578
 
579
- #: app/helper/RTMediaSettings.php:248
580
  msgid ""
581
  "If your site has some issues due to BuddyPress Media and you want one on one "
582
  "support then you can create a support topic on the <a target=\"_blank\" href="
@@ -585,134 +581,134 @@ msgid ""
585
  "\">rtCamp Support Forum</a>."
586
  msgstr ""
587
 
588
- #: app/helper/RTMediaSettings.php:249
589
  msgid ""
590
  "If you have any suggestions, enhancements or bug reports, then you can open "
591
  "a new issue on <a target=\"_blank\" href=\"https://github.com/rtCamp/"
592
  "buddypress-media/issues/new\">GitHub</a>."
593
  msgstr ""
594
 
595
- #: app/helper/RTMediaSupport.php:32
596
  msgid "Service"
597
  msgstr ""
598
 
599
- #: app/helper/RTMediaSupport.php:59 app/helper/RTMediaSupport.php:379
600
  msgid "Debug Info"
601
  msgstr ""
602
 
603
- #: app/helper/RTMediaSupport.php:64
604
  msgid "Support Request"
605
  msgstr ""
606
 
607
- #: app/helper/RTMediaSupport.php:110
608
  msgid "by"
609
  msgstr ""
610
 
611
- #: app/helper/RTMediaSupport.php:110
612
  msgid "version"
613
  msgstr ""
614
 
615
- #: app/helper/RTMediaSupport.php:192
616
  msgid "Debug info"
617
  msgstr ""
618
 
619
- #: app/helper/RTMediaSupport.php:223
620
  msgid "Submit a Bug Report"
621
  msgstr ""
622
 
623
- #: app/helper/RTMediaSupport.php:226
624
  msgid "Submit a New Feature Request"
625
  msgstr ""
626
 
627
- #: app/helper/RTMediaSupport.php:229
628
  msgid "Submit a Premium Support Request"
629
  msgstr ""
630
 
631
- #: app/helper/RTMediaSupport.php:237
632
  msgid "Name"
633
  msgstr ""
634
 
635
- #: app/helper/RTMediaSupport.php:240
636
  msgid "Email"
637
  msgstr ""
638
 
639
- #: app/helper/RTMediaSupport.php:243
640
  msgid "Website"
641
  msgstr ""
642
 
643
- #: app/helper/RTMediaSupport.php:246
644
  msgid "Phone"
645
  msgstr ""
646
 
647
- #: app/helper/RTMediaSupport.php:249
648
  msgid "Subject"
649
  msgstr ""
650
 
651
- #: app/helper/RTMediaSupport.php:252
652
  msgid "Details"
653
  msgstr ""
654
 
655
- #: app/helper/RTMediaSupport.php:263
656
  msgid "Additional Information"
657
  msgstr ""
658
 
659
- #: app/helper/RTMediaSupport.php:268
660
  msgid "Your WP Admin Login:"
661
  msgstr ""
662
 
663
- #: app/helper/RTMediaSupport.php:271
664
  msgid "Your WP Admin password:"
665
  msgstr ""
666
 
667
- #: app/helper/RTMediaSupport.php:274
668
  msgid "Your SSH / FTP host:"
669
  msgstr ""
670
 
671
- #: app/helper/RTMediaSupport.php:277
672
  msgid "Your SSH / FTP login:"
673
  msgstr ""
674
 
675
- #: app/helper/RTMediaSupport.php:280
676
  msgid "Your SSH / FTP password:"
677
  msgstr ""
678
 
679
- #: app/helper/RTMediaSupport.php:309
680
  msgid "rtMedia Premium Support Request from"
681
  msgstr ""
682
 
683
- #: app/helper/RTMediaSupport.php:312
684
  msgid "rtMedia New Feature Request from"
685
  msgstr ""
686
 
687
- #: app/helper/RTMediaSupport.php:315
688
  msgid "rtMedia Bug Report from"
689
  msgstr ""
690
 
691
- #: app/helper/RTMediaSupport.php:318
692
  msgid "rtMedia Contact from"
693
  msgstr ""
694
 
695
- #: app/helper/RTMediaSupport.php:402
696
  msgid "Thank you for your Feedback/Suggestion."
697
  msgstr ""
698
 
699
- #: app/helper/RTMediaSupport.php:404
700
  msgid "Thank you for posting your support request."
701
  msgstr ""
702
 
703
- #: app/helper/RTMediaSupport.php:405
704
  msgid "We will get back to you shortly."
705
  msgstr ""
706
 
707
- #: app/helper/RTMediaSupport.php:410
708
  msgid "Your server failed to send an email."
709
  msgstr ""
710
 
711
- #: app/helper/RTMediaSupport.php:411
712
  msgid "Kindly contact your server support to fix this."
713
  msgstr ""
714
 
715
- #: app/helper/RTMediaSupport.php:412
716
  #, php-format
717
  msgid "You can alternatively create a support request <a href=\"%s\">here</a>"
718
  msgstr ""
@@ -775,7 +771,7 @@ msgstr ""
775
  msgid "Users"
776
  msgstr ""
777
 
778
- #: app/importers/BPMediaAlbumimporter.php:91 app/main/RTMedia.php:432
779
  msgid "Media"
780
  msgstr ""
781
 
@@ -890,81 +886,81 @@ msgstr ""
890
  msgid "Music"
891
  msgstr ""
892
 
893
- #: app/main/RTMedia.php:282
894
  msgid "<strong>Private</strong> - Visible only to the user"
895
  msgstr ""
896
 
897
- #: app/main/RTMedia.php:283
898
  msgid "<strong>Friends</strong> - Visible to user's friends"
899
  msgstr ""
900
 
901
- #: app/main/RTMedia.php:284
902
  msgid "<strong>Users</strong> - Visible to registered users"
903
  msgstr ""
904
 
905
- #: app/main/RTMedia.php:285
906
  msgid "<strong>Public</strong> - Visible to the world"
907
  msgstr ""
908
 
909
- #: app/main/RTMedia.php:438
910
  msgid "All"
911
  msgstr ""
912
 
913
- #: app/main/RTMedia.php:447 app/main/controllers/media/RTMediaAlbum.php:40
914
  msgid "Album"
915
  msgstr ""
916
 
917
- #: app/main/RTMedia.php:458
918
  msgid "Upload"
919
  msgstr ""
920
 
921
- #: app/main/RTMedia.php:462
922
  msgid "Wall Post"
923
  msgstr ""
924
 
925
- #: app/main/RTMedia.php:654
926
  msgid "Wall Posts"
927
  msgstr ""
928
 
929
  #: app/main/controllers/group/RTMediaGroupExtension.php:23
930
- #: app/main/controllers/group/RTMediaGroupExtension.php:72
931
  msgid "Album Creation Control"
932
  msgstr ""
933
 
934
  #: app/main/controllers/group/RTMediaGroupExtension.php:24
935
- #: app/main/controllers/group/RTMediaGroupExtension.php:73
936
  msgid "Who can create Albums in this group?"
937
  msgstr ""
938
 
939
  #: app/main/controllers/group/RTMediaGroupExtension.php:28
940
- #: app/main/controllers/group/RTMediaGroupExtension.php:77
941
  msgid "All Group Members"
942
  msgstr ""
943
 
944
  #: app/main/controllers/group/RTMediaGroupExtension.php:32
945
- #: app/main/controllers/group/RTMediaGroupExtension.php:81
946
  msgid "Group Admins and Mods only"
947
  msgstr ""
948
 
949
  #: app/main/controllers/group/RTMediaGroupExtension.php:36
950
- #: app/main/controllers/group/RTMediaGroupExtension.php:85
951
  msgid "Group Admin only"
952
  msgstr ""
953
 
954
- #: app/main/controllers/group/RTMediaGroupExtension.php:89
955
- #: app/main/controllers/privacy/RTMediaPrivacy.php:248
956
  msgid "Save Changes"
957
  msgstr ""
958
 
959
- #: app/main/controllers/group/RTMediaGroupExtension.php:118
960
  msgid "There was an error saving, please try again"
961
  msgstr ""
962
 
963
- #: app/main/controllers/group/RTMediaGroupExtension.php:120
964
  msgid "Settings saved successfully"
965
  msgstr ""
966
 
967
- #: app/main/controllers/group/RTMediaGroupExtension.php:140
968
  msgid ""
969
  "You could display a small snippet of information from your group extension "
970
  "here. It will show on the group\n"
@@ -976,7 +972,7 @@ msgid "Create"
976
  msgstr ""
977
 
978
  #: app/main/controllers/media/RTMediaAlbum.php:42
979
- #: app/main/controllers/template/rt-template-functions.php:1012
980
  msgid "Create Album"
981
  msgstr ""
982
 
@@ -1008,69 +1004,79 @@ msgstr ""
1008
  msgid "No album found in Trash"
1009
  msgstr ""
1010
 
1011
- #: app/main/controllers/media/RTMediaMedia.php:380
1012
- msgid "Error creating attachment for the media file, please try again"
1013
  msgstr ""
1014
 
1015
- #: app/main/controllers/media/RTMediaMedia.php:481
1016
- msgid "%s added a %s"
1017
- msgid_plural "%s added %d %s."
1018
- msgstr[0] ""
1019
- msgstr[1] ""
 
 
 
 
 
 
1020
 
1021
  #: app/main/controllers/shortcodes/RTMediaUploadShortcode.php:64
1022
  msgid "The web browser on your device cannot be used to upload files."
1023
  msgstr ""
1024
 
1025
- #: app/main/controllers/template/rt-template-functions.php:449
1026
- #: app/main/controllers/template/rt-template-functions.php:1031
 
 
 
 
1027
  msgid "Edit"
1028
  msgstr ""
1029
 
1030
- #: app/main/controllers/template/rt-template-functions.php:490
1031
  msgid "said"
1032
  msgstr ""
1033
 
1034
- #: app/main/controllers/template/rt-template-functions.php:492
1035
  msgid "on"
1036
  msgstr ""
1037
 
1038
- #: app/main/controllers/template/rt-template-functions.php:801
1039
  msgid "Type Comment..."
1040
  msgstr ""
1041
 
1042
- #: app/main/controllers/template/rt-template-functions.php:804
1043
  msgid "Comment"
1044
  msgstr ""
1045
 
1046
- #: app/main/controllers/template/rt-template-functions.php:834
1047
- #: app/main/controllers/template/rt-template-functions.php:1034
1048
  msgid "Delete"
1049
  msgstr ""
1050
 
1051
- #: app/main/controllers/template/rt-template-functions.php:932
1052
  msgid "Profile Albums"
1053
  msgstr ""
1054
 
1055
- #: app/main/controllers/template/rt-template-functions.php:934
1056
- #: app/main/controllers/template/rt-template-functions.php:965
1057
  msgid "Group Albums"
1058
  msgstr ""
1059
 
1060
- #: app/main/controllers/template/rt-template-functions.php:1007
1061
  msgid "Create New Album"
1062
  msgstr ""
1063
 
1064
- #: app/main/controllers/template/rt-template-functions.php:1037
1065
- #: app/main/controllers/template/rt-template-functions.php:1068
1066
  msgid "Merge"
1067
  msgstr ""
1068
 
1069
- #: app/main/controllers/template/rt-template-functions.php:1039
1070
  msgid "Merge to"
1071
  msgstr ""
1072
 
1073
- #: app/main/controllers/template/rt-template-functions.php:1043
1074
  msgid "Merge Album"
1075
  msgstr ""
1076
 
@@ -1078,9 +1084,9 @@ msgstr ""
1078
  msgid "Invalid attribute passed for rtmedia_gallery shortcode."
1079
  msgstr ""
1080
 
1081
- #: app/main/controllers/template/RTMediaTemplate.php:184
1082
- #: app/main/controllers/template/RTMediaTemplate.php:235
1083
- #: app/main/controllers/template/RTMediaTemplate.php:308
1084
  msgid "Ooops !!! Invalid access. No nonce was found !!"
1085
  msgstr ""
1086
 
@@ -1346,63 +1352,78 @@ msgid "Album Gallery"
1346
  msgstr ""
1347
 
1348
  #: templates/media/album-gallery.php:29
1349
- #: templates/media/album-single-edit.php:60
1350
- #: templates/media/media-gallery.php:30
1351
  msgid "Prev"
1352
  msgstr ""
1353
 
1354
  #: templates/media/album-gallery.php:38
1355
- #: templates/media/album-single-edit.php:69
1356
- #: templates/media/media-gallery.php:39
1357
  msgid "Next"
1358
  msgstr ""
1359
 
1360
- #: templates/media/album-gallery.php:43 templates/media/media-gallery.php:42
1361
- #: templates/media/media-single-edit.php:45
1362
  #: templates/media/media-single.php:47
1363
  msgid "Oops !! There's no media found for the request !!"
1364
  msgstr ""
1365
 
1366
- #: templates/media/media-single.php:36
1367
- msgid "Comments"
1368
  msgstr ""
1369
 
1370
- #: templates/media/album-single-edit.php:27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1371
  msgid "Select All Visible"
1372
  msgstr ""
1373
 
1374
- #: templates/media/album-single-edit.php:28
1375
  msgid "Unselect All Visible"
1376
  msgstr ""
1377
 
1378
- #: templates/media/album-single-edit.php:30
1379
  msgid "Move"
1380
  msgstr ""
1381
 
1382
- #: templates/media/album-single-edit.php:31
1383
  msgid "Delete Selected"
1384
  msgstr ""
1385
 
1386
- #: templates/media/album-single-edit.php:34
1387
  msgid "Move selected media to"
1388
  msgstr ""
1389
 
1390
- #: templates/media/album-single-edit.php:72
1391
  msgid "The album is empty."
1392
  msgstr ""
1393
 
1394
- #: templates/media/media-gallery.php:6
1395
  msgid "Media Gallery"
1396
  msgstr ""
1397
 
1398
- #: templates/media/media-single-edit.php:30
1399
- msgid "Save"
1400
  msgstr ""
1401
 
1402
- #: templates/media/media-single-edit.php:31
1403
  msgid "Back"
1404
  msgstr ""
1405
 
1406
- #: templates/media/media-single-edit.php:40
1407
  msgid "Oops !! You do not have rights to edit this media"
1408
  msgstr ""
2
  msgstr ""
3
  "Project-Id-Version: BuddyPress Media\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-10-01 23:35+0530\n"
6
+ "PO-Revision-Date: 2013-10-01 23:36+0530\n"
7
  "Last-Translator: faishal <faishal.saiyed@rtcamp.com>\n"
8
  "Language-Team: rtCamp <info@rtcamp.com>\n"
9
  "Language: en_IN\n"
19
  msgid "Media Stats"
20
  msgstr ""
21
 
 
 
 
 
22
  #: app/admin/RTMediaAdmin.php:117
23
  msgid "Usage Stats"
24
  msgstr ""
36
  msgstr ""
37
 
38
  #: app/admin/RTMediaAdmin.php:149
39
+ #: app/main/controllers/media/RTMediaLike.php:18
40
  msgid "Likes"
41
  msgstr ""
42
 
61
 
62
  #: app/admin/RTMediaAdmin.php:248 app/admin/RTMediaAdmin.php:251
63
  #: app/admin/RTMediaAdmin.php:338 app/admin/RTMediaAdmin.php:679
64
+ #: app/helper/RTMediaSettings.php:102
65
  msgid "Support"
66
  msgstr ""
67
 
174
  msgstr ""
175
 
176
  #: app/admin/RTMediaAdmin.php:765
177
+ #: app/main/controllers/privacy/RTMediaPrivacy.php:258
178
  msgid "Privacy"
179
  msgstr ""
180
 
273
  msgid "Video can't be sent to generate thumbnails."
274
  msgstr ""
275
 
276
+ #: app/admin/RTMediaFormHandler.php:56 app/admin/RTMediaFormHandler.php:83
277
+ #: app/admin/RTMediaFormHandler.php:149
278
  msgid "Please provide \"value\" in the argument."
279
  msgstr ""
280
 
281
+ #: app/admin/RTMediaFormHandler.php:113
282
  msgid "Need to specify atleast to radios else use a checkbox instead"
283
  msgstr ""
284
 
285
+ #: app/admin/RTMediaFormHandler.php:176 app/main/RTMedia.php:451
286
  #: app/main/controllers/media/RTMediaAlbum.php:39
287
  #: app/main/controllers/media/RTMediaAlbum.php:51
288
  #: app/main/controllers/template/RTMediaNav.php:84
290
  msgid "Albums"
291
  msgstr ""
292
 
293
+ #: app/admin/RTMediaFormHandler.php:182
294
  msgid "Enable Albums in rtMedia"
295
  msgstr ""
296
 
297
+ #: app/admin/RTMediaFormHandler.php:186
298
  #: app/importers/BPMediaAlbumimporter.php:111
299
+ #: templates/media/media-single.php:36
300
  msgid "Comments"
301
  msgstr ""
302
 
303
+ #: app/admin/RTMediaFormHandler.php:191
304
  msgid "Enable Comments in rtMedia"
305
  msgstr ""
306
 
307
+ #: app/admin/RTMediaFormHandler.php:196
 
 
 
 
 
 
 
 
308
  msgid "Lightbox"
309
  msgstr ""
310
 
311
+ #: app/admin/RTMediaFormHandler.php:201
312
  msgid "Enable Lighbox on Media"
313
  msgstr ""
314
 
315
+ #: app/admin/RTMediaFormHandler.php:206
316
  msgid "Number of Media Per Page"
317
  msgstr ""
318
 
319
+ #: app/admin/RTMediaFormHandler.php:225
320
  msgid "Number of Video Thumbnails"
321
  msgstr ""
322
 
323
+ #: app/admin/RTMediaFormHandler.php:235
324
  msgid "Admin Bar Menu"
325
  msgstr ""
326
 
327
+ #: app/admin/RTMediaFormHandler.php:240
328
  msgid "Enable menu in WordPress admin bar"
329
  msgstr ""
330
 
331
+ #: app/admin/RTMediaFormHandler.php:333 app/helper/RTMediaSettings.php:192
332
  msgid "Media Type"
333
  msgstr ""
334
 
335
+ #: app/admin/RTMediaFormHandler.php:334
336
  msgid "Allows you to upload a particular media type on your post."
337
  msgstr ""
338
 
339
+ #: app/admin/RTMediaFormHandler.php:334
340
  msgid "Allow Upload"
341
  msgstr ""
342
 
343
+ #: app/admin/RTMediaFormHandler.php:335
344
  msgid "Put a specific media as a featured content on the post."
345
  msgstr ""
346
 
347
+ #: app/admin/RTMediaFormHandler.php:335
348
+ #: app/main/controllers/media/RTMediaFeatured.php:25
349
  msgid "Set Featured"
350
  msgstr ""
351
 
352
+ #: app/admin/RTMediaFormHandler.php:336
353
  msgid "File extensions that can be uploaded on the website."
354
  msgstr ""
355
 
356
+ #: app/admin/RTMediaFormHandler.php:336
357
  msgid "File Extensions"
358
  msgstr ""
359
 
360
+ #: app/admin/RTMediaFormHandler.php:400
361
  msgid "Category"
362
  msgstr ""
363
 
364
+ #: app/admin/RTMediaFormHandler.php:401
365
  msgid "Entity"
366
  msgstr ""
367
 
368
+ #: app/admin/RTMediaFormHandler.php:402
369
  msgid "Width"
370
  msgstr ""
371
 
372
+ #: app/admin/RTMediaFormHandler.php:402
373
  msgid "Height"
374
  msgstr ""
375
 
376
+ #: app/admin/RTMediaFormHandler.php:402
377
  msgid "Crop"
378
  msgstr ""
379
 
380
+ #: app/admin/RTMediaFormHandler.php:445
381
  msgid "Enable Privacy"
382
  msgstr ""
383
 
384
+ #: app/admin/RTMediaFormHandler.php:454
385
+ #: app/main/controllers/privacy/RTMediaPrivacy.php:241
386
  msgid "Default Privacy"
387
  msgstr ""
388
 
389
+ #: app/admin/RTMediaFormHandler.php:463
390
  msgid "User Override"
391
  msgstr ""
392
 
393
+ #: app/admin/RTMediaFormHandler.php:502
394
  msgid "Enable Media in Profile"
395
  msgstr ""
396
 
397
+ #: app/admin/RTMediaFormHandler.php:507
398
  msgid "Enable Media on BuddyPress Profile"
399
  msgstr ""
400
 
401
+ #: app/admin/RTMediaFormHandler.php:511
402
  msgid "Enable Media in Group"
403
  msgstr ""
404
 
405
+ #: app/admin/RTMediaFormHandler.php:516
406
  msgid "Enable Media on BuddyPress Groups"
407
  msgstr ""
408
 
409
+ #: app/admin/RTMediaFormHandler.php:520
410
  msgid "Enable Media in Activity"
411
  msgstr ""
412
 
413
+ #: app/admin/RTMediaFormHandler.php:525
414
  msgid "Enable Media on BuddyPress Activities"
415
  msgstr ""
416
 
417
+ #: app/admin/RTMediaFormHandler.php:530 app/admin/RTMediaFormHandler.php:535
418
+ msgid "Limit items posted in activity feed"
419
+ msgstr ""
420
+
421
  #: app/helper/RTMediaAddon.php:52
422
  msgid "Audio/Video Encoding"
423
  msgstr ""
510
  msgid "Posted "
511
  msgstr ""
512
 
513
+ #: app/helper/RTMediaSettings.php:79
514
  msgid "Max Video thumbnail size is "
515
  msgstr ""
516
 
517
+ #: app/helper/RTMediaSettings.php:100
518
  msgid "BuddyPress Media Addons for Photos"
519
  msgstr ""
520
 
521
+ #: app/helper/RTMediaSettings.php:153
522
  #, php-format
523
  msgid ""
524
  "Currently your network allows uploading of the following file types. You can "
525
  "change the settings <a href=\"%s\">here</a>.<br /><code>%s</code></span>"
526
  msgstr ""
527
 
528
+ #: app/helper/RTMediaSettings.php:171 app/helper/RTMediaSettings.php:173
529
  msgid "Recounting of media files done successfully"
530
  msgstr ""
531
 
532
+ #: app/helper/RTMediaSettings.php:173
533
  msgid "Recount Success"
534
  msgstr ""
535
 
536
+ #: app/helper/RTMediaSettings.php:176 app/helper/RTMediaSettings.php:178
537
  msgid "Recounting Failed"
538
  msgstr ""
539
 
540
+ #: app/helper/RTMediaSettings.php:178
541
  msgid "Recount Fail"
542
  msgstr ""
543
 
544
+ #: app/helper/RTMediaSettings.php:190 app/helper/RTMediaSettings.php:192
545
  msgid "Atleast one Media Type Must be selected"
546
  msgstr ""
547
 
548
+ #: app/helper/RTMediaSettings.php:199 app/helper/RTMediaSettings.php:201
549
  msgid "\"Number of media\" count value should be numeric and greater than 0."
550
  msgstr ""
551
 
552
+ #: app/helper/RTMediaSettings.php:201
553
  msgid "Default Count"
554
  msgstr ""
555
 
556
+ #: app/helper/RTMediaSettings.php:205
557
  msgid "Settings saved."
558
  msgstr ""
559
 
560
+ #: app/helper/RTMediaSettings.php:220
561
  #, php-format
562
  msgid ""
563
  "If you make changes to width, height or crop settings, you must use \"<a "
564
  "href=\"%s\">Regenerate Thumbnail Plugin</a>\" to regenerate old images.\""
565
  msgstr ""
566
 
567
+ #: app/helper/RTMediaSettings.php:240
568
  msgid "BuddyPress Media 2.6 requires a database upgrade. "
569
  msgstr ""
570
 
571
+ #: app/helper/RTMediaSettings.php:241
572
  msgid "Update Database"
573
  msgstr ""
574
 
575
+ #: app/helper/RTMediaSettings.php:249
576
  msgid ""
577
  "If your site has some issues due to BuddyPress Media and you want one on one "
578
  "support then you can create a support topic on the <a target=\"_blank\" href="
581
  "\">rtCamp Support Forum</a>."
582
  msgstr ""
583
 
584
+ #: app/helper/RTMediaSettings.php:250
585
  msgid ""
586
  "If you have any suggestions, enhancements or bug reports, then you can open "
587
  "a new issue on <a target=\"_blank\" href=\"https://github.com/rtCamp/"
588
  "buddypress-media/issues/new\">GitHub</a>."
589
  msgstr ""
590
 
591
+ #: app/helper/RTMediaSupport.php:36
592
  msgid "Service"
593
  msgstr ""
594
 
595
+ #: app/helper/RTMediaSupport.php:63 app/helper/RTMediaSupport.php:383
596
  msgid "Debug Info"
597
  msgstr ""
598
 
599
+ #: app/helper/RTMediaSupport.php:68
600
  msgid "Support Request"
601
  msgstr ""
602
 
603
+ #: app/helper/RTMediaSupport.php:114
604
  msgid "by"
605
  msgstr ""
606
 
607
+ #: app/helper/RTMediaSupport.php:114
608
  msgid "version"
609
  msgstr ""
610
 
611
+ #: app/helper/RTMediaSupport.php:196
612
  msgid "Debug info"
613
  msgstr ""
614
 
615
+ #: app/helper/RTMediaSupport.php:227
616
  msgid "Submit a Bug Report"
617
  msgstr ""
618
 
619
+ #: app/helper/RTMediaSupport.php:230
620
  msgid "Submit a New Feature Request"
621
  msgstr ""
622
 
623
+ #: app/helper/RTMediaSupport.php:233
624
  msgid "Submit a Premium Support Request"
625
  msgstr ""
626
 
627
+ #: app/helper/RTMediaSupport.php:241
628
  msgid "Name"
629
  msgstr ""
630
 
631
+ #: app/helper/RTMediaSupport.php:244
632
  msgid "Email"
633
  msgstr ""
634
 
635
+ #: app/helper/RTMediaSupport.php:247
636
  msgid "Website"
637
  msgstr ""
638
 
639
+ #: app/helper/RTMediaSupport.php:250
640
  msgid "Phone"
641
  msgstr ""
642
 
643
+ #: app/helper/RTMediaSupport.php:253
644
  msgid "Subject"
645
  msgstr ""
646
 
647
+ #: app/helper/RTMediaSupport.php:256
648
  msgid "Details"
649
  msgstr ""
650
 
651
+ #: app/helper/RTMediaSupport.php:267
652
  msgid "Additional Information"
653
  msgstr ""
654
 
655
+ #: app/helper/RTMediaSupport.php:272
656
  msgid "Your WP Admin Login:"
657
  msgstr ""
658
 
659
+ #: app/helper/RTMediaSupport.php:275
660
  msgid "Your WP Admin password:"
661
  msgstr ""
662
 
663
+ #: app/helper/RTMediaSupport.php:278
664
  msgid "Your SSH / FTP host:"
665
  msgstr ""
666
 
667
+ #: app/helper/RTMediaSupport.php:281
668
  msgid "Your SSH / FTP login:"
669
  msgstr ""
670
 
671
+ #: app/helper/RTMediaSupport.php:284
672
  msgid "Your SSH / FTP password:"
673
  msgstr ""
674
 
675
+ #: app/helper/RTMediaSupport.php:313
676
  msgid "rtMedia Premium Support Request from"
677
  msgstr ""
678
 
679
+ #: app/helper/RTMediaSupport.php:316
680
  msgid "rtMedia New Feature Request from"
681
  msgstr ""
682
 
683
+ #: app/helper/RTMediaSupport.php:319
684
  msgid "rtMedia Bug Report from"
685
  msgstr ""
686
 
687
+ #: app/helper/RTMediaSupport.php:322
688
  msgid "rtMedia Contact from"
689
  msgstr ""
690
 
691
+ #: app/helper/RTMediaSupport.php:406
692
  msgid "Thank you for your Feedback/Suggestion."
693
  msgstr ""
694
 
695
+ #: app/helper/RTMediaSupport.php:408
696
  msgid "Thank you for posting your support request."
697
  msgstr ""
698
 
699
+ #: app/helper/RTMediaSupport.php:409
700
  msgid "We will get back to you shortly."
701
  msgstr ""
702
 
703
+ #: app/helper/RTMediaSupport.php:414
704
  msgid "Your server failed to send an email."
705
  msgstr ""
706
 
707
+ #: app/helper/RTMediaSupport.php:415
708
  msgid "Kindly contact your server support to fix this."
709
  msgstr ""
710
 
711
+ #: app/helper/RTMediaSupport.php:416
712
  #, php-format
713
  msgid "You can alternatively create a support request <a href=\"%s\">here</a>"
714
  msgstr ""
771
  msgid "Users"
772
  msgstr ""
773
 
774
+ #: app/importers/BPMediaAlbumimporter.php:91 app/main/RTMedia.php:433
775
  msgid "Media"
776
  msgstr ""
777
 
886
  msgid "Music"
887
  msgstr ""
888
 
889
+ #: app/main/RTMedia.php:283
890
  msgid "<strong>Private</strong> - Visible only to the user"
891
  msgstr ""
892
 
893
+ #: app/main/RTMedia.php:284
894
  msgid "<strong>Friends</strong> - Visible to user's friends"
895
  msgstr ""
896
 
897
+ #: app/main/RTMedia.php:285
898
  msgid "<strong>Users</strong> - Visible to registered users"
899
  msgstr ""
900
 
901
+ #: app/main/RTMedia.php:286
902
  msgid "<strong>Public</strong> - Visible to the world"
903
  msgstr ""
904
 
905
+ #: app/main/RTMedia.php:439
906
  msgid "All"
907
  msgstr ""
908
 
909
+ #: app/main/RTMedia.php:448 app/main/controllers/media/RTMediaAlbum.php:40
910
  msgid "Album"
911
  msgstr ""
912
 
913
+ #: app/main/RTMedia.php:459
914
  msgid "Upload"
915
  msgstr ""
916
 
917
+ #: app/main/RTMedia.php:463
918
  msgid "Wall Post"
919
  msgstr ""
920
 
921
+ #: app/main/RTMedia.php:656
922
  msgid "Wall Posts"
923
  msgstr ""
924
 
925
  #: app/main/controllers/group/RTMediaGroupExtension.php:23
926
+ #: app/main/controllers/group/RTMediaGroupExtension.php:75
927
  msgid "Album Creation Control"
928
  msgstr ""
929
 
930
  #: app/main/controllers/group/RTMediaGroupExtension.php:24
931
+ #: app/main/controllers/group/RTMediaGroupExtension.php:76
932
  msgid "Who can create Albums in this group?"
933
  msgstr ""
934
 
935
  #: app/main/controllers/group/RTMediaGroupExtension.php:28
936
+ #: app/main/controllers/group/RTMediaGroupExtension.php:80
937
  msgid "All Group Members"
938
  msgstr ""
939
 
940
  #: app/main/controllers/group/RTMediaGroupExtension.php:32
941
+ #: app/main/controllers/group/RTMediaGroupExtension.php:84
942
  msgid "Group Admins and Mods only"
943
  msgstr ""
944
 
945
  #: app/main/controllers/group/RTMediaGroupExtension.php:36
946
+ #: app/main/controllers/group/RTMediaGroupExtension.php:88
947
  msgid "Group Admin only"
948
  msgstr ""
949
 
950
+ #: app/main/controllers/group/RTMediaGroupExtension.php:95
951
+ #: app/main/controllers/privacy/RTMediaPrivacy.php:251
952
  msgid "Save Changes"
953
  msgstr ""
954
 
955
+ #: app/main/controllers/group/RTMediaGroupExtension.php:124
956
  msgid "There was an error saving, please try again"
957
  msgstr ""
958
 
959
+ #: app/main/controllers/group/RTMediaGroupExtension.php:126
960
  msgid "Settings saved successfully"
961
  msgstr ""
962
 
963
+ #: app/main/controllers/group/RTMediaGroupExtension.php:146
964
  msgid ""
965
  "You could display a small snippet of information from your group extension "
966
  "here. It will show on the group\n"
972
  msgstr ""
973
 
974
  #: app/main/controllers/media/RTMediaAlbum.php:42
975
+ #: app/main/controllers/template/rt-template-functions.php:1037
976
  msgid "Create Album"
977
  msgstr ""
978
 
1004
  msgid "No album found in Trash"
1005
  msgstr ""
1006
 
1007
+ #: app/main/controllers/media/RTMediaFeatured.php:27
1008
+ msgid "Unset Featured"
1009
  msgstr ""
1010
 
1011
+ #: app/main/controllers/media/RTMediaLike.php:17
1012
+ msgid "Like"
1013
+ msgstr ""
1014
+
1015
+ #: app/main/controllers/media/RTMediaLike.php:19
1016
+ msgid "Unlike"
1017
+ msgstr ""
1018
+
1019
+ #: app/main/controllers/media/RTMediaMedia.php:387
1020
+ msgid "Error creating attachment for the media file, please try again"
1021
+ msgstr ""
1022
 
1023
  #: app/main/controllers/shortcodes/RTMediaUploadShortcode.php:64
1024
  msgid "The web browser on your device cannot be used to upload files."
1025
  msgstr ""
1026
 
1027
+ #: app/main/controllers/template/rt-template-functions.php:56
1028
+ msgid "All "
1029
+ msgstr ""
1030
+
1031
+ #: app/main/controllers/template/rt-template-functions.php:471
1032
+ #: app/main/controllers/template/rt-template-functions.php:1056
1033
  msgid "Edit"
1034
  msgstr ""
1035
 
1036
+ #: app/main/controllers/template/rt-template-functions.php:512
1037
  msgid "said"
1038
  msgstr ""
1039
 
1040
+ #: app/main/controllers/template/rt-template-functions.php:514
1041
  msgid "on"
1042
  msgstr ""
1043
 
1044
+ #: app/main/controllers/template/rt-template-functions.php:825
1045
  msgid "Type Comment..."
1046
  msgstr ""
1047
 
1048
+ #: app/main/controllers/template/rt-template-functions.php:828
1049
  msgid "Comment"
1050
  msgstr ""
1051
 
1052
+ #: app/main/controllers/template/rt-template-functions.php:858
1053
+ #: app/main/controllers/template/rt-template-functions.php:1059
1054
  msgid "Delete"
1055
  msgstr ""
1056
 
1057
+ #: app/main/controllers/template/rt-template-functions.php:956
1058
  msgid "Profile Albums"
1059
  msgstr ""
1060
 
1061
+ #: app/main/controllers/template/rt-template-functions.php:958
1062
+ #: app/main/controllers/template/rt-template-functions.php:989
1063
  msgid "Group Albums"
1064
  msgstr ""
1065
 
1066
+ #: app/main/controllers/template/rt-template-functions.php:1031
1067
  msgid "Create New Album"
1068
  msgstr ""
1069
 
1070
+ #: app/main/controllers/template/rt-template-functions.php:1062
1071
+ #: app/main/controllers/template/rt-template-functions.php:1093
1072
  msgid "Merge"
1073
  msgstr ""
1074
 
1075
+ #: app/main/controllers/template/rt-template-functions.php:1064
1076
  msgid "Merge to"
1077
  msgstr ""
1078
 
1079
+ #: app/main/controllers/template/rt-template-functions.php:1068
1080
  msgid "Merge Album"
1081
  msgstr ""
1082
 
1084
  msgid "Invalid attribute passed for rtmedia_gallery shortcode."
1085
  msgstr ""
1086
 
1087
+ #: app/main/controllers/template/RTMediaTemplate.php:193
1088
+ #: app/main/controllers/template/RTMediaTemplate.php:244
1089
+ #: app/main/controllers/template/RTMediaTemplate.php:317
1090
  msgid "Ooops !!! Invalid access. No nonce was found !!"
1091
  msgstr ""
1092
 
1352
  msgstr ""
1353
 
1354
  #: templates/media/album-gallery.php:29
1355
+ #: templates/media/album-single-edit.php:65
1356
+ #: templates/media/media-gallery.php:37
1357
  msgid "Prev"
1358
  msgstr ""
1359
 
1360
  #: templates/media/album-gallery.php:38
1361
+ #: templates/media/album-single-edit.php:74
1362
+ #: templates/media/media-gallery.php:46
1363
  msgid "Next"
1364
  msgstr ""
1365
 
1366
+ #: templates/media/album-gallery.php:43 templates/media/media-gallery.php:49
1367
+ #: templates/media/media-single-edit.php:49
1368
  #: templates/media/media-single.php:47
1369
  msgid "Oops !! There's no media found for the request !!"
1370
  msgstr ""
1371
 
1372
+ #: templates/media/album-single-edit.php:15
1373
+ msgid "Edit Album : "
1374
  msgstr ""
1375
 
1376
+ #: templates/media/album-single-edit.php:16
1377
+ #: templates/media/media-single-edit.php:18
1378
+ msgid "Title: "
1379
+ msgstr ""
1380
+
1381
+ #: templates/media/album-single-edit.php:20
1382
+ #: templates/media/media-single-edit.php:25
1383
+ msgid "Description: "
1384
+ msgstr ""
1385
+
1386
+ #: templates/media/album-single-edit.php:22
1387
+ #: templates/media/media-single-edit.php:34
1388
+ msgid "Save"
1389
+ msgstr ""
1390
+
1391
+ #: templates/media/album-single-edit.php:32
1392
  msgid "Select All Visible"
1393
  msgstr ""
1394
 
1395
+ #: templates/media/album-single-edit.php:33
1396
  msgid "Unselect All Visible"
1397
  msgstr ""
1398
 
1399
+ #: templates/media/album-single-edit.php:35
1400
  msgid "Move"
1401
  msgstr ""
1402
 
1403
+ #: templates/media/album-single-edit.php:36
1404
  msgid "Delete Selected"
1405
  msgstr ""
1406
 
1407
+ #: templates/media/album-single-edit.php:39
1408
  msgid "Move selected media to"
1409
  msgstr ""
1410
 
1411
+ #: templates/media/album-single-edit.php:77
1412
  msgid "The album is empty."
1413
  msgstr ""
1414
 
1415
+ #: templates/media/media-gallery.php:12
1416
  msgid "Media Gallery"
1417
  msgstr ""
1418
 
1419
+ #: templates/media/media-single-edit.php:15
1420
+ msgid "Edit Media : "
1421
  msgstr ""
1422
 
1423
+ #: templates/media/media-single-edit.php:35
1424
  msgid "Back"
1425
  msgstr ""
1426
 
1427
+ #: templates/media/media-single-edit.php:44
1428
  msgid "Oops !! You do not have rights to edit this media"
1429
  msgstr ""
lib/foundation/foundation.min.js ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * Foundation Responsive Library
3
+ * http://foundation.zurb.com
4
+ * Copyright 2013, ZURB
5
+ * Free to use under the MIT license.
6
+ * http://www.opensource.org/licenses/mit-license.php
7
+ */
8
+ /*jslint unparam: true, browser: true, indent: 2 */
9
+ // Accommodate running jQuery or Zepto in noConflict() mode by
10
+ // using an anonymous function to redefine the $ shorthand name.
11
+ // See http://docs.jquery.com/Using_jQuery_with_Other_Libraries
12
+ // and http://zeptojs.com/
13
+ var libFuncName=null;if(typeof jQuery=="undefined"&&typeof Zepto=="undefined"&&typeof $=="function")libFuncName=$;else if(typeof jQuery=="function")libFuncName=jQuery;else{if(typeof Zepto!="function")throw new TypeError;libFuncName=Zepto}(function(e,t,n,r){"use strict";t.matchMedia=t.matchMedia||function(e,t){var n,r=e.documentElement,i=r.firstElementChild||r.firstChild,s=e.createElement("body"),o=e.createElement("div");return o.id="mq-test-1",o.style.cssText="position:absolute;top:-100em",s.style.background="none",s.appendChild(o),function(e){return o.innerHTML='&shy;<style media="'+e+'"> #mq-test-1 { width: 42px; }</style>',r.insertBefore(s,i),n=o.offsetWidth===42,r.removeChild(s),{matches:n,media:e}}}(n),Array.prototype.filter||(Array.prototype.filter=function(e){if(this==null)throw new TypeError;var t=Object(this),n=t.length>>>0;if(typeof e!="function")return;var r=[],i=arguments[1];for(var s=0;s<n;s++)if(s in t){var o=t[s];e&&e.call(i,o,s,t)&&r.push(o)}return r}),Function.prototype.bind||(Function.prototype.bind=function(e){if(typeof this!="function")throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var t=Array.prototype.slice.call(arguments,1),n=this,r=function(){},i=function(){return n.apply(this instanceof r&&e?this:e,t.concat(Array.prototype.slice.call(arguments)))};return r.prototype=this.prototype,i.prototype=new r,i}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e){if(this==null)throw new TypeError;var t=Object(this),n=t.length>>>0;if(n===0)return-1;var r=0;arguments.length>1&&(r=Number(arguments[1]),r!=r?r=0:r!=0&&r!=Infinity&&r!=-Infinity&&(r=(r>0||-1)*Math.floor(Math.abs(r))));if(r>=n)return-1;var i=r>=0?r:Math.max(n-Math.abs(r),0);for(;i<n;i++)if(i in t&&t[i]===e)return i;return-1}),e.fn.stop=e.fn.stop||function(){return this},t.Foundation={name:"Foundation",version:"4.2.2",cache:{},init:function(t,n,r,i,s,o){var u,a=[t,r,i,s],f=[],o=o||!1;o&&(this.nc=o),this.rtl=/rtl/i.test(e("html").attr("dir")),this.scope=t||this.scope;if(n&&typeof n=="string"&&!/reflow/i.test(n)){if(/off/i.test(n))return this.off();u=n.split(" ");if(u.length>0)for(var l=u.length-1;l>=0;l--)f.push(this.init_lib(u[l],a))}else{/reflow/i.test(n)&&(a[1]="reflow");for(var c in this.libs)f.push(this.init_lib(c,a))}return typeof n=="function"&&a.unshift(n),this.response_obj(f,a)},response_obj:function(e,t){for(var n=0,r=t.length;n<r;n++)if(typeof t[n]=="function")return t[n]({errors:e.filter(function(e){if(typeof e=="string")return e})});return e},init_lib:function(e,t){return this.trap(function(){return this.libs.hasOwnProperty(e)?(this.patch(this.libs[e]),this.libs[e].init.apply(this.libs[e],t)):function(){}}.bind(this),e)},trap:function(e,t){if(!this.nc)try{return e()}catch(n){return this.error({name:t,message:"could not be initialized",more:n.name+" "+n.message})}return e()},patch:function(e){this.fix_outer(e),e.scope=this.scope,e.rtl=this.rtl},inherit:function(e,t){var n=t.split(" ");for(var r=n.length-1;r>=0;r--)this.lib_methods.hasOwnProperty(n[r])&&(this.libs[e.name][n[r]]=this.lib_methods[n[r]])},random_str:function(e){var t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz".split("");e||(e=Math.floor(Math.random()*t.length));var n="";for(var r=0;r<e;r++)n+=t[Math.floor(Math.random()*t.length)];return n},libs:{},lib_methods:{set_data:function(e,t){var n=[this.name,+(new Date),Foundation.random_str(5)].join("-");return Foundation.cache[n]=t,e.attr("data-"+this.name+"-id",n),t},get_data:function(e){return Foundation.cache[e.attr("data-"+this.name+"-id")]},remove_data:function(t){t?(delete Foundation.cache[t.attr("data-"+this.name+"-id")],t.attr("data-"+this.name+"-id","")):e("[data-"+this.name+"-id]").each(function(){delete Foundation.cache[e(this).attr("data-"+this.name+"-id")],e(this).attr("data-"+this.name+"-id","")})},throttle:function(e,t){var n=null;return function(){var r=this,i=arguments;clearTimeout(n),n=setTimeout(function(){e.apply(r,i)},t)}},data_options:function(t){function u(e){return!isNaN(e-0)&&e!==null&&e!==""&&e!==!1&&e!==!0}function a(t){return typeof t=="string"?e.trim(t):t}var n={},r,i,s=(t.attr("data-options")||":").split(";"),o=s.length;for(r=o-1;r>=0;r--)i=s[r].split(":"),/true/i.test(i[1])&&(i[1]=!0),/false/i.test(i[1])&&(i[1]=!1),u(i[1])&&(i[1]=parseInt(i[1],10)),i.length===2&&i[0].length>0&&(n[a(i[0])]=a(i[1]));return n},delay:function(e,t){return setTimeout(e,t)},scrollTo:function(n,r,i){if(i<0)return;var s=r-e(t).scrollTop(),o=s/i*10;this.scrollToTimerCache=setTimeout(function(){isNaN(parseInt(o,10))||(t.scrollTo(0,e(t).scrollTop()+o),this.scrollTo(n,r,i-10))}.bind(this),10)},scrollLeft:function(e){if(!e.length)return;return"scrollLeft"in e[0]?e[0].scrollLeft:e[0].pageXOffset},empty:function(e){if(e.length&&e.length>0)return!1;if(e.length&&e.length===0)return!0;for(var t in e)if(hasOwnProperty.call(e,t))return!1;return!0}},fix_outer:function(e){e.outerHeight=function(e,t){return typeof Zepto=="function"?e.height():typeof t!="undefined"?e.outerHeight(t):e.outerHeight()},e.outerWidth=function(e){return typeof Zepto=="function"?e.width():typeof bool!="undefined"?e.outerWidth(bool):e.outerWidth()}},error:function(e){return e.name+" "+e.message+"; "+e.more},off:function(){return e(this.scope).off(".fndtn"),e(t).off(".fndtn"),!0},zj:function(){return typeof Zepto!="undefined"?Zepto:jQuery}()},e.fn.foundation=function(){var e=Array.prototype.slice.call(arguments,0);return this.each(function(){return Foundation.init.apply(Foundation,[this].concat(e)),this})}})(libFuncName,this,this.document),function(e,t,n,r){"use strict";Foundation.libs.alerts={name:"alerts",version:"4.2.2",settings:{speed:300,callback:function(){}},init:function(t,n,r){return this.scope=t||this.scope,typeof n=="object"&&e.extend(!0,this.settings,n),typeof n!="string"?(this.settings.init||this.events(),this.settings.init):this[n].call(this,r)},events:function(){var t=this;e(this.scope).on("click.fndtn.alerts","[data-alert] a.close",function(n){n.preventDefault(),e(this).closest("[data-alert]").fadeOut(t.speed,function(){e(this).remove(),t.settings.callback()})}),this.settings.init=!0},off:function(){e(this.scope).off(".fndtn.alerts")},reflow:function(){}}}(Foundation.zj,this,this.document),function(e,t,n,r){"use strict";Foundation.libs.clearing={name:"clearing",version:"4.2.2",settings:{templates:{viewing:'<a href="#" class="clearing-close">&times;</a><div class="visible-img" style="display: none"><img src="//:0"><p class="clearing-caption"></p><a href="#" class="clearing-main-prev"><span></span></a><a href="#" class="clearing-main-next"><span></span></a></div>'},close_selectors:".clearing-close",init:!1,locked:!1},init:function(t,n,r){var i=this;return Foundation.inherit(this,"set_data get_data remove_data throttle data_options"),typeof n=="object"&&(r=e.extend(!0,this.settings,n)),typeof n!="string"?(e(this.scope).find("ul[data-clearing]").each(function(){var t=e(this),n=n||{},r=t.find("li"),s=i.get_data(t);!s&&r.length>0&&(n.$parent=t.parent(),i.set_data(t,e.extend({},i.settings,n,i.data_options(t))),i.assemble(t.find("li")),i.settings.init||i.events().swipe_events())}),this.settings.init):this[n].call(this,r)},events:function(){var n=this;return e(this.scope).on("click.fndtn.clearing","ul[data-clearing] li",function(t,r,i){var r=r||e(this),i=i||r,s=r.next("li"),o=n.get_data(r.parent()),u=e(t.target);t.preventDefault(),o||n.init(),i.hasClass("visible")&&r[0]===i[0]&&s.length>0&&n.is_open(r)&&(i=s,u=i.find("img")),n.open(u,r,i),n.update_paddles(i)}).on("click.fndtn.clearing",".clearing-main-next",function(e){this.nav(e,"next")}.bind(this)).on("click.fndtn.clearing",".clearing-main-prev",function(e){this.nav(e,"prev")}.bind(this)).on("click.fndtn.clearing",this.settings.close_selectors,function(e){Foundation.libs.clearing.close(e,this)}).on("keydown.fndtn.clearing",function(e){this.keydown(e)}.bind(this)),e(t).on("resize.fndtn.clearing",function(){this.resize()}.bind(this)),this.settings.init=!0,this},swipe_events:function(){var t=this;e(this.scope).on("touchstart.fndtn.clearing",".visible-img",function(t){t.touches||(t=t.originalEvent);var n={start_page_x:t.touches[0].pageX,start_page_y:t.touches[0].pageY,start_time:(new Date).getTime(),delta_x:0,is_scrolling:r};e(this).data("swipe-transition",n),t.stopPropagation()}).on("touchmove.fndtn.clearing",".visible-img",function(n){n.touches||(n=n.originalEvent);if(n.touches.length>1||n.scale&&n.scale!==1)return;var r=e(this).data("swipe-transition");typeof r=="undefined"&&(r={}),r.delta_x=n.touches[0].pageX-r.start_page_x,typeof r.is_scrolling=="undefined"&&(r.is_scrolling=!!(r.is_scrolling||Math.abs(r.delta_x)<Math.abs(n.touches[0].pageY-r.start_page_y)));if(!r.is_scrolling&&!r.active){n.preventDefault();var i=r.delta_x<0?"next":"prev";r.active=!0,t.nav(n,i)}}).on("touchend.fndtn.clearing",".visible-img",function(t){e(this).data("swipe-transition",{}),t.stopPropagation()})},assemble:function(t){var n=t.parent();n.after('<div id="foundationClearingHolder"></div>');var r=e("#foundationClearingHolder"),i=this.get_data(n),s=n.detach(),o={grid:'<div class="carousel">'+this.outerHTML(s[0])+"</div>",viewing:i.templates.viewing},u='<div class="clearing-assembled"><div>'+o.viewing+o.grid+"</div></div>";return r.after(u).remove()},open:function(e,t,n){var r=n.closest(".clearing-assembled"),i=r.find("div").first(),s=i.find(".visible-img"),o=s.find("img").not(e);this.locked()||(o.attr("src",this.load(e)).css("visibility","hidden"),this.loaded(o,function(){o.css("visibility","visible"),r.addClass("clearing-blackout"),i.addClass("clearing-container"),s.show(),this.fix_height(n).caption(s.find(".clearing-caption"),e).center(o).shift(t,n,function(){n.siblings().removeClass("visible"),n.addClass("visible")})}.bind(this)))},close:function(t,n){t.preventDefault();var r=function(e){return/blackout/.test(e.selector)?e:e.closest(".clearing-blackout")}(e(n)),i,s;return n===t.target&&r&&(i=r.find("div").first(),s=i.find(".visible-img"),this.settings.prev_index=0,r.find("ul[data-clearing]").attr("style","").closest(".clearing-blackout").removeClass("clearing-blackout"),i.removeClass("clearing-container"),s.hide()),!1},is_open:function(e){return e.parent().attr("style").length>0},keydown:function(t){var n=e(".clearing-blackout").find("ul[data-clearing]");t.which===39&&this.go(n,"next"),t.which===37&&this.go(n,"prev"),t.which===27&&e("a.clearing-close").trigger("click")},nav:function(t,n){var r=e(".clearing-blackout").find("ul[data-clearing]");t.preventDefault(),this.go(r,n)},resize:function(){var t=e(".clearing-blackout .visible-img").find("img");t.length&&this.center(t)},fix_height:function(t){var n=t.parent().children(),r=this;return n.each(function(){var t=e(this),n=t.find("img");t.height()>r.outerHeight(n)&&t.addClass("fix-height")}).closest("ul").width(n.length*100+"%"),this},update_paddles:function(e){var t=e.closest(".carousel").siblings(".visible-img");e.next().length>0?t.find(".clearing-main-next").removeClass("disabled"):t.find(".clearing-main-next").addClass("disabled"),e.prev().length>0?t.find(".clearing-main-prev").removeClass("disabled"):t.find(".clearing-main-prev").addClass("disabled")},center:function(e){return this.rtl?e.css({marginRight:-(this.outerWidth(e)/2),marginTop:-(this.outerHeight(e)/2)}):e.css({marginLeft:-(this.outerWidth(e)/2),marginTop:-(this.outerHeight(e)/2)}),this},load:function(e){if(e[0].nodeName==="A")var t=e.attr("href");else var t=e.parent().attr("href");return this.preload(e),t?t:e.attr("src")},preload:function(e){this.img(e.closest("li").next()).img(e.closest("li").prev())},loaded:function(e,t){function n(){t()}function r(){this.one("load",n);if(/MSIE (\d+\.\d+);/.test(navigator.userAgent)){var e=this.attr("src"),t=e.match(/\?/)?"&":"?";t+="random="+(new Date).getTime(),this.attr("src",e+t)}}if(!e.attr("src")){n();return}e[0].complete||e[0].readyState===4?n():r.call(e)},img:function(e){if(e.length){var t=new Image,n=e.find("a");n.length?t.src=n.attr("href"):t.src=e.find("img").attr("src")}return this},caption:function(e,t){var n=t.data("caption");return n?e.html(n).show():e.text("").hide(),this},go:function(e,t){var n=e.find(".visible"),r=n[t]();r.length&&r.find("img").trigger("click",[n,r])},shift:function(e,t,n){var r=t.parent(),i=this.settings.prev_index||t.index(),s=this.direction(r,e,t),o=parseInt(r.css("left"),10),u=this.outerWidth(t),a;t.index()!==i&&!/skip/.test(s)?/left/.test(s)?(this.lock(),r.animate({left:o+u},300,this.unlock())):/right/.test(s)&&(this.lock(),r.animate({left:o-u},300,this.unlock())):/skip/.test(s)&&(a=t.index()-this.settings.up_count,this.lock(),a>0?r.animate({left:-(a*u)},300,this.unlock()):r.animate({left:0},300,this.unlock())),n()},direction:function(t,n,r){var i=t.find("li"),s=this.outerWidth(i)+this.outerWidth(i)/4,o=Math.floor(this.outerWidth(e(".clearing-container"))/s)-1,u=i.index(r),a;return this.settings.up_count=o,this.adjacent(this.settings.prev_index,u)?u>o&&u>this.settings.prev_index?a="right":u>o-1&&u<=this.settings.prev_index?a="left":a=!1:a="skip",this.settings.prev_index=u,a},adjacent:function(e,t){for(var n=t+1;n>=t-1;n--)if(n===e)return!0;return!1},lock:function(){this.settings.locked=!0},unlock:function(){this.settings.locked=!1},locked:function(){return this.settings.locked},outerHTML:function(e){return e.outerHTML||(new XMLSerializer).serializeToString(e)},off:function(){e(this.scope).off(".fndtn.clearing"),e(t).off(".fndtn.clearing"),this.remove_data(),this.settings.init=!1},reflow:function(){this.init()}}}(Foundation.zj,this,this.document),function(e,t,n){function i(e){return e}function s(e){return decodeURIComponent(e.replace(r," "))}var r=/\+/g,o=e.cookie=function(r,u,a){if(u!==n){a=e.extend({},o.defaults,a),u===null&&(a.expires=-1);if(typeof a.expires=="number"){var f=a.expires,l=a.expires=new Date;l.setDate(l.getDate()+f)}return u=o.json?JSON.stringify(u):String(u),t.cookie=[encodeURIComponent(r),"=",o.raw?u:encodeURIComponent(u),a.expires?"; expires="+a.expires.toUTCString():"",a.path?"; path="+a.path:"",a.domain?"; domain="+a.domain:"",a.secure?"; secure":""].join("")}var c=o.raw?i:s,h=t.cookie.split("; ");for(var p=0,d=h.length;p<d;p++){var v=h[p].split("=");if(c(v.shift())===r){var m=c(v.join("="));return o.json?JSON.parse(m):m}}return null};o.defaults={},e.removeCookie=function(t,n){return e.cookie(t)!==null?(e.cookie(t,null,n),!0):!1}}(Foundation.zj,document),function(e,t,n,r){"use strict";Foundation.libs.dropdown={name:"dropdown",version:"4.2.0",settings:{activeClass:"open",is_hover:!1,opened:function(){},closed:function(){}},init:function(t,n,r){return this.scope=t||this.scope,Foundation.inherit(this,"throttle scrollLeft data_options"),typeof n=="object"&&e.extend(!0,this.settings,n),typeof n!="string"?(this.settings.init||this.events(),this.settings.init):this[n].call(this,r)},events:function(){var n=this;e(this.scope).on("click.fndtn.dropdown","[data-dropdown]",function(t){var r=e.extend({},n.settings,n.data_options(e(this)));t.preventDefault(),r.is_hover||n.toggle(e(this))}).on("mouseenter","[data-dropdown]",function(t){var r=e.extend({},n.settings,n.data_options(e(this)));r.is_hover&&n.toggle(e(this))}).on("mouseleave","[data-dropdown-content]",function(t){var r=e('[data-dropdown="'+e(this).attr("id")+'"]'),i=e.extend({},n.settings,n.data_options(r));i.is_hover&&n.close.call(n,e(this))}).on("opened.fndtn.dropdown","[data-dropdown-content]",this.settings.opened).on("closed.fndtn.dropdown","[data-dropdown-content]",this.settings.closed),e("body").on("click.fndtn.dropdown",function(t){var r=e(t.target).closest("[data-dropdown-content]");if(e(t.target).data("dropdown"))return;if(r.length>0&&(e(t.target).is("[data-dropdown-content]")||e.contains(r.first()[0],t.target))){t.stopPropagation();return}n.close.call(n,e("[data-dropdown-content]"))}),e(t).on("resize.fndtn.dropdown",n.throttle(function(){n.resize.call(n)},50)).trigger("resize"),this.settings.init=!0},close:function(t){var n=this;t.each(function(){e(this).hasClass(n.settings.activeClass)&&(e(this).css(Foundation.rtl?"right":"left","-99999px").removeClass(n.settings.activeClass),e(this).trigger("closed"))})},open:function(e,t){this.css(e.addClass(this.settings.activeClass),t),e.trigger("opened")},toggle:function(t){var n=e("#"+t.data("dropdown"));this.close.call(this,e("[data-dropdown-content]").not(n)),n.hasClass(this.settings.activeClass)?this.close.call(this,n):(this.close.call(this,e("[data-dropdown-content]")),this.open.call(this,n,t))},resize:function(){var t=e("[data-dropdown-content].open"),n=e("[data-dropdown='"+t.attr("id")+"']");t.length&&n.length&&this.css(t,n)},css:function(n,r){var i=n.offsetParent();if(i.length>0&&/body/i.test(n.offsetParent()[0].nodeName)){var s=r.offset();s.top-=n.offsetParent().offset().top,s.left-=n.offsetParent().offset().left}else var s=r.position();if(this.small())n.css({position:"absolute",width:"95%",left:"2.5%","max-width":"none",top:s.top+this.outerHeight(r)});else{if(!Foundation.rtl&&e(t).width()>this.outerWidth(n)+r.offset().left){var o=s.left;n.hasClass("right")&&n.removeClass("right")}else{n.hasClass("right")||n.addClass("right");var o=s.left-(this.outerWidth(n)-this.outerWidth(r))}n.attr("style","").css({position:"absolute",top:s.top+this.outerHeight(r),left:o})}return n},small:function(){return e(t).width()<768||e("html").hasClass("lt-ie9")},off:function(){e(this.scope).off(".fndtn.dropdown"),e("html, body").off(".fndtn.dropdown"),e(t).off(".fndtn.dropdown"),e("[data-dropdown-content]").off(".fndtn.dropdown"),this.settings.init=!1},reflow:function(){}}}(Foundation.zj,this,this.document),function(e,t,n,r){"use strict";Foundation.libs.forms={name:"forms",version:"4.2.2",cache:{},settings:{disable_class:"no-custom",last_combo:null},init:function(t,n,r){return typeof n=="object"&&e.extend(!0,this.settings,n),typeof n!="string"?(this.settings.init||this.events(),this.assemble(),this.settings.init):this[n].call(this,r)},assemble:function(){e('form.custom input[type="radio"]',e(this.scope)).not('[data-customforms="disabled"]').not("."+this.settings.disable_class).each(this.append_custom_markup),e('form.custom input[type="checkbox"]',e(this.scope)).not('[data-customforms="disabled"]').not("."+this.settings.disable_class).each(this.append_custom_markup),e("form.custom select",e(this.scope)).not('[data-customforms="disabled"]').not("."+this.settings.disable_class).not("[multiple=multiple]").each(this.append_custom_select)},events:function(){var r=this;e(this.scope).on("click.fndtn.forms","form.custom span.custom.checkbox",function(t){t.preventDefault(),t.stopPropagation(),r.toggle_checkbox(e(this))}).on("click.fndtn.forms","form.custom span.custom.radio",function(t){t.preventDefault(),t.stopPropagation(),r.toggle_radio(e(this))}).on("change.fndtn.forms","form.custom select",function(t,n){if(!e(this).not('[data-customforms="disabled"])'))return;r.refresh_custom_select(e(this),n)}).on("click.fndtn.forms","form.custom label",function(t){if(e(t.target).is("label")){var n=e("#"+r.escape(e(this).attr("for"))).not('[data-customforms="disabled"]'),i,s;n.length!==0&&(n.attr("type")==="checkbox"?(t.preventDefault(),i=e(this).find("span.custom.checkbox"),i.length===0&&(i=n.add(this).siblings("span.custom.checkbox").first()),r.toggle_checkbox(i)):n.attr("type")==="radio"&&(t.preventDefault(),s=e(this).find("span.custom.radio"),s.length===0&&(s=n.add(this).siblings("span.custom.radio").first()),r.toggle_radio(s)))}}).on("mousedown.fndtn.forms","form.custom div.custom.dropdown",function(){return!1}).on("click.fndtn.forms","form.custom div.custom.dropdown a.current, form.custom div.custom.dropdown a.selector",function(t){var n=e(this),s=n.closest("div.custom.dropdown"),o=i(s,"select");s.hasClass("open")||e(r.scope).trigger("click"),t.preventDefault();if(!1===o.is(":disabled"))return s.toggleClass("open"),s.hasClass("open")?e(r.scope).on("click.fndtn.forms.customdropdown",function(){s.removeClass("open"),e(r.scope).off(".fndtn.forms.customdropdown")}):e(r.scope).on(".fndtn.forms.customdropdown"),!1}).on("click.fndtn.forms touchend.fndtn.forms","form.custom div.custom.dropdown li",function(t){var n=e(this),r=n.closest("div.custom.dropdown"),s=i(r,"select"),o=0;t.preventDefault(),t.stopPropagation();if(!e(this).hasClass("disabled")){e("div.dropdown").not(r).removeClass("open");var u=n.closest("ul").find("li.selected");u.removeClass("selected"),n.addClass("selected"),r.removeClass("open").find("a.current").text(n.text()),n.closest("ul").find("li").each(function(e){n[0]===this&&(o=e)}),s[0].selectedIndex=o,s.data("prevalue",u.html()),s.trigger("change")}}),e(t).on("keydown",function(t){var r=n.activeElement,i=Foundation.libs.forms,s=e(".custom.dropdown.open");if(s.length>0){t.preventDefault(),t.which===13&&s.find("li.selected").trigger("click"),t.which===27&&s.removeClass("open");if(t.which>=65&&t.which<=90){var o=i.go_to(s,t.which),u=s.find("li.selected");o&&(u.removeClass("selected"),i.scrollTo(o.addClass("selected"),300))}if(t.which===38){var u=s.find("li.selected"),a=u.prev(":not(.disabled)");a.length>0&&(a.parent()[0].scrollTop=a.parent().scrollTop()-i.outerHeight(a),u.removeClass("selected"),a.addClass("selected"))}else if(t.which===40){var u=s.find("li.selected"),o=u.next(":not(.disabled)");o.length>0&&(o.parent()[0].scrollTop=o.parent().scrollTop()+i.outerHeight(o),u.removeClass("selected"),o.addClass("selected"))}}}),this.settings.init=!0},go_to:function(e,t){var n=e.find("li"),r=n.length;if(r>0)for(var i=0;i<r;i++){var s=n.eq(i).text().charAt(0).toLowerCase();if(s===String.fromCharCode(t).toLowerCase())return n.eq(i)}},scrollTo:function(e,t){if(t<0)return;var n=e.parent(),r=this.outerHeight(e),i=r*e.index()-n.scrollTop(),s=i/t*10;this.scrollToTimerCache=setTimeout(function(){isNaN(parseInt(s,10))||(n[0].scrollTop=n.scrollTop()+s,this.scrollTo(e,t-10))}.bind(this),10)},append_custom_markup:function(t,n){var r=e(n),i=r.attr("type"),s=r.next("span.custom."+i);r.parent().hasClass("switch")||r.addClass("hidden-field"),s.length===0&&(s=e('<span class="custom '+i+'"></span>').insertAfter(r)),s.toggleClass("checked",r.is(":checked")),s.toggleClass("disabled",r.is(":disabled"))},append_custom_select:function(t,n){var r=Foundation.libs.forms,i=e(n),s=i.next("div.custom.dropdown"),o=s.find("ul"),u=s.find(".current"),a=s.find(".selector"),f=i.find("option"),l=f.filter(":selected"),c=i.attr("class")?i.attr("class").split(" "):[],h=0,p="",d,v=!1;if(s.length===0){var m=i.hasClass("small")?"small":i.hasClass("medium")?"medium":i.hasClass("large")?"large":i.hasClass("expand")?"expand":"";s=e('<div class="'+["custom","dropdown",m].concat(c).filter(function(e,t,n){return e===""?!1:n.indexOf(e)===t}).join(" ")+'"><a href="#" class="selector"></a><ul /></div>'),a=s.find(".selector"),o=s.find("ul"),p=f.map(function(){var t=e(this).attr("class")?e(this).attr("class"):"";return"<li class='"+t+"'>"+e(this).html()+"</li>"}).get().join(""),o.append(p),v=s.prepend('<a href="#" class="current">'+l.html()+"</a>").find(".current"),i.after(s).addClass("hidden-field")}else p=f.map(function(){return"<li>"+e(this).html()+"</li>"}).get().join(""),o.html("").append(p);r.assign_id(i,s),s.toggleClass("disabled",i.is(":disabled")),d=o.find("li"),r.cache[s.data("id")]=d.length,f.each(function(t){this.selected&&(d.eq(t).addClass("selected"),v&&v.html(e(this).html())),e(this).is(":disabled")&&d.eq(t).addClass("disabled")});if(!s.is(".small, .medium, .large, .expand")){s.addClass("open");var r=Foundation.libs.forms;r.hidden_fix.adjust(o),h=r.outerWidth(d)>h?r.outerWidth(d):h,Foundation.libs.forms.hidden_fix.reset(),s.removeClass("open")}},assign_id:function(e,t){var n=[+(new Date),Foundation.random_str(5)].join("-");e.attr("data-id",n),t.attr("data-id",n)},refresh_custom_select:function(t,n){var r=this,i=0,s=t.next(),o=t.find("option"),u=s.find("li");if(u.length!==this.cache[s.data("id")]||n)s.find("ul").html(""),o.each(function(){var t=e("<li>"+e(this).html()+"</li>");s.find("ul").append(t)}),o.each(function(t){this.selected&&(s.find("li").eq(t).addClass("selected"),s.find(".current").html(e(this).html())),e(this).is(":disabled")&&s.find("li").eq(t).addClass("disabled")}),s.removeAttr("style").find("ul").removeAttr("style"),s.find("li").each(function(){s.addClass("open"),r.outerWidth(e(this))>i&&(i=r.outerWidth(e(this))),s.removeClass("open")}),u=s.find("li"),this.cache[s.data("id")]=u.length},toggle_checkbox:function(e){var t=e.prev(),n=t[0];!1===t.is(":disabled")&&(n.checked=n.checked?!1:!0,e.toggleClass("checked"),t.trigger("change"))},toggle_radio:function(e){var t=e.prev(),n=t.closest("form.custom"),r=t[0];!1===t.is(":disabled")&&(n.find('input[type="radio"][name="'+this.escape(t.attr("name"))+'"]').next().not(e).removeClass("checked"),e.hasClass("checked")||e.toggleClass("checked"),r.checked=e.hasClass("checked"),t.trigger("change"))},escape:function(e){return e?e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):""},hidden_fix:{tmp:[],hidden:null,adjust:function(t){var n=this;n.hidden=t.parents(),n.hidden=n.hidden.add(t).filter(":hidden"),n.hidden.each(function(){var t=e(this);n.tmp.push(t.attr("style")),t.css({visibility:"hidden",display:"block"})})},reset:function(){var t=this;t.hidden.each(function(n){var i=e(this),s=t.tmp[n];s===r?i.removeAttr("style"):i.attr("style",s)}),t.tmp=[],t.hidden=null}},off:function(){e(this.scope).off(".fndtn.forms")},reflow:function(){}};var i=function(t,n){var t=t.prev();while(t.length){if(t.is(n))return t;t=t.prev()}return e()}}(Foundation.zj,this,this.document),function(e,t,n,r){"use strict";Foundation.libs.joyride={name:"joyride",version:"4.2.2",defaults:{expose:!1,modal:!1,tipLocation:"bottom",nubPosition:"auto",scrollSpeed:300,timer:0,startTimerOnClick:!0,startOffset:0,nextButton:!0,tipAnimation:"fade",pauseAfter:[],exposed:[],tipAnimationFadeSpeed:300,cookieMonster:!1,cookieName:"joyride",cookieDomain:!1,cookieExpires:365,tipContainer:"body",postRideCallback:function(){},postStepCallback:function(){},preStepCallback:function(){},preRideCallback:function(){},postExposeCallback:function(){},template:{link:'<a href="#close" class="joyride-close-tip">&times;</a>',timer:'<div class="joyride-timer-indicator-wrap"><span class="joyride-timer-indicator"></span></div>',tip:'<div class="joyride-tip-guide"><span class="joyride-nub"></span></div>',wrapper:'<div class="joyride-content-wrapper"></div>',button:'<a href="#" class="small button joyride-next-tip"></a>',modal:'<div class="joyride-modal-bg"></div>',expose:'<div class="joyride-expose-wrapper"></div>',exposeCover:'<div class="joyride-expose-cover"></div>'},exposeAddClass:""},settings:{},init:function(t,n,r){return this.scope=t||this.scope,Foundation.inherit(this,"throttle data_options scrollTo scrollLeft delay"),typeof n=="object"?e.extend(!0,this.settings,this.defaults,n):e.extend(!0,this.settings,this.defaults,r),typeof n!="string"?(this.settings.init||this.events(),this.settings.init):this[n].call(this,r)},events:function(){var n=this;e(this.scope).on("click.joyride",".joyride-next-tip, .joyride-modal-bg",function(e){e.preventDefault(),this.settings.$li.next().length<1?this.end():this.settings.timer>0?(clearTimeout(this.settings.automate),this.hide(),this.show(),this.startTimer()):(this.hide(),this.show())}.bind(this)).on("click.joyride",".joyride-close-tip",function(e){e.preventDefault(),this.end()}.bind(this)),e(t).on("resize.fndtn.joyride",n.throttle(function(){if(e("[data-joyride]").length>0&&n.settings.$next_tip){if(n.settings.exposed.length>0){var t=e(n.settings.exposed);t.each(function(){var t=e(this);n.un_expose(t),n.expose(t)})}n.is_phone()?n.pos_phone():n.pos_default(!1,!0)}},100)),this.settings.init=!0},start:function(){var t=this,n=e(this.scope).find("[data-joyride]"),r=["timer","scrollSpeed","startOffset","tipAnimationFadeSpeed","cookieExpires"],i=r.length;this.settings.init||this.init(),this.settings.$content_el=n,this.settings.$body=e(this.settings.tipContainer),this.settings.body_offset=e(this.settings.tipContainer).position(),this.settings.$tip_content=this.settings.$content_el.find("> li"),this.settings.paused=!1,this.settings.attempts=0,this.settings.tipLocationPatterns={top:["bottom"],bottom:[],left:["right","top","bottom"],right:["left","top","bottom"]},typeof e.cookie!="function"&&(this.settings.cookieMonster=!1);if(!this.settings.cookieMonster||this.settings.cookieMonster&&e.cookie(this.settings.cookieName)===null)this.settings.$tip_content.each(function(n){var s=e(this);e.extend(!0,t.settings,t.data_options(s));for(var o=i-1;o>=0;o--)t.settings[r[o]]=parseInt(t.settings[r[o]],10);t.create({$li:s,index:n})}),!this.settings.startTimerOnClick&&this.settings.timer>0?(this.show("init"),this.startTimer()):this.show("init")},resume:function(){this.set_li(),this.show()},tip_template:function(t){var n,r;return t.tip_class=t.tip_class||"",n=e(this.settings.template.tip).addClass(t.tip_class),r=e.trim(e(t.li).html())+this.button_text(t.button_text)+this.settings.template.link+this.timer_instance(t.index),n.append(e(this.settings.template.wrapper)),n.first().attr("data-index",t.index),e(".joyride-content-wrapper",n).append(r),n[0]},timer_instance:function(t){var n;return t===0&&this.settings.startTimerOnClick&&this.settings.timer>0||this.settings.timer===0?n="":n=this.outerHTML(e(this.settings.template.timer)[0]),n},button_text:function(t){return this.settings.nextButton?(t=e.trim(t)||"Next",t=this.outerHTML(e(this.settings.template.button).append(t)[0])):t="",t},create:function(t){var n=t.$li.attr("data-button")||t.$li.attr("data-text"),r=t.$li.attr("class"),i=e(this.tip_template({tip_class:r,index:t.index,button_text:n,li:t.$li}));e(this.settings.tipContainer).append(i)},show:function(t){var n=null;this.settings.$li===r||e.inArray(this.settings.$li.index(),this.settings.pauseAfter)===-1?(this.settings.paused?this.settings.paused=!1:this.set_li(t),this.settings.attempts=0,this.settings.$li.length&&this.settings.$target.length>0?(t&&(this.settings.preRideCallback(this.settings.$li.index(),this.settings.$next_tip),this.settings.modal&&this.show_modal()),this.settings.preStepCallback(this.settings.$li.index(),this.settings.$next_tip),this.settings.modal&&this.settings.expose&&this.expose(),this.settings.tipSettings=e.extend(this.settings,this.data_options(this.settings.$li)),this.settings.timer=parseInt(this.settings.timer,10),this.settings.tipSettings.tipLocationPattern=this.settings.tipLocationPatterns[this.settings.tipSettings.tipLocation],/body/i.test(this.settings.$target.selector)||this.scroll_to(),this.is_phone()?this.pos_phone(!0):this.pos_default(!0),n=this.settings.$next_tip.find(".joyride-timer-indicator"),/pop/i.test(this.settings.tipAnimation)?(n.width(0),this.settings.timer>0?(this.settings.$next_tip.show(),this.delay(function(){n.animate({width:n.parent().width()},this.settings.timer,"linear")}.bind(this),this.settings.tipAnimationFadeSpeed)):this.settings.$next_tip.show()):/fade/i.test(this.settings.tipAnimation)&&(n.width(0),this.settings.timer>0?(this.settings.$next_tip.fadeIn(this.settings.tipAnimationFadeSpeed).show(),this.delay(function(){n.animate({width:n.parent().width()},this.settings.timer,"linear")}.bind(this),this.settings.tipAnimationFadeSpeed)):this.settings.$next_tip.fadeIn(this.settings.tipAnimationFadeSpeed)),this.settings.$current_tip=this.settings.$next_tip):this.settings.$li&&this.settings.$target.length<1?this.show():this.end()):this.settings.paused=!0},is_phone:function(){return Modernizr?Modernizr.mq("only screen and (max-width: 767px)")||e(".lt-ie9").length>0:this.settings.$window.width()<767},hide:function(){this.settings.modal&&this.settings.expose&&this.un_expose(),this.settings.modal||e(".joyride-modal-bg").hide(),this.settings.$current_tip.hide(),this.settings.postStepCallback(this.settings.$li.index(),this.settings.$current_tip)},set_li:function(e){e?(this.settings.$li=this.settings.$tip_content.eq(this.settings.startOffset),this.set_next_tip(),this.settings.$current_tip=this.settings.$next_tip):(this.settings.$li=this.settings.$li.next(),this.set_next_tip()),this.set_target()},set_next_tip:function(){this.settings.$next_tip=e(".joyride-tip-guide[data-index='"+this.settings.$li.index()+"']"),this.settings.$next_tip.data("closed","")},set_target:function(){var t=this.settings.$li.attr("data-class"),r=this.settings.$li.attr("data-id"),i=function(
14
+ ){return r?e(n.getElementById(r)):t?e("."+t).first():e("body")};this.settings.$target=i()},scroll_to:function(){var n,r;n=e(t).height()/2,r=Math.ceil(this.settings.$target.offset().top-n+this.outerHeight(this.settings.$next_tip)),r>0&&this.scrollTo(e("html, body"),r,this.settings.scrollSpeed)},paused:function(){return e.inArray(this.settings.$li.index()+1,this.settings.pauseAfter)===-1},restart:function(){this.hide(),this.settings.$li=r,this.show("init")},pos_default:function(n,r){var i=Math.ceil(e(t).height()/2),s=this.settings.$next_tip.offset(),o=this.settings.$next_tip.find(".joyride-nub"),u=Math.ceil(this.outerWidth(o)/2),a=Math.ceil(this.outerHeight(o)/2),f=n||!1;f&&(this.settings.$next_tip.css("visibility","hidden"),this.settings.$next_tip.show()),typeof r=="undefined"&&(r=!1);if(!/body/i.test(this.settings.$target.selector)){if(this.bottom()){var l=this.settings.$target.offset().left;Foundation.rtl&&(l=this.settings.$target.offset().width-this.settings.$next_tip.width()+l),this.settings.$next_tip.css({top:this.settings.$target.offset().top+a+this.outerHeight(this.settings.$target),left:l}),this.nub_position(o,this.settings.tipSettings.nubPosition,"top")}else if(this.top()){var l=this.settings.$target.offset().left;Foundation.rtl&&(l=this.settings.$target.offset().width-this.settings.$next_tip.width()+l),this.settings.$next_tip.css({top:this.settings.$target.offset().top-this.outerHeight(this.settings.$next_tip)-a,left:l}),this.nub_position(o,this.settings.tipSettings.nubPosition,"bottom")}else this.right()?(this.settings.$next_tip.css({top:this.settings.$target.offset().top,left:this.outerWidth(this.settings.$target)+this.settings.$target.offset().left+u}),this.nub_position(o,this.settings.tipSettings.nubPosition,"left")):this.left()&&(this.settings.$next_tip.css({top:this.settings.$target.offset().top,left:this.settings.$target.offset().left-this.outerWidth(this.settings.$next_tip)-u}),this.nub_position(o,this.settings.tipSettings.nubPosition,"right"));!this.visible(this.corners(this.settings.$next_tip))&&this.settings.attempts<this.settings.tipSettings.tipLocationPattern.length&&(o.removeClass("bottom").removeClass("top").removeClass("right").removeClass("left"),this.settings.tipSettings.tipLocation=this.settings.tipSettings.tipLocationPattern[this.settings.attempts],this.settings.attempts++,this.pos_default())}else this.settings.$li.length&&this.pos_modal(o);f&&(this.settings.$next_tip.hide(),this.settings.$next_tip.css("visibility","visible"))},pos_phone:function(t){var n=this.outerHeight(this.settings.$next_tip),r=this.settings.$next_tip.offset(),i=this.outerHeight(this.settings.$target),s=e(".joyride-nub",this.settings.$next_tip),o=Math.ceil(this.outerHeight(s)/2),u=t||!1;s.removeClass("bottom").removeClass("top").removeClass("right").removeClass("left"),u&&(this.settings.$next_tip.css("visibility","hidden"),this.settings.$next_tip.show()),/body/i.test(this.settings.$target.selector)?this.settings.$li.length&&this.pos_modal(s):this.top()?(this.settings.$next_tip.offset({top:this.settings.$target.offset().top-n-o}),s.addClass("bottom")):(this.settings.$next_tip.offset({top:this.settings.$target.offset().top+i+o}),s.addClass("top")),u&&(this.settings.$next_tip.hide(),this.settings.$next_tip.css("visibility","visible"))},pos_modal:function(e){this.center(),e.hide(),this.show_modal()},show_modal:function(){if(!this.settings.$next_tip.data("closed")){var t=e(".joyride-modal-bg");t.length<1&&e("body").append(this.settings.template.modal).show(),/pop/i.test(this.settings.tipAnimation)?t.show():t.fadeIn(this.settings.tipAnimationFadeSpeed)}},expose:function(){var n,r,i,s,o,u="expose-"+Math.floor(Math.random()*1e4);if(arguments.length>0&&arguments[0]instanceof e)i=arguments[0];else{if(!this.settings.$target||!!/body/i.test(this.settings.$target.selector))return!1;i=this.settings.$target}if(i.length<1)return t.console&&console.error("element not valid",i),!1;n=e(this.settings.template.expose),this.settings.$body.append(n),n.css({top:i.offset().top,left:i.offset().left,width:this.outerWidth(i,!0),height:this.outerHeight(i,!0)}),r=e(this.settings.template.exposeCover),s={zIndex:i.css("z-index"),position:i.css("position")},o=i.attr("class")==null?"":i.attr("class"),i.css("z-index",parseInt(n.css("z-index"))+1),s.position=="static"&&i.css("position","relative"),i.data("expose-css",s),i.data("orig-class",o),i.attr("class",o+" "+this.settings.exposeAddClass),r.css({top:i.offset().top,left:i.offset().left,width:this.outerWidth(i,!0),height:this.outerHeight(i,!0)}),this.settings.$body.append(r),n.addClass(u),r.addClass(u),i.data("expose",u),this.settings.postExposeCallback(this.settings.$li.index(),this.settings.$next_tip,i),this.add_exposed(i)},un_expose:function(){var n,r,i,s,o,u=!1;if(arguments.length>0&&arguments[0]instanceof e)r=arguments[0];else{if(!this.settings.$target||!!/body/i.test(this.settings.$target.selector))return!1;r=this.settings.$target}if(r.length<1)return t.console&&console.error("element not valid",r),!1;n=r.data("expose"),i=e("."+n),arguments.length>1&&(u=arguments[1]),u===!0?e(".joyride-expose-wrapper,.joyride-expose-cover").remove():i.remove(),s=r.data("expose-css"),s.zIndex=="auto"?r.css("z-index",""):r.css("z-index",s.zIndex),s.position!=r.css("position")&&(s.position=="static"?r.css("position",""):r.css("position",s.position)),o=r.data("orig-class"),r.attr("class",o),r.removeData("orig-classes"),r.removeData("expose"),r.removeData("expose-z-index"),this.remove_exposed(r)},add_exposed:function(t){this.settings.exposed=this.settings.exposed||[],t instanceof e||typeof t=="object"?this.settings.exposed.push(t[0]):typeof t=="string"&&this.settings.exposed.push(t)},remove_exposed:function(t){var n,r;t instanceof e?n=t[0]:typeof t=="string"&&(n=t),this.settings.exposed=this.settings.exposed||[],r=this.settings.exposed.length;for(var i=0;i<r;i++)if(this.settings.exposed[i]==n){this.settings.exposed.splice(i,1);return}},center:function(){var n=e(t);return this.settings.$next_tip.css({top:(n.height()-this.outerHeight(this.settings.$next_tip))/2+n.scrollTop(),left:(n.width()-this.outerWidth(this.settings.$next_tip))/2+this.scrollLeft(n)}),!0},bottom:function(){return/bottom/i.test(this.settings.tipSettings.tipLocation)},top:function(){return/top/i.test(this.settings.tipSettings.tipLocation)},right:function(){return/right/i.test(this.settings.tipSettings.tipLocation)},left:function(){return/left/i.test(this.settings.tipSettings.tipLocation)},corners:function(n){var r=e(t),i=r.height()/2,s=Math.ceil(this.settings.$target.offset().top-i+this.settings.$next_tip.outerHeight()),o=r.width()+this.scrollLeft(r),u=r.height()+s,a=r.height()+r.scrollTop(),f=r.scrollTop();return s<f&&(s<0?f=0:f=s),u>a&&(a=u),[n.offset().top<f,o<n.offset().left+n.outerWidth(),a<n.offset().top+n.outerHeight(),this.scrollLeft(r)>n.offset().left]},visible:function(e){var t=e.length;while(t--)if(e[t])return!1;return!0},nub_position:function(e,t,n){t==="auto"?e.addClass(n):e.addClass(t)},startTimer:function(){this.settings.$li.length?this.settings.automate=setTimeout(function(){this.hide(),this.show(),this.startTimer()}.bind(this),this.settings.timer):clearTimeout(this.settings.automate)},end:function(){this.settings.cookieMonster&&e.cookie(this.settings.cookieName,"ridden",{expires:this.settings.cookieExpires,domain:this.settings.cookieDomain}),this.settings.timer>0&&clearTimeout(this.settings.automate),this.settings.modal&&this.settings.expose&&this.un_expose(),this.settings.$next_tip.data("closed",!0),e(".joyride-modal-bg").hide(),this.settings.$current_tip.hide(),this.settings.postStepCallback(this.settings.$li.index(),this.settings.$current_tip),this.settings.postRideCallback(this.settings.$li.index(),this.settings.$current_tip),e(".joyride-tip-guide").remove()},outerHTML:function(e){return e.outerHTML||(new XMLSerializer).serializeToString(e)},off:function(){e(this.scope).off(".joyride"),e(t).off(".joyride"),e(".joyride-close-tip, .joyride-next-tip, .joyride-modal-bg").off(".joyride"),e(".joyride-tip-guide, .joyride-modal-bg").remove(),clearTimeout(this.settings.automate),this.settings={}},reflow:function(){}}}(Foundation.zj,this,this.document),function(e,t,n,r){"use strict";Foundation.libs.magellan={name:"magellan",version:"4.2.2",settings:{activeClass:"active"},init:function(t,n,r){return this.scope=t||this.scope,Foundation.inherit(this,"data_options"),typeof n=="object"&&e.extend(!0,this.settings,n),typeof n!="string"?(this.settings.init||(this.fixed_magellan=e("[data-magellan-expedition]"),this.set_threshold(),this.last_destination=e("[data-magellan-destination]").last(),this.events()),this.settings.init):this[n].call(this,r)},events:function(){var n=this;e(this.scope).on("arrival.fndtn.magellan","[data-magellan-arrival]",function(t){var r=e(this),i=r.closest("[data-magellan-expedition]"),s=i.attr("data-magellan-active-class")||n.settings.activeClass;r.closest("[data-magellan-expedition]").find("[data-magellan-arrival]").not(r).removeClass(s),r.addClass(s)}),this.fixed_magellan.on("update-position.fndtn.magellan",function(){var t=e(this)}).trigger("update-position"),e(t).on("resize.fndtn.magellan",function(){this.fixed_magellan.trigger("update-position")}.bind(this)).on("scroll.fndtn.magellan",function(){var r=e(t).scrollTop();n.fixed_magellan.each(function(){var t=e(this);typeof t.data("magellan-top-offset")=="undefined"&&t.data("magellan-top-offset",t.offset().top),typeof t.data("magellan-fixed-position")=="undefined"&&t.data("magellan-fixed-position",!1);var i=r+n.settings.threshold>t.data("magellan-top-offset"),s=t.attr("data-magellan-top-offset");t.data("magellan-fixed-position")!=i&&(t.data("magellan-fixed-position",i),i?(t.addClass("fixed"),t.css({position:"fixed",top:0})):(t.removeClass("fixed"),t.css({position:"",top:""})),i&&typeof s!="undefined"&&s!=0&&t.css({position:"fixed",top:s+"px"}))})}),this.last_destination.length>0&&e(t).on("scroll.fndtn.magellan",function(r){var i=e(t).scrollTop(),s=i+e(t).height(),o=Math.ceil(n.last_destination.offset().top);e("[data-magellan-destination]").each(function(){var t=e(this),r=t.attr("data-magellan-destination"),u=t.offset().top-i;u<=n.settings.threshold&&e("[data-magellan-arrival='"+r+"']").trigger("arrival"),s>=e(n.scope).height()&&o>i&&o<s&&e("[data-magellan-arrival]").last().trigger("arrival")})}),this.settings.init=!0},set_threshold:function(){this.settings.threshold||(this.settings.threshold=this.fixed_magellan.length>0?this.outerHeight(this.fixed_magellan,!0):0)},off:function(){e(this.scope).off(".fndtn.magellan")},reflow:function(){}}}(Foundation.zj,this,this.document),function(e,t,n,r){"use strict";Foundation.libs=Foundation.libs||{},Foundation.libs.orbit={name:"orbit",version:"4.2.0",settings:{timer_speed:1e4,pause_on_hover:!0,resume_on_mouseout:!1,animation_speed:500,bullets:!0,stack_on_small:!0,navigation_arrows:!0,slide_number:!0,container_class:"orbit-container",stack_on_small_class:"orbit-stack-on-small",next_class:"orbit-next",prev_class:"orbit-prev",timer_container_class:"orbit-timer",timer_paused_class:"paused",timer_progress_class:"orbit-progress",slides_container_class:"orbit-slides-container",bullets_container_class:"orbit-bullets",bullets_active_class:"active",slide_number_class:"orbit-slide-number",caption_class:"orbit-caption",active_slide_class:"active",orbit_transition_class:"orbit-transitioning"},init:function(t,n,r){var i=this;Foundation.inherit(i,"data_options"),typeof n=="object"&&e.extend(!0,i.settings,n);if(e(t).is("[data-orbit]")){var s=e.extend(!0,{},i);s._init(idx,el)}e("[data-orbit]",t).each(function(t,n){var r=e.extend(!0,{},i);r._init(t,n)})},_container_html:function(){var e=this;return'<div class="'+e.settings.container_class+'"></div>'},_bullets_container_html:function(t){var n=this,r=e('<ol class="'+n.settings.bullets_container_class+'"></ol>');return t.each(function(t,i){var s=e('<li data-orbit-slide-number="'+(t+1)+'" class=""></li>');t===0&&s.addClass(n.settings.bullets_active_class),r.append(s)}),r},_slide_number_html:function(t,n){var r=this,i=e('<div class="'+r.settings.slide_number_class+'"></div>');return i.append("<span>"+t+"</span> of <span>"+n+"</span>"),i},_timer_html:function(){var e=this;return typeof e.settings.timer_speed=="number"&&e.settings.timer_speed>0?'<div class="'+e.settings.timer_container_class+'"><span></span><div class="'+e.settings.timer_progress_class+'"></div></div>':""},_next_html:function(){var e=this;return'<a href="#" class="'+e.settings.next_class+'">Next <span></span></a>'},_prev_html:function(){var e=this;return'<a href="#" class="'+e.settings.prev_class+'">Prev <span></span></a>'},_init:function(t,n){var r=this,i=e(n),s=i.wrap(r._container_html()).parent(),o=i.children();e.extend(!0,r.settings,r.data_options(i)),r.settings.navigation_arrows&&(s.append(r._prev_html()),s.append(r._next_html())),i.addClass(r.settings.slides_container_class),r.settings.stack_on_small&&s.addClass(r.settings.stack_on_small_class),r.settings.slide_number&&s.append(r._slide_number_html(1,o.length)),s.append(r._timer_html()),r.settings.bullets&&s.after(r._bullets_container_html(o)),i.append(o.first().clone().attr("data-orbit-slide","")),i.prepend(o.last().clone().attr("data-orbit-slide","")),i.css(Foundation.rtl?"marginRight":"marginLeft","-100%"),o.first().addClass(r.settings.active_slide_class),r._init_events(i),r._init_dimensions(i),r._start_timer(i)},_init_events:function(i){var s=this,o=i.parent();e(t).on("load.fndtn.orbit",function(){i.height(""),i.height(i.height(o.height())),i.trigger("orbit:ready")}).on("resize.fndtn.orbit",function(){i.height(""),i.height(i.height(o.height()))}),e(n).on("click.fndtn.orbit","[data-orbit-link]",function(t){t.preventDefault();var n=e(t.currentTarget).attr("data-orbit-link"),r=i.find("[data-orbit-slide="+n+"]").first();r.length===1&&(s._reset_timer(i,!0),s._goto(i,r.index(),function(){}))}),o.siblings("."+s.settings.bullets_container_class).on("click.fndtn.orbit","[data-orbit-slide-number]",function(t){t.preventDefault(),s._reset_timer(i,!0),s._goto(i,e(t.currentTarget).data("orbit-slide-number"),function(){})}),o.on("mouseenter.fndtn.orbit",function(e){s.settings.pause_on_hover&&s._stop_timer(i)}).on("mouseleave.fndtn.orbit",function(e){s.settings.resume_on_mouseout&&s._start_timer(i)}).on("orbit:after-slide-change.fndtn.orbit",function(e,t){var n=o.find("."+s.settings.slide_number_class);n.length===1&&n.replaceWith(s._slide_number_html(t.slide_number,t.total_slides))}).on("orbit:next-slide.fndtn.orbit click.fndtn.orbit","."+s.settings.next_class.split(" ").join("."),function(e){e.preventDefault(),s._reset_timer(i,!0),s._goto(i,"next",function(){})}).on("orbit:prev-slide.fndtn.orbit click.fndtn.orbit","."+s.settings.prev_class.split(" ").join("."),function(e){e.preventDefault(),s._reset_timer(i,!0),s._goto(i,"prev",function(){})}).on("orbit:toggle-play-pause.fndtn.orbit click.fndtn.orbit touchstart.fndtn.orbit","."+s.settings.timer_container_class,function(t){t.preventDefault();var n=e(t.currentTarget).toggleClass(s.settings.timer_paused_class),r=n.closest("."+s.settings.container_class).find("."+s.settings.slides_container_class);n.hasClass(s.settings.timer_paused_class)?s._stop_timer(r):s._start_timer(r)}).on("touchstart.fndtn.orbit",function(e){e.touches||(e=e.originalEvent);var t={start_page_x:e.touches[0].pageX,start_page_y:e.touches[0].pageY,start_time:(new Date).getTime(),delta_x:0,is_scrolling:r};o.data("swipe-transition",t),e.stopPropagation()}).on("touchmove.fndtn.orbit",function(e){e.touches||(e=e.originalEvent);if(e.touches.length>1||e.scale&&e.scale!==1)return;var t=o.data("swipe-transition");typeof t=="undefined"&&(t={}),t.delta_x=e.touches[0].pageX-t.start_page_x,typeof t.is_scrolling=="undefined"&&(t.is_scrolling=!!(t.is_scrolling||Math.abs(t.delta_x)<Math.abs(e.touches[0].pageY-t.start_page_y)));if(!t.is_scrolling&&!t.active){e.preventDefault(),s._stop_timer(i);var n=t.delta_x<0?"next":"prev";t.active=!0,s._goto(i,n,function(){})}}).on("touchend.fndtn.orbit",function(e){o.data("swipe-transition",{}),e.stopPropagation()})},_init_dimensions:function(e){var t=e.parent(),n=e.children();e.css("width",n.length*100+"%"),n.css("width",100/n.length+"%"),e.height(t.height()),e.css("width",n.length*100+"%")},_start_timer:function(e){var t=this,n=e.parent(),r=function(){t._reset_timer(e,!1),t._goto(e,"next",function(){t._start_timer(e)})},i=n.find("."+t.settings.timer_container_class),s=i.find("."+t.settings.timer_progress_class),o=s.width()/i.width(),u=t.settings.timer_speed-o*t.settings.timer_speed;s.animate({width:"100%"},u,"linear",r),e.trigger("orbit:timer-started")},_stop_timer:function(e){var t=this,n=e.parent(),r=n.find("."+t.settings.timer_container_class),i=r.find("."+t.settings.timer_progress_class),s=i.width()/r.width();t._rebuild_timer(n,s*100+"%"),e.trigger("orbit:timer-stopped"),r=n.find("."+t.settings.timer_container_class),r.addClass(t.settings.timer_paused_class)},_reset_timer:function(e,t){var n=this,r=e.parent();n._rebuild_timer(r,"0%");if(typeof t=="boolean"&&t){var i=r.find("."+n.settings.timer_container_class);i.addClass(n.settings.timer_paused_class)}},_rebuild_timer:function(t,n){var r=this,i=t.find("."+r.settings.timer_container_class),s=e(r._timer_html()),o=s.find("."+r.settings.timer_progress_class);if(typeof Zepto=="function")i.remove(),t.append(s),o.css("width",n);else if(typeof jQuery=="function"){var u=i.find("."+r.settings.timer_progress_class);u.css("width",n),u.stop()}},_goto:function(t,n,r){var i=this,s=t.parent(),o=t.children(),u=t.find("."+i.settings.active_slide_class),a=u.index(),f=Foundation.rtl?"marginRight":"marginLeft";if(s.hasClass(i.settings.orbit_transition_class))return!1;n==="prev"?a===0?a=o.length-1:a--:n==="next"?a=(a+1)%o.length:typeof n=="number"&&(a=n%o.length),a===o.length-1&&n==="next"?(t.css(f,"0%"),a=1):a===0&&n==="prev"&&(t.css(f,"-"+(o.length-1)*100+"%"),a=o.length-2),s.addClass(i.settings.orbit_transition_class),u.removeClass(i.settings.active_slide_class),e(o[a]).addClass(i.settings.active_slide_class);var l=s.siblings("."+i.settings.bullets_container_class);l.length===1&&(l.children().removeClass(i.settings.bullets_active_class),e(l.children()[a-1]).addClass(i.settings.bullets_active_class));var c="-"+a*100+"%";t.trigger("orbit:before-slide-change");if(t.css(f)===c)s.removeClass(i.settings.orbit_transition_class),t.trigger("orbit:after-slide-change",[{slide_number:a,total_slides:t.children().length-2}]),r();else{var h={};h[f]=c,t.animate(h,i.settings.animation_speed,"linear",function(){s.removeClass(i.settings.orbit_transition_class),t.trigger("orbit:after-slide-change",[{slide_number:a,total_slides:t.children().length-2}]),r()})}}}}(Foundation.zj,this,this.document),function(e,t,n,r){"use strict";Foundation.libs.reveal={name:"reveal",version:"4.2.2",locked:!1,settings:{animation:"fadeAndPop",animationSpeed:250,closeOnBackgroundClick:!0,closeOnEsc:!0,dismissModalClass:"close-reveal-modal",bgClass:"reveal-modal-bg",open:function(){},opened:function(){},close:function(){},closed:function(){},bg:e(".reveal-modal-bg"),css:{open:{opacity:0,visibility:"visible",display:"block"},close:{opacity:1,visibility:"hidden",display:"none"}}},init:function(t,n,r){return Foundation.inherit(this,"data_options delay"),typeof n=="object"?e.extend(!0,this.settings,n):typeof r!="undefined"&&e.extend(!0,this.settings,r),typeof n!="string"?(this.events(),this.settings.init):this[n].call(this,r)},events:function(){var t=this;return e(this.scope).off(".fndtn.reveal").on("click.fndtn.reveal","[data-reveal-id]",function(n){n.preventDefault();if(!t.locked){var r=e(this),i=r.data("reveal-ajax");t.locked=!0;if(typeof i=="undefined")t.open.call(t,r);else{var s=i===!0?r.attr("href"):i;t.open.call(t,r,{url:s})}}}).on("click.fndtn.reveal",this.close_targets(),function(n){n.preventDefault();if(!t.locked){var r=e.extend({},t.settings,t.data_options(e(".reveal-modal.open")));if(e(n.target)[0]===e("."+r.bgClass)[0]&&!r.closeOnBackgroundClick)return;t.locked=!0,t.close.call(t,e(this).closest(".reveal-modal"))}}).on("open.fndtn.reveal",".reveal-modal",this.settings.open).on("opened.fndtn.reveal",".reveal-modal",this.settings.opened).on("opened.fndtn.reveal",".reveal-modal",this.open_video).on("close.fndtn.reveal",".reveal-modal",this.settings.close).on("closed.fndtn.reveal",".reveal-modal",this.settings.closed).on("closed.fndtn.reveal",".reveal-modal",this.close_video),e("body").bind("keyup.reveal",function(n){var r=e(".reveal-modal.open"),i=e.extend({},t.settings,t.data_options(r));n.which===27&&i.closeOnEsc&&r.foundation("reveal","close")}),!0},open:function(t,n){if(t)if(typeof t.selector!="undefined")var r=e("#"+t.data("reveal-id"));else{var r=e(this.scope);n=t}else var r=e(this.scope);if(!r.hasClass("open")){var i=e(".reveal-modal.open");typeof r.data("css-top")=="undefined"&&r.data("css-top",parseInt(r.css("top"),10)).data("offset",this.cache_offset(r)),r.trigger("open"),i.length<1&&this.toggle_bg(r);if(typeof n=="undefined"||!n.url)this.hide(i,this.settings.css.close),this.show(r,this.settings.css.open);else{var s=this,o=typeof n.success!="undefined"?n.success:null;e.extend(n,{success:function(t,n,u){e.isFunction(o)&&o(t,n,u),r.html(t),e(r).foundation("section","reflow"),s.hide(i,s.settings.css.close),s.show(r,s.settings.css.open)}}),e.ajax(n)}}},close:function(t){var t=t&&t.length?t:e(this.scope),n=e(".reveal-modal.open");n.length>0&&(this.locked=!0,t.trigger("close"),this.toggle_bg(t),this.hide(n,this.settings.css.close))},close_targets:function(){var e="."+this.settings.dismissModalClass;return this.settings.closeOnBackgroundClick?e+", ."+this.settings.bgClass:e},toggle_bg:function(t){e(".reveal-modal-bg").length===0&&(this.settings.bg=e("<div />",{"class":this.settings.bgClass}).appendTo("body")),this.settings.bg.filter(":visible").length>0?this.hide(this.settings.bg):this.show(this.settings.bg)},show:function(n,r){if(r){if(/pop/i.test(this.settings.animation)){r.top=e(t).scrollTop()-n.data("offset")+"px";var i={top:e(t).scrollTop()+n.data("css-top")+"px",opacity:1};return this.delay(function(){return n.css(r).animate(i,this.settings.animationSpeed,"linear",function(){this.locked=!1,n.trigger("opened")}.bind(this)).addClass("open")}.bind(this),this.settings.animationSpeed/2)}if(/fade/i.test(this.settings.animation)){var i={opacity:1};return this.delay(function(){return n.css(r).animate(i,this.settings.animationSpeed,"linear",function(){this.locked=!1,n.trigger("opened")}.bind(this)).addClass("open")}.bind(this),this.settings.animationSpeed/2)}return n.css(r).show().css({opacity:1}).addClass("open").trigger("opened")}return/fade/i.test(this.settings.animation)?n.fadeIn(this.settings.animationSpeed/2):n.show()},hide:function(n,r){if(r){if(/pop/i.test(this.settings.animation)){var i={top:-e(t).scrollTop()-n.data("offset")+"px",opacity:0};return this.delay(function(){return n.animate(i,this.settings.animationSpeed,"linear",function(){this.locked=!1,n.css(r).trigger("closed")}.bind(this)).removeClass("open")}.bind(this),this.settings.animationSpeed/2)}if(/fade/i.test(this.settings.animation)){var i={opacity:0};return this.delay(function(){return n.animate(i,this.settings.animationSpeed,"linear",function(){this.locked=!1,n.css(r).trigger("closed")}.bind(this)).removeClass("open")}.bind(this),this.settings.animationSpeed/2)}return n.hide().css(r).removeClass("open").trigger("closed")}return/fade/i.test(this.settings.animation)?n.fadeOut(this.settings.animationSpeed/2):n.hide()},close_video:function(t){var n=e(this).find(".flex-video"),r=n.find("iframe");r.length>0&&(r.attr("data-src",r[0].src),r.attr("src","about:blank"),n.hide())},open_video:function(t){var n=e(this).find(".flex-video"),i=n.find("iframe");if(i.length>0){var s=i.attr("data-src");if(typeof s=="string")i[0].src=i.attr("data-src");else{var o=i[0].src;i[0].src=r,i[0].src=o}n.show()}},cache_offset:function(e){var t=e.show().height()+parseInt(e.css("top"),10);return e.hide(),t},off:function(){e(this.scope).off(".fndtn.reveal")},reflow:function(){}}}(Foundation.zj,this,this.document),function(e,t,n,r){"use strict";Foundation.libs.section={name:"section",version:"4.2.2",settings:{deep_linking:!1,small_breakpoint:768,one_up:!0,section_selector:"[data-section]",region_selector:"section, .section, [data-section-region]",title_selector:".title, [data-section-title]",active_region_selector:"section.active, .section.active, .active[data-section-region]",content_selector:".content, [data-section-content]",nav_selector:'[data-section="vertical-nav"], [data-section="horizontal-nav"]',callback:function(){}},init:function(t,n,r){var i=this;return Foundation.inherit(this,"throttle data_options position_right offset_right"),typeof n=="object"&&e.extend(!0,i.settings,n),typeof n!="string"?(this.set_active_from_hash(),this.events(),!0):this[n].call(this,r)},events:function(){var r=this;e(this.scope).on("click.fndtn.section","[data-section] .title, [data-section] [data-section-title]",function(t){var n=e(this),i=n.closest(r.settings.region_selector);i.children(r.settings.content_selector).length>0&&(r.toggle_active.call(this,t,r),r.reflow())}),e(t).on("resize.fndtn.section",r.throttle(function(){r.resize.call(this)},30)).on("hashchange",function(){r.settings.toggled||(r.set_active_from_hash(),e(this).trigger("resize"))}).trigger("resize"),e(n).on("click.fndtn.section",function(t){e(t.target).closest(r.settings.title_selector).length<1&&e(r.settings.nav_selector).children(r.settings.region_selector).removeClass("active").attr("style","")})},toggle_active:function(t,n){var r=e(this),n=Foundation.libs.section,i=r.closest(n.settings.region_selector),s=r.siblings(n.settings.content_selector),o=i.parent(),u=e.extend({},n.settings,n.data_options(o)),a=o.children(n.settings.active_region_selector);n.settings.toggled=!0,!u.deep_linking&&s.length>0&&t.preventDefault();if(i.hasClass("active"))(n.small(o)||n.is_vertical_nav(o)||n.is_horizontal_nav(o)||n.is_accordion(o))&&(a[0]!==i[0]||a[0]===i[0]&&!u.one_up)&&i.removeClass("active").attr("style","");else{var a=o.children(n.settings.active_region_selector),f=n.outerHeight(i.children(n.settings.title_selector));if(n.small(o)||u.one_up)n.small(o)?a.attr("style",""):a.attr("style","visibility: hidden; padding-top: "+f+"px;");n.small(o)?i.attr("style",""):i.css("padding-top",f),i.addClass("active"),a.length>0&&a.removeClass("active").attr("style",""),n.is_vertical_tabs(o)&&(s.css("display","block"),a!==null&&a.children(n.settings.content_selector).css("display","none"))}setTimeout(function(){n.settings.toggled=!1},300),u.callback()},resize:function(){var t=Foundation.libs.section,n=e(t.settings.section_selector);n.each(function(){var n=e(this),r=n.children(t.settings.active_region_selector),i=e.extend({},t.settings,t.data_options(n));if(r.length>1)r.not(":first").removeClass("active").attr("style","");else if(r.length<1&&!t.is_vertical_nav(n)&&!t.is_horizontal_nav(n)&&!t.is_accordion(n)){var s=n.children(t.settings.region_selector).first();(i.one_up||!t.small(n))&&s.addClass("active"),t.small(n)?s.attr("style",""):s.css("padding-top",t.outerHeight(s.children(t.settings.title_selector)))}t.small(n)?r.attr("style",""):r.css("padding-top",t.outerHeight(r.children(t.settings.title_selector))),t.position_titles(n),t.is_horizontal_nav(n)&&!t.small(n)||t.is_vertical_tabs(n)&&!t.small(n)?t.position_content(n):t.position_content(n,!1)})},is_vertical_nav:function(e){return/vertical-nav/i.test(e.data("section"))},is_horizontal_nav:function(e){return/horizontal-nav/i.test(e.data("section"))},is_accordion:function(e){return/accordion/i.test(e.data("section"))},is_horizontal_tabs:function(e){return/^tabs$/i.test(e.data("section"))},is_vertical_tabs:function(e){return/vertical-tabs/i.test(e.data("section"))},set_active_from_hash:function(){var n=t.location.hash.substring(1),r=e("[data-section]"),i=this;r.each(function(){var t=e(this),r=e.extend({},i.settings,i.data_options(t));if(n.length>0&&r.deep_linking){var s=t.children(i.settings.region_selector).attr("style","").removeClass("active"),o=s.map(function(){var t=e(i.settings.content_selector,this),r=t.data("slug");if((new RegExp(r,"i")).test(n))return t}),u=o.length;for(var a=u-1;a>=0;a--)e(o[a]).parent().addClass("active")}})},position_titles:function(t,n){var r=this,i=t.children(this.settings.region_selector).map(function(){return e(this).children(r.settings.title_selector)}),s=0,o=0,r=this;typeof n=="boolean"?i.attr("style",""):i.each(function(){r.is_vertical_tabs(t)?(e(this).css("top",o),o+=r.outerHeight(e(this))):(r.rtl?e(this).css("right",s):e(this).css("left",s),s+=r.outerWidth(e(this)))})},position_content:function(t,n){var r=this,i=t.children(r.settings.region_selector),s=i.map(function(){return e(this).children(r.settings.title_selector)}),o=i.map(function(){return e(this).children(r.settings.content_selector)});if(typeof n=="boolean")o.attr("style",""),t.attr("style","");else if(r.is_vertical_tabs(t)&&!r.small(t)){var u=0,a=Number.MAX_VALUE,f=null;i.each(function(){var n=e(this),i=n.children(r.settings.title_selector),s=n.children(r.settings.content_selector),o=0;f=r.outerWidth(i),o=r.outerWidth(t)-f,o<a&&(a=o),u+=r.outerHeight(i),e(this).hasClass("active")||s.css("display","none")}),i.each(function(){var t=e(this).children(r.settings.content_selector);t.css("minHeight",u),t.css("maxWidth",a-2)})}else i.each(function(){var t=e(this),n=t.children(r.settings.title_selector),i=t.children(r.settings.content_selector);r.rtl?i.css({right:r.position_right(n)+1,top:r.outerHeight(n)-2}):i.css({left:n.position().left-1,top:r.outerHeight(n)-2})}),typeof Zepto=="function"?t.height(this.outerHeight(e(s[0]))):t.height(this.outerHeight(e(s[0]))-2)},position_right:function(t){var n=this,r=t.closest(this.settings.section_selector),i=r.children(this.settings.region_selector),s=t.closest(this.settings.section_selector).width(),o=i.map(function(){return e(this).children(n.settings.title_selector)}).length;return s-t.position().left-t.width()*(t.index()+1)-o},reflow:function(t){var t=t||n;e(this.settings.section_selector,t).trigger("resize")},small:function(t){var n=e.extend({},this.settings,this.data_options(t));return this.is_horizontal_tabs(t)?!1:t&&this.is_accordion(t)?!0:e("html").hasClass("lt-ie9")?!0:e("html").hasClass("ie8compat")?!0:e(this.scope).width()<n.small_breakpoint},off:function(){e(this.scope).off(".fndtn.section"),e(t).off(".fndtn.section"),e(n).off(".fndtn.section")}}}(Foundation.zj,this,this.document),function(e,t,n,r){"use strict";Foundation.libs.tooltips={name:"tooltips",version:"4.2.2",settings:{selector:".has-tip",additionalInheritableClasses:[],tooltipClass:".tooltip",appendTo:"body","disable-for-touch":!1,tipTemplate:function(e,t){return'<span data-selector="'+e+'" class="'+Foundation.libs.tooltips.settings.tooltipClass.substring(1)+'">'+t+'<span class="nub"></span></span>'}},cache:{},init:function(t,n,r){Foundation.inherit(this,"data_options");var i=this;typeof n=="object"?e.extend(!0,this.settings,n):typeof r!="undefined"&&e.extend(!0,this.settings,r);if(typeof n=="string")return this[n].call(this,r);Modernizr.touch?e(this.scope).on("click.fndtn.tooltip touchstart.fndtn.tooltip touchend.fndtn.tooltip","[data-tooltip]",function(t){var n=e.extend({},i.settings,i.data_options(e(this)));n["disable-for-touch"]||(t.preventDefault(),e(n.tooltipClass).hide(),i.showOrCreateTip(e(this)))}).on("click.fndtn.tooltip touchstart.fndtn.tooltip touchend.fndtn.tooltip",this.settings.tooltipClass,function(t){t.preventDefault(),e(this).fadeOut(150)}):e(this.scope).on("mouseenter.fndtn.tooltip mouseleave.fndtn.tooltip","[data-tooltip]",function(t){var n=e(this);/enter|over/i.test(t.type)?i.showOrCreateTip(n):(t.type==="mouseout"||t.type==="mouseleave")&&i.hide(n)})},showOrCreateTip:function(e){var t=this.getTip(e);return t&&t.length>0?this.show(e):this.create(e)},getTip:function(t){var n=this.selector(t),r=null;return n&&(r=e('span[data-selector="'+n+'"]'+this.settings.tooltipClass)),typeof r=="object"?r:!1},selector:function(e){var t=e.attr("id"),n=e.attr("data-tooltip")||e.attr("data-selector");return(t&&t.length<1||!t)&&typeof n!="string"&&(n="tooltip"+Math.random().toString(36).substring(7),e.attr("data-selector",n)),t&&t.length>0?t:n},create:function(t){var n=e(this.settings.tipTemplate(this.selector(t),e("<div></div>").html(t.attr("title")).html())),r=this.inheritable_classes(t);n.addClass(r).appendTo(this.settings.appendTo),Modernizr.touch&&n.append('<span class="tap-to-close">tap to close </span>'),t.removeAttr("title").attr("title",""),this.show(t)},reposition:function(n,r,i){var s,o,u,a,f,l;r.css("visibility","hidden").show(),s=n.data("width"),o=r.children(".nub"),u=this.outerHeight(o),a=this.outerHeight(o),l=function(e,t,n,r,i,s){return e.css({top:t?
15
+ t:"auto",bottom:r?r:"auto",left:i?i:"auto",right:n?n:"auto",width:s?s:"auto"}).end()},l(r,n.offset().top+this.outerHeight(n)+10,"auto","auto",n.offset().left,s);if(e(t).width()<767)l(r,n.offset().top+this.outerHeight(n)+10,"auto","auto",12.5,e(this.scope).width()),r.addClass("tip-override"),l(o,-u,"auto","auto",n.offset().left);else{var c=n.offset().left;Foundation.rtl&&(c=n.offset().left+n.offset().width-this.outerWidth(r)),l(r,n.offset().top+this.outerHeight(n)+10,"auto","auto",c,s),r.removeClass("tip-override"),i&&i.indexOf("tip-top")>-1?l(r,n.offset().top-this.outerHeight(r),"auto","auto",c,s).removeClass("tip-override"):i&&i.indexOf("tip-left")>-1?l(r,n.offset().top+this.outerHeight(n)/2-u*2.5,"auto","auto",n.offset().left-this.outerWidth(r)-u,s).removeClass("tip-override"):i&&i.indexOf("tip-right")>-1&&l(r,n.offset().top+this.outerHeight(n)/2-u*2.5,"auto","auto",n.offset().left+this.outerWidth(n)+u,s).removeClass("tip-override")}r.css("visibility","visible").hide()},inheritable_classes:function(t){var n=["tip-top","tip-left","tip-bottom","tip-right","noradius"].concat(this.settings.additionalInheritableClasses),r=t.attr("class"),i=r?e.map(r.split(" "),function(t,r){if(e.inArray(t,n)!==-1)return t}).join(" "):"";return e.trim(i)},show:function(e){var t=this.getTip(e);this.reposition(e,t,e.attr("class")),t.fadeIn(150)},hide:function(e){var t=this.getTip(e);t.fadeOut(150)},reload:function(){var t=e(this);return t.data("fndtn-tooltips")?t.foundationTooltips("destroy").foundationTooltips("init"):t.foundationTooltips("init")},off:function(){e(this.scope).off(".fndtn.tooltip"),e(this.settings.tooltipClass).each(function(t){e("[data-tooltip]").get(t).attr("title",e(this).text())}).remove()},reflow:function(){}}}(Foundation.zj,this,this.document),function(e,t,n,r){"use strict";Foundation.libs.topbar={name:"topbar",version:"4.2.2",settings:{index:0,stickyClass:"sticky",custom_back_text:!0,back_text:"Back",is_hover:!0,scrolltop:!0,init:!1},init:function(n,r,i){Foundation.inherit(this,"data_options");var s=this;return typeof r=="object"?e.extend(!0,this.settings,r):typeof i!="undefined"&&e.extend(!0,this.settings,i),typeof r!="string"?(e(".top-bar, [data-topbar]").each(function(){e.extend(!0,s.settings,s.data_options(e(this))),s.settings.$w=e(t),s.settings.$topbar=e(this),s.settings.$section=s.settings.$topbar.find("section"),s.settings.$titlebar=s.settings.$topbar.children("ul").first(),s.settings.$topbar.data("index",0);var n=e("<div class='top-bar-js-breakpoint'/>").insertAfter(s.settings.$topbar);s.settings.breakPoint=n.width(),n.remove(),s.assemble(),s.settings.$topbar.parent().hasClass("fixed")&&e("body").css("padding-top",s.outerHeight(s.settings.$topbar))}),s.settings.init||this.events(),this.settings.init):this[r].call(this,i)},events:function(){var n=this,r=this.outerHeight(e(".top-bar, [data-topbar]"));e(this.scope).off(".fndtn.topbar").on("click.fndtn.topbar",".top-bar .toggle-topbar, [data-topbar] .toggle-topbar",function(i){var s=e(this).closest(".top-bar, [data-topbar]"),o=s.find("section, .section"),u=s.children("ul").first();i.preventDefault(),n.breakpoint()&&(n.rtl?(o.css({right:"0%"}),o.find(">.name").css({right:"100%"})):(o.css({left:"0%"}),o.find(">.name").css({left:"100%"})),o.find("li.moved").removeClass("moved"),s.data("index",0),s.toggleClass("expanded").css("max-height","")),s.hasClass("expanded")?s.parent().hasClass("fixed")&&(s.parent().removeClass("fixed"),s.addClass("fixed"),e("body").css("padding-top","0"),n.settings.scrolltop&&t.scrollTo(0,0)):s.hasClass("fixed")&&(s.parent().addClass("fixed"),s.removeClass("fixed"),e("body").css("padding-top",r))}).on("mouseenter mouseleave",".top-bar li",function(t){if(!n.settings.is_hover)return;/enter|over/i.test(t.type)?e(this).addClass("hover"):e(this).removeClass("hover")}).on("click.fndtn.topbar",".top-bar li.has-dropdown",function(t){if(n.breakpoint())return;var r=e(this),i=e(t.target),s=r.closest("[data-topbar], .top-bar"),o=s.data("topbar");if(n.settings.is_hover&&!Modernizr.touch)return;t.stopImmediatePropagation(),i[0].nodeName==="A"&&i.parent().hasClass("has-dropdown")&&t.preventDefault(),r.hasClass("hover")?r.removeClass("hover").find("li").removeClass("hover"):r.addClass("hover")}).on("click.fndtn.topbar",".top-bar .has-dropdown>a, [data-topbar] .has-dropdown>a",function(t){if(n.breakpoint()){t.preventDefault();var r=e(this),i=r.closest(".top-bar, [data-topbar]"),s=i.find("section, .section"),o=i.children("ul").first(),u=r.next(".dropdown").outerHeight(),a=r.closest("li");i.data("index",i.data("index")+1),a.addClass("moved"),n.rtl?(s.css({right:-(100*i.data("index"))+"%"}),s.find(">.name").css({right:100*i.data("index")+"%"})):(s.css({left:-(100*i.data("index"))+"%"}),s.find(">.name").css({left:100*i.data("index")+"%"})),i.css("max-height",n.height(r.siblings("ul"))+n.outerHeight(o,!0))}}),e(t).on("resize.fndtn.topbar",function(){n.breakpoint()||e(".top-bar, [data-topbar]").css("max-height","").removeClass("expanded").find("li").removeClass("hover")}.bind(this)),e("body").on("click.fndtn.topbar",function(t){var n=e(t.target).closest("[data-topbar], .top-bar");if(n.length>0)return;e(".top-bar li, [data-topbar] li").removeClass("hover")}),e(this.scope).on("click.fndtn",".top-bar .has-dropdown .back, [data-topbar] .has-dropdown .back",function(t){t.preventDefault();var r=e(this),i=r.closest(".top-bar, [data-topbar]"),s=i.children("ul").first(),o=i.find("section, .section"),u=r.closest("li.moved"),a=u.parent();i.data("index",i.data("index")-1),n.rtl?(o.css({right:-(100*i.data("index"))+"%"}),o.find(">.name").css({right:100*i.data("index")+"%"})):(o.css({left:-(100*i.data("index"))+"%"}),o.find(">.name").css({left:100*i.data("index")+"%"})),i.data("index")===0?i.css("max-height",""):i.css("max-height",n.height(a)+n.outerHeight(s,!0)),setTimeout(function(){u.removeClass("moved")},300)})},breakpoint:function(){return e(n).width()<=this.settings.breakPoint||e("html").hasClass("lt-ie9")},assemble:function(){var t=this;this.settings.$section.detach(),this.settings.$section.find(".has-dropdown>a").each(function(){var n=e(this),r=n.siblings(".dropdown"),i=n.attr("href");if(i&&i.length>1)var s=e('<li class="title back js-generated"><h5><a href="#"></a></h5></li><li><a class="parent-link js-generated" href="'+i+'">'+n.text()+"</a></li>");else var s=e('<li class="title back js-generated"><h5><a href="#"></a></h5></li>');t.settings.custom_back_text==1?s.find("h5>a").html("&laquo; "+t.settings.back_text):s.find("h5>a").html("&laquo; "+n.html()),r.prepend(s)}),this.settings.$section.appendTo(this.settings.$topbar),this.sticky()},height:function(t){var n=0,r=this;return t.find("> li").each(function(){n+=r.outerHeight(e(this),!0)}),n},sticky:function(){var n="."+this.settings.stickyClass;if(e(n).length>0){var r=e(n).length?e(n).offset().top:0,i=e(t),s=this.outerHeight(e(".top-bar"));i.scroll(function(){i.scrollTop()>=r?(e(n).addClass("fixed"),e("body").css("padding-top",s)):i.scrollTop()<r&&(e(n).removeClass("fixed"),e("body").css("padding-top","0"))})}},off:function(){e(this.scope).off(".fndtn.topbar"),e(t).off(".fndtn.topbar")},reflow:function(){}}}(Foundation.zj,this,this.document),function(e,t,n,r){"use strict";Foundation.libs.interchange={name:"interchange",version:"4.2.2",cache:{},settings:{load_attr:"interchange",named_queries:{"default":"only screen and (min-width: 1px)",small:"only screen and (min-width: 768px)",medium:"only screen and (min-width: 1280px)",large:"only screen and (min-width: 1440px)",landscape:"only screen and (orientation: landscape)",portrait:"only screen and (orientation: portrait)",retina:"only screen and (-webkit-min-device-pixel-ratio: 2),only screen and (min--moz-device-pixel-ratio: 2),only screen and (-o-min-device-pixel-ratio: 2/1),only screen and (min-device-pixel-ratio: 2),only screen and (min-resolution: 192dpi),only screen and (min-resolution: 2dppx)"},directives:{replace:function(e,t){if(/IMG/.test(e[0].nodeName)){var n=t.split("/"),r=n[n.length-1],i=e[0].src;if((new RegExp(r,"i")).test(e[0].src))return;return e[0].src=t,e.trigger("replace",[e[0].src,i])}}}},init:function(t,n,r){return Foundation.inherit(this,"throttle"),typeof n=="object"&&e.extend(!0,this.settings,n),this.events(),this.images(),typeof n!="string"?this.settings.init:this[n].call(this,r)},events:function(){var n=this;e(t).on("resize.fndtn.interchange",n.throttle(function(){n.resize.call(n)},50))},resize:function(){var e=this.cache;for(var t in e)if(e.hasOwnProperty(t)){var n=this.results(t,e[t]);n&&this.settings.directives[n.scenario[1]](n.el,n.scenario[0])}},results:function(t,n){var r=n.length,i=[];if(r>0){var s=e('[data-uuid="'+t+'"]');for(var o=r-1;o>=0;o--){var u=n[o][2];if(this.settings.named_queries.hasOwnProperty(u))var a=matchMedia(this.settings.named_queries[u]);else var a=matchMedia(n[o][2]);if(a.matches)return{el:s,scenario:n[o]}}}return!1},images:function(e){return typeof this.cached_images=="undefined"||e?this.update_images():this.cached_images},update_images:function(){var t=n.getElementsByTagName("img"),r=t.length,i="data-"+this.settings.load_attr;this.cached_images=[];for(var s=r-1;s>=0;s--)this.loaded(e(t[s]),s===0,function(e,t){if(e){var n=e.getAttribute(i)||"";n.length>0&&this.cached_images.push(e)}t&&this.enhance()}.bind(this));return"deferred"},loaded:function(e,t,n){function r(){n(e[0],t)}function i(){this.one("load",r);if(/MSIE (\d+\.\d+);/.test(navigator.userAgent)){var e=this.attr("src"),t=e.match(/\?/)?"&":"?";t+="random="+(new Date).getTime(),this.attr("src",e+t)}}if(!e.attr("src")){r();return}e[0].complete||e[0].readyState===4?r():i.call(e)},enhance:function(){var n=this.images().length;for(var r=n-1;r>=0;r--)this._object(e(this.images()[r]));return e(t).trigger("resize")},parse_params:function(e,t,n){return[this.trim(e),this.convert_directive(t),this.trim(n)]},convert_directive:function(e){var t=this.trim(e);return t.length>0?t:"replace"},_object:function(e){var t=this.parse_data_attr(e),n=[],r=t.length;if(r>0)for(var i=r-1;i>=0;i--){var s=t[i].split(/\((.*?)(\))$/);if(s.length>1){var o=s[0].split(","),u=this.parse_params(o[0],o[1],s[1]);n.push(u)}}return this.store(e,n)},uuid:function(e){function n(){return((1+Math.random())*65536|0).toString(16).substring(1)}var t=e||"-";return n()+n()+t+n()+t+n()+t+n()+t+n()+n()+n()},store:function(e,t){var n=this.uuid(),r=e.data("uuid");return r?this.cache[r]:(e.attr("data-uuid",n),this.cache[n]=t)},trim:function(t){return typeof t=="string"?e.trim(t):t},parse_data_attr:function(e){var t=e.data(this.settings.load_attr).split(/\[(.*?)\]/),n=t.length,r=[];for(var i=n-1;i>=0;i--)t[i].replace(/[\W\d]+/,"").length>4&&r.push(t[i]);return r},reflow:function(){this.images(!0)}}}(Foundation.zj,this,this.document),function(e,t,n){function f(e){var t={},r=/^jQuery\d+$/;return n.each(e.attributes,function(e,n){n.specified&&!r.test(n.name)&&(t[n.name]=n.value)}),t}function l(e,r){var i=this,s=n(i);if(i.value==s.attr("placeholder")&&s.hasClass("placeholder"))if(s.data("placeholder-password")){s=s.hide().next().show().attr("id",s.removeAttr("id").data("placeholder-id"));if(e===!0)return s[0].value=r;s.focus()}else i.value="",s.removeClass("placeholder"),i==t.activeElement&&i.select()}function c(){var e,t=this,r=n(t),i=r,s=this.id;if(t.value==""){if(t.type=="password"){if(!r.data("placeholder-textinput")){try{e=r.clone().attr({type:"text"})}catch(o){e=n("<input>").attr(n.extend(f(this),{type:"text"}))}e.removeAttr("name").data({"placeholder-password":!0,"placeholder-id":s}).bind("focus.placeholder",l),r.data({"placeholder-textinput":e,"placeholder-id":s}).before(e)}r=r.removeAttr("id").hide().prev().attr("id",s).show()}r.addClass("placeholder"),r[0].value=r.attr("placeholder")}else r.removeClass("placeholder")}var r="placeholder"in t.createElement("input"),i="placeholder"in t.createElement("textarea"),s=n.fn,o=n.valHooks,u,a;r&&i?(a=s.placeholder=function(){return this},a.input=a.textarea=!0):(a=s.placeholder=function(){var e=this;return e.filter((r?"textarea":":input")+"[placeholder]").not(".placeholder").bind({"focus.placeholder":l,"blur.placeholder":c}).data("placeholder-enabled",!0).trigger("blur.placeholder"),e},a.input=r,a.textarea=i,u={get:function(e){var t=n(e);return t.data("placeholder-enabled")&&t.hasClass("placeholder")?"":e.value},set:function(e,r){var i=n(e);return i.data("placeholder-enabled")?(r==""?(e.value=r,e!=t.activeElement&&c.call(e)):i.hasClass("placeholder")?l.call(e,!0,r)||(e.value=r):e.value=r,i):e.value=r}},r||(o.input=u),i||(o.textarea=u),n(function(){n(t).delegate("form","submit.placeholder",function(){var e=n(".placeholder",this).each(l);setTimeout(function(){e.each(c)},10)})}),n(e).bind("beforeunload.placeholder",function(){n(".placeholder").each(function(){this.value=""})}))}(this,document,Foundation.zj),function(e,t,n,r){"use strict";Foundation.libs.placeholder={name:"placeholder",version:"4.2.2",init:function(n,r,i){this.scope=n||this.scope,typeof r!="string"&&(t.onload=function(){e("input, textarea").placeholder()})}}}(Foundation.zj,this,this.document);
lib/foundation/foundation.reveal.js ADDED
@@ -0,0 +1,330 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*jslint unparam: true, browser: true, indent: 2 */
2
+
3
+ ;(function ($, window, document, undefined) {
4
+ 'use strict';
5
+
6
+ Foundation.libs.reveal = {
7
+ name : 'reveal',
8
+
9
+ version : '4.2.2',
10
+
11
+ locked : false,
12
+
13
+ settings : {
14
+ animation: 'fadeAndPop',
15
+ animationSpeed: 250,
16
+ closeOnBackgroundClick: true,
17
+ closeOnEsc: true,
18
+ dismissModalClass: 'close-reveal-modal',
19
+ bgClass: 'reveal-modal-bg',
20
+ open: function(){},
21
+ opened: function(){},
22
+ close: function(){},
23
+ closed: function(){},
24
+ bg : $('.reveal-modal-bg'),
25
+ css : {
26
+ open : {
27
+ 'opacity': 0,
28
+ 'visibility': 'visible',
29
+ 'display' : 'block'
30
+ },
31
+ close : {
32
+ 'opacity': 1,
33
+ 'visibility': 'hidden',
34
+ 'display': 'none'
35
+ }
36
+ }
37
+ },
38
+
39
+ init : function (scope, method, options) {
40
+ Foundation.inherit(this, 'data_options delay');
41
+
42
+ if (typeof method === 'object') {
43
+ $.extend(true, this.settings, method);
44
+ } else if (typeof options !== 'undefined') {
45
+ $.extend(true, this.settings, options);
46
+ }
47
+
48
+ if (typeof method !== 'string') {
49
+ this.events();
50
+
51
+ return this.settings.init;
52
+ } else {
53
+ return this[method].call(this, options);
54
+ }
55
+ },
56
+
57
+ events : function () {
58
+ var self = this;
59
+
60
+ $(this.scope)
61
+ .off('.fndtn.reveal')
62
+ .on('click.fndtn.reveal', '[data-reveal-id]', function (e) {
63
+ e.preventDefault();
64
+
65
+ if (!self.locked) {
66
+ var element = $(this),
67
+ ajax = element.data('reveal-ajax');
68
+
69
+ self.locked = true;
70
+
71
+ if (typeof ajax === 'undefined') {
72
+ self.open.call(self, element);
73
+ } else {
74
+ var url = ajax === true ? element.attr('href') : ajax;
75
+
76
+ self.open.call(self, element, {url: url});
77
+ }
78
+ }
79
+ })
80
+ .on('click.fndtn.reveal', this.close_targets(), function (e) {
81
+ e.preventDefault();
82
+ if (!self.locked) {
83
+ var settings = $.extend({}, self.settings, self.data_options($('.reveal-modal.open')));
84
+ if ($(e.target)[0] === $('.' + settings.bgClass)[0] && !settings.closeOnBackgroundClick) {
85
+ return;
86
+ }
87
+
88
+ self.locked = true;
89
+ self.close.call(self, $(this).closest('.reveal-modal'));
90
+ }
91
+ })
92
+ .on('open.fndtn.reveal', '.reveal-modal', this.settings.open)
93
+ .on('opened.fndtn.reveal', '.reveal-modal', this.settings.opened)
94
+ .on('opened.fndtn.reveal', '.reveal-modal', this.open_video)
95
+ .on('close.fndtn.reveal', '.reveal-modal', this.settings.close)
96
+ .on('closed.fndtn.reveal', '.reveal-modal', this.settings.closed)
97
+ .on('closed.fndtn.reveal', '.reveal-modal', this.close_video);
98
+
99
+ $( 'body' ).bind( 'keyup.reveal', function ( event ) {
100
+ var open_modal = $('.reveal-modal.open'),
101
+ settings = $.extend({}, self.settings, self.data_options(open_modal));
102
+ if ( event.which === 27 && settings.closeOnEsc) { // 27 is the keycode for the Escape key
103
+ open_modal.foundation('reveal', 'close');
104
+ }
105
+ });
106
+
107
+ return true;
108
+ },
109
+
110
+ open : function (target, ajax_settings) {
111
+ if (target) {
112
+ if (typeof target.selector !== 'undefined') {
113
+ var modal = $('#' + target.data('reveal-id'));
114
+ } else {
115
+ var modal = $(this.scope);
116
+
117
+ ajax_settings = target;
118
+ }
119
+ } else {
120
+ var modal = $(this.scope);
121
+ }
122
+
123
+ if (!modal.hasClass('open')) {
124
+ var open_modal = $('.reveal-modal.open');
125
+
126
+ if (typeof modal.data('css-top') === 'undefined') {
127
+ modal.data('css-top', parseInt(modal.css('top'), 10))
128
+ .data('offset', this.cache_offset(modal));
129
+ }
130
+
131
+ modal.trigger('open');
132
+
133
+ if (open_modal.length < 1) {
134
+ this.toggle_bg(modal);
135
+ }
136
+
137
+ if (typeof ajax_settings === 'undefined' || !ajax_settings.url) {
138
+ this.hide(open_modal, this.settings.css.close);
139
+ this.show(modal, this.settings.css.open);
140
+ } else {
141
+ var self = this,
142
+ old_success = typeof ajax_settings.success !== 'undefined' ? ajax_settings.success : null;
143
+
144
+ $.extend(ajax_settings, {
145
+ success: function (data, textStatus, jqXHR) {
146
+ if ( $.isFunction(old_success) ) {
147
+ old_success(data, textStatus, jqXHR);
148
+ }
149
+
150
+ modal.html(data);
151
+ $(modal).foundation('section', 'reflow');
152
+
153
+ self.hide(open_modal, self.settings.css.close);
154
+ self.show(modal, self.settings.css.open);
155
+ }
156
+ });
157
+
158
+ $.ajax(ajax_settings);
159
+ }
160
+ }
161
+ },
162
+
163
+ close : function (modal) {
164
+
165
+ var modal = modal && modal.length ? modal : $(this.scope),
166
+ open_modals = $('.reveal-modal.open');
167
+
168
+ if (open_modals.length > 0) {
169
+ this.locked = true;
170
+ modal.trigger('close');
171
+ this.toggle_bg(modal);
172
+ this.hide(open_modals, this.settings.css.close);
173
+ }
174
+ },
175
+
176
+ close_targets : function () {
177
+ var base = '.' + this.settings.dismissModalClass;
178
+
179
+ if (this.settings.closeOnBackgroundClick) {
180
+ return base + ', .' + this.settings.bgClass;
181
+ }
182
+
183
+ return base;
184
+ },
185
+
186
+ toggle_bg : function (modal) {
187
+ if ($('.reveal-modal-bg').length === 0) {
188
+ this.settings.bg = $('<div />', {'class': this.settings.bgClass})
189
+ .appendTo('body');
190
+ }
191
+
192
+ if (this.settings.bg.filter(':visible').length > 0) {
193
+ this.hide(this.settings.bg);
194
+ } else {
195
+ this.show(this.settings.bg);
196
+ }
197
+ },
198
+
199
+ show : function (el, css) {
200
+ // is modal
201
+ if (css) {
202
+ if (/pop/i.test(this.settings.animation)) {
203
+ css.top = $(window).scrollTop() - el.data('offset') + 'px';
204
+ var end_css = {
205
+ top: $(window).scrollTop() + el.data('css-top') + 'px',
206
+ opacity: 1
207
+ };
208
+
209
+ return this.delay(function () {
210
+ return el
211
+ .css(css)
212
+ .animate(end_css, this.settings.animationSpeed, 'linear', function () {
213
+ this.locked = false;
214
+ el.trigger('opened');
215
+ }.bind(this))
216
+ .addClass('open');
217
+ }.bind(this), this.settings.animationSpeed / 2);
218
+ }
219
+
220
+ if (/fade/i.test(this.settings.animation)) {
221
+ var end_css = {opacity: 1};
222
+
223
+ return this.delay(function () {
224
+ return el
225
+ .css(css)
226
+ .animate(end_css, this.settings.animationSpeed, 'linear', function () {
227
+ this.locked = false;
228
+ el.trigger('opened');
229
+ }.bind(this))
230
+ .addClass('open');
231
+ }.bind(this), this.settings.animationSpeed / 2);
232
+ }
233
+
234
+ return el.css(css).show().css({opacity: 1}).addClass('open').trigger('opened');
235
+ }
236
+
237
+ // should we animate the background?
238
+ if (/fade/i.test(this.settings.animation)) {
239
+ return el.fadeIn(this.settings.animationSpeed / 2);
240
+ }
241
+
242
+ return el.show();
243
+ },
244
+
245
+ hide : function (el, css) {
246
+ // is modal
247
+ if (css) {
248
+ if (/pop/i.test(this.settings.animation)) {
249
+ var end_css = {
250
+ top: - $(window).scrollTop() - el.data('offset') + 'px',
251
+ opacity: 0
252
+ };
253
+
254
+ return this.delay(function () {
255
+ return el
256
+ .animate(end_css, this.settings.animationSpeed, 'linear', function () {
257
+ this.locked = false;
258
+ el.css(css).trigger('closed');
259
+ }.bind(this))
260
+ .removeClass('open');
261
+ }.bind(this), this.settings.animationSpeed / 2);
262
+ }
263
+
264
+ if (/fade/i.test(this.settings.animation)) {
265
+ var end_css = {opacity: 0};
266
+
267
+ return this.delay(function () {
268
+ return el
269
+ .animate(end_css, this.settings.animationSpeed, 'linear', function () {
270
+ this.locked = false;
271
+ el.css(css).trigger('closed');
272
+ }.bind(this))
273
+ .removeClass('open');
274
+ }.bind(this), this.settings.animationSpeed / 2);
275
+ }
276
+
277
+ return el.hide().css(css).removeClass('open').trigger('closed');
278
+ }
279
+
280
+ // should we animate the background?
281
+ if (/fade/i.test(this.settings.animation)) {
282
+ return el.fadeOut(this.settings.animationSpeed / 2);
283
+ }
284
+
285
+ return el.hide();
286
+ },
287
+
288
+ close_video : function (e) {
289
+ var video = $(this).find('.flex-video'),
290
+ iframe = video.find('iframe');
291
+
292
+ if (iframe.length > 0) {
293
+ iframe.attr('data-src', iframe[0].src);
294
+ iframe.attr('src', 'about:blank');
295
+ video.hide();
296
+ }
297
+ },
298
+
299
+ open_video : function (e) {
300
+ var video = $(this).find('.flex-video'),
301
+ iframe = video.find('iframe');
302
+
303
+ if (iframe.length > 0) {
304
+ var data_src = iframe.attr('data-src');
305
+ if (typeof data_src === 'string') {
306
+ iframe[0].src = iframe.attr('data-src');
307
+ } else {
308
+ var src = iframe[0].src;
309
+ iframe[0].src = undefined;
310
+ iframe[0].src = src;
311
+ }
312
+ video.show();
313
+ }
314
+ },
315
+
316
+ cache_offset : function (modal) {
317
+ var offset = modal.show().height() + parseInt(modal.css('top'), 10);
318
+
319
+ modal.hide();
320
+
321
+ return offset;
322
+ },
323
+
324
+ off : function () {
325
+ $(this.scope).off('.fndtn.reveal');
326
+ },
327
+
328
+ reflow : function () {}
329
+ };
330
+ }(Foundation.zj, this, this.document));
readme.txt CHANGED
@@ -1,12 +1,12 @@
1
  === rtMedia for WordPress, BuddyPress and bbPress ===
2
- Contributors: rtcamp, rahul286, faishal, JoshuaAbenazer, gagan0123, saurabhshukla, desaiuditd, nitun.lanjewar, rittesh.patel, pushpak.pop, umesh.nevase, suhasgirgaonkar, neerukoul, hrishiv90, kanakiyajay
3
  Donate link: http://rtcamp.com/store/rtmedia-pro/
4
  Tags: BuddyPress, media, multimedia, album, audio, songs, music, video, photo, image, upload, share, MediaElement.js, ffmpeg, kaltura, media-node, rtMedia, WordPress, bbPress
5
  License: GPLv2 or later
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  Requires at least: WordPress 3.6
8
  Tested up to: WordPress 3.6.1 + BuddyPress 1.8.1
9
- Stable tag: 3.1.7
10
 
11
  Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works mobile/tablets devices.
12
 
@@ -119,8 +119,13 @@ Please visit [rtMedia's Features page](http://rtcamp.com/rtmedia/?utm_source=rea
119
 
120
  Please visit [rtMedia's Roadmap page](http://rtcamp.com/rtmedia/roadmap/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "Visit rtMedia's Features page") to get some details about future releases.
121
 
 
 
 
 
 
122
  = 3.1.7 =
123
- * Translatable message and button in activity stream and single media view. thanks to [jonasnick](https://github.com/jonasnick)
124
  * Limits items posted in activity feed thanks to [jarretc](https://github.com/jarretc)
125
  * bug fixed for album deletion
126
  * Fix count issue on update
@@ -558,8 +563,8 @@ Please visit [rtMedia's Roadmap page](http://rtcamp.com/rtmedia/roadmap/?utm_sou
558
 
559
  == Upgrade Notice ==
560
 
561
- = 3.1.7 =
562
- Requires BuddyPress 1.7 or higher, if using BuddyPress. Add Limits items posted in activity,fix count on update and other bug fixes.
563
 
564
  == Sponsors ==
565
 
@@ -572,6 +577,7 @@ Requires BuddyPress 1.7 or higher, if using BuddyPress. Add Limits items posted
572
 
573
  rtMedia includes [full translation support](https://rtcamp.com/tutorials/rtmedia-translation/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media). Head over to the [translation project](http://rtcamp.com/translate/projects/rtmedia/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media) to contribute your translations. If you don't see the language of your choice, let us know in the support forum, we'll add it.
574
 
 
575
  * [Persian](https://rtcamp.com/translate/projects/rtmedia/fa/default) translation by [mahdiar](http://profiles.wordpress.org/mahdiar/)
576
  * [Spanish](https://rtcamp.com/translate/projects/rtmedia/es/default) translation by [Andrés Felipe](http://profiles.wordpress.org/naturalworldstm/)
577
  * [German](https://rtcamp.com/translate/projects/rtmedia/de/default) translation by [hannes.muc]
1
  === rtMedia for WordPress, BuddyPress and bbPress ===
2
+ Contributors: rtcamp, rahul286, faishal, JoshuaAbenazer, gagan0123, saurabhshukla, desaiuditd, nitun.lanjewar, rittesh.patel, pushpak.pop, umesh.nevase, suhasgirgaonkar, neerukoul, hrishiv90, kanakiyajay, jarretc
3
  Donate link: http://rtcamp.com/store/rtmedia-pro/
4
  Tags: BuddyPress, media, multimedia, album, audio, songs, music, video, photo, image, upload, share, MediaElement.js, ffmpeg, kaltura, media-node, rtMedia, WordPress, bbPress
5
  License: GPLv2 or later
6
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
  Requires at least: WordPress 3.6
8
  Tested up to: WordPress 3.6.1 + BuddyPress 1.8.1
9
+ Stable tag: 3.2
10
 
11
  Add albums, photo, audio/video encoding, privacy, sharing, front-end uploads & more. All this works mobile/tablets devices.
12
 
119
 
120
  Please visit [rtMedia's Roadmap page](http://rtcamp.com/rtmedia/roadmap/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media "Visit rtMedia's Features page") to get some details about future releases.
121
 
122
+ = 3.2 =
123
+ * UI Changes
124
+ * Cover art for music
125
+ * Used Font awesome for icon buttons
126
+
127
  = 3.1.7 =
128
+ * Translatable message and button in activity stream and single media view thanks to [jonasnick](https://github.com/jonasnick)
129
  * Limits items posted in activity feed thanks to [jarretc](https://github.com/jarretc)
130
  * bug fixed for album deletion
131
  * Fix count issue on update
563
 
564
  == Upgrade Notice ==
565
 
566
+ = 3.2 =
567
+ Requires BuddyPress 1.7 or higher, if using BuddyPress. UI changes, cover art for Music.
568
 
569
  == Sponsors ==
570
 
577
 
578
  rtMedia includes [full translation support](https://rtcamp.com/tutorials/rtmedia-translation/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media). Head over to the [translation project](http://rtcamp.com/translate/projects/rtmedia/?utm_source=readme&utm_medium=plugin&utm_campaign=buddypress-media) to contribute your translations. If you don't see the language of your choice, let us know in the support forum, we'll add it.
579
 
580
+ * [Italian](https://rtcamp.com/translate/projects/rtmedia/it/default) translation by [Yukiko.Kawa]
581
  * [Persian](https://rtcamp.com/translate/projects/rtmedia/fa/default) translation by [mahdiar](http://profiles.wordpress.org/mahdiar/)
582
  * [Spanish](https://rtcamp.com/translate/projects/rtmedia/es/default) translation by [Andrés Felipe](http://profiles.wordpress.org/naturalworldstm/)
583
  * [German](https://rtcamp.com/translate/projects/rtmedia/de/default) translation by [hannes.muc]
templates/media/album-gallery.php CHANGED
@@ -1,11 +1,16 @@
1
  <div class="rtmedia-container">
2
  <?php do_action ( 'rtmedia_before_album_gallery' ); ?>
3
- <?php rtmedia_uploader () ?>
 
 
 
 
 
 
 
4
 
5
  <?php if ( have_rtmedia () ) { ?>
6
 
7
- <h2><?php echo __ ( 'Album Gallery' , 'rtmedia' ) ; ?></h2>
8
-
9
  <ul class="rtmedia-list rtmedia-album-list">
10
 
11
  <?php while ( have_rtmedia () ) : rtmedia () ; ?>
@@ -40,7 +45,7 @@
40
  </div><!--/.rtmedia_next_prev-->
41
 
42
  <?php } else { ?>
43
- <p><?php echo __ ( "Oops !! There's no media found for the request !!" , "rtmedia" ) ; ?></p>
44
  <?php } ?>
45
  <?php do_action ( 'rtmedia_after_album_gallery' ) ; ?>
46
 
1
  <div class="rtmedia-container">
2
  <?php do_action ( 'rtmedia_before_album_gallery' ); ?>
3
+ <div id="rtm-gallery-title-container">
4
+ <h2 class="rtm-gallery-title"><?php echo __ ( 'Album Gallery' , 'rtmedia' ) ; ?></h2>
5
+ <div id="rtm-media-options"><?php do_action ( 'rtmedia_album_gallery_actions' ); ?></div>
6
+ </div>
7
+
8
+ <div id="rtm-media-gallery-uploader">
9
+ <?php rtmedia_uploader ( array('is_up_shortcode'=> false) ); ?>
10
+ </div>
11
 
12
  <?php if ( have_rtmedia () ) { ?>
13
 
 
 
14
  <ul class="rtmedia-list rtmedia-album-list">
15
 
16
  <?php while ( have_rtmedia () ) : rtmedia () ; ?>
45
  </div><!--/.rtmedia_next_prev-->
46
 
47
  <?php } else { ?>
48
+ <p><?php echo __ ( "Oops !! No album found for the request !!" , "rtmedia" ) ; ?></p>
49
  <?php } ?>
50
  <?php do_action ( 'rtmedia_after_album_gallery' ) ; ?>
51
 
templates/media/album-single-edit.php CHANGED
@@ -4,6 +4,8 @@ global $rtmedia_query;
4
  $model = new RTMediaModel();
5
 
6
  $media = $model->get_media(array('id' => $rtmedia_query->media_query['album_id']), false, false);
 
 
7
  ?>
8
  <div class="rtmedia-container rtmedia-single-container">
9
  <form method="post">
@@ -21,7 +23,7 @@ $media = $model->get_media(array('id' => $rtmedia_query->media_query['album_id']
21
  <?php wp_editor($content, 'description', array('media_buttons' => false, 'textarea_rows' => 4, 'quicktags' => false)); ?>
22
  <input type="submit" name="submit" value="<?php _e('Save', 'rtmedia'); ?>" />
23
  </div>
24
-
25
 
26
  </form>
27
  <?php if (have_rtmedia()) { ?>
4
  $model = new RTMediaModel();
5
 
6
  $media = $model->get_media(array('id' => $rtmedia_query->media_query['album_id']), false, false);
7
+ global $rtmedia_media;
8
+ $rtmedia_media = $media[0];
9
  ?>
10
  <div class="rtmedia-container rtmedia-single-container">
11
  <form method="post">
23
  <?php wp_editor($content, 'description', array('media_buttons' => false, 'textarea_rows' => 4, 'quicktags' => false)); ?>
24
  <input type="submit" name="submit" value="<?php _e('Save', 'rtmedia'); ?>" />
25
  </div>
26
+
27
 
28
  </form>
29
  <?php if (have_rtmedia()) { ?>
templates/media/media-gallery.php CHANGED
@@ -1,16 +1,27 @@
1
  <div class="rtmedia-container">
2
  <?php do_action ( 'rtmedia_before_media_gallery' ); ?>
3
-
4
- <?php rtmedia_uploader () ?>
5
-
6
  <?php
7
  $title = get_rtmedia_gallery_title();
8
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
9
 
10
- <h2>
11
- <?php if( $title ) { echo $title; }
12
- else { echo __ ( 'Media Gallery', 'rtmedia' ); } ?>
13
- </h2>
 
 
14
  <ul class="rtmedia-list rtmedia-list-media <?php echo rtmedia_media_gallery_class (); ?>">
15
  <?php if ( have_rtmedia () ) { ?>
16
 
1
  <div class="rtmedia-container">
2
  <?php do_action ( 'rtmedia_before_media_gallery' ); ?>
 
 
 
3
  <?php
4
  $title = get_rtmedia_gallery_title();
5
+ global $rtmedia_query;
6
+ if( isset($rtmedia_query->is_gallery_shortcode) && $rtmedia_query->is_gallery_shortcode == true) { // if gallery is displayed using gallery shortcode
7
+ ?>
8
+ <h2><?php echo __ ( 'Media Gallery', 'rtmedia' ); ?></h2>
9
+ <?php }
10
+ else { ?>
11
+ <div id="rtm-gallery-title-container">
12
+ <h2 class="rtm-gallery-title">
13
+ <?php if( $title ) { echo $title; }
14
+ else { echo __ ( 'Media Gallery', 'rtmedia' ); } ?>
15
+ </h2>
16
+ <div id="rtm-media-options"><?php do_action ( 'rtmedia_media_gallery_actions' ); ?></div>
17
+ </div>
18
 
19
+ <div id="rtm-media-gallery-uploader">
20
+ <?php rtmedia_uploader ( array('is_up_shortcode'=> false) ); ?>
21
+ </div>
22
+ <?php }
23
+ ?>
24
+
25
  <ul class="rtmedia-list rtmedia-list-media <?php echo rtmedia_media_gallery_class (); ?>">
26
  <?php if ( have_rtmedia () ) { ?>
27