annotate static/js/tiny_mce/themes/advanced/link.htm @ 693:ad69236e8501

For issue #52, update many 3rd party Javascript libraries. Updated to jquery 1.10.2, jquery ui 1.10.3. This broke a lot of stuff. - Found a newer version of the jquery cycle all plugin (3.0.3). - Updated JPlayer to 2.4.0. - Updated to MarkItUp 1.1.14. This also required me to add multiline attributes set to true on various buttons in the markdown set. - As per a stackoverflow post, added some code to get multiline titles in a jQuery UI dialog. They removed that functionality but allow you to put it back. Tweaked the MarkItUp preview CSS to show blockquotes in italic. Did not update TinyMCE at this time. I'm not using the JQuery version and this version appears to work ok for now. What I should do is make a repo for MarkItUp and do a vendor branch thing so I don't have to futz around diffing directories to figure out if I'll lose changes when I update.
author Brian Neal <bgneal@gmail.com>
date Wed, 04 Sep 2013 19:55:20 -0500
parents 6c182ceb7147
children
rev   line source
bgneal@312 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
bgneal@312 2 <html xmlns="http://www.w3.org/1999/xhtml">
bgneal@312 3 <head>
bgneal@312 4 <title>{#advanced_dlg.link_title}</title>
bgneal@312 5 <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
bgneal@312 6 <script type="text/javascript" src="../../utils/mctabs.js"></script>
bgneal@312 7 <script type="text/javascript" src="../../utils/form_utils.js"></script>
bgneal@312 8 <script type="text/javascript" src="../../utils/validate.js"></script>
bgneal@312 9 <script type="text/javascript" src="js/link.js"></script>
bgneal@312 10 </head>
bgneal@312 11 <body id="link" style="display: none">
bgneal@312 12 <form onsubmit="LinkDialog.update();return false;" action="#">
bgneal@312 13 <div class="tabs">
bgneal@312 14 <ul>
bgneal@312 15 <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advanced_dlg.link_title}</a></span></li>
bgneal@312 16 </ul>
bgneal@312 17 </div>
bgneal@312 18
bgneal@312 19 <div class="panel_wrapper">
bgneal@312 20 <div id="general_panel" class="panel current">
bgneal@442 21 <table border="0" cellpadding="4" cellspacing="0">
bgneal@442 22 <tr>
bgneal@442 23 <td class="nowrap"><label for="href">{#advanced_dlg.link_url}</label></td>
bgneal@442 24 <td><table border="0" cellspacing="0" cellpadding="0">
bgneal@442 25 <tr>
bgneal@442 26 <td><input id="href" name="href" type="text" class="mceFocus" value="" style="width: 200px" onchange="LinkDialog.checkPrefix(this);" /></td>
bgneal@442 27 <td id="hrefbrowsercontainer">&nbsp;</td>
bgneal@442 28 </tr>
bgneal@442 29 </table></td>
bgneal@442 30 </tr>
bgneal@442 31 <tr>
bgneal@442 32 <td><label for="link_list">{#advanced_dlg.link_list}</label></td>
bgneal@442 33 <td><select id="link_list" name="link_list" onchange="document.getElementById('href').value=this.options[this.selectedIndex].value;"></select></td>
bgneal@442 34 </tr>
bgneal@442 35 <tr>
bgneal@442 36 <td><label id="targetlistlabel" for="targetlist">{#advanced_dlg.link_target}</label></td>
bgneal@442 37 <td><select id="target_list" name="target_list"></select></td>
bgneal@442 38 </tr>
bgneal@442 39 <tr>
bgneal@442 40 <td class="nowrap"><label for="linktitle">{#advanced_dlg.link_titlefield}</label></td>
bgneal@442 41 <td><input id="linktitle" name="linktitle" type="text" value="" style="width: 200px" /></td>
bgneal@442 42 </tr>
bgneal@442 43 <tr>
bgneal@442 44 <td><label for="class_list">{#class_name}</label></td>
bgneal@442 45 <td><select id="class_list" name="class_list"></select></td>
bgneal@442 46 </tr>
bgneal@442 47 </table>
bgneal@312 48 </div>
bgneal@312 49 </div>
bgneal@312 50
bgneal@312 51 <div class="mceActionPanel">
bgneal@312 52 <input type="submit" id="insert" name="insert" value="{#insert}" />
bgneal@312 53 <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
bgneal@312 54 </div>
bgneal@312 55 </form>
bgneal@312 56 </body>
bgneal@312 57 </html>