annotate static/js/tiny_mce/plugins/xhtmlxtras/attributes.htm @ 327:a1bf6cf49720

Modified the implementation of the avatar tag to look for an attribute 'user_profile' on the user object. If present, this is assumed to be the profile. This improves the performance of the member list and some forum views.
author Brian Neal <bgneal@gmail.com>
date Tue, 22 Feb 2011 02:11:26 +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>{#xhtmlxtras_dlg.attribs_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/editable_selects.js"></script>
bgneal@312 8 <script type="text/javascript" src="../../utils/form_utils.js"></script>
bgneal@312 9 <script type="text/javascript" src="js/attributes.js"></script>
bgneal@312 10 <link rel="stylesheet" type="text/css" href="css/attributes.css" />
bgneal@312 11 </head>
bgneal@312 12 <body style="display: none">
bgneal@312 13 <form onsubmit="insertAction();return false;" action="#">
bgneal@312 14 <div class="tabs">
bgneal@312 15 <ul>
bgneal@312 16 <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.attribute_attrib_tab}</a></span></li>
bgneal@312 17 <li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.attribute_events_tab}</a></span></li>
bgneal@312 18 </ul>
bgneal@312 19 </div>
bgneal@312 20
bgneal@312 21 <div class="panel_wrapper">
bgneal@312 22 <div id="general_panel" class="panel current">
bgneal@312 23 <fieldset>
bgneal@312 24 <legend>{#xhtmlxtras_dlg.attribute_attrib_tab}</legend>
bgneal@312 25 <table border="0" cellpadding="0" cellspacing="4">
bgneal@312 26 <tr>
bgneal@312 27 <td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td>
bgneal@312 28 <td><input id="title" name="title" type="text" value="" class="mceFocus" /></td>
bgneal@312 29 </tr>
bgneal@312 30 <tr>
bgneal@312 31 <td class="label"><label id="idlabel" for="id">{#xhtmlxtras_dlg.attribute_label_id}</label>:</td>
bgneal@312 32 <td><input id="id" name="id" type="text" value="" /></td>
bgneal@312 33 </tr>
bgneal@312 34 <tr>
bgneal@312 35 <td><label id="classlabel" for="classlist">{#class_name}</label></td>
bgneal@312 36 <td>
bgneal@312 37 <select id="classlist" name="classlist" class="mceEditableSelect">
bgneal@312 38 <option value="" selected="selected">{#not_set}</option>
bgneal@312 39 </select>
bgneal@312 40 </td>
bgneal@312 41 </tr>
bgneal@312 42 <tr>
bgneal@312 43 <td class="label"><label id="stylelabel" for="style">{#xhtmlxtras_dlg.attribute_label_style}</label>:</td>
bgneal@312 44 <td><input id="style" name="style" type="text" value="" /></td>
bgneal@312 45 </tr>
bgneal@312 46 <tr>
bgneal@312 47 <td class="label"><label id="dirlabel" for="dir">{#xhtmlxtras_dlg.attribute_label_langdir}</label>:</td>
bgneal@312 48 <td>
bgneal@312 49 <select id="dir" name="dir">
bgneal@312 50 <option value="">{#not_set}</option>
bgneal@312 51 <option value="ltr">{#xhtmlxtras_dlg.option_ltr}</option>
bgneal@312 52 <option value="rtl">{#xhtmlxtras_dlg.option_rtl}</option>
bgneal@312 53 </select>
bgneal@312 54 </td>
bgneal@312 55 </tr>
bgneal@312 56 <tr>
bgneal@312 57 <td class="label"><label id="langlabel" for="lang">{#xhtmlxtras_dlg.attribute_label_langcode}</label>:</td>
bgneal@312 58 <td>
bgneal@312 59 <input id="lang" name="lang" type="text" value="" />
bgneal@312 60 </td>
bgneal@312 61 </tr>
bgneal@312 62 <tr>
bgneal@312 63 <td><label id="tabindexlabel" for="tabindex">{#xhtmlxtras_dlg.attribute_label_tabindex}</label></td>
bgneal@312 64 <td><input type="text" id="tabindex" name="tabindex" value="" /></td>
bgneal@312 65 </tr>
bgneal@312 66
bgneal@312 67 <tr>
bgneal@312 68 <td><label id="accesskeylabel" for="accesskey">{#xhtmlxtras_dlg.attribute_label_accesskey}</label></td>
bgneal@312 69 <td><input type="text" id="accesskey" name="accesskey" value="" /></td>
bgneal@312 70 </tr>
bgneal@312 71 </table>
bgneal@312 72 </fieldset>
bgneal@312 73 </div>
bgneal@312 74 <div id="events_panel" class="panel">
bgneal@312 75 <fieldset>
bgneal@312 76 <legend>{#xhtmlxtras_dlg.attribute_events_tab}</legend>
bgneal@312 77
bgneal@312 78 <table border="0" cellpadding="0" cellspacing="4">
bgneal@312 79 <tr>
bgneal@312 80 <td class="label"><label for="onfocus">onfocus</label>:</td>
bgneal@312 81 <td><input id="onfocus" name="onfocus" type="text" value="" /></td>
bgneal@312 82 </tr>
bgneal@312 83
bgneal@312 84 <tr>
bgneal@312 85 <td class="label"><label for="onblur">onblur</label>:</td>
bgneal@312 86 <td><input id="onblur" name="onblur" type="text" value="" /></td>
bgneal@312 87 </tr>
bgneal@312 88
bgneal@312 89 <tr>
bgneal@312 90 <td class="label"><label for="onclick">onclick</label>:</td>
bgneal@312 91 <td><input id="onclick" name="onclick" type="text" value="" /></td>
bgneal@312 92 </tr>
bgneal@312 93
bgneal@312 94 <tr>
bgneal@312 95 <td class="label"><label for="ondblclick">ondblclick</label>:</td>
bgneal@312 96 <td><input id="ondblclick" name="ondblclick" type="text" value="" /></td>
bgneal@312 97 </tr>
bgneal@312 98
bgneal@312 99 <tr>
bgneal@312 100 <td class="label"><label for="onmousedown">onmousedown</label>:</td>
bgneal@312 101 <td><input id="onmousedown" name="onmousedown" type="text" value="" /></td>
bgneal@312 102 </tr>
bgneal@312 103
bgneal@312 104 <tr>
bgneal@312 105 <td class="label"><label for="onmouseup">onmouseup</label>:</td>
bgneal@312 106 <td><input id="onmouseup" name="onmouseup" type="text" value="" /></td>
bgneal@312 107 </tr>
bgneal@312 108
bgneal@312 109 <tr>
bgneal@312 110 <td class="label"><label for="onmouseover">onmouseover</label>:</td>
bgneal@312 111 <td><input id="onmouseover" name="onmouseover" type="text" value="" /></td>
bgneal@312 112 </tr>
bgneal@312 113
bgneal@312 114 <tr>
bgneal@312 115 <td class="label"><label for="onmousemove">onmousemove</label>:</td>
bgneal@312 116 <td><input id="onmousemove" name="onmousemove" type="text" value="" /></td>
bgneal@312 117 </tr>
bgneal@312 118
bgneal@312 119 <tr>
bgneal@312 120 <td class="label"><label for="onmouseout">onmouseout</label>:</td>
bgneal@312 121 <td><input id="onmouseout" name="onmouseout" type="text" value="" /></td>
bgneal@312 122 </tr>
bgneal@312 123
bgneal@312 124 <tr>
bgneal@312 125 <td class="label"><label for="onkeypress">onkeypress</label>:</td>
bgneal@312 126 <td><input id="onkeypress" name="onkeypress" type="text" value="" /></td>
bgneal@312 127 </tr>
bgneal@312 128
bgneal@312 129 <tr>
bgneal@312 130 <td class="label"><label for="onkeydown">onkeydown</label>:</td>
bgneal@312 131 <td><input id="onkeydown" name="onkeydown" type="text" value="" /></td>
bgneal@312 132 </tr>
bgneal@312 133
bgneal@312 134 <tr>
bgneal@312 135 <td class="label"><label for="onkeyup">onkeyup</label>:</td>
bgneal@312 136 <td><input id="onkeyup" name="onkeyup" type="text" value="" /></td>
bgneal@312 137 </tr>
bgneal@312 138 </table>
bgneal@312 139 </fieldset>
bgneal@312 140 </div>
bgneal@312 141 </div>
bgneal@312 142 <div class="mceActionPanel">
bgneal@312 143 <input type="submit" id="insert" name="insert" value="{#insert}" />
bgneal@312 144 <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
bgneal@312 145 </div>
bgneal@312 146 </form>
bgneal@312 147 </body>
bgneal@312 148 </html>