Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE HTML>
- <html>
- <head>
- <meta http-equiv="content-type" content="text/html; charset=utf-8">
- <title>PTE</title>
- <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Amaranth:regular,italic,bold|Puritan|PT+Serif">
- <style type="text/css" media="screen">
- </style>
- <script type='text/javascript' src='http://www.chefsconsortium.com/wp-includes/js/jquery/jquery.js?ver=1.7.1'></script>
- <script type='text/javascript' src='http://www.chefsconsortium.com/wp-includes/js/hoverIntent.js?ver=20090102'></script>
- <script type='text/javascript' src='http://www.chefsconsortium.com/wp-admin/js/utils.js?ver=20101110'></script>
- <script type='text/javascript'>
- /* <![CDATA[ */
- var commonL10n = {"warnDelete":"You are about to permanently delete the selected items.\n 'Cancel' to stop, 'OK' to delete."};
- /* ]]> */
- </script>
- <script type='text/javascript' src='http://www.chefsconsortium.com/wp-admin/js/common.js?ver=20120102'></script>
- <script type="text/javascript" charset="utf-8">
- var ajaxurl = 'http://www.chefsconsortium.com/wp-admin/admin-ajax.php';
- var thumbnail_info = {"thumbnail":{"width":"100","height":"100","crop":"1","current":{"file":"ric-orland-chefs-consortium-100x100.jpg","width":"100","height":"100","wp_smushit":"Reduced by 7.1% (328 B)","path":"2012\/03\/ric-orland-chefs-consortium-100x100.jpg","url":"http:\/\/www.chefsconsortium.com\/wp-content\/uploads\/2012\/03\/ric-orland-chefs-consortium-100x100.jpg"}},"medium":{"width":"550","height":"195","crop":"1","current":{"file":"ric-orland-chefs-consortium-550x195.jpg","width":"550","height":"195","wp_smushit":"Reduced by 5.3% (1.1 KB)","path":"2012\/03\/ric-orland-chefs-consortium-550x195.jpg","url":"http:\/\/www.chefsconsortium.com\/wp-content\/uploads\/2012\/03\/ric-orland-chefs-consortium-550x195.jpg"}},"large":{"width":"1024","height":"768","crop":"1","current":false},"wp_rotator":{"width":500,"height":186,"crop":1,"current":{"file":"ric-orland-chefs-consortium-500x186.jpg","width":"500","height":"186","wp_smushit":"Reduced by 5.6% (1 KB)","path":"2012\/03\/ric-orland-chefs-consortium-500x186.jpg","url":"http:\/\/www.chefsconsortium.com\/wp-content\/uploads\/2012\/03\/ric-orland-chefs-consortium-500x186.jpg"}},"post-thumbnail":{"width":93,"height":93,"crop":0,"current":{"file":"ric-orland-chefs-consortium-93x58.jpg","width":"93","height":"58","wp_smushit":"Reduced by 8.0% (254 B)","path":"2012\/03\/ric-orland-chefs-consortium-93x58.jpg","url":"http:\/\/www.chefsconsortium.com\/wp-content\/uploads\/2012\/03\/ric-orland-chefs-consortium-93x58.jpg"}},"feature-thumb":{"width":245,"height":185,"crop":1,"current":{"file":"ric-orland-chefs-consortium-245x185.jpg","width":"245","height":"185","wp_smushit":"Reduced by 6.6% (888 B)","path":"2012\/03\/ric-orland-chefs-consortium-245x185.jpg","url":"http:\/\/www.chefsconsortium.com\/wp-content\/uploads\/2012\/03\/ric-orland-chefs-consortium-245x185.jpg"}},"horiz-thumb":{"width":542,"height":200,"crop":1,"current":{"file":"ric-orland-chefs-consortium-542x200.jpg","width":"542","height":"200","wp_smushit":"Reduced by 5.8% (1.2 KB)","path":"2012\/03\/ric-orland-chefs-consortium-542x200.jpg","url":"http:\/\/www.chefsconsortium.com\/wp-content\/uploads\/2012\/03\/ric-orland-chefs-consortium-542x200.jpg"}}};
- var options = {"pte_tb_width":750,"pte_tb_height":550,"pte_debug":false,"pte_hidden_sizes":[]};
- jQuery(function(){ pte.editor(); });
- Uncaught ReferenceError: pte is not defined
- </script>
- </head>
- <body>
- <div id="stage1" class="stage">
- <h1 class="stage-header">Post Thumbnail Editor - Step 1</h1>
- <div id="pte-image">
- <input type="hidden" id="pte-sizer" value="0.39062500" />
- <input type="hidden" id="pte-post-id" value="12856" />
- <img id="pte-preview" src="http://www.chefsconsortium.com/wp-admin/admin-ajax.php?action=imgedit-preview&_ajax_nonce=fa0b6bd548&postid=12856&rand=44419" />
- <div id="pte-buttons" class="buttons">
- <button disabled id="pte-submit">Create Thumbnails</button>
- </div>
- </div>
- <div id="pte-sizes-container">
- <div style="font-size:smaller;">
- Choose the images/thumbnails that you want to edit:<br>
- </div>
- <div id="pte-selectors">
- Select: <a class="all" href="all">All</a> | <a class="none" href="none">None</a> </div>
- <div id="pte-sizes">
- <table>
- <tr>
- <td class="col1">
- <input class="pte-size" id="pte-size-thumbnail" type="checkbox" name="pte-size[]" value="thumbnail">
- </td>
- <td class="col2">
- <div class="pte-size-label">thumbnail (100x100)<br><span class='actual'>Current image:100x100</span></div>
- <img src="http://www.chefsconsortium.com/wp-content/uploads/2012/03/ric-orland-chefs-consortium-100x100.jpg?1090832574"/><br/>
- </td>
- </tr>
- <tr>
- <td class="col1">
- <input class="pte-size" id="pte-size-medium" type="checkbox" name="pte-size[]" value="medium">
- </td>
- <td class="col2">
- <div class="pte-size-label">medium (550x195)<br><span class='actual'>Current image:550x195</span></div>
- <img src="http://www.chefsconsortium.com/wp-content/uploads/2012/03/ric-orland-chefs-consortium-550x195.jpg?2025227974"/><br/>
- </td>
- </tr>
- <tr>
- <td class="col1">
- <input class="pte-size" id="pte-size-large" type="checkbox" name="pte-size[]" value="large">
- </td>
- <td class="col2">
- <div class="pte-size-label">large (1024x768)<br><span class='actual'>Current image:x</span></div>
- <img src="?1214715035"/><br/>
- </td>
- </tr>
- <tr>
- <td class="col1">
- <input class="pte-size" id="pte-size-wp_rotator" type="checkbox" name="pte-size[]" value="wp_rotator">
- </td>
- <td class="col2">
- <div class="pte-size-label">wp_rotator (500x186)<br><span class='actual'>Current image:500x186</span></div>
- <img src="http://www.chefsconsortium.com/wp-content/uploads/2012/03/ric-orland-chefs-consortium-500x186.jpg?1283082126"/><br/>
- </td>
- </tr>
- <tr>
- <td class="col1">
- <input class="pte-size" id="pte-size-post-thumbnail" type="checkbox" name="pte-size[]" value="post-thumbnail">
- </td>
- <td class="col2">
- <div class="pte-size-label">post-thumbnail (93x93)<br><span class='actual'>Current image:93x58</span></div>
- <img src="http://www.chefsconsortium.com/wp-content/uploads/2012/03/ric-orland-chefs-consortium-93x58.jpg?2054042938"/><br/>
- </td>
- </tr>
- <tr>
- <td class="col1">
- <input class="pte-size" id="pte-size-feature-thumb" type="checkbox" name="pte-size[]" value="feature-thumb">
- </td>
- <td class="col2">
- <div class="pte-size-label">feature-thumb (245x185)<br><span class='actual'>Current image:245x185</span></div>
- <img src="http://www.chefsconsortium.com/wp-content/uploads/2012/03/ric-orland-chefs-consortium-245x185.jpg?558663763"/><br/>
- </td>
- </tr>
- <tr>
- <td class="col1">
- <input class="pte-size" id="pte-size-horiz-thumb" type="checkbox" name="pte-size[]" value="horiz-thumb">
- </td>
- <td class="col2">
- <div class="pte-size-label">horiz-thumb (542x200)<br><span class='actual'>Current image:542x200</span></div>
- <img src="http://www.chefsconsortium.com/wp-content/uploads/2012/03/ric-orland-chefs-consortium-542x200.jpg?1954561369"/><br/>
- </td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- <div id="stage2" class="stage">
- </div>
- <script id="stage2template" type="text/x-jquery-tmpl">
- <a onclick="goBack(); return false;" href="#back" class="stage-navigation"
- alt="Return to Step 1" title="Return to Step 1">
- <img src="http://www.chefsconsortium.com/wp-content/plugins/post-thumbnail-editor/images/back.gif"/> Back</a>
- <h1 class="stage-header">Post Thumbnail Editor - Step 2</h1>
- {{if $data['error']}}
- <div id="error">We noticed some potential issues: <a href="options-general.php?page=pte">Enable debugging</a> for additional information <ul>
- {{each $data['error']}}<li>${$value}</li>{{/each}}
- </ul>
- </div>
- {{/if}}
- <div id="pte-stage2-selectors">
- Select the images you want to keep: <a class="all" href="all">All</a> | <a class="none" href="none">None</a> </div>
- <input type="hidden" name="pte-nonce" value="${$data['pte-nonce']}" id="pte-nonce" />
- <input type="hidden" name="pte-delete-nonce" value="${$data['pte-delete-nonce']}" id="pte-delete-nonce" />
- <table>
- {{each $data.thumbnails}}
- <tr class="selected">
- <td class="col1"><input checked class="pte-confirm" type="checkbox" name="pte_confirm[]" value="${$index}"/></td>
- <td class="col2">
- <div class="pte-size-label">${$index}</div>
- <img src="${$value.url}?${randomness()}"/>
- <input class="pte-file" type="hidden" value="${$value.file}"/>
- </td>
- </tr>
- {{/each}}
- </table>
- <div id="stage2-buttons">
- <button id="pte-confirm">
- Okay, these look good... </button>
- <a href="#back" id="pte-cancel"
- onclick="goBack(); return false;">
- I'd rather start over... </a>
- </a>
- </script>
- <div id="stage3" class="stage">
- </div>
- <script id="stage3template" type="text/x-jquery-tmpl">
- <h1 class="stage-header">Post Thumbnail Editor</h1>
- {{if $data['success']}}
- <div id="success">
- <p>Images were created successfully.</p>
- <p>Click <a href="" onclick="window.location.reload();">here</a> to modify another thumbnail.</p>
- </div>
- {{/if}}
- {{if $data['error']}}
- <div id="error">We noticed some potential issues: <ul>
- {{each $data['error']}}<li>${$value}</li>{{/each}}
- </ul>
- </div>
- {{/if}}
- </script>
- <div id="pte-loading">
- <div class="pte-opaque"></div>
- <div id="pte-loading-spinner">
- <img src="http://www.chefsconsortium.com/wp-content/plugins/post-thumbnail-editor/images/loading.gif" alt="Please wait" />
- </div></div>
- <div style='clear:both'></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement