annotate static/js/tiny_mce/themes/advanced/link.htm @ 442:6c182ceb7147

Fixing #217; upgrade TinyMCE to 3.4.2 and enable the paste plugin.
author Brian Neal <bgneal@gmail.com>
date Thu, 26 May 2011 00:43:49 +0000
parents 88b2b9cb8c1f
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>