annotate media/js/tiny_mce/themes/advanced/link.htm @ 77:d5eed0a91a05

#24 - Make the default date for a birthday today - 30 years. This allows you to select any month with the picker if the field is initially blank.
author Brian Neal <bgneal@gmail.com>
date Fri, 10 Jul 2009 23:56:02 +0000
parents a5b4c5ce0658
children 149c3567fec1
rev   line source
bgneal@45 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
bgneal@45 2 <html xmlns="http://www.w3.org/1999/xhtml">
bgneal@45 3 <head>
bgneal@45 4 <title>{#advanced_dlg.link_title}</title>
bgneal@45 5 <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
bgneal@45 6 <script type="text/javascript" src="../../utils/mctabs.js"></script>
bgneal@45 7 <script type="text/javascript" src="../../utils/form_utils.js"></script>
bgneal@45 8 <script type="text/javascript" src="../../utils/validate.js"></script>
bgneal@45 9 <script type="text/javascript" src="js/link.js"></script>
bgneal@45 10 </head>
bgneal@45 11 <body id="link" style="display: none">
bgneal@45 12 <form onsubmit="LinkDialog.update();return false;" action="#">
bgneal@45 13 <div class="tabs">
bgneal@45 14 <ul>
bgneal@45 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@45 16 </ul>
bgneal@45 17 </div>
bgneal@45 18
bgneal@45 19 <div class="panel_wrapper">
bgneal@45 20 <div id="general_panel" class="panel current">
bgneal@45 21
bgneal@45 22 <table border="0" cellpadding="4" cellspacing="0">
bgneal@45 23 <tr>
bgneal@45 24 <td class="nowrap"><label for="href">{#advanced_dlg.link_url}</label></td>
bgneal@45 25 <td><table border="0" cellspacing="0" cellpadding="0">
bgneal@45 26 <tr>
bgneal@45 27 <td><input id="href" name="href" type="text" class="mceFocus" value="" style="width: 200px" onchange="LinkDialog.checkPrefix(this);" /></td>
bgneal@45 28 <td id="hrefbrowsercontainer">&nbsp;</td>
bgneal@45 29 </tr>
bgneal@45 30 </table></td>
bgneal@45 31 </tr>
bgneal@45 32 <tr>
bgneal@45 33 <td><label for="link_list">{#advanced_dlg.link_list}</label></td>
bgneal@45 34 <td><select id="link_list" name="link_list" onchange="document.getElementById('href').value=this.options[this.selectedIndex].value;"></select></td>
bgneal@45 35 </tr>
bgneal@45 36 <tr>
bgneal@45 37 <td><label id="targetlistlabel" for="targetlist">{#advanced_dlg.link_target}</label></td>
bgneal@45 38 <td><select id="target_list" name="target_list"></select></td>
bgneal@45 39 </tr>
bgneal@45 40 <tr>
bgneal@45 41 <td class="nowrap"><label for="linktitle">{#advanced_dlg.link_titlefield}</label></td>
bgneal@45 42 <td><input id="linktitle" name="linktitle" type="text" value="" style="width: 200px" /></td>
bgneal@45 43 </tr>
bgneal@45 44 <tr>
bgneal@45 45 <td><label for="class_list">{#class_name}</label></td>
bgneal@45 46 <td><select id="class_list" name="class_list"></select></td>
bgneal@45 47 </tr>
bgneal@45 48 </table>
bgneal@45 49 </div>
bgneal@45 50 </div>
bgneal@45 51
bgneal@45 52 <div class="mceActionPanel">
bgneal@45 53 <div style="float: left">
bgneal@45 54 <input type="submit" id="insert" name="insert" value="{#insert}" />
bgneal@45 55 </div>
bgneal@45 56
bgneal@45 57 <div style="float: right">
bgneal@45 58 <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
bgneal@45 59 </div>
bgneal@45 60 </div>
bgneal@45 61 </form>
bgneal@45 62 </body>
bgneal@45 63 </html>