annotate static/js/tiny_mce/themes/advanced/link.htm @ 348:d1b11096595b

Fix #168; when nailing a spammer, clear their profile text fields. Guard against topics and forums that don't exist when deleting posts in the signal handler. Make the forum stats template tag only display the latest active users.
author Brian Neal <bgneal@gmail.com>
date Wed, 02 Mar 2011 02:18:28 +0000
parents 88b2b9cb8c1f
children 6c182ceb7147
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@312 21
bgneal@312 22 <table border="0" cellpadding="4" cellspacing="0">
bgneal@312 23 <tr>
bgneal@312 24 <td class="nowrap"><label for="href">{#advanced_dlg.link_url}</label></td>
bgneal@312 25 <td><table border="0" cellspacing="0" cellpadding="0">
bgneal@312 26 <tr>
bgneal@312 27 <td><input id="href" name="href" type="text" class="mceFocus" value="" style="width: 200px" onchange="LinkDialog.checkPrefix(this);" /></td>
bgneal@312 28 <td id="hrefbrowsercontainer">&nbsp;</td>
bgneal@312 29 </tr>
bgneal@312 30 </table></td>
bgneal@312 31 </tr>
bgneal@312 32 <tr>
bgneal@312 33 <td><label for="link_list">{#advanced_dlg.link_list}</label></td>
bgneal@312 34 <td><select id="link_list" name="link_list" onchange="document.getElementById('href').value=this.options[this.selectedIndex].value;"></select></td>
bgneal@312 35 </tr>
bgneal@312 36 <tr>
bgneal@312 37 <td><label id="targetlistlabel" for="targetlist">{#advanced_dlg.link_target}</label></td>
bgneal@312 38 <td><select id="target_list" name="target_list"></select></td>
bgneal@312 39 </tr>
bgneal@312 40 <tr>
bgneal@312 41 <td class="nowrap"><label for="linktitle">{#advanced_dlg.link_titlefield}</label></td>
bgneal@312 42 <td><input id="linktitle" name="linktitle" type="text" value="" style="width: 200px" /></td>
bgneal@312 43 </tr>
bgneal@312 44 <tr>
bgneal@312 45 <td><label for="class_list">{#class_name}</label></td>
bgneal@312 46 <td><select id="class_list" name="class_list"></select></td>
bgneal@312 47 </tr>
bgneal@312 48 </table>
bgneal@312 49 </div>
bgneal@312 50 </div>
bgneal@312 51
bgneal@312 52 <div class="mceActionPanel">
bgneal@312 53 <input type="submit" id="insert" name="insert" value="{#insert}" />
bgneal@312 54 <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
bgneal@312 55 </div>
bgneal@312 56 </form>
bgneal@312 57 </body>
bgneal@312 58 </html>