Advertisement
whatsthebigidea

entire-page-html

Mar 26th, 2012
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.03 KB | None | 0 0
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta http-equiv="content-type" content="text/html; charset=utf-8">
  5. <title>PTE</title>
  6. <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Amaranth:regular,italic,bold|Puritan|PT+Serif">
  7. <style type="text/css" media="screen">
  8. </style>
  9. <script type='text/javascript' src='http://www.chefsconsortium.com/wp-includes/js/jquery/jquery.js?ver=1.7.1'></script>
  10. <script type='text/javascript' src='http://www.chefsconsortium.com/wp-includes/js/hoverIntent.js?ver=20090102'></script>
  11. <script type='text/javascript' src='http://www.chefsconsortium.com/wp-admin/js/utils.js?ver=20101110'></script>
  12. <script type='text/javascript'>
  13. /* <![CDATA[ */
  14. var commonL10n = {"warnDelete":"You are about to permanently delete the selected items.\n 'Cancel' to stop, 'OK' to delete."};
  15. /* ]]> */
  16. </script>
  17. <script type='text/javascript' src='http://www.chefsconsortium.com/wp-admin/js/common.js?ver=20120102'></script>
  18. <script type="text/javascript" charset="utf-8">
  19. var ajaxurl = 'http://www.chefsconsortium.com/wp-admin/admin-ajax.php';
  20. 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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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&nbsp;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"}}};
  21. var options = {"pte_tb_width":750,"pte_tb_height":550,"pte_debug":false,"pte_hidden_sizes":[]};
  22. jQuery(function(){ pte.editor(); });
  23. Uncaught ReferenceError: pte is not defined
  24. </script>
  25. </head>
  26. <body>
  27. <div id="stage1" class="stage">
  28. <h1 class="stage-header">Post Thumbnail Editor - Step 1</h1>
  29. <div id="pte-image">
  30. <input type="hidden" id="pte-sizer" value="0.39062500" />
  31. <input type="hidden" id="pte-post-id" value="12856" />
  32. <img id="pte-preview" src="http://www.chefsconsortium.com/wp-admin/admin-ajax.php?action=imgedit-preview&amp;_ajax_nonce=fa0b6bd548&amp;postid=12856&amp;rand=44419" />
  33. <div id="pte-buttons" class="buttons">
  34. <button disabled id="pte-submit">Create Thumbnails</button>
  35. </div>
  36.  
  37. </div>
  38. <div id="pte-sizes-container">
  39. <div style="font-size:smaller;">
  40. Choose the images/thumbnails that you want to edit:<br>
  41. </div>
  42. <div id="pte-selectors">
  43. Select: <a class="all" href="all">All</a> | <a class="none" href="none">None</a> </div>
  44. <div id="pte-sizes">
  45. <table>
  46. <tr>
  47. <td class="col1">
  48. <input class="pte-size" id="pte-size-thumbnail" type="checkbox" name="pte-size[]" value="thumbnail">
  49. </td>
  50. <td class="col2">
  51. <div class="pte-size-label">thumbnail (100x100)<br><span class='actual'>Current image:100x100</span></div>
  52. <img src="http://www.chefsconsortium.com/wp-content/uploads/2012/03/ric-orland-chefs-consortium-100x100.jpg?1090832574"/><br/>
  53. </td>
  54. </tr>
  55. <tr>
  56. <td class="col1">
  57. <input class="pte-size" id="pte-size-medium" type="checkbox" name="pte-size[]" value="medium">
  58. </td>
  59. <td class="col2">
  60. <div class="pte-size-label">medium (550x195)<br><span class='actual'>Current image:550x195</span></div>
  61. <img src="http://www.chefsconsortium.com/wp-content/uploads/2012/03/ric-orland-chefs-consortium-550x195.jpg?2025227974"/><br/>
  62. </td>
  63. </tr>
  64. <tr>
  65. <td class="col1">
  66. <input class="pte-size" id="pte-size-large" type="checkbox" name="pte-size[]" value="large">
  67. </td>
  68. <td class="col2">
  69. <div class="pte-size-label">large (1024x768)<br><span class='actual'>Current image:x</span></div>
  70. <img src="?1214715035"/><br/>
  71. </td>
  72. </tr>
  73. <tr>
  74. <td class="col1">
  75. <input class="pte-size" id="pte-size-wp_rotator" type="checkbox" name="pte-size[]" value="wp_rotator">
  76. </td>
  77. <td class="col2">
  78. <div class="pte-size-label">wp_rotator (500x186)<br><span class='actual'>Current image:500x186</span></div>
  79. <img src="http://www.chefsconsortium.com/wp-content/uploads/2012/03/ric-orland-chefs-consortium-500x186.jpg?1283082126"/><br/>
  80. </td>
  81. </tr>
  82. <tr>
  83. <td class="col1">
  84. <input class="pte-size" id="pte-size-post-thumbnail" type="checkbox" name="pte-size[]" value="post-thumbnail">
  85. </td>
  86. <td class="col2">
  87. <div class="pte-size-label">post-thumbnail (93x93)<br><span class='actual'>Current image:93x58</span></div>
  88. <img src="http://www.chefsconsortium.com/wp-content/uploads/2012/03/ric-orland-chefs-consortium-93x58.jpg?2054042938"/><br/>
  89. </td>
  90. </tr>
  91. <tr>
  92. <td class="col1">
  93. <input class="pte-size" id="pte-size-feature-thumb" type="checkbox" name="pte-size[]" value="feature-thumb">
  94. </td>
  95. <td class="col2">
  96. <div class="pte-size-label">feature-thumb (245x185)<br><span class='actual'>Current image:245x185</span></div>
  97. <img src="http://www.chefsconsortium.com/wp-content/uploads/2012/03/ric-orland-chefs-consortium-245x185.jpg?558663763"/><br/>
  98. </td>
  99. </tr>
  100. <tr>
  101. <td class="col1">
  102. <input class="pte-size" id="pte-size-horiz-thumb" type="checkbox" name="pte-size[]" value="horiz-thumb">
  103. </td>
  104. <td class="col2">
  105. <div class="pte-size-label">horiz-thumb (542x200)<br><span class='actual'>Current image:542x200</span></div>
  106. <img src="http://www.chefsconsortium.com/wp-content/uploads/2012/03/ric-orland-chefs-consortium-542x200.jpg?1954561369"/><br/>
  107. </td>
  108. </tr>
  109. </table>
  110. </div>
  111. </div>
  112.  
  113. </div>
  114. <div id="stage2" class="stage">
  115. </div>
  116. <script id="stage2template" type="text/x-jquery-tmpl">
  117. <a onclick="goBack(); return false;" href="#back" class="stage-navigation"
  118. alt="Return to Step 1" title="Return to Step 1">
  119. <img src="http://www.chefsconsortium.com/wp-content/plugins/post-thumbnail-editor/images/back.gif"/> Back</a>
  120. <h1 class="stage-header">Post Thumbnail Editor - Step 2</h1>
  121. {{if $data['error']}}
  122. <div id="error">We noticed some potential issues:&nbsp;<a href="options-general.php?page=pte">Enable debugging</a> for additional information <ul>
  123. {{each $data['error']}}<li>${$value}</li>{{/each}}
  124. </ul>
  125. </div>
  126. {{/if}}
  127. <div id="pte-stage2-selectors">
  128. Select the images you want to keep: <a class="all" href="all">All</a> | <a class="none" href="none">None</a> </div>
  129. <input type="hidden" name="pte-nonce" value="${$data['pte-nonce']}" id="pte-nonce" />
  130. <input type="hidden" name="pte-delete-nonce" value="${$data['pte-delete-nonce']}" id="pte-delete-nonce" />
  131. <table>
  132. {{each $data.thumbnails}}
  133. <tr class="selected">
  134. <td class="col1"><input checked class="pte-confirm" type="checkbox" name="pte_confirm[]" value="${$index}"/></td>
  135. <td class="col2">
  136. <div class="pte-size-label">${$index}</div>
  137. <img src="${$value.url}?${randomness()}"/>
  138. <input class="pte-file" type="hidden" value="${$value.file}"/>
  139. </td>
  140. </tr>
  141. {{/each}}
  142. </table>
  143. <div id="stage2-buttons">
  144. <button id="pte-confirm">
  145. Okay, these look good... </button>&nbsp;
  146. <a href="#back" id="pte-cancel"
  147. onclick="goBack(); return false;">
  148. I'd rather start over... </a>
  149. </a>
  150. </script>
  151. <div id="stage3" class="stage">
  152. </div>
  153. <script id="stage3template" type="text/x-jquery-tmpl">
  154. <h1 class="stage-header">Post Thumbnail Editor</h1>
  155. {{if $data['success']}}
  156. <div id="success">
  157. <p>Images were created successfully.</p>
  158. <p>Click <a href="" onclick="window.location.reload();">here</a> to modify another thumbnail.</p>
  159. </div>
  160. {{/if}}
  161. {{if $data['error']}}
  162. <div id="error">We noticed some potential issues: <ul>
  163. {{each $data['error']}}<li>${$value}</li>{{/each}}
  164. </ul>
  165. </div>
  166. {{/if}}
  167. </script>
  168. <div id="pte-loading">
  169. <div class="pte-opaque"></div>
  170. <div id="pte-loading-spinner">
  171. <img src="http://www.chefsconsortium.com/wp-content/plugins/post-thumbnail-editor/images/loading.gif" alt="Please wait" />
  172. </div></div>
  173. <div style='clear:both'></div>
  174. </body>
  175. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement