JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
cke_cms_images: link/instructions to upload new
authorJason Woofenden <jason@jasonwoof.com>
Thu, 24 Jul 2014 17:42:39 +0000 (13:42 -0400)
committerJason Woofenden <jason@jasonwoof.com>
Thu, 24 Jul 2014 17:42:39 +0000 (13:42 -0400)
admin_pages.html

index 7db5cb7..4b2b1b3 100644 (file)
                                                                elements: [
                                                                        {
                                                                                type: 'html',
-                                                                               html: '<div class="cke_wfpl_images_dialog"><p>Note: If the image you want is not shown below, go to the control panel, then "manage images" and add it there. Next time you load an editor, you\'ll see that new image below.</p>'
+                                                                               html: '<div class="cke_wfpl_images_dialog">'
                                                                                        + '<h3>Step 1: Choose an image to insert:</h3>'
                                                                                        + "<div class=\"cke_wfpl_thumbs\">~wfpl_images {~ <div class=\"cke_wfpl_thumb\" onclick=\"return window.cke_wfpl_images_thumb_click("+plugin_id+", this, ~id~)\" style=\"background-image: url(~image thumb_src attr jsdq~)\">~caption empty {~~name html jsdq~~}~~caption nonempty {~~caption html jsdq~~}~</div>~}~</div>"
                                                                                + "</div>"
+                                                                               + '<p style="white-space: normal">If you\'d like to insert an image not shown above, you can <a style="color: blue; text-decoration: underline" href="admin_images?new=1" target="_blank">upload it here</a>. Sorry, it won\'t appear here until you reload this editor page (hit Save below, then "edit this page" again.)</p>'
                                                                        }
                                                                ]
                                                        }