annotate static/js/tiny_mce/plugins/table/row.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>{#table_dlg.row_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/editable_selects.js"></script>
bgneal@312 9 <script type="text/javascript" src="js/row.js"></script>
bgneal@312 10 <link href="css/row.css" rel="stylesheet" type="text/css" />
bgneal@312 11 </head>
bgneal@312 12 <body id="tablerow" style="display: none">
bgneal@312 13 <form onsubmit="updateAction();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;">{#table_dlg.general_tab}</a></span></li>
bgneal@312 17 <li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#table_dlg.advanced_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>{#table_dlg.general_props}</legend>
bgneal@312 25
bgneal@312 26 <table border="0" cellpadding="4" cellspacing="0">
bgneal@312 27 <tr>
bgneal@312 28 <td><label for="rowtype">{#table_dlg.rowtype}</label></td>
bgneal@312 29 <td class="col2">
bgneal@312 30 <select id="rowtype" name="rowtype" class="mceFocus">
bgneal@312 31 <option value="thead">{#table_dlg.thead}</option>
bgneal@312 32 <option value="tbody">{#table_dlg.tbody}</option>
bgneal@312 33 <option value="tfoot">{#table_dlg.tfoot}</option>
bgneal@312 34 </select>
bgneal@312 35 </td>
bgneal@312 36 </tr>
bgneal@312 37
bgneal@312 38 <tr>
bgneal@312 39 <td><label for="align">{#table_dlg.align}</label></td>
bgneal@312 40 <td class="col2">
bgneal@312 41 <select id="align" name="align">
bgneal@312 42 <option value="">{#not_set}</option>
bgneal@312 43 <option value="center">{#table_dlg.align_middle}</option>
bgneal@312 44 <option value="left">{#table_dlg.align_left}</option>
bgneal@312 45 <option value="right">{#table_dlg.align_right}</option>
bgneal@312 46 </select>
bgneal@312 47 </td>
bgneal@312 48 </tr>
bgneal@312 49
bgneal@312 50 <tr>
bgneal@312 51 <td><label for="valign">{#table_dlg.valign}</label></td>
bgneal@312 52 <td class="col2">
bgneal@312 53 <select id="valign" name="valign">
bgneal@312 54 <option value="">{#not_set}</option>
bgneal@312 55 <option value="top">{#table_dlg.align_top}</option>
bgneal@312 56 <option value="middle">{#table_dlg.align_middle}</option>
bgneal@312 57 <option value="bottom">{#table_dlg.align_bottom}</option>
bgneal@312 58 </select>
bgneal@312 59 </td>
bgneal@312 60 </tr>
bgneal@312 61
bgneal@312 62 <tr id="styleSelectRow">
bgneal@312 63 <td><label for="class">{#class_name}</label></td>
bgneal@312 64 <td class="col2">
bgneal@312 65 <select id="class" name="class" class="mceEditableSelect">
bgneal@312 66 <option value="" selected="selected">{#not_set}</option>
bgneal@312 67 </select>
bgneal@312 68 </td>
bgneal@312 69 </tr>
bgneal@312 70
bgneal@312 71 <tr>
bgneal@312 72 <td><label for="height">{#table_dlg.height}</label></td>
bgneal@312 73 <td class="col2"><input name="height" type="text" id="height" value="" size="4" maxlength="4" onchange="changedSize();" /></td>
bgneal@312 74 </tr>
bgneal@312 75 </table>
bgneal@312 76 </fieldset>
bgneal@312 77 </div>
bgneal@312 78
bgneal@312 79 <div id="advanced_panel" class="panel">
bgneal@312 80 <fieldset>
bgneal@312 81 <legend>{#table_dlg.advanced_props}</legend>
bgneal@312 82
bgneal@312 83 <table border="0" cellpadding="0" cellspacing="4">
bgneal@312 84 <tr>
bgneal@312 85 <td class="column1"><label for="id">{#table_dlg.id}</label></td>
bgneal@312 86 <td><input id="id" name="id" type="text" value="" style="width: 200px" /></td>
bgneal@312 87 </tr>
bgneal@312 88
bgneal@312 89 <tr>
bgneal@312 90 <td><label for="style">{#table_dlg.style}</label></td>
bgneal@312 91 <td><input type="text" id="style" name="style" value="" style="width: 200px;" onchange="changedStyle();" /></td>
bgneal@312 92 </tr>
bgneal@312 93
bgneal@312 94 <tr>
bgneal@312 95 <td class="column1"><label for="dir">{#table_dlg.langdir}</label></td>
bgneal@312 96 <td>
bgneal@312 97 <select id="dir" name="dir" style="width: 200px">
bgneal@312 98 <option value="">{#not_set}</option>
bgneal@312 99 <option value="ltr">{#table_dlg.ltr}</option>
bgneal@312 100 <option value="rtl">{#table_dlg.rtl}</option>
bgneal@312 101 </select>
bgneal@312 102 </td>
bgneal@312 103 </tr>
bgneal@312 104
bgneal@312 105 <tr>
bgneal@312 106 <td class="column1"><label for="lang">{#table_dlg.langcode}</label></td>
bgneal@312 107 <td>
bgneal@312 108 <input id="lang" name="lang" type="text" value="" style="width: 200px" />
bgneal@312 109 </td>
bgneal@312 110 </tr>
bgneal@312 111
bgneal@312 112 <tr>
bgneal@312 113 <td class="column1"><label for="backgroundimage">{#table_dlg.bgimage}</label></td>
bgneal@312 114 <td>
bgneal@312 115 <table border="0" cellpadding="0" cellspacing="0">
bgneal@312 116 <tr>
bgneal@312 117 <td><input id="backgroundimage" name="backgroundimage" type="text" value="" style="width: 200px" onchange="changedBackgroundImage();" /></td>
bgneal@312 118 <td id="backgroundimagebrowsercontainer">&nbsp;</td>
bgneal@312 119 </tr>
bgneal@312 120 </table>
bgneal@312 121 </td>
bgneal@312 122 </tr>
bgneal@312 123
bgneal@312 124 <tr>
bgneal@312 125 <td class="column1"><label for="bgcolor">{#table_dlg.bgcolor}</label></td>
bgneal@312 126 <td>
bgneal@312 127 <table border="0" cellpadding="0" cellspacing="0">
bgneal@312 128 <tr>
bgneal@312 129 <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedColor();" /></td>
bgneal@312 130 <td id="bgcolor_pickcontainer">&nbsp;</td>
bgneal@312 131 </tr>
bgneal@312 132 </table>
bgneal@312 133 </td>
bgneal@312 134 </tr>
bgneal@312 135 </table>
bgneal@312 136 </fieldset>
bgneal@312 137 </div>
bgneal@312 138 </div>
bgneal@312 139
bgneal@312 140 <div class="mceActionPanel">
bgneal@312 141 <div>
bgneal@312 142 <select id="action" name="action">
bgneal@312 143 <option value="row">{#table_dlg.row_row}</option>
bgneal@312 144 <option value="odd">{#table_dlg.row_odd}</option>
bgneal@312 145 <option value="even">{#table_dlg.row_even}</option>
bgneal@312 146 <option value="all">{#table_dlg.row_all}</option>
bgneal@312 147 </select>
bgneal@312 148 </div>
bgneal@312 149
bgneal@312 150 <input type="submit" id="insert" name="insert" value="{#update}" />
bgneal@312 151 <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
bgneal@312 152 </div>
bgneal@312 153 </form>
bgneal@312 154 </body>
bgneal@312 155 </html>