Advertisement
Guest User

Bill Maher claims

a guest
Jan 29th, 2015
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 78.83 KB | None | 0 0
  1.  
  2. <form method="get" action="">
  3. <table style="display:none;"><tbody id="com-reply"><tr id="replyrow" style="display:none;"><td colspan="2" class="colspanchange">
  4.     <div id="replyhead" style="display:none;"><h5>Reply to Comment</h5></div>
  5.     <div id="addhead" style="display:none;"><h5>Add new Comment</h5></div>
  6.     <div id="edithead" style="display:none;">
  7.         <div class="inside">
  8.         <label for="author">Name</label>
  9.         <input type="text" name="newcomment_author" size="50" value="" id="author" />
  10.         </div>
  11.  
  12.         <div class="inside">
  13.         <label for="author-email">E-mail</label>
  14.         <input type="text" name="newcomment_author_email" size="50" value="" id="author-email" />
  15.         </div>
  16.  
  17.         <div class="inside">
  18.         <label for="author-url">URL</label>
  19.         <input type="text" id="author-url" name="newcomment_author_url" class="code" size="103" value="" />
  20.         </div>
  21.         <div style="clear:both;"></div>
  22.     </div>
  23.  
  24.     <div id="replycontainer">
  25.     <div id="wp-replycontent-wrap" class="wp-core-ui wp-editor-wrap html-active"><div id="wp-replycontent-editor-container" class="wp-editor-container"><textarea class="wp-editor-area" rows="20" cols="40" name="replycontent" id="replycontent"></textarea></div>
  26. </div>
  27.  
  28.     </div>
  29.  
  30.     <p id="replysubmit" class="submit">
  31.     <a href="#comments-form" class="save button-primary alignright">
  32.     <span id="addbtn" style="display:none;">Add Comment</span>
  33.     <span id="savebtn" style="display:none;">Update Comment</span>
  34.     <span id="replybtn" style="display:none;">Submit Reply</span></a>
  35.     <a href="#comments-form" class="cancel button-secondary alignleft">Cancel</a>
  36.     <span class="waiting spinner"></span>
  37.     <span class="error" style="display:none;"></span>
  38.     <br class="clear" />
  39.     </p>
  40.  
  41.     <input type="hidden" name="user_ID" id="user_ID" value="1" />
  42.     <input type="hidden" name="action" id="action" value="" />
  43.     <input type="hidden" name="comment_ID" id="comment_ID" value="" />
  44.     <input type="hidden" name="comment_post_ID" id="comment_post_ID" value="" />
  45.     <input type="hidden" name="status" id="status" value="" />
  46.     <input type="hidden" name="position" id="position" value="1" />
  47.     <input type="hidden" name="checkbox" id="checkbox" value="0" />
  48.     <input type="hidden" name="mode" id="mode" value="single" />
  49.     <input type="hidden" id="_ajax_nonce-replyto-comment" name="_ajax_nonce-replyto-comment" value="4c18b36e69" /><input type="hidden" id="_wp_unfiltered_html_comment" name="_wp_unfiltered_html_comment" value="003121a893" /></td></tr></tbody></table>
  50. </form>
  51.  
  52. <script type="text/javascript">
  53. try{document.post.title.focus();}catch(e){}
  54. </script>
  55.  
  56. <div class="clear"></div></div><!-- wpbody-content -->
  57. <div class="clear"></div></div><!-- wpbody -->
  58. <div class="clear"></div></div><!-- wpcontent -->
  59.  
  60. <div id="wpfooter">
  61.         <p id="footer-left" class="alignleft">
  62.         <span id="footer-thankyou">Thank you for creating with <a href="https://wordpress.org/">WordPress</a>.</span>   </p>
  63.     <p id="footer-upgrade" class="alignright">
  64.         Version 4.1 </p>
  65.     <div class="clear"></div>
  66. </div>
  67. <script type="text/html" id="vcl-loop-frame">
  68.     <div class="vc_row">
  69.         <div class="vc_col-sm-12">
  70.             <# if(vc.loop_field_not_hidden('post_type', loop)) { #>
  71.                 <label class="wpb_element_label">Post types</label>
  72.  
  73.                 <div class="post-types-list">
  74.                     {{{ vc.loop_partial('checkboxes', 'post_type', loop) }}}
  75.                 </div>
  76.                 <span class="description clear">Select post types to populate posts from. Note: If no post type is selected, WordPress will use default "Post" value.</span>
  77.                 <# } #>
  78.         </div>
  79.     </div>
  80.     <div class="vc_row">
  81.         <# if(vc.loop_field_not_hidden('size', loop)) { #>
  82.             <div class="vc_col-sm-4">
  83.                 <label class="wpb_element_label">Post Count</label>
  84.                 {{{ vc.loop_partial('text-input', 'size', loop) }}}
  85.                 <span class="description clear">How many teasers to show? Enter number or word "All".</span>
  86.             </div>
  87.             <# } #>
  88.                 <# if(vc.loop_field_not_hidden('order_by', loop)) { #>
  89.                     <div class="vc_col-sm-4">
  90.                         <label class="wpb_element_label">Order By</label>
  91.                         {{{ vc.loop_partial('dropdown', 'order_by', loop) }}}
  92.                         <span class="description clear">Select how to sort retrieved posts. More at <a href="http://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters" target="_blank">
  93.                             WordPress codex page</a>.</span>
  94.                     </div>
  95.                     <# } #>
  96.                         <# if(vc.loop_field_not_hidden('order', loop)) { #>
  97.                             <div class="vc_col-sm-4">
  98.                                 <label class="wpb_element_label">Order</label>
  99.                                 {{{ vc.loop_partial('dropdown', 'order', loop) }}}
  100.                                 <span class="description clear">Designates the ascending or descending order.</span>
  101.                             </div>
  102.                             <# } #>
  103.     </div>
  104.  
  105.     <# if(vc.loop_field_not_hidden('categories', loop)) { #>
  106.         <div class="vc_row">
  107.             <div class="vc_col-sm-12">
  108.                 <div class="vc_suggest-field" data-block="suggestion">
  109.                     <label class="wpb_element_label">Categories</label>
  110.                     {{{ vc.loop_partial('autosuggest', 'categories', loop) }}}
  111.                     <span class="description clear">Filter output by posts categories, enter category names here.</span>
  112.                 </div>
  113.             </div>
  114.         </div>
  115.         <# } #>
  116.             <# if(vc.loop_field_not_hidden('tags', loop)) { #>
  117.                 <div class="vc_row">
  118.                     <div class="vc_col-sm-12">
  119.                         <div class="vc_suggest-field" data-block="suggestion">
  120.                             <label class="wpb_element_label">Tags</label>
  121.                             {{{ vc.loop_partial('autosuggest', 'tags', loop) }}}
  122.                             <span class="description clear">Filter output by posts tags, enter tag names here.</span>
  123.                         </div>
  124.                     </div>
  125.                 </div>
  126.                 <# } #>
  127.                     <# if(vc.loop_field_not_hidden('tax_query', loop)) { #>
  128.                         <div class="vc_row">
  129.                             <div class="vc_col-sm-12">
  130.                                 <div class="vc_suggest-field" data-block="suggestion">
  131.                                     <label class="wpb_element_label">Taxonomies</label>
  132.                                     {{{ vc.loop_partial('autosuggest', 'tax_query', loop) }}}
  133.                                     <span class="description clear">Filter output by custom taxonomies categories, enter category names here.</span>
  134.                                 </div>
  135.                             </div>
  136.                         </div>
  137.                         <# } #>
  138.                             <# if(vc.loop_field_not_hidden('by_id', loop)) { #>
  139.                                 <div class="vc_row">
  140.                                     <div class="vc_col-sm-12">
  141.                                         <div class="vc_suggest-field" data-block="suggestion">
  142.                                             <label class="wpb_element_label">Individual Posts/Pages/Custom Post Types</label>
  143.                                             {{{ vc.loop_partial('autosuggest', 'by_id', loop) }}}
  144.                                             <span class="description clear">Only entered posts/pages will be included in the output. Note: Works in conjunction with selected "Post types".</span>
  145.                                         </div>
  146.                                     </div>
  147.                                 </div>
  148.                                 <# } #>
  149.                                     <# if(vc.loop_field_not_hidden('authors', loop)) { #>
  150.                                         <div class="vc_row">
  151.                                             <div class="vc_col-sm-12">
  152.                                                 <div class="vc_suggest-field" data-block="suggestion">
  153.                                                     <label class="wpb_element_label">Author</label>
  154.                                                     {{{ vc.loop_partial('autosuggest', 'authors', loop) }}}
  155.                                                     <span class="description clear">Filter by author name.</span>
  156.                                                 </div>
  157.                                             </div>
  158.                                         </div>
  159.                                         <# } #>
  160. </script>
  161. <script type="text/html" id="_vcl-text-input">
  162.     <#
  163.            var is_locked = vc.is_locked(data),
  164.            disabled = is_locked  ? ' disabled="true"' : '',
  165.            value = _.isObject(data) && !_.isUndefined(data.value) ? data.value : '';
  166.            #>
  167.         <input type="text" name="{{ name }}" value="{{ value }}" class="vc_{{ name }}_field"{{ disabled }}>
  168. </script>
  169. <script type="text/html" id="_vcl-dropdown">
  170.     <#
  171.            var is_locked = vc.is_locked(data),
  172.            disabled = is_locked  ? ' disabled="true"' : '';
  173.            #>
  174.         <select name="{{ name }}" class="vc_dropdown"{{ disabled }}>
  175.         <option value=""></option>
  176.         <# if(_.isObject(data) && _.isArray(data.options)) { #>
  177.             <#
  178.                    _.each(data.options, function(opt) {
  179.                    var value, label;
  180.                    if(_.isArray(opt)) {
  181.                    value = opt[0];
  182.                    label = opt[1];
  183.                    } else {
  184.                    value = opt;
  185.                    label = opt;
  186.                    }#>
  187.                 <option value="{{ value }}"
  188.                {{ data.value===value ? ' selected="true"' : '' }}>{{ label }}</option>
  189.                 <#
  190.                        });
  191.                        #>
  192.                     <# } #>
  193.                         </select>
  194. </script>
  195. <script type="text/html" id="_vcl-checkboxes">
  196.     <#
  197.            var is_locked = vc.is_locked(data);
  198.            #>
  199.         <input type="hidden" name="{{ name }}" value="{{ data.value }}" data-name="{{ name }}">
  200.         <# if(_.isObject(data) && _.isArray(data.options)) {
  201.                _.each(data.options, function(opt) {
  202.                var value, label, params;
  203.                if(_.isArray(opt)) {
  204.                value = opt[0];
  205.                label = opt[1];
  206.                } else {
  207.                value = opt;
  208.                label = opt;
  209.                }
  210.                params = _.indexOf(data.value, value) >=0 ? ' checked="true"' : '';
  211.             if(!_.isEmpty(params) && is_locked) params += ' disabled="true"';
  212.             #>
  213.             <label><input type="checkbox" data-input="{{ name }}" value="{{ value }}"{{ params }}/> {{ label }}</label>
  214.             <#
  215.                    });
  216.                    } #>
  217. </script>
  218. <script type="text/html" id="_vcl-autosuggest">
  219.     <# limit_param = _.isObject(settings) && !_.isUndefined(settings.limit) ? ' data-limit="' + settings.limit + '"' : ''; #>
  220.         <input type="hidden" data-suggest-prefill="{{ name }}"
  221.               value="{{ _.isObject(data) && _.isArray(data.options) ? window.encodeURIComponent(JSON.stringify(data.options)) : '' }}">
  222.         <input type="hidden" name="{{ name }}"
  223.               value="{{ _.isObject(data) && _.isArray(data.value) ? data.value.join(',') : '' }}"
  224.               data-suggest-value="{{ name }}">
  225.         <input type="text" name="{{ name }}_autosuggest" value=""
  226.               placeholder="Click here and start typing..." class="vc_{{ name }}_field"
  227.               data-suggest="{{ name }}"{{ limit_param }} />
  228. </script><script type="text/html" id="vcl-options-field-input">
  229.     <div class="vc_row">
  230.         <div class="vc_col-sm-12">
  231.             <label class="wpb_element_label">{{ label }}</label>
  232.             <input type="text" name="{{ name }}" value="{{ value[0] }}">
  233.  
  234.             <div class="descr"><i>{{ description }}</i></div>
  235.         </div>
  236.     </div>
  237. </script>
  238. <script type="text/html" id="vcl-options-field-select">
  239.     <div class="vc_row">
  240.         <div class="vc_col-sm-12">
  241.             <label class="wpb_element_label">{{ label }}</label>
  242.             <select name="{{ name }}">
  243.                 <# _.each(options, function(option) { #>
  244.                     <# if(_.isArray(option)) { #>
  245.                         <option value="{{ option[0] }}"
  246.                        {{ value[0]===option[0] ? ' selected="true"' : '' }}>{{ option[1] }}</option>
  247.                         <# } else { #>
  248.                             <option value="{{ option }}"
  249.                            {{ value[0]===option ? ' selected="true"' : '' }}>{{ option }}</option>
  250.                             <# } #>
  251.                                 <# }); #>
  252.             </select>
  253.  
  254.             <div class="descr"><i>{{ description }}</i></div>
  255.         </div>
  256.     </div>
  257. </script>
  258. <script type="text/html" id="vcl-options-field-checkbox">
  259.     <div class="vc_row">
  260.         <div class="vc_col-sm-12">
  261.             <label class="wpb_element_label">{{ label }}</label>
  262.  
  263.             <div class="vc_options-checkboxes">
  264.                 <# _.each(options, function(option) { #>
  265.                     <label><input type="checkbox" name="{{ name }}" value="{{ option[0] }}"{{ _.indexOf(value,
  266.                        option[0]) > -1 ? ' checked="true"' : '' }}> {{ option[1] }}</label>
  267.                     <# }); #>
  268.             </div>
  269.             <div class="descr"><i>{{ description }}</i></div>
  270.         </div>
  271.     </div>
  272. </script>
  273. <script type="text/html" id="vcl-options-field-boolean">
  274.     <div class="vc_row">
  275.         <div class="vc_col-sm-12">
  276.             <label class="wpb_element_label">{{ label }}</label>
  277.  
  278.             <div class="vc_options-checkbox">
  279.                 <label><input type="checkbox" name="{{ name }}" value="true"{{ value[0]==='true' ? ' checked="true"' :
  280.                    '' }}> Yes</label>
  281.             </div>
  282.             <div class="descr"><i>{{ description }}</i></div>
  283.         </div>
  284.     </div>
  285. </script>
  286. <script type="text/html" id="vcl-options-field-separator">
  287.     <h4>{{label}}</h4>
  288. </script>       <script type="text/javascript">
  289.             jQuery(function ($) {
  290.                 $('.wpmudev-dismiss').click(function () {
  291.                     var $link = $(this), data = {'action': 'wpmudev-dismiss'};
  292.                     $link.closest('.wpmudev-new, .wpmudev-message, .update-nag').fadeOut('fast');
  293.                     data[ $link.attr('data-key') ] = $link.attr('data-id');
  294.                     $.post(ajaxurl, data);
  295.                     return false;
  296.                 });
  297.             });
  298.         </script>
  299.         <div id="post-lock-dialog" class="notification-dialog-wrap hidden">
  300.     <div class="notification-dialog-background"></div>
  301.     <div class="notification-dialog">
  302.             <div class="post-taken-over">
  303.             <div class="post-locked-avatar"></div>
  304.             <p class="wp-tab-first" tabindex="0">
  305.             <span class="currently-editing"></span><br />
  306.             <span class="locked-saving hidden"><img src="images/wpspin_light-2x.gif" width="16" height="16" /> Saving revision...</span>
  307.             <span class="locked-saved hidden">Your latest changes were saved as a revision.</span>
  308.             </p>
  309.                         <p><a class="button button-primary wp-tab-last" href="http://proxymaster.psehost.com/outlawsrestaurantcom/wp-admin/edit.php?post_type=video">Videos</a></p>
  310.         </div>
  311.             </div>
  312.     </div>
  313.         <!--[if lte IE 8]>
  314.     <style>
  315.         .attachment:focus {
  316.             outline: #1e8cbe solid;
  317.         }
  318.         .selected.attachment {
  319.             outline: #1e8cbe solid;
  320.         }
  321.     </style>
  322.     <![endif]-->
  323.     <script type="text/html" id="tmpl-media-frame">
  324.         <div class="media-frame-menu"></div>
  325.         <div class="media-frame-title"></div>
  326.         <div class="media-frame-router"></div>
  327.         <div class="media-frame-content"></div>
  328.         <div class="media-frame-toolbar"></div>
  329.         <div class="media-frame-uploader"></div>
  330.     </script>
  331.  
  332.     <script type="text/html" id="tmpl-media-modal">
  333.         <div class="media-modal wp-core-ui">
  334.             <a class="media-modal-close" href="#"><span class="media-modal-icon"><span class="screen-reader-text">Close media panel</span></span></a>
  335.             <div class="media-modal-content"></div>
  336.         </div>
  337.         <div class="media-modal-backdrop"></div>
  338.     </script>
  339.  
  340.     <script type="text/html" id="tmpl-uploader-window">
  341.         <div class="uploader-window-content">
  342.             <h3>Drop files to upload</h3>
  343.         </div>
  344.     </script>
  345.  
  346.     <script type="text/html" id="tmpl-uploader-editor">
  347.         <div class="uploader-editor-content">
  348.             <div class="uploader-editor-title">Drop files to upload</div>
  349.         </div>
  350.     </script>
  351.  
  352.     <script type="text/html" id="tmpl-uploader-inline">
  353.         <# var messageClass = data.message ? 'has-upload-message' : 'no-upload-message'; #>
  354.         <# if ( data.canClose ) { #>
  355.         <button class="close dashicons dashicons-no"><span class="screen-reader-text">Close uploader</span></button>
  356.         <# } #>
  357.         <div class="uploader-inline-content {{ messageClass }}">
  358.         <# if ( data.message ) { #>
  359.             <h3 class="upload-message">{{ data.message }}</h3>
  360.         <# } #>
  361.                     <div class="upload-ui">
  362.                 <h3 class="upload-instructions drop-instructions">Drop files anywhere to upload</h3>
  363.                 <p class="upload-instructions drop-instructions">or</p>
  364.                 <a href="#" class="browser button button-hero">Select Files</a>
  365.             </div>
  366.  
  367.             <div class="upload-inline-status"></div>
  368.  
  369.             <div class="post-upload-ui">
  370.                
  371.                 <p class="max-upload-size">Maximum upload file size: 1 MB.</p>
  372.  
  373.                 <# if ( data.suggestedWidth && data.suggestedHeight ) { #>
  374.                     <p class="suggested-dimensions">
  375.                         Suggested image dimensions: {{data.suggestedWidth}} &times; {{data.suggestedHeight}}
  376.                     </p>
  377.                 <# } #>
  378.  
  379.                             </div>
  380.                 </div>
  381.     </script>
  382.  
  383.     <script type="text/html" id="tmpl-media-library-view-switcher">
  384.         <a href="/outlawsrestaurantcom/wp-admin/post-new.php?post_type=video&#038;mode=list" class="view-list">
  385.             <span class="screen-reader-text">List View</span>
  386.         </a>
  387.         <a href="/outlawsrestaurantcom/wp-admin/post-new.php?post_type=video&#038;mode=grid" class="view-grid current">
  388.             <span class="screen-reader-text">Grid View</span>
  389.         </a>
  390.     </script>
  391.  
  392.     <script type="text/html" id="tmpl-uploader-status">
  393.         <h3>Uploading</h3>
  394.         <a class="upload-dismiss-errors" href="#">Dismiss Errors</a>
  395.  
  396.         <div class="media-progress-bar"><div></div></div>
  397.         <div class="upload-details">
  398.             <span class="upload-count">
  399.                 <span class="upload-index"></span> / <span class="upload-total"></span>
  400.             </span>
  401.             <span class="upload-detail-separator">&ndash;</span>
  402.             <span class="upload-filename"></span>
  403.         </div>
  404.         <div class="upload-errors"></div>
  405.     </script>
  406.  
  407.     <script type="text/html" id="tmpl-uploader-status-error">
  408.         <span class="upload-error-label">Error</span>
  409.         <span class="upload-error-filename">{{{ data.filename }}}</span>
  410.         <span class="upload-error-message">{{ data.message }}</span>
  411.     </script>
  412.  
  413.     <script type="text/html" id="tmpl-edit-attachment-frame">
  414.         <div class="edit-media-header">
  415.             <button class="left dashicons <# if ( ! data.hasPrevious ) { #> disabled <# } #>"><span class="screen-reader-text">Edit previous media item</span></button>
  416.             <button class="right dashicons <# if ( ! data.hasNext ) { #> disabled <# } #>"><span class="screen-reader-text">Edit next media item</span></button>
  417.         </div>
  418.         <div class="media-frame-title"></div>
  419.         <div class="media-frame-content"></div>
  420.     </script>
  421.  
  422.     <script type="text/html" id="tmpl-attachment-details-two-column">
  423.         <div class="attachment-media-view {{ data.orientation }}">
  424.             <div class="thumbnail thumbnail-{{ data.type }}">
  425.                 <# if ( data.uploading ) { #>
  426.                     <div class="media-progress-bar"><div></div></div>
  427.                 <# } else if ( 'image' === data.type && data.sizes && data.sizes.large ) { #>
  428.                     <img class="details-image" src="{{ data.sizes.large.url }}" draggable="false" />
  429.                 <# } else if ( 'image' === data.type && data.sizes && data.sizes.full ) { #>
  430.                     <img class="details-image" src="{{ data.sizes.full.url }}" draggable="false" />
  431.                 <# } else if ( -1 === jQuery.inArray( data.type, [ 'audio', 'video' ] ) ) { #>
  432.                     <img class="details-image" src="{{ data.icon }}" class="icon" draggable="false" />
  433.                 <# } #>
  434.  
  435.                 <# if ( 'audio' === data.type ) { #>
  436.                 <div class="wp-media-wrapper">
  437.                     <audio style="visibility: hidden" controls class="wp-audio-shortcode" width="100%" preload="none">
  438.                         <source type="{{ data.mime }}" src="{{ data.url }}"/>
  439.                     </audio>
  440.                 </div>
  441.                 <# } else if ( 'video' === data.type ) {
  442.                     var w_rule = h_rule = '';
  443.                     if ( data.width ) {
  444.                         w_rule = 'width: ' + data.width + 'px;';
  445.                     } else if ( wp.media.view.settings.contentWidth ) {
  446.                         w_rule = 'width: ' + wp.media.view.settings.contentWidth + 'px;';
  447.                     }
  448.                     if ( data.height ) {
  449.                         h_rule = 'height: ' + data.height + 'px;';
  450.                     }
  451.                 #>
  452.                 <div style="{{ w_rule }}{{ h_rule }}" class="wp-media-wrapper wp-video">
  453.                     <video controls="controls" class="wp-video-shortcode" preload="metadata"
  454.                         <# if ( data.width ) { #>width="{{ data.width }}"<# } #>
  455.                         <# if ( data.height ) { #>height="{{ data.height }}"<# } #>
  456.                         <# if ( data.image && data.image.src !== data.icon ) { #>poster="{{ data.image.src }}"<# } #>>
  457.                         <source type="{{ data.mime }}" src="{{ data.url }}"/>
  458.                     </video>
  459.                 </div>
  460.                 <# } #>
  461.  
  462.                 <div class="attachment-actions">
  463.                     <# if ( 'image' === data.type && ! data.uploading && data.sizes && data.can.save ) { #>
  464.                         <a class="button edit-attachment" href="#">Edit Image</a>
  465.                     <# } #>
  466.                 </div>
  467.             </div>
  468.         </div>
  469.         <div class="attachment-info">
  470.             <span class="settings-save-status">
  471.                 <span class="spinner"></span>
  472.                 <span class="saved">Saved.</span>
  473.             </span>
  474.             <div class="details">
  475.                 <div class="filename"><strong>File name:</strong> {{ data.filename }}</div>
  476.                 <div class="filename"><strong>File type:</strong> {{ data.mime }}</div>
  477.                 <div class="uploaded"><strong>Uploaded on:</strong> {{ data.dateFormatted }}</div>
  478.  
  479.                 <div class="file-size"><strong>File size:</strong> {{ data.filesizeHumanReadable }}</div>
  480.                 <# if ( 'image' === data.type && ! data.uploading ) { #>
  481.                     <# if ( data.width && data.height ) { #>
  482.                         <div class="dimensions"><strong>Dimensions:</strong> {{ data.width }} &times; {{ data.height }}</div>
  483.                     <# } #>
  484.                 <# } #>
  485.  
  486.                 <# if ( data.fileLength ) { #>
  487.                     <div class="file-length"><strong>Length:</strong> {{ data.fileLength }}</div>
  488.                 <# } #>
  489.  
  490.                 <# if ( 'audio' === data.type && data.meta.bitrate ) { #>
  491.                     <div class="bitrate">
  492.                         <strong>Bitrate:</strong> {{ Math.round( data.meta.bitrate / 1000 ) }}kb/s
  493.                         <# if ( data.meta.bitrate_mode ) { #>
  494.                         {{ ' ' + data.meta.bitrate_mode.toUpperCase() }}
  495.                         <# } #>
  496.                     </div>
  497.                 <# } #>
  498.  
  499.                 <div class="compat-meta">
  500.                     <# if ( data.compat && data.compat.meta ) { #>
  501.                         {{{ data.compat.meta }}}
  502.                     <# } #>
  503.                 </div>
  504.             </div>
  505.  
  506.             <div class="settings">
  507.                 <label class="setting" data-setting="url">
  508.                     <span class="name">URL</span>
  509.                     <input type="text" value="{{ data.url }}" readonly />
  510.                 </label>
  511.                 <# var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly'; #>
  512.                 <label class="setting" data-setting="title">
  513.                     <span class="name">Title</span>
  514.                     <input type="text" value="{{ data.title }}" {{ maybeReadOnly }} />
  515.                 </label>
  516.                 <# if ( 'audio' === data.type ) { #>
  517.                                 <label class="setting" data-setting="artist">
  518.                     <span class="name">Artist</span>
  519.                     <input type="text" value="{{ data.artist || data.meta.artist || '' }}" />
  520.                 </label>
  521.                                 <label class="setting" data-setting="album">
  522.                     <span class="name">Album</span>
  523.                     <input type="text" value="{{ data.album || data.meta.album || '' }}" />
  524.                 </label>
  525.                                 <# } #>
  526.                 <label class="setting" data-setting="caption">
  527.                     <span class="name">Caption</span>
  528.                     <textarea {{ maybeReadOnly }}>{{ data.caption }}</textarea>
  529.                 </label>
  530.                 <# if ( 'image' === data.type ) { #>
  531.                     <label class="setting" data-setting="alt">
  532.                         <span class="name">Alt Text</span>
  533.                         <input type="text" value="{{ data.alt }}" {{ maybeReadOnly }} />
  534.                     </label>
  535.                 <# } #>
  536.                 <label class="setting" data-setting="description">
  537.                     <span class="name">Description</span>
  538.                     <textarea {{ maybeReadOnly }}>{{ data.description }}</textarea>
  539.                 </label>
  540.                 <label class="setting">
  541.                     <span class="name">Uploaded By</span>
  542.                     <span class="value">{{ data.authorName }}</span>
  543.                 </label>
  544.                 <# if ( data.uploadedToTitle ) { #>
  545.                     <label class="setting">
  546.                         <span class="name">Uploaded To</span>
  547.                         <# if ( data.uploadedToLink ) { #>
  548.                             <span class="value"><a href="{{ data.uploadedToLink }}">{{ data.uploadedToTitle }}</a></span>
  549.                         <# } else { #>
  550.                             <span class="value">{{ data.uploadedToTitle }}</span>
  551.                         <# } #>
  552.                     </label>
  553.                 <# } #>
  554.                 <div class="attachment-compat"></div>
  555.             </div>
  556.  
  557.             <div class="actions">
  558.                 <a class="view-attachment" href="{{ data.link }}">View attachment page</a>
  559.                 <# if ( data.can.save ) { #> |
  560.                     <a href="post.php?post={{ data.id }}&action=edit">Edit more details</a>
  561.                 <# } #>
  562.                 <# if ( ! data.uploading && data.can.remove ) { #> |
  563.                                             <a class="delete-attachment" href="#">Delete Permanently</a>
  564.                                     <# } #>
  565.             </div>
  566.  
  567.         </div>
  568.     </script>
  569.  
  570.     <script type="text/html" id="tmpl-attachment">
  571.         <div class="attachment-preview js--select-attachment type-{{ data.type }} subtype-{{ data.subtype }} {{ data.orientation }}">
  572.             <div class="thumbnail">
  573.                 <# if ( data.uploading ) { #>
  574.                     <div class="media-progress-bar"><div style="width: {{ data.percent }}%"></div></div>
  575.                 <# } else if ( 'image' === data.type && data.sizes ) { #>
  576.                     <div class="centered">
  577.                         <img src="{{ data.size.url }}" draggable="false" alt="" />
  578.                     </div>
  579.                 <# } else { #>
  580.                     <div class="centered">
  581.                         <# if ( data.image && data.image.src && data.image.src !== data.icon ) { #>
  582.                             <img src="{{ data.image.src }}" class="thumbnail" draggable="false" />
  583.                         <# } else { #>
  584.                             <img src="{{ data.icon }}" class="icon" draggable="false" />
  585.                         <# } #>
  586.                     </div>
  587.                     <div class="filename">
  588.                         <div>{{ data.filename }}</div>
  589.                     </div>
  590.                 <# } #>
  591.             </div>
  592.             <# if ( data.buttons.close ) { #>
  593.                 <a class="close media-modal-icon" href="#" title="Remove"></a>
  594.             <# } #>
  595.         </div>
  596.         <# if ( data.buttons.check ) { #>
  597.             <a class="check" href="#" title="Deselect" tabindex="-1"><div class="media-modal-icon"></div></a>
  598.         <# } #>
  599.         <#
  600.         var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly';
  601.         if ( data.describe ) {
  602.             if ( 'image' === data.type ) { #>
  603.                 <input type="text" value="{{ data.caption }}" class="describe" data-setting="caption"
  604.                     placeholder="Caption this image&hellip;" {{ maybeReadOnly }} />
  605.             <# } else { #>
  606.                 <input type="text" value="{{ data.title }}" class="describe" data-setting="title"
  607.                     <# if ( 'video' === data.type ) { #>
  608.                         placeholder="Describe this video&hellip;"
  609.                     <# } else if ( 'audio' === data.type ) { #>
  610.                         placeholder="Describe this audio file&hellip;"
  611.                     <# } else { #>
  612.                         placeholder="Describe this media file&hellip;"
  613.                     <# } #> {{ maybeReadOnly }} />
  614.             <# }
  615.         } #>
  616.     </script>
  617.  
  618.     <script type="text/html" id="tmpl-attachment-details">
  619.         <h3>
  620.             Attachment Details
  621.             <span class="settings-save-status">
  622.                 <span class="spinner"></span>
  623.                 <span class="saved">Saved.</span>
  624.             </span>
  625.         </h3>
  626.         <div class="attachment-info">
  627.             <div class="thumbnail thumbnail-{{ data.type }}">
  628.                 <# if ( data.uploading ) { #>
  629.                     <div class="media-progress-bar"><div></div></div>
  630.                 <# } else if ( 'image' === data.type && data.sizes ) { #>
  631.                     <img src="{{ data.size.url }}" draggable="false" />
  632.                 <# } else { #>
  633.                     <img src="{{ data.icon }}" class="icon" draggable="false" />
  634.                 <# } #>
  635.             </div>
  636.             <div class="details">
  637.                 <div class="filename">{{ data.filename }}</div>
  638.                 <div class="uploaded">{{ data.dateFormatted }}</div>
  639.  
  640.                 <div class="file-size">{{ data.filesizeHumanReadable }}</div>
  641.                 <# if ( 'image' === data.type && ! data.uploading ) { #>
  642.                     <# if ( data.width && data.height ) { #>
  643.                         <div class="dimensions">{{ data.width }} &times; {{ data.height }}</div>
  644.                     <# } #>
  645.  
  646.                     <# if ( data.can.save && data.sizes ) { #>
  647.                         <a class="edit-attachment" href="{{ data.editLink }}&amp;image-editor" target="_blank">Edit Image</a>
  648.                         <a class="refresh-attachment" href="#">Refresh</a>
  649.                     <# } #>
  650.                 <# } #>
  651.  
  652.                 <# if ( data.fileLength ) { #>
  653.                     <div class="file-length">Length: {{ data.fileLength }}</div>
  654.                 <# } #>
  655.  
  656.                 <# if ( ! data.uploading && data.can.remove ) { #>
  657.                                             <a class="delete-attachment" href="#">Delete Permanently</a>
  658.                                     <# } #>
  659.  
  660.                 <div class="compat-meta">
  661.                     <# if ( data.compat && data.compat.meta ) { #>
  662.                         {{{ data.compat.meta }}}
  663.                     <# } #>
  664.                 </div>
  665.             </div>
  666.         </div>
  667.  
  668.         <label class="setting" data-setting="url">
  669.             <span class="name">URL</span>
  670.             <input type="text" value="{{ data.url }}" readonly />
  671.         </label>
  672.         <# var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly'; #>
  673.         <label class="setting" data-setting="title">
  674.             <span class="name">Title</span>
  675.             <input type="text" value="{{ data.title }}" {{ maybeReadOnly }} />
  676.         </label>
  677.         <# if ( 'audio' === data.type ) { #>
  678.                 <label class="setting" data-setting="artist">
  679.             <span class="name">Artist</span>
  680.             <input type="text" value="{{ data.artist || data.meta.artist || '' }}" />
  681.         </label>
  682.                 <label class="setting" data-setting="album">
  683.             <span class="name">Album</span>
  684.             <input type="text" value="{{ data.album || data.meta.album || '' }}" />
  685.         </label>
  686.                 <# } #>
  687.         <label class="setting" data-setting="caption">
  688.             <span class="name">Caption</span>
  689.             <textarea {{ maybeReadOnly }}>{{ data.caption }}</textarea>
  690.         </label>
  691.         <# if ( 'image' === data.type ) { #>
  692.             <label class="setting" data-setting="alt">
  693.                 <span class="name">Alt Text</span>
  694.                 <input type="text" value="{{ data.alt }}" {{ maybeReadOnly }} />
  695.             </label>
  696.         <# } #>
  697.         <label class="setting" data-setting="description">
  698.             <span class="name">Description</span>
  699.             <textarea {{ maybeReadOnly }}>{{ data.description }}</textarea>
  700.         </label>
  701.     </script>
  702.  
  703.     <script type="text/html" id="tmpl-media-selection">
  704.         <div class="selection-info">
  705.             <span class="count"></span>
  706.             <# if ( data.editable ) { #>
  707.                 <a class="edit-selection" href="#">Edit Selection</a>
  708.             <# } #>
  709.             <# if ( data.clearable ) { #>
  710.                 <a class="clear-selection" href="#">Clear</a>
  711.             <# } #>
  712.         </div>
  713.         <div class="selection-view"></div>
  714.     </script>
  715.  
  716.     <script type="text/html" id="tmpl-attachment-display-settings">
  717.         <h3>Attachment Display Settings</h3>
  718.  
  719.         <# if ( 'image' === data.type ) { #>
  720.             <label class="setting">
  721.                 <span>Alignment</span>
  722.                 <select class="alignment"
  723.                     data-setting="align"
  724.                     <# if ( data.userSettings ) { #>
  725.                         data-user-setting="align"
  726.                     <# } #>>
  727.  
  728.                     <option value="left">
  729.                         Left                    </option>
  730.                     <option value="center">
  731.                         Center                  </option>
  732.                     <option value="right">
  733.                         Right                   </option>
  734.                     <option value="none" selected>
  735.                         None                    </option>
  736.                 </select>
  737.             </label>
  738.         <# } #>
  739.  
  740.         <div class="setting">
  741.             <label>
  742.                 <# if ( data.model.canEmbed ) { #>
  743.                     <span>Embed or Link</span>
  744.                 <# } else { #>
  745.                     <span>Link To</span>
  746.                 <# } #>
  747.  
  748.                 <select class="link-to"
  749.                     data-setting="link"
  750.                     <# if ( data.userSettings && ! data.model.canEmbed ) { #>
  751.                         data-user-setting="urlbutton"
  752.                     <# } #>>
  753.  
  754.                 <# if ( data.model.canEmbed ) { #>
  755.                     <option value="embed" selected>
  756.                         Embed Media Player                  </option>
  757.                     <option value="file">
  758.                 <# } else { #>
  759.                     <option value="file" selected>
  760.                 <# } #>
  761.                     <# if ( data.model.canEmbed ) { #>
  762.                         Link to Media File                  <# } else { #>
  763.                         Media File                  <# } #>
  764.                     </option>
  765.                     <option value="post">
  766.                     <# if ( data.model.canEmbed ) { #>
  767.                         Link to Attachment Page                 <# } else { #>
  768.                         Attachment Page                 <# } #>
  769.                     </option>
  770.                 <# if ( 'image' === data.type ) { #>
  771.                     <option value="custom">
  772.                         Custom URL                  </option>
  773.                     <option value="none">
  774.                         None                    </option>
  775.                 <# } #>
  776.                 </select>
  777.             </label>
  778.             <input type="text" class="link-to-custom" data-setting="linkUrl" />
  779.         </div>
  780.  
  781.         <# if ( 'undefined' !== typeof data.sizes ) { #>
  782.             <label class="setting">
  783.                 <span>Size</span>
  784.                 <select class="size" name="size"
  785.                     data-setting="size"
  786.                     <# if ( data.userSettings ) { #>
  787.                         data-user-setting="imgsize"
  788.                     <# } #>>
  789.                                             <#
  790.                         var size = data.sizes['thumbnail'];
  791.                         if ( size ) { #>
  792.                             <option value="thumbnail" >
  793.                                 Thumbnail &ndash; {{ size.width }} &times; {{ size.height }}
  794.                             </option>
  795.                         <# } #>
  796.                                             <#
  797.                         var size = data.sizes['medium'];
  798.                         if ( size ) { #>
  799.                             <option value="medium" >
  800.                                 Medium &ndash; {{ size.width }} &times; {{ size.height }}
  801.                             </option>
  802.                         <# } #>
  803.                                             <#
  804.                         var size = data.sizes['large'];
  805.                         if ( size ) { #>
  806.                             <option value="large" >
  807.                                 Large &ndash; {{ size.width }} &times; {{ size.height }}
  808.                             </option>
  809.                         <# } #>
  810.                                             <#
  811.                         var size = data.sizes['full'];
  812.                         if ( size ) { #>
  813.                             <option value="full"  selected='selected'>
  814.                                 Full Size &ndash; {{ size.width }} &times; {{ size.height }}
  815.                             </option>
  816.                         <# } #>
  817.                                     </select>
  818.             </label>
  819.         <# } #>
  820.     </script>
  821.  
  822.     <script type="text/html" id="tmpl-gallery-settings">
  823.         <h3>Gallery Settings</h3>
  824.  
  825.         <label class="setting">
  826.             <span>Link To</span>
  827.             <select class="link-to"
  828.                 data-setting="link"
  829.                 <# if ( data.userSettings ) { #>
  830.                     data-user-setting="urlbutton"
  831.                 <# } #>>
  832.  
  833.                 <option value="post" <# if ( ! wp.media.galleryDefaults.link || 'post' == wp.media.galleryDefaults.link ) {
  834.                     #>selected="selected"<# }
  835.                 #>>
  836.                     Attachment Page             </option>
  837.                 <option value="file" <# if ( 'file' == wp.media.galleryDefaults.link ) { #>selected="selected"<# } #>>
  838.                     Media File              </option>
  839.                 <option value="none" <# if ( 'none' == wp.media.galleryDefaults.link ) { #>selected="selected"<# } #>>
  840.                     None                </option>
  841.             </select>
  842.         </label>
  843.  
  844.         <label class="setting">
  845.             <span>Columns</span>
  846.             <select class="columns" name="columns"
  847.                 data-setting="columns">
  848.                                     <option value="1" <#
  849.                         if ( 1 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
  850.                     #>>
  851.                         1                   </option>
  852.                                     <option value="2" <#
  853.                         if ( 2 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
  854.                     #>>
  855.                         2                   </option>
  856.                                     <option value="3" <#
  857.                         if ( 3 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
  858.                     #>>
  859.                         3                   </option>
  860.                                     <option value="4" <#
  861.                         if ( 4 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
  862.                     #>>
  863.                         4                   </option>
  864.                                     <option value="5" <#
  865.                         if ( 5 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
  866.                     #>>
  867.                         5                   </option>
  868.                                     <option value="6" <#
  869.                         if ( 6 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
  870.                     #>>
  871.                         6                   </option>
  872.                                     <option value="7" <#
  873.                         if ( 7 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
  874.                     #>>
  875.                         7                   </option>
  876.                                     <option value="8" <#
  877.                         if ( 8 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
  878.                     #>>
  879.                         8                   </option>
  880.                                     <option value="9" <#
  881.                         if ( 9 == wp.media.galleryDefaults.columns ) { #>selected="selected"<# }
  882.                     #>>
  883.                         9                   </option>
  884.                             </select>
  885.         </label>
  886.  
  887.         <label class="setting">
  888.             <span>Random Order</span>
  889.             <input type="checkbox" data-setting="_orderbyRandom" />
  890.         </label>
  891.  
  892.         <label class="setting size">
  893.             <span>Size</span>
  894.             <select class="size" name="size"
  895.                 data-setting="size"
  896.                 <# if ( data.userSettings ) { #>
  897.                     data-user-setting="imgsize"
  898.                 <# } #>
  899.                 >
  900.                                     <option value="thumbnail">
  901.                         Thumbnail                   </option>
  902.                                     <option value="medium">
  903.                         Medium                  </option>
  904.                                     <option value="large">
  905.                         Large                   </option>
  906.                                     <option value="full">
  907.                         Full Size                   </option>
  908.                             </select>
  909.         </label>
  910.     </script>
  911.  
  912.     <script type="text/html" id="tmpl-playlist-settings">
  913.         <h3>Playlist Settings</h3>
  914.  
  915.         <# var emptyModel = _.isEmpty( data.model ),
  916.             isVideo = 'video' === data.controller.get('library').props.get('type'); #>
  917.  
  918.         <label class="setting">
  919.             <input type="checkbox" data-setting="tracklist" <# if ( emptyModel ) { #>
  920.                 checked="checked"
  921.             <# } #> />
  922.             <# if ( isVideo ) { #>
  923.             <span>Show Video List</span>
  924.             <# } else { #>
  925.             <span>Show Tracklist</span>
  926.             <# } #>
  927.         </label>
  928.  
  929.         <# if ( ! isVideo ) { #>
  930.         <label class="setting">
  931.             <input type="checkbox" data-setting="artists" <# if ( emptyModel ) { #>
  932.                 checked="checked"
  933.             <# } #> />
  934.             <span>Show Artist Name in Tracklist</span>
  935.         </label>
  936.         <# } #>
  937.  
  938.         <label class="setting">
  939.             <input type="checkbox" data-setting="images" <# if ( emptyModel ) { #>
  940.                 checked="checked"
  941.             <# } #> />
  942.             <span>Show Images</span>
  943.         </label>
  944.     </script>
  945.  
  946.     <script type="text/html" id="tmpl-embed-link-settings">
  947.         <label class="setting title">
  948.             <span>Title</span>
  949.             <input type="text" class="alignment" data-setting="title" />
  950.         </label>
  951.         <div class="embed-container" style="display: none;">
  952.             <div class="embed-preview"></div>
  953.         </div>
  954.     </script>
  955.  
  956.     <script type="text/html" id="tmpl-embed-image-settings">
  957.         <div class="thumbnail">
  958.             <img src="{{ data.model.url }}" draggable="false" />
  959.         </div>
  960.  
  961.                     <label class="setting caption">
  962.                 <span>Caption</span>
  963.                 <textarea data-setting="caption" />
  964.             </label>
  965.        
  966.         <label class="setting alt-text">
  967.             <span>Alt Text</span>
  968.             <input type="text" data-setting="alt" />
  969.         </label>
  970.  
  971.         <div class="setting align">
  972.             <span>Align</span>
  973.             <div class="button-group button-large" data-setting="align">
  974.                 <button class="button" value="left">
  975.                     Left                </button>
  976.                 <button class="button" value="center">
  977.                     Center              </button>
  978.                 <button class="button" value="right">
  979.                     Right               </button>
  980.                 <button class="button active" value="none">
  981.                     None                </button>
  982.             </div>
  983.         </div>
  984.  
  985.         <div class="setting link-to">
  986.             <span>Link To</span>
  987.             <div class="button-group button-large" data-setting="link">
  988.                 <button class="button" value="file">
  989.                     Image URL               </button>
  990.                 <button class="button" value="custom">
  991.                     Custom URL              </button>
  992.                 <button class="button active" value="none">
  993.                     None                </button>
  994.             </div>
  995.             <input type="text" class="link-to-custom" data-setting="linkUrl" />
  996.         </div>
  997.     </script>
  998.  
  999.     <script type="text/html" id="tmpl-image-details">
  1000.         <div class="media-embed">
  1001.             <div class="embed-media-settings">
  1002.                 <div class="column-image">
  1003.                     <div class="image">
  1004.                         <img src="{{ data.model.url }}" draggable="false" />
  1005.  
  1006.                         <# if ( data.attachment && window.imageEdit ) { #>
  1007.                             <div class="actions">
  1008.                                 <input type="button" class="edit-attachment button" value="Edit Original" />
  1009.                                 <input type="button" class="replace-attachment button" value="Replace" />
  1010.                             </div>
  1011.                         <# } #>
  1012.                     </div>
  1013.                 </div>
  1014.                 <div class="column-settings">
  1015.                                             <label class="setting caption">
  1016.                             <span>Caption</span>
  1017.                             <textarea data-setting="caption">{{ data.model.caption }}</textarea>
  1018.                         </label>
  1019.                    
  1020.                     <label class="setting alt-text">
  1021.                         <span>Alternative Text</span>
  1022.                         <input type="text" data-setting="alt" value="{{ data.model.alt }}" />
  1023.                     </label>
  1024.  
  1025.                     <h3>Display Settings</h3>
  1026.                     <div class="setting align">
  1027.                         <span>Align</span>
  1028.                         <div class="button-group button-large" data-setting="align">
  1029.                             <button class="button" value="left">
  1030.                                 Left                            </button>
  1031.                             <button class="button" value="center">
  1032.                                 Center                          </button>
  1033.                             <button class="button" value="right">
  1034.                                 Right                           </button>
  1035.                             <button class="button active" value="none">
  1036.                                 None                            </button>
  1037.                         </div>
  1038.                     </div>
  1039.  
  1040.                     <# if ( data.attachment ) { #>
  1041.                         <# if ( 'undefined' !== typeof data.attachment.sizes ) { #>
  1042.                             <label class="setting size">
  1043.                                 <span>Size</span>
  1044.                                 <select class="size" name="size"
  1045.                                     data-setting="size"
  1046.                                     <# if ( data.userSettings ) { #>
  1047.                                         data-user-setting="imgsize"
  1048.                                     <# } #>>
  1049.                                                                             <#
  1050.                                         var size = data.sizes['thumbnail'];
  1051.                                         if ( size ) { #>
  1052.                                             <option value="thumbnail">
  1053.                                                 Thumbnail &ndash; {{ size.width }} &times; {{ size.height }}
  1054.                                             </option>
  1055.                                         <# } #>
  1056.                                                                             <#
  1057.                                         var size = data.sizes['medium'];
  1058.                                         if ( size ) { #>
  1059.                                             <option value="medium">
  1060.                                                 Medium &ndash; {{ size.width }} &times; {{ size.height }}
  1061.                                             </option>
  1062.                                         <# } #>
  1063.                                                                             <#
  1064.                                         var size = data.sizes['large'];
  1065.                                         if ( size ) { #>
  1066.                                             <option value="large">
  1067.                                                 Large &ndash; {{ size.width }} &times; {{ size.height }}
  1068.                                             </option>
  1069.                                         <# } #>
  1070.                                                                             <#
  1071.                                         var size = data.sizes['full'];
  1072.                                         if ( size ) { #>
  1073.                                             <option value="full">
  1074.                                                 Full Size &ndash; {{ size.width }} &times; {{ size.height }}
  1075.                                             </option>
  1076.                                         <# } #>
  1077.                                                                         <option value="custom">
  1078.                                         Custom Size                                 </option>
  1079.                                 </select>
  1080.                             </label>
  1081.                         <# } #>
  1082.                             <div class="custom-size<# if ( data.model.size !== 'custom' ) { #> hidden<# } #>">
  1083.                                 <label><span>Width <small>(px)</small></span> <input data-setting="customWidth" type="number" step="1" value="{{ data.model.customWidth }}" /></label><span class="sep">&times;</span><label><span>Height <small>(px)</small></span><input data-setting="customHeight" type="number" step="1" value="{{ data.model.customHeight }}" /></label>
  1084.                             </div>
  1085.                     <# } #>
  1086.  
  1087.                     <div class="setting link-to">
  1088.                         <span>Link To</span>
  1089.                         <select data-setting="link">
  1090.                         <# if ( data.attachment ) { #>
  1091.                             <option value="file">
  1092.                                 Media File                          </option>
  1093.                             <option value="post">
  1094.                                 Attachment Page                         </option>
  1095.                         <# } else { #>
  1096.                             <option value="file">
  1097.                                 Image URL                           </option>
  1098.                         <# } #>
  1099.                             <option value="custom">
  1100.                                 Custom URL                          </option>
  1101.                             <option value="none">
  1102.                                 None                            </option>
  1103.                         </select>
  1104.                         <input type="text" class="link-to-custom" data-setting="linkUrl" />
  1105.                     </div>
  1106.                     <div class="advanced-section">
  1107.                         <h3><a class="advanced-toggle" href="#">Advanced Options</a></h3>
  1108.                         <div class="advanced-settings hidden">
  1109.                             <div class="advanced-image">
  1110.                                 <label class="setting title-text">
  1111.                                     <span>Image Title Attribute</span>
  1112.                                     <input type="text" data-setting="title" value="{{ data.model.title }}" />
  1113.                                 </label>
  1114.                                 <label class="setting extra-classes">
  1115.                                     <span>Image CSS Class</span>
  1116.                                     <input type="text" data-setting="extraClasses" value="{{ data.model.extraClasses }}" />
  1117.                                 </label>
  1118.                             </div>
  1119.                             <div class="advanced-link">
  1120.                                 <div class="setting link-target">
  1121.                                     <label><input type="checkbox" data-setting="linkTargetBlank" value="_blank" <# if ( data.model.linkTargetBlank ) { #>checked="checked"<# } #>>Open link in a new window/tab</label>
  1122.                                 </div>
  1123.                                 <label class="setting link-rel">
  1124.                                     <span>Link Rel</span>
  1125.                                     <input type="text" data-setting="linkRel" value="{{ data.model.linkClassName }}" />
  1126.                                 </label>
  1127.                                 <label class="setting link-class-name">
  1128.                                     <span>Link CSS Class</span>
  1129.                                     <input type="text" data-setting="linkClassName" value="{{ data.model.linkClassName }}" />
  1130.                                 </label>
  1131.                             </div>
  1132.                         </div>
  1133.                     </div>
  1134.                 </div>
  1135.             </div>
  1136.         </div>
  1137.     </script>
  1138.  
  1139.     <script type="text/html" id="tmpl-image-editor">
  1140.         <div id="media-head-{{ data.id }}"></div>
  1141.         <div id="image-editor-{{ data.id }}"></div>
  1142.     </script>
  1143.  
  1144.     <script type="text/html" id="tmpl-audio-details">
  1145.         <# var ext, html5types = {
  1146.             mp3: wp.media.view.settings.embedMimes.mp3,
  1147.             ogg: wp.media.view.settings.embedMimes.ogg
  1148.         }; #>
  1149.  
  1150.                 <div class="media-embed media-embed-details">
  1151.             <div class="embed-media-settings embed-audio-settings">
  1152.                 <audio style="visibility: hidden"
  1153.     controls
  1154.     class="wp-audio-shortcode"
  1155.     width="{{ _.isUndefined( data.model.width ) ? 400 : data.model.width }}"
  1156.     preload="{{ _.isUndefined( data.model.preload ) ? 'none' : data.model.preload }}"
  1157.     <#
  1158.     if ( ! _.isUndefined( data.model.autoplay ) && data.model.autoplay ) {
  1159.         #> autoplay<#
  1160.     }
  1161.     if ( ! _.isUndefined( data.model.loop ) && data.model.loop ) {
  1162.         #> loop<#
  1163.     }
  1164.     #>
  1165. >
  1166.     <# if ( ! _.isEmpty( data.model.src ) ) { #>
  1167.     <source src="{{ data.model.src }}" type="{{ wp.media.view.settings.embedMimes[ data.model.src.split('.').pop() ] }}" />
  1168.     <# } #>
  1169.  
  1170.     <# if ( ! _.isEmpty( data.model.mp3 ) ) { #>
  1171.     <source src="{{ data.model.mp3 }}" type="{{ wp.media.view.settings.embedMimes[ 'mp3' ] }}" />
  1172.     <# } #>
  1173.     <# if ( ! _.isEmpty( data.model.ogg ) ) { #>
  1174.     <source src="{{ data.model.ogg }}" type="{{ wp.media.view.settings.embedMimes[ 'ogg' ] }}" />
  1175.     <# } #>
  1176.     <# if ( ! _.isEmpty( data.model.wma ) ) { #>
  1177.     <source src="{{ data.model.wma }}" type="{{ wp.media.view.settings.embedMimes[ 'wma' ] }}" />
  1178.     <# } #>
  1179.     <# if ( ! _.isEmpty( data.model.m4a ) ) { #>
  1180.     <source src="{{ data.model.m4a }}" type="{{ wp.media.view.settings.embedMimes[ 'm4a' ] }}" />
  1181.     <# } #>
  1182.     <# if ( ! _.isEmpty( data.model.wav ) ) { #>
  1183.     <source src="{{ data.model.wav }}" type="{{ wp.media.view.settings.embedMimes[ 'wav' ] }}" />
  1184.     <# } #>
  1185.     </audio>
  1186.  
  1187.                 <# if ( ! _.isEmpty( data.model.src ) ) {
  1188.                     ext = data.model.src.split('.').pop();
  1189.                     if ( html5types[ ext ] ) {
  1190.                         delete html5types[ ext ];
  1191.                     }
  1192.                 #>
  1193.                 <label class="setting">
  1194.                     <span>SRC</span>
  1195.                     <input type="text" disabled="disabled" data-setting="src" value="{{ data.model.src }}" />
  1196.                     <a class="remove-setting">Remove</a>
  1197.                 </label>
  1198.                 <# } #>
  1199.                 <# if ( ! _.isEmpty( data.model.mp3 ) ) {
  1200.                     if ( ! _.isUndefined( html5types.mp3 ) ) {
  1201.                         delete html5types.mp3;
  1202.                     }
  1203.                 #>
  1204.                 <label class="setting">
  1205.                     <span>MP3</span>
  1206.                     <input type="text" disabled="disabled" data-setting="mp3" value="{{ data.model.mp3 }}" />
  1207.                     <a class="remove-setting">Remove</a>
  1208.                 </label>
  1209.                 <# } #>
  1210.                 <# if ( ! _.isEmpty( data.model.ogg ) ) {
  1211.                     if ( ! _.isUndefined( html5types.ogg ) ) {
  1212.                         delete html5types.ogg;
  1213.                     }
  1214.                 #>
  1215.                 <label class="setting">
  1216.                     <span>OGG</span>
  1217.                     <input type="text" disabled="disabled" data-setting="ogg" value="{{ data.model.ogg }}" />
  1218.                     <a class="remove-setting">Remove</a>
  1219.                 </label>
  1220.                 <# } #>
  1221.                 <# if ( ! _.isEmpty( data.model.wma ) ) {
  1222.                     if ( ! _.isUndefined( html5types.wma ) ) {
  1223.                         delete html5types.wma;
  1224.                     }
  1225.                 #>
  1226.                 <label class="setting">
  1227.                     <span>WMA</span>
  1228.                     <input type="text" disabled="disabled" data-setting="wma" value="{{ data.model.wma }}" />
  1229.                     <a class="remove-setting">Remove</a>
  1230.                 </label>
  1231.                 <# } #>
  1232.                 <# if ( ! _.isEmpty( data.model.m4a ) ) {
  1233.                     if ( ! _.isUndefined( html5types.m4a ) ) {
  1234.                         delete html5types.m4a;
  1235.                     }
  1236.                 #>
  1237.                 <label class="setting">
  1238.                     <span>M4A</span>
  1239.                     <input type="text" disabled="disabled" data-setting="m4a" value="{{ data.model.m4a }}" />
  1240.                     <a class="remove-setting">Remove</a>
  1241.                 </label>
  1242.                 <# } #>
  1243.                 <# if ( ! _.isEmpty( data.model.wav ) ) {
  1244.                     if ( ! _.isUndefined( html5types.wav ) ) {
  1245.                         delete html5types.wav;
  1246.                     }
  1247.                 #>
  1248.                 <label class="setting">
  1249.                     <span>WAV</span>
  1250.                     <input type="text" disabled="disabled" data-setting="wav" value="{{ data.model.wav }}" />
  1251.                     <a class="remove-setting">Remove</a>
  1252.                 </label>
  1253.                 <# } #>
  1254.                
  1255.                 <# if ( ! _.isEmpty( html5types ) ) { #>
  1256.                 <div class="setting">
  1257.                     <span>Add alternate sources for maximum HTML5 playback:</span>
  1258.                     <div class="button-large">
  1259.                     <# _.each( html5types, function (mime, type) { #>
  1260.                     <button class="button add-media-source" data-mime="{{ mime }}">{{ type }}</button>
  1261.                     <# } ) #>
  1262.                     </div>
  1263.                 </div>
  1264.                 <# } #>
  1265.  
  1266.                 <div class="setting preload">
  1267.                     <span>Preload</span>
  1268.                     <div class="button-group button-large" data-setting="preload">
  1269.                         <button class="button" value="auto">Auto</button>
  1270.                         <button class="button" value="metadata">Metadata</button>
  1271.                         <button class="button active" value="none">None</button>
  1272.                     </div>
  1273.                 </div>
  1274.  
  1275.                 <label class="setting checkbox-setting">
  1276.                     <input type="checkbox" data-setting="autoplay" />
  1277.                     <span>Autoplay</span>
  1278.                 </label>
  1279.  
  1280.                 <label class="setting checkbox-setting">
  1281.                     <input type="checkbox" data-setting="loop" />
  1282.                     <span>Loop</span>
  1283.                 </label>
  1284.             </div>
  1285.         </div>
  1286.     </script>
  1287.  
  1288.     <script type="text/html" id="tmpl-video-details">
  1289.         <# var ext, html5types = {
  1290.             mp4: wp.media.view.settings.embedMimes.mp4,
  1291.             ogv: wp.media.view.settings.embedMimes.ogv,
  1292.             webm: wp.media.view.settings.embedMimes.webm
  1293.         }; #>
  1294.  
  1295.                 <div class="media-embed media-embed-details">
  1296.             <div class="embed-media-settings embed-video-settings">
  1297.                 <div class="wp-video-holder">
  1298.                 <#
  1299.                 var isYouTube = ! _.isEmpty( data.model.src ) && data.model.src.match(/youtube|youtu\.be/);
  1300.                     w = ! data.model.width || data.model.width > 640 ? 640 : data.model.width,
  1301.                     h = ! data.model.height ? 360 : data.model.height;
  1302.  
  1303.                 if ( data.model.width && w !== data.model.width ) {
  1304.                     h = Math.ceil( ( h * w ) / data.model.width );
  1305.                 }
  1306.                 #>
  1307.  
  1308.                 <#  var w_rule = h_rule = '',
  1309.         w, h, settings = wp.media.view.settings,
  1310.         isYouTube = ! _.isEmpty( data.model.src ) && data.model.src.match(/youtube|youtu\.be/);
  1311.  
  1312.     if ( settings.contentWidth && data.model.width >= settings.contentWidth ) {
  1313.         w = settings.contentWidth;
  1314.     } else {
  1315.         w = data.model.width;
  1316.     }
  1317.  
  1318.     if ( w !== data.model.width ) {
  1319.         h = Math.ceil( ( data.model.height * w ) / data.model.width );
  1320.     } else {
  1321.         h = data.model.height;
  1322.     }
  1323.  
  1324.     if ( w ) {
  1325.         w_rule = 'width: ' + w + 'px; ';
  1326.     }
  1327.     if ( h ) {
  1328.         h_rule = 'height: ' + h + 'px;';
  1329.     }
  1330. #>
  1331. <div style="{{ w_rule }}{{ h_rule }}" class="wp-video">
  1332. <video controls
  1333.     class="wp-video-shortcode{{ isYouTube ? ' youtube-video' : '' }}"
  1334.     <# if ( w ) { #>width="{{ w }}"<# } #>
  1335.     <# if ( h ) { #>height="{{ h }}"<# } #>
  1336.     <#
  1337.         if ( ! _.isUndefined( data.model.poster ) && data.model.poster ) {
  1338.             #> poster="{{ data.model.poster }}"<#
  1339.         } #>
  1340.         preload="{{ _.isUndefined( data.model.preload ) ? 'metadata' : data.model.preload }}"<#
  1341.      if ( ! _.isUndefined( data.model.autoplay ) && data.model.autoplay ) {
  1342.         #> autoplay<#
  1343.     }
  1344.      if ( ! _.isUndefined( data.model.loop ) && data.model.loop ) {
  1345.         #> loop<#
  1346.     }
  1347.     #>
  1348. >
  1349.     <# if ( ! _.isEmpty( data.model.src ) ) {
  1350.         if ( isYouTube ) { #>
  1351.         <source src="{{ data.model.src }}" type="video/youtube" />
  1352.         <# } else { #>
  1353.         <source src="{{ data.model.src }}" type="{{ settings.embedMimes[ data.model.src.split('.').pop() ] }}" />
  1354.         <# }
  1355.     } #>
  1356.  
  1357.     <# if ( data.model.mp4 ) { #>
  1358.     <source src="{{ data.model.mp4 }}" type="{{ settings.embedMimes[ 'mp4' ] }}" />
  1359.     <# } #>
  1360.     <# if ( data.model.m4v ) { #>
  1361.     <source src="{{ data.model.m4v }}" type="{{ settings.embedMimes[ 'm4v' ] }}" />
  1362.     <# } #>
  1363.     <# if ( data.model.webm ) { #>
  1364.     <source src="{{ data.model.webm }}" type="{{ settings.embedMimes[ 'webm' ] }}" />
  1365.     <# } #>
  1366.     <# if ( data.model.ogv ) { #>
  1367.     <source src="{{ data.model.ogv }}" type="{{ settings.embedMimes[ 'ogv' ] }}" />
  1368.     <# } #>
  1369.     <# if ( data.model.wmv ) { #>
  1370.     <source src="{{ data.model.wmv }}" type="{{ settings.embedMimes[ 'wmv' ] }}" />
  1371.     <# } #>
  1372.     <# if ( data.model.flv ) { #>
  1373.     <source src="{{ data.model.flv }}" type="{{ settings.embedMimes[ 'flv' ] }}" />
  1374.     <# } #>
  1375.         {{{ data.model.content }}}
  1376. </video>
  1377. </div>
  1378.  
  1379.                 <# if ( ! _.isEmpty( data.model.src ) ) {
  1380.                     ext = data.model.src.split('.').pop();
  1381.                     if ( html5types[ ext ] ) {
  1382.                         delete html5types[ ext ];
  1383.                     }
  1384.                 #>
  1385.                 <label class="setting">
  1386.                     <span>SRC</span>
  1387.                     <input type="text" disabled="disabled" data-setting="src" value="{{ data.model.src }}" />
  1388.                     <a class="remove-setting">Remove</a>
  1389.                 </label>
  1390.                 <# } #>
  1391.                 <# if ( ! _.isEmpty( data.model.mp4 ) ) {
  1392.                     if ( ! _.isUndefined( html5types.mp4 ) ) {
  1393.                         delete html5types.mp4;
  1394.                     }
  1395.                 #>
  1396.                 <label class="setting">
  1397.                     <span>MP4</span>
  1398.                     <input type="text" disabled="disabled" data-setting="mp4" value="{{ data.model.mp4 }}" />
  1399.                     <a class="remove-setting">Remove</a>
  1400.                 </label>
  1401.                 <# } #>
  1402.                 <# if ( ! _.isEmpty( data.model.m4v ) ) {
  1403.                     if ( ! _.isUndefined( html5types.m4v ) ) {
  1404.                         delete html5types.m4v;
  1405.                     }
  1406.                 #>
  1407.                 <label class="setting">
  1408.                     <span>M4V</span>
  1409.                     <input type="text" disabled="disabled" data-setting="m4v" value="{{ data.model.m4v }}" />
  1410.                     <a class="remove-setting">Remove</a>
  1411.                 </label>
  1412.                 <# } #>
  1413.                 <# if ( ! _.isEmpty( data.model.webm ) ) {
  1414.                     if ( ! _.isUndefined( html5types.webm ) ) {
  1415.                         delete html5types.webm;
  1416.                     }
  1417.                 #>
  1418.                 <label class="setting">
  1419.                     <span>WEBM</span>
  1420.                     <input type="text" disabled="disabled" data-setting="webm" value="{{ data.model.webm }}" />
  1421.                     <a class="remove-setting">Remove</a>
  1422.                 </label>
  1423.                 <# } #>
  1424.                 <# if ( ! _.isEmpty( data.model.ogv ) ) {
  1425.                     if ( ! _.isUndefined( html5types.ogv ) ) {
  1426.                         delete html5types.ogv;
  1427.                     }
  1428.                 #>
  1429.                 <label class="setting">
  1430.                     <span>OGV</span>
  1431.                     <input type="text" disabled="disabled" data-setting="ogv" value="{{ data.model.ogv }}" />
  1432.                     <a class="remove-setting">Remove</a>
  1433.                 </label>
  1434.                 <# } #>
  1435.                 <# if ( ! _.isEmpty( data.model.wmv ) ) {
  1436.                     if ( ! _.isUndefined( html5types.wmv ) ) {
  1437.                         delete html5types.wmv;
  1438.                     }
  1439.                 #>
  1440.                 <label class="setting">
  1441.                     <span>WMV</span>
  1442.                     <input type="text" disabled="disabled" data-setting="wmv" value="{{ data.model.wmv }}" />
  1443.                     <a class="remove-setting">Remove</a>
  1444.                 </label>
  1445.                 <# } #>
  1446.                 <# if ( ! _.isEmpty( data.model.flv ) ) {
  1447.                     if ( ! _.isUndefined( html5types.flv ) ) {
  1448.                         delete html5types.flv;
  1449.                     }
  1450.                 #>
  1451.                 <label class="setting">
  1452.                     <span>FLV</span>
  1453.                     <input type="text" disabled="disabled" data-setting="flv" value="{{ data.model.flv }}" />
  1454.                     <a class="remove-setting">Remove</a>
  1455.                 </label>
  1456.                 <# } #>
  1457.                                 </div>
  1458.  
  1459.                 <# if ( ! _.isEmpty( html5types ) ) { #>
  1460.                 <div class="setting">
  1461.                     <span>Add alternate sources for maximum HTML5 playback:</span>
  1462.                     <div class="button-large">
  1463.                     <# _.each( html5types, function (mime, type) { #>
  1464.                     <button class="button add-media-source" data-mime="{{ mime }}">{{ type }}</button>
  1465.                     <# } ) #>
  1466.                     </div>
  1467.                 </div>
  1468.                 <# } #>
  1469.  
  1470.                 <# if ( ! _.isEmpty( data.model.poster ) ) { #>
  1471.                 <label class="setting">
  1472.                     <span>Poster Image</span>
  1473.                     <input type="text" disabled="disabled" data-setting="poster" value="{{ data.model.poster }}" />
  1474.                     <a class="remove-setting">Remove</a>
  1475.                 </label>
  1476.                 <# } #>
  1477.                 <div class="setting preload">
  1478.                     <span>Preload</span>
  1479.                     <div class="button-group button-large" data-setting="preload">
  1480.                         <button class="button" value="auto">Auto</button>
  1481.                         <button class="button" value="metadata">Metadata</button>
  1482.                         <button class="button active" value="none">None</button>
  1483.                     </div>
  1484.                 </div>
  1485.  
  1486.                 <label class="setting checkbox-setting">
  1487.                     <input type="checkbox" data-setting="autoplay" />
  1488.                     <span>Autoplay</span>
  1489.                 </label>
  1490.  
  1491.                 <label class="setting checkbox-setting">
  1492.                     <input type="checkbox" data-setting="loop" />
  1493.                     <span>Loop</span>
  1494.                 </label>
  1495.  
  1496.                 <label class="setting" data-setting="content">
  1497.                     <span>Tracks (subtitles, captions, descriptions, chapters, or metadata)</span>
  1498.                     <#
  1499.                     var content = '';
  1500.                     if ( ! _.isEmpty( data.model.content ) ) {
  1501.                         var tracks = jQuery( data.model.content ).filter( 'track' );
  1502.                         _.each( tracks.toArray(), function (track) {
  1503.                             content += track.outerHTML; #>
  1504.                         <p>
  1505.                             <input class="content-track" type="text" value="{{ track.outerHTML }}" />
  1506.                             <a class="remove-setting remove-track">Remove</a>
  1507.                         </p>
  1508.                         <# } ); #>
  1509.                     <# } else { #>
  1510.                     <em>There are no associated subtitles.</em>
  1511.                     <# } #>
  1512.                     <textarea class="hidden content-setting">{{ content }}</textarea>
  1513.                 </label>
  1514.             </div>
  1515.         </div>
  1516.     </script>
  1517.  
  1518.     <script type="text/html" id="tmpl-editor-gallery">
  1519.         <# if ( data.attachments ) { #>
  1520.             <div class="gallery gallery-columns-{{ data.columns }}">
  1521.                 <# _.each( data.attachments, function( attachment, index ) { #>
  1522.                     <dl class="gallery-item">
  1523.                         <dt class="gallery-icon">
  1524.                             <# if ( attachment.thumbnail ) { #>
  1525.                                 <img src="{{ attachment.thumbnail.url }}" width="{{ attachment.thumbnail.width }}" height="{{ attachment.thumbnail.height }}" />
  1526.                             <# } else { #>
  1527.                                 <img src="{{ attachment.url }}" />
  1528.                             <# } #>
  1529.                         </dt>
  1530.                         <# if ( attachment.caption ) { #>
  1531.                             <dd class="wp-caption-text gallery-caption">
  1532.                                 {{ attachment.caption }}
  1533.                             </dd>
  1534.                         <# } #>
  1535.                     </dl>
  1536.                     <# if ( index % data.columns === data.columns - 1 ) { #>
  1537.                         <br style="clear: both;">
  1538.                     <# } #>
  1539.                 <# } ); #>
  1540.             </div>
  1541.         <# } else { #>
  1542.             <div class="wpview-error">
  1543.                 <div class="dashicons dashicons-format-gallery"></div><p>No items found.</p>
  1544.             </div>
  1545.         <# } #>
  1546.     </script>
  1547.  
  1548.     <script type="text/html" id="tmpl-crop-content">
  1549.         <img class="crop-image" src="{{ data.url }}">
  1550.         <div class="upload-errors"></div>
  1551.     </script>
  1552.  
  1553.         <div id="local-storage-notice" class="hidden notice">
  1554.     <p class="local-restore">
  1555.         The backup of this post in your browser is different from the version below.        <a class="restore-backup" href="#">Restore the backup.</a>
  1556.     </p>
  1557.     <p class="undo-restore hidden">
  1558.         Post restored successfully.     <a class="undo-restore-backup" href="#">Undo.</a>
  1559.     </p>
  1560.     </div>
  1561.     <div style="display:none;">
  1562.     <div id="wp-acf_settings-wrap" class="wp-core-ui wp-editor-wrap html-active"><div id="wp-acf_settings-editor-tools" class="wp-editor-tools hide-if-no-js"><div id="wp-acf_settings-media-buttons" class="wp-media-buttons"><a href="#" class="button insert-media add_media" data-editor="acf_settings" title="Add Media"><span class="wp-media-buttons-icon"></span> Add Media</a></div>
  1563. <div class="wp-editor-tabs"><button type="button" id="acf_settings-tmce" class="wp-switch-editor switch-tmce" onclick="switchEditors.switchto(this);">Visual</button>
  1564. <button type="button" id="acf_settings-html" class="wp-switch-editor switch-html" onclick="switchEditors.switchto(this);">Text</button>
  1565. </div>
  1566. </div>
  1567. <div id="wp-acf_settings-editor-container" class="wp-editor-container"><textarea class="wp-editor-area" rows="20" autocomplete="off" cols="40" name="acf_settings" id="acf_settings"></textarea></div>
  1568. </div>
  1569.  
  1570. </div>
  1571.         <script type='text/javascript'>list_args = {"class":"WP_Post_Comments_List_Table","screen":{"id":"video","base":"post"}};</script>
  1572.     <div id="wp-auth-check-wrap" class="hidden">
  1573.     <div id="wp-auth-check-bg"></div>
  1574.     <div id="wp-auth-check">
  1575.     <div class="wp-auth-check-close" tabindex="0" title="Close"></div>
  1576.             <div id="wp-auth-check-form" data-src="http://proxymaster.psehost.com/outlawsrestaurantcom/wp-login.php?interim-login=1"></div>
  1577.             <div class="wp-auth-fallback">
  1578.         <p><b class="wp-auth-fallback-expired" tabindex="0">Session expired</b></p>
  1579.         <p><a href="http://proxymaster.psehost.com/outlawsrestaurantcom/wp-login.php" target="_blank">Please log in again.</a>
  1580.         The login page will open in a new window. After logging in you can close it and return to this page.</p>
  1581.     </div>
  1582.     </div>
  1583.     </div>
  1584.    
  1585. <script type='text/javascript'>
  1586. /* <![CDATA[ */
  1587. var commonL10n = {"warnDelete":"You are about to permanently delete the selected items.\n  'Cancel' to stop, 'OK' to delete."};var heartbeatSettings = {"nonce":"ae8e15b2ef"};var autosaveL10n = {"autosaveInterval":"60","blog_id":"24"};var wpAjax = {"noPerm":"You do not have permission to do that.","broken":"An unidentified error has occurred."};var postL10n = {"ok":"OK","cancel":"Cancel","publishOn":"Publish on:","publishOnFuture":"Schedule for:","publishOnPast":"Published on:","dateFormat":"%1$s %2$s, %3$s @ %4$s : %5$s","showcomm":"Show more comments","endcomm":"No more comments found.","publish":"Publish","schedule":"Schedule","update":"Update","savePending":"Save as Pending","saveDraft":"Save Draft","private":"Private","public":"Public","publicSticky":"Public, Sticky","password":"Password Protected","privatelyPublished":"Privately Published","published":"Published","comma":",","saveAlert":"The changes you made will be lost if you navigate away from this page.","savingText":"Saving Draft\u2026"};var thickboxL10n = {"next":"Next >","prev":"< Prev","image":"Image","of":"of","close":"Close","noiframes":"This feature requires inline frames. You have iframes disabled or your browser does not support them.","loadingAnimation":"http:\/\/proxymaster.psehost.com\/outlawsrestaurantcom\/wp-includes\/js\/thickbox\/loadingAnimation.gif"};var _wpUtilSettings = {"ajax":{"url":"\/outlawsrestaurantcom\/wp-admin\/admin-ajax.php"}};var _wpMediaModelsL10n = {"settings":{"ajaxurl":"\/outlawsrestaurantcom\/wp-admin\/admin-ajax.php","post":{"id":0}}};var pluploadL10n = {"queue_limit_exceeded":"You have attempted to queue too many files.","file_exceeds_size_limit":"%s exceeds the maximum upload size for this site.","zero_byte_file":"This file is empty. Please try another.","invalid_filetype":"This file type is not allowed. Please try another.","not_an_image":"This file is not an image. Please try another.","image_memory_exceeded":"Memory exceeded. Please try another smaller file.","image_dimensions_exceeded":"This is larger than the maximum size. Please try another.","default_error":"An error occurred in the upload. Please try again later.","missing_upload_url":"There was a configuration error. Please contact the server administrator.","upload_limit_exceeded":"You may only upload 1 file.","http_error":"HTTP error.","upload_failed":"Upload failed.","big_upload_failed":"Please try uploading this file with the %1$sbrowser uploader%2$s.","big_upload_queued":"%s exceeds the maximum upload size for the multi-file uploader when used in your browser.","io_error":"IO error.","security_error":"Security error.","file_cancelled":"File canceled.","upload_stopped":"Upload stopped.","dismiss":"Dismiss","crunching":"Crunching\u2026","deleted":"moved to the trash.","error_uploading":"\u201c%s\u201d has failed to upload."};
  1588. var _wpPluploadSettings = {"defaults":{"runtimes":"html5,flash,silverlight,html4","file_data_name":"async-upload","url":"\/outlawsrestaurantcom\/wp-admin\/async-upload.php","flash_swf_url":"http:\/\/proxymaster.psehost.com\/outlawsrestaurantcom\/wp-includes\/js\/plupload\/plupload.flash.swf","silverlight_xap_url":"http:\/\/proxymaster.psehost.com\/outlawsrestaurantcom\/wp-includes\/js\/plupload\/plupload.silverlight.xap","filters":{"max_file_size":"1536000b"},"multipart_params":{"action":"upload-attachment","_wpnonce":"9acff8338f"}},"browser":{"mobile":false,"supported":true},"limitExceeded":false};var mejsL10n = {"language":"en-US","strings":{"Close":"Close","Fullscreen":"Fullscreen","Download File":"Download File","Download Video":"Download Video","Play\/Pause":"Play\/Pause","Mute Toggle":"Mute Toggle","None":"None","Turn off Fullscreen":"Turn off Fullscreen","Go Fullscreen":"Go Fullscreen","Unmute":"Unmute","Mute":"Mute","Captions\/Subtitles":"Captions\/Subtitles"}};
  1589. var _wpmejsSettings = {"pluginPath":"\/outlawsrestaurantcom\/wp-includes\/js\/mediaelement\/"};var _wpMediaViewsL10n = {"url":"URL","addMedia":"Add Media","search":"Search","select":"Select","cancel":"Cancel","update":"Update","replace":"Replace","remove":"Remove","back":"Back","selected":"%d selected","dragInfo":"Drag and drop to reorder images.","uploadFilesTitle":"Upload Files","uploadImagesTitle":"Upload Images","mediaLibraryTitle":"Media Library","insertMediaTitle":"Insert Media","createNewGallery":"Create a new gallery","createNewPlaylist":"Create a new playlist","createNewVideoPlaylist":"Create a new video playlist","returnToLibrary":"\u2190 Return to library","allMediaItems":"All media items","allDates":"All dates","noItemsFound":"No items found.","insertIntoPost":"Insert into post","unattached":"Unattached","trash":"Trash","uploadedToThisPost":"Uploaded to this post","warnDelete":"You are about to permanently delete this item.\n  'Cancel' to stop, 'OK' to delete.","warnBulkDelete":"You are about to permanently delete these items.\n  'Cancel' to stop, 'OK' to delete.","warnBulkTrash":"You are about to trash these items.\n  'Cancel' to stop, 'OK' to delete.","bulkSelect":"Bulk Select","cancelSelection":"Cancel Selection","trashSelected":"Trash Selected","untrashSelected":"Untrash Selected","deleteSelected":"Delete Selected","deletePermanently":"Delete Permanently","apply":"Apply","filterByDate":"Filter by date","filterByType":"Filter by type","searchMediaLabel":"Search Media","noMedia":"No media attachments found.","attachmentDetails":"Attachment Details","insertFromUrlTitle":"Insert from URL","setFeaturedImageTitle":"Set Featured Image","setFeaturedImage":"Set featured image","createGalleryTitle":"Create Gallery","editGalleryTitle":"Edit Gallery","cancelGalleryTitle":"\u2190 Cancel Gallery","insertGallery":"Insert gallery","updateGallery":"Update gallery","addToGallery":"Add to gallery","addToGalleryTitle":"Add to Gallery","reverseOrder":"Reverse order","imageDetailsTitle":"Image Details","imageReplaceTitle":"Replace Image","imageDetailsCancel":"Cancel Edit","editImage":"Edit Image","chooseImage":"Choose Image","selectAndCrop":"Select and Crop","skipCropping":"Skip Cropping","cropImage":"Crop Image","cropYourImage":"Crop your image","cropping":"Cropping\u2026","suggestedDimensions":"Suggested image dimensions:","cropError":"There has been an error cropping your image.","audioDetailsTitle":"Audio Details","audioReplaceTitle":"Replace Audio","audioAddSourceTitle":"Add Audio Source","audioDetailsCancel":"Cancel Edit","videoDetailsTitle":"Video Details","videoReplaceTitle":"Replace Video","videoAddSourceTitle":"Add Video Source","videoDetailsCancel":"Cancel Edit","videoSelectPosterImageTitle":"Select Poster Image","videoAddTrackTitle":"Add Subtitles","playlistDragInfo":"Drag and drop to reorder tracks.","createPlaylistTitle":"Create Audio Playlist","editPlaylistTitle":"Edit Audio Playlist","cancelPlaylistTitle":"\u2190 Cancel Audio Playlist","insertPlaylist":"Insert audio playlist","updatePlaylist":"Update audio playlist","addToPlaylist":"Add to audio playlist","addToPlaylistTitle":"Add to Audio Playlist","videoPlaylistDragInfo":"Drag and drop to reorder videos.","createVideoPlaylistTitle":"Create Video Playlist","editVideoPlaylistTitle":"Edit Video Playlist","cancelVideoPlaylistTitle":"\u2190 Cancel Video Playlist","insertVideoPlaylist":"Insert video playlist","updateVideoPlaylist":"Update video playlist","addToVideoPlaylist":"Add to video playlist","addToVideoPlaylistTitle":"Add to Video Playlist","settings":{"tabs":[],"tabUrl":"http:\/\/proxymaster.psehost.com\/outlawsrestaurantcom\/wp-admin\/media-upload.php?chromeless=1","mimeTypes":{"image":"Images","audio":"Audio","video":"Video"},"captions":true,"nonce":{"sendToEditor":"5b9fd1fc01"},"post":{"id":2359,"nonce":"796a8f9cab","featuredImageId":-1},"defaultProps":{"link":"file","align":"","size":""},"attachmentCounts":{"audio":0,"video":0},"embedExts":["mp3","ogg","wma","m4a","wav","mp4","m4v","webm","ogv","wmv","flv"],"embedMimes":{"mp3":"audio\/mpeg","ogg":"audio\/ogg","wma":"audio\/x-ms-wma","m4a":"audio\/mpeg","wav":"audio\/wav","mp4":"video\/mp4","m4v":"video\/mp4","webm":"video\/webm","ogv":"video\/ogg","wmv":"video\/x-ms-wmv","flv":"video\/x-flv"},"contentWidth":900,"months":[],"mediaTrash":0}};var imageEditL10n = {"error":"Could not load the preview image. Please reload the page and try again."};var authcheckL10n = {"beforeunload":"Your session has expired. You can log in again from this page or go to the login page.","interval":"180"};var wpColorPickerL10n = {"clear":"Clear","defaultString":"Default","pick":"Select Color","current":"Current Color"};var wordCountL10n = {"type":"w"};var quicktagsL10n = {"closeAllOpenTags":"Close all open tags","closeTags":"close tags","enterURL":"Enter the URL","enterImageURL":"Enter the URL of the image","enterImageDescription":"Enter a description of the image","fullscreen":"fullscreen","toggleFullscreen":"Toggle fullscreen mode","textdirection":"text direction","toggleTextdirection":"Toggle Editor Text Direction","dfw":"Distraction-free writing mode"};var wpLinkL10n = {"title":"Insert\/edit link","update":"Update","save":"Add Link","noTitle":"(no title)","noMatchesFound":"No results found."};/* ]]> */
  1590. </script>
  1591. <script type='text/javascript' src='http://proxymaster.psehost.com/outlawsrestaurantcom/wp-admin/load-scripts.php?c=0&amp;load%5B%5D=hoverIntent,common,admin-bar,heartbeat,autosave,suggest,wp-ajax-response,jquery-color,wp-lists,jquery-ui-widget,jquery-ui-mouse,&amp;load%5B%5D=jquery-ui-sortable,postbox,post,editor-expand,thickbox,underscore,shortcode,backbone,wp-util,wp-backbone,media-models,wp-pluploa&amp;load%5B%5D=d,mediaelement,wp-mediaelement,media-views,media-editor,media-audiovideo,wp-playlist,mce-view,imgareaselect,image-edit,svg-paint&amp;load%5B%5D=er,wp-auth-check,jquery-ui-tabs,jquery-ui-draggable,jquery-ui-slider,jquery-touch-punch,iris,wp-color-picker,media-upload,word-c&amp;load%5B%5D=ount,editor,quicktags,wplink&amp;ver=4.1'></script>
  1592.  
  1593.         <script type="text/javascript">
  1594.         tinyMCEPreInit = {
  1595.             baseURL: "http://proxymaster.psehost.com/outlawsrestaurantcom/wp-includes/js/tinymce",
  1596.             suffix: ".min",
  1597.             dragDropUpload: true,           mceInit: {'content':{theme:"modern",skin:"lightgray",language:"en",formats:{
  1598.                         alignleft: [
  1599.                             {selector: 'p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li', styles: {textAlign:'left'}},
  1600.                             {selector: 'img,table,dl.wp-caption', classes: 'alignleft'}
  1601.                         ],
  1602.                         aligncenter: [
  1603.                             {selector: 'p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li', styles: {textAlign:'center'}},
  1604.                             {selector: 'img,table,dl.wp-caption', classes: 'aligncenter'}
  1605.                         ],
  1606.                         alignright: [
  1607.                             {selector: 'p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li', styles: {textAlign:'right'}},
  1608.                             {selector: 'img,table,dl.wp-caption', classes: 'alignright'}
  1609.                         ],
  1610.                         strikethrough: {inline: 'del'}
  1611.                     },block_formats:"Paragraph=p;Pre=pre;Heading 1=h1;Heading 2=h2;Heading 3=h3;Heading 4=h4;Heading 5=h5;Heading 6=h6",relative_urls:false,remove_script_host:false,convert_urls:false,browser_spellcheck:true,fix_list_elements:true,entities:"38,amp,60,lt,62,gt",entity_encoding:"raw",keep_styles:false,cache_suffix:"wp-mce-4107-20141130",preview_styles:"font-family font-size font-weight font-style text-decoration text-transform",wpeditimage_disable_captions:false,wpeditimage_html5_captions:false,plugins:"charmap,colorpicker,hr,lists,media,paste,tabfocus,textcolor,fullscreen,wordpress,wpautoresize,wpeditimage,wpgallery,wplink,wpdialogs,wpview",external_plugins:{"code":"http:\/\/proxymaster.psehost.com\/outlawsrestaurantcom\/wp-content\/plugins\/advanced-custom-fields\/js\/tinymce.code.min.js"},content_css:"http://proxymaster.psehost.com/outlawsrestaurantcom/wp-includes/css/dashicons.min.css?ver=4.1,http://proxymaster.psehost.com/outlawsrestaurantcom/wp-includes/js/tinymce/skins/wordpress/wp-content.css?ver=4.1",selector:"#content",resize:false,menubar:false,wpautop:true,indent:false,toolbar1:"bold,italic,strikethrough,bullist,numlist,blockquote,hr,alignleft,aligncenter,alignright,link,unlink,wp_more,spellchecker,dfw,wp_adv",toolbar2:"formatselect,underline,alignjustify,forecolor,pastetext,removeformat,charmap,outdent,indent,undo,redo,wp_help",toolbar3:"",toolbar4:"",tabfocus_elements:"content-html,save-post",body_class:"content post-type-video post-status-auto-draft post-format-standard locale-en-us",wp_autoresize_on:true,add_unload_trigger:false},'acf_settings':{selector:"#acf_settings",resize:"vertical",menubar:false,wpautop:true,indent:false,toolbar1:"bold,italic,strikethrough,bullist,numlist,blockquote,hr,alignleft,aligncenter,alignright,link,unlink,wp_more,spellchecker,fullscreen,wp_adv",toolbar2:"formatselect,underline,alignjustify,forecolor,pastetext,removeformat,charmap,outdent,indent,undo,redo,wp_help",toolbar3:"",toolbar4:"",tabfocus_elements:":prev,:next",body_class:"acf_settings post-type-video post-status-auto-draft post-format-standard locale-en-us"}},
  1612.             qtInit: {'content':{id:"content",buttons:"strong,em,link,block,del,ins,img,ul,ol,li,code,more,close,dfw"},'replycontent':{id:"replycontent",buttons:"strong,em,link,block,del,ins,img,ul,ol,li,code,close"},'acf_settings':{id:"acf_settings",buttons:"strong,em,link,block,del,ins,img,ul,ol,li,code,more,close"}},
  1613.             ref: {plugins:"charmap,colorpicker,hr,lists,media,paste,tabfocus,textcolor,fullscreen,wordpress,wpautoresize,wpeditimage,wpgallery,wplink,wpdialogs,wpview",theme:"modern",language:"en"},
  1614.             load_ext: function(url,lang){var sl=tinymce.ScriptLoader;sl.markDone(url+'/langs/'+lang+'.js');sl.markDone(url+'/langs/'+lang+'_dlg.js');}
  1615.         };
  1616.         </script>
  1617.         <script type='text/javascript' src='http://proxymaster.psehost.com/outlawsrestaurantcom/wp-includes/js/tinymce/tinymce.min.js?ver=4107-20141130'></script>
  1618. <script type='text/javascript' src='http://proxymaster.psehost.com/outlawsrestaurantcom/wp-includes/js/tinymce/plugins/compat3x/plugin.min.js?ver=4107-20141130'></script>
  1619. <script type='text/javascript'>
  1620. tinymce.addI18n( 'en', {"Ok":"OK","Bullet list":"Bulleted list","Spellcheck":"Check Spelling","Row properties":"Table row properties","Cell properties":"Table cell properties","Paste row before":"Paste table row before","Paste row after":"Paste table row after","Cut row":"Cut table row","Copy row":"Copy table row","Merge cells":"Merge table cells","Split cell":"Split table cell","Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.":"Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.\n\nIf you\u2019re looking to paste rich content from Microsoft Word, try turning this option off. The editor will clean up text pasted from Word automatically.","Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help":"Rich Text Area. Press Alt-Shift-H for help","You have unsaved changes are you sure you want to navigate away?":"The changes you made will be lost if you navigate away from this page.","Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.":"Your browser does not support direct access to the clipboard. Please use keyboard shortcuts or your browser\u2019s edit menu instead.","Edit ":"Edit"});
  1621. tinymce.ScriptLoader.markDone( 'http://proxymaster.psehost.com/outlawsrestaurantcom/wp-includes/js/tinymce/langs/en.js' );
  1622. </script>
  1623. <script type='text/javascript' src='http://proxymaster.psehost.com/outlawsrestaurantcom/wp-includes/js/tinymce/langs/wp-langs-en.js?ver=4107-20141130'></script>
  1624.         <script type="text/javascript">
  1625.         tinyMCEPreInit.load_ext("http://proxymaster.psehost.com/outlawsrestaurantcom/wp-content/plugins/advanced-custom-fields/js", "en");
  1626. tinymce.PluginManager.load("code", "http://proxymaster.psehost.com/outlawsrestaurantcom/wp-content/plugins/advanced-custom-fields/js/tinymce.code.min.js");
  1627.  
  1628.  
  1629.         ( function() {
  1630.             var init, edId, qtId, firstInit, wrapper;
  1631.  
  1632.             if ( typeof tinymce !== 'undefined' ) {
  1633.                 for ( edId in tinyMCEPreInit.mceInit ) {
  1634.                     if ( firstInit ) {
  1635.                         init = tinyMCEPreInit.mceInit[edId] = tinymce.extend( {}, firstInit, tinyMCEPreInit.mceInit[edId] );
  1636.                     } else {
  1637.                         init = firstInit = tinyMCEPreInit.mceInit[edId];
  1638.                     }
  1639.  
  1640.                     wrapper = tinymce.DOM.select( '#wp-' + edId + '-wrap' )[0];
  1641.  
  1642.                     if ( ( tinymce.DOM.hasClass( wrapper, 'tmce-active' ) || ! tinyMCEPreInit.qtInit.hasOwnProperty( edId ) ) &&
  1643.                         ! init.wp_skip_init ) {
  1644.  
  1645.                         try {
  1646.                             tinymce.init( init );
  1647.  
  1648.                             if ( ! window.wpActiveEditor ) {
  1649.                                 window.wpActiveEditor = edId;
  1650.                             }
  1651.                         } catch(e){}
  1652.                     }
  1653.                 }
  1654.             }
  1655.  
  1656.             if ( typeof quicktags !== 'undefined' ) {
  1657.                 for ( qtId in tinyMCEPreInit.qtInit ) {
  1658.                     try {
  1659.                         quicktags( tinyMCEPreInit.qtInit[qtId] );
  1660.  
  1661.                         if ( ! window.wpActiveEditor ) {
  1662.                             window.wpActiveEditor = qtId;
  1663.                         }
  1664.                     } catch(e){};
  1665.                 }
  1666.             }
  1667.  
  1668.             if ( typeof jQuery !== 'undefined' ) {
  1669.                 jQuery('.wp-editor-wrap').on( 'click.wp-editor', function() {
  1670.                     if ( this.id ) {
  1671.                         window.wpActiveEditor = this.id.slice( 3, -5 );
  1672.                     }
  1673.                 });
  1674.             } else {
  1675.                 for ( qtId in tinyMCEPreInit.qtInit ) {
  1676.                     document.getElementById( 'wp-' + qtId + '-wrap' ).onclick = function() {
  1677.                         window.wpActiveEditor = this.id.slice( 3, -5 );
  1678.                     }
  1679.                 }
  1680.             }
  1681.         }());
  1682.         </script>
  1683.                 <div id="wp-link-backdrop" style="display: none"></div>
  1684.         <div id="wp-link-wrap" class="wp-core-ui" style="display: none">
  1685.         <form id="wp-link" tabindex="-1">
  1686.         <input type="hidden" id="_ajax_linking_nonce" name="_ajax_linking_nonce" value="4222d7235c" />      <div id="link-modal-title">
  1687.             Insert/edit link            <button type="button" id="wp-link-close"><span class="screen-reader-text">Close</span></button>
  1688.         </div>
  1689.         <div id="link-selector">
  1690.             <div id="link-options">
  1691.                 <p class="howto">Enter the destination URL</p>
  1692.                 <div>
  1693.                     <label><span>URL</span><input id="url-field" type="text" name="href" /></label>
  1694.                 </div>
  1695.                 <div>
  1696.                     <label><span>Title</span><input id="link-title-field" type="text" name="linktitle" /></label>
  1697.                 </div>
  1698.                 <div class="link-target">
  1699.                     <label><span>&nbsp;</span><input type="checkbox" id="link-target-checkbox" /> Open link in a new window/tab</label>
  1700.                 </div>
  1701.             </div>
  1702.             <p class="howto"><a href="#" id="wp-link-search-toggle">Or link to existing content</a></p>
  1703.             <div id="search-panel">
  1704.                 <div class="link-search-wrapper">
  1705.                     <label>
  1706.                         <span class="search-label">Search</span>
  1707.                         <input type="search" id="search-field" class="link-search-field" autocomplete="off" />
  1708.                         <span class="spinner"></span>
  1709.                     </label>
  1710.                 </div>
  1711.                 <div id="search-results" class="query-results" tabindex="0">
  1712.                     <ul></ul>
  1713.                     <div class="river-waiting">
  1714.                         <span class="spinner"></span>
  1715.                     </div>
  1716.                 </div>
  1717.                 <div id="most-recent-results" class="query-results" tabindex="0">
  1718.                     <div class="query-notice" id="query-notice-message">
  1719.                         <em class="query-notice-default">No search term specified. Showing recent items.</em>
  1720.                         <em class="query-notice-hint screen-reader-text">Search or use up and down arrow keys to select an item.</em>
  1721.                     </div>
  1722.                     <ul></ul>
  1723.                     <div class="river-waiting">
  1724.                         <span class="spinner"></span>
  1725.                     </div>
  1726.                 </div>
  1727.             </div>
  1728.         </div>
  1729.         <div class="submitbox">
  1730.             <div id="wp-link-cancel">
  1731.                 <a class="submitdelete deletion" href="#">Cancel</a>
  1732.             </div>
  1733.             <div id="wp-link-update">
  1734.                 <input type="submit" value="Add Link" class="button button-primary" id="wp-link-submit" name="wp-link-submit">
  1735.             </div>
  1736.         </div>
  1737.         </form>
  1738.         </div>
  1739.        
  1740. <div class="clear"></div></div><!-- wpwrap -->
  1741. <script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
  1742. </body>
  1743. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement