[ Index ] |
|
Code source de Kupu-1.3.5 |
1 <?xml version="1.0" ?> 2 <kupu:feature 3 name="drawers" 4 implementation="default" 5 xmlns="http://www.w3.org/1999/xhtml" 6 xmlns:kupu="http://kupu.oscom.org/namespaces/dist" 7 xmlns:i18n="http://xml.zope.org/namespaces/i18n" 8 i18n:domain="kupu" 9 > 10 <kupu:id>$Id: drawers.kupu 15807 2005-08-09 11:40:42Z duncan $</kupu:id> 11 12 <kupu:part name="styles"> 13 <link href="kupudrawerstyles.css" rel="stylesheet" type="text/css" /> 14 </kupu:part> 15 16 <kupu:part name="jsincludes"> 17 <script type="text/javascript" src="kupudrawers.js"> </script> 18 </kupu:part> 19 20 <kupu:part name="buttons"> 21 <span class="kupu-tb-buttongroup"> 22 <button type="button" class="kupu-image" id="kupu-imagelibdrawer-button" 23 title="image" i18n:attributes="title"> </button> 24 <button type="button" class="kupu-inthyperlink" id="kupu-linklibdrawer-button" 25 title="internal link" i18n:attributes="title"> </button> 26 <button type="button" class="kupu-exthyperlink" id="kupu-linkdrawer-button" 27 title="external link" i18n:attributes="title"> </button> 28 <button type="button" class="kupu-table" id="kupu-tabledrawer-button" 29 title="table" i18n:attributes="title"> </button> 30 </span> 31 </kupu:part> 32 33 <kupu:part name="drawers"> 34 <kupu:define-slot name="drawers" /> 35 </kupu:part> 36 37 <kupu:part name="librarydrawer"> 38 <div style="display:block;" class="kupu-librarydrawer-parent"> 39 <!-- <div id="kupu-librarydrawer" class="kupu-drawer kupu-librarydrawer"> 40 </div>--> 41 </div> 42 </kupu:part> 43 44 <kupu:part name="linkdrawer"> 45 <div id="kupu-linkdrawer" class="kupu-drawer kupu-linkdrawer"> 46 <h1 i18n:translate="">External Link</h1> 47 48 <div id="kupu-linkdrawer-addlink" class="kupu-panels kupu-linkdrawer-addlink"> 49 <table cellspacing="0"> 50 <tr><td><div class="kupu-toolbox-label"> 51 <!-- Link to items matching the keyword --> 52 <span i18n:translate=""> 53 Link the highlighted text to this URL: 54 </span> 55 </div> 56 57 <input class="kupu-toolbox-st kupu-linkdrawer-input" type="text" 58 onkeypress="return HandleDrawerEnter(event, 'linkdrawer-preview');" /> 59 </td> 60 <td class="kupu-preview-button"> 61 <button class="kupu-dialog-button" 62 type="button" id="linkdrawer-preview" onclick="drawertool.current_drawer.preview()" 63 i18n:translate="">Preview</button> 64 </td></tr> 65 <tr><td colspan="2" align="center"> 66 <iframe frameborder="1" scrolling="auto" width="440" height="198" 67 class="kupu-linkdrawer-preview" src="kupublank.html"> 68 </iframe> 69 </td></tr> 70 </table> 71 72 <div class="kupu-dialogbuttons"> 73 <button class="kupu-dialog-button" 74 type="button" onclick="drawertool.current_drawer.save()" 75 i18n:translate="">Ok</button> 76 <button class="kupu-dialog-button" 77 type="button" onclick="drawertool.closeDrawer()" 78 i18n:translate="">Cancel</button> 79 </div> 80 81 </div> 82 </div> 83 </kupu:part> 84 85 <kupu:part name="tabledrawer"> 86 <div id="kupu-tabledrawer" class="kupu-drawer kupu-tabledrawer"> 87 <h1 i18n:translate="tabledrawer_title">Table</h1> 88 <div class="kupu-panels"> 89 <table width="300"> 90 <tr class="kupu-panelsrow"> 91 <td class="kupu-panel"> 92 <!-- this gets displayed when not in a table --> 93 <div class="kupu-tabledrawer-addtable"> 94 <table> 95 <tr> 96 <th i18n:translate="tabledrawer_class_label" class="kupu-toolbox-label">Table Class</th> 97 <td> 98 <select class="kupu-tabledrawer-addclasschooser"> 99 <option i18n:translate="" value="plain">Plain</option> 100 <option i18n:translate="" value="listing">Listing</option> 101 <option i18n:translate="" value="grid">Grid</option> 102 <option i18n:translate="" value="data">Data</option> 103 </select> 104 </td> 105 </tr> 106 <tr> 107 <th i18n:translate="tabledrawer_rows_label" class="kupu-toolbox-label">Rows</th> 108 <td><input type="text" class="kupu-tabledrawer-newrows" onkeypress="return HandleDrawerEnter(event);" /></td> 109 </tr> 110 <tr> 111 <th i18n:translate="tabledrawer_columns_label" class="kupu-toolbox-label">Columns</th> 112 <td><input type="text" class="kupu-tabledrawer-newcols" onkeypress="return HandleDrawerEnter(event);" /></td> 113 </tr> 114 <tr> 115 <th class="kupu-toolbox-label"> </th> 116 <td> 117 <label><input class="kupu-tabledrawer-makeheader" 118 type="checkbox" 119 onkeypress="return HandleDrawerEnter(event);" 120 /> 121 <span i18n:translate="tabledrawer_headings_label">Create Headings</span></label> 122 </td> 123 </tr> 124 <tr> 125 <th class="kupu-toolbox-label"> </th> 126 <td> 127 <button class="kupu-dialog-button" 128 type="button" 129 i18n:translate="tabledrawer_add_table_button" 130 onclick="drawertool.current_drawer.createTable()">Add Table</button> 131 <button class="kupu-dialog-button" 132 type="button" 133 i18n:translate="tabledrawer_fix_tables_button" 134 onclick="drawertool.current_drawer.fixAllTables()">Fix All Tables</button> 135 </td> 136 </tr> 137 </table> 138 </div> 139 140 <!-- this gets displayed when in a table --> 141 <div class="kupu-tabledrawer-edittable"> 142 <table> 143 <tr> 144 <th class="kupu-toolbox-label" 145 i18n:translate="tabledrawer_class_label">Table Class</th> 146 <td> 147 <select class="kupu-tabledrawer-editclasschooser" 148 onchange="drawertool.current_drawer.setTableClass(this.options[this.selectedIndex].value)"> 149 <option i18n:translate="" value="plain">Plain</option> 150 <option i18n:translate="" value="listing">Listing</option> 151 <option i18n:translate="" value="grid">Grid</option> 152 <option i18n:translate="" value="data">Data</option> 153 </select> 154 </td> 155 </tr> 156 <tr> 157 <th class="kupu-toolbox-label" 158 i18n:translate="tabledrawer_alignment_label">Current column alignment</th> 159 <td> 160 <select id="kupu-tabledrawer-alignchooser" class="kupu-tabledrawer-alignchooser" 161 onchange="drawertool.current_drawer.tool.setColumnAlign(this.options[this.selectedIndex].value)"> 162 <option i18n:translate="tabledrawer_left_option" 163 value="left">Left</option> 164 <option i18n:translate="tabledrawer_center_option" 165 value="center">Center</option> 166 <option i18n:translate="tabledrawer_right_option" 167 value="right">Right</option> 168 </select> 169 </td> 170 </tr> 171 <tr> 172 <th class="kupu-toolbox-label" 173 i18n:translate="tabledrawer_column_label">Column</th> 174 <td> 175 <button class="kupu-dialog-button" 176 type="button" 177 i18n:translate="tabledrawer_add_button" 178 onclick="drawertool.current_drawer.addTableColumn()">Add</button> 179 <button class="kupu-dialog-button" 180 type="button" 181 i18n:translate="tabledrawer_remove_button" 182 onclick="drawertool.current_drawer.delTableColumn()">Remove</button> 183 </td> 184 </tr> 185 <tr> 186 <th class="kupu-toolbox-label" 187 i18n:translate="tabledrawer_row_label">Row</th> 188 <td> 189 <button class="kupu-dialog-button" 190 type="button" 191 i18n:translate="tabledrawer_add_button" 192 onclick="drawertool.current_drawer.addTableRow()">Add</button> 193 <button class="kupu-dialog-button" 194 type="button" 195 i18n:translate="tabledrawer_remove_button" 196 onclick="drawertool.current_drawer.delTableRow()">Remove</button> 197 </td> 198 </tr> 199 <tr> 200 <th class="kupu-toolbox-label" 201 i18n:translate="tabledrawer_fix_table_label">Fix Table</th> 202 <td> 203 <button class="kupu-dialog-button" 204 type="button" 205 i18n:translate="tabledrawer_fix_button" 206 onclick="drawertool.current_drawer.fixTable()">Fix</button> 207 </td> 208 </tr> 209 </table> 210 </div> 211 </td> 212 </tr> 213 </table> 214 <div class="kupu-dialogbuttons"> 215 <button class="kupu-dialog-button" 216 type="button" onfocus="window.status='focus';" 217 onmousedown="window.status ='onmousedown';" 218 i18n:translate="tabledrawer_close_button" 219 onclick="drawertool.closeDrawer(this)">Close</button> 220 </div> 221 </div> 222 </div> 223 224 </kupu:part> 225 226 <kupu:part name="xmlconfig"> 227 <image_xsl_uri>kupudrawers/drawer.xsl</image_xsl_uri> 228 <link_xsl_uri>kupudrawers/drawer.xsl</link_xsl_uri> 229 <image_libraries_uri>kupudrawers/imagelibrary.xml</image_libraries_uri> 230 <link_libraries_uri>kupudrawers/linklibrary.xml</link_libraries_uri> 231 <search_images_uri> </search_images_uri> 232 <search_links_uri> </search_links_uri> 233 </kupu:part> 234 235 </kupu:feature>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 15:30:41 2007 | par Balluche grâce à PHPXref 0.7 |