maj version dans config.xml
[mtweb] / mw / libs / tiny_mce / plugins / advimage / image.htm
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
2 <html xmlns="http://www.w3.org/1999/xhtml">\r
3 <head>\r
4         <title>{#advimage_dlg.dialog_title}</title>\r
5         <script type="text/javascript" src="../../tiny_mce_popup.js"></script>\r
6         <script type="text/javascript" src="../../utils/mctabs.js"></script>\r
7         <script type="text/javascript" src="../../utils/form_utils.js"></script>\r
8         <script type="text/javascript" src="../../utils/validate.js"></script>\r
9         <script type="text/javascript" src="../../utils/editable_selects.js"></script>\r
10         <script type="text/javascript" src="js/image.js"></script>\r
11         <link href="css/advimage.css" rel="stylesheet" type="text/css" />\r
12 </head>\r
13 <body id="advimage" style="display: none">\r
14     <form onsubmit="ImageDialog.insert();return false;" action="#"> \r
15                 <div class="tabs">\r
16                         <ul>\r
17                                 <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advimage_dlg.tab_general}</a></span></li>\r
18                                 <li id="appearance_tab"><span><a href="javascript:mcTabs.displayTab('appearance_tab','appearance_panel');" onmousedown="return false;">{#advimage_dlg.tab_appearance}</a></span></li>\r
19                                 <li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#advimage_dlg.tab_advanced}</a></span></li>\r
20                         </ul>\r
21                 </div>\r
22 \r
23                 <div class="panel_wrapper">\r
24                         <div id="general_panel" class="panel current">\r
25                                 <fieldset>\r
26                                                 <legend>{#advimage_dlg.general}</legend>\r
27 \r
28                                                 <table class="properties">\r
29                                                         <tr>\r
30                                                                 <td class="column1"><label id="srclabel" for="src">{#advimage_dlg.src}</label></td>\r
31                                                                 <td colspan="2"><table border="0" cellspacing="0" cellpadding="0">\r
32                                                                         <tr> \r
33                                                                           <td><input name="src" type="text" id="src" value="" class="mceFocus" onchange="ImageDialog.showPreviewImage(this.value);" /></td> \r
34                                                                           <td id="srcbrowsercontainer">&nbsp;</td>\r
35                                                                         </tr>\r
36                                                                   </table></td>\r
37                                                         </tr>\r
38                                                         <tr>\r
39                                                                 <td><label for="src_list">{#advimage_dlg.image_list}</label></td>\r
40                                                                 <td><select id="src_list" name="src_list" onchange="document.getElementById('src').value=this.options[this.selectedIndex].value;document.getElementById('alt').value=this.options[this.selectedIndex].text;document.getElementById('title').value=this.options[this.selectedIndex].text;ImageDialog.showPreviewImage(this.options[this.selectedIndex].value);"><option value=""></option></select></td>\r
41                                                         </tr>\r
42                                                         <tr> \r
43                                                                 <td class="column1"><label id="altlabel" for="alt">{#advimage_dlg.alt}</label></td> \r
44                                                                 <td colspan="2"><input id="alt" name="alt" type="text" value="" /></td> \r
45                                                         </tr> \r
46                                                         <tr> \r
47                                                                 <td class="column1"><label id="titlelabel" for="title">{#advimage_dlg.title}</label></td> \r
48                                                                 <td colspan="2"><input id="title" name="title" type="text" value="" /></td> \r
49                                                         </tr>\r
50                                                 </table>\r
51                                 </fieldset>\r
52 \r
53                                 <fieldset>\r
54                                         <legend>{#advimage_dlg.preview}</legend>\r
55                                         <div id="prev"></div>\r
56                                 </fieldset>\r
57                         </div>\r
58 \r
59                         <div id="appearance_panel" class="panel">\r
60                                 <fieldset>\r
61                                         <legend>{#advimage_dlg.tab_appearance}</legend>\r
62 \r
63                                         <table border="0" cellpadding="4" cellspacing="0">\r
64                                                 <tr> \r
65                                                         <td class="column1"><label id="alignlabel" for="align">{#advimage_dlg.align}</label></td> \r
66                                                         <td><select id="align" name="align" onchange="ImageDialog.updateStyle('align');ImageDialog.changeAppearance();"> \r
67                                                                         <option value="">{#not_set}</option> \r
68                                                                         <option value="baseline">{#advimage_dlg.align_baseline}</option>\r
69                                                                         <option value="top">{#advimage_dlg.align_top}</option>\r
70                                                                         <option value="middle">{#advimage_dlg.align_middle}</option>\r
71                                                                         <option value="bottom">{#advimage_dlg.align_bottom}</option>\r
72                                                                         <option value="text-top">{#advimage_dlg.align_texttop}</option>\r
73                                                                         <option value="text-bottom">{#advimage_dlg.align_textbottom}</option>\r
74                                                                         <option value="left">{#advimage_dlg.align_left}</option>\r
75                                                                         <option value="right">{#advimage_dlg.align_right}</option>\r
76                                                                 </select> \r
77                                                         </td>\r
78                                                         <td rowspan="6" valign="top">\r
79                                                                 <div class="alignPreview">\r
80                                                                         <img id="alignSampleImg" src="img/sample.gif" alt="{#advimage_dlg.example_img}" />\r
81                                                                         Lorem ipsum, Dolor sit amet, consectetuer adipiscing loreum ipsum edipiscing elit, sed diam\r
82                                                                         nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.Loreum ipsum\r
83                                                                         edipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam\r
84                                                                         erat volutpat.\r
85                                                                 </div>\r
86                                                         </td>\r
87                                                 </tr>\r
88 \r
89                                                 <tr>\r
90                                                         <td class="column1"><label id="widthlabel" for="width">{#advimage_dlg.dimensions}</label></td>\r
91                                                         <td class="nowrap">\r
92                                                                 <input name="width" type="text" id="width" value="" size="5" maxlength="5" class="size" onchange="ImageDialog.changeHeight();" /> x \r
93                                                                 <input name="height" type="text" id="height" value="" size="5" maxlength="5" class="size" onchange="ImageDialog.changeWidth();" /> px\r
94                                                         </td>\r
95                                                 </tr>\r
96 \r
97                                                 <tr>\r
98                                                         <td>&nbsp;</td>\r
99                                                         <td><table border="0" cellpadding="0" cellspacing="0">\r
100                                                                         <tr>\r
101                                                                                 <td><input id="constrain" type="checkbox" name="constrain" class="checkbox" /></td>\r
102                                                                                 <td><label id="constrainlabel" for="constrain">{#advimage_dlg.constrain_proportions}</label></td>\r
103                                                                         </tr>\r
104                                                                 </table></td>\r
105                                                 </tr>\r
106 \r
107                                                 <tr>\r
108                                                         <td class="column1"><label id="vspacelabel" for="vspace">{#advimage_dlg.vspace}</label></td> \r
109                                                         <td><input name="vspace" type="text" id="vspace" value="" size="3" maxlength="3" class="number" onchange="ImageDialog.updateStyle('vspace');ImageDialog.changeAppearance();" onblur="ImageDialog.updateStyle('vspace');ImageDialog.changeAppearance();" />\r
110                                                         </td>\r
111                                                 </tr>\r
112 \r
113                                                 <tr> \r
114                                                         <td class="column1"><label id="hspacelabel" for="hspace">{#advimage_dlg.hspace}</label></td> \r
115                                                         <td><input name="hspace" type="text" id="hspace" value="" size="3" maxlength="3" class="number" onchange="ImageDialog.updateStyle('hspace');ImageDialog.changeAppearance();" onblur="ImageDialog.updateStyle('hspace');ImageDialog.changeAppearance();" /></td> \r
116                                                 </tr>\r
117 \r
118                                                 <tr>\r
119                                                         <td class="column1"><label id="borderlabel" for="border">{#advimage_dlg.border}</label></td> \r
120                                                         <td><input id="border" name="border" type="text" value="" size="3" maxlength="3" class="number" onchange="ImageDialog.updateStyle('border');ImageDialog.changeAppearance();" onblur="ImageDialog.updateStyle('border');ImageDialog.changeAppearance();" /></td> \r
121                                                 </tr>\r
122 \r
123                                                 <tr>\r
124                                                         <td><label for="class_list">{#class_name}</label></td>\r
125                                                         <td colspan="2"><select id="class_list" name="class_list" class="mceEditableSelect"><option value=""></option></select></td>\r
126                                                 </tr>\r
127 \r
128                                                 <tr>\r
129                                                         <td class="column1"><label id="stylelabel" for="style">{#advimage_dlg.style}</label></td> \r
130                                                         <td colspan="2"><input id="style" name="style" type="text" value="" onchange="ImageDialog.changeAppearance();" /></td> \r
131                                                 </tr>\r
132 \r
133                                                 <!-- <tr>\r
134                                                         <td class="column1"><label id="classeslabel" for="classes">{#advimage_dlg.classes}</label></td> \r
135                                                         <td colspan="2"><input id="classes" name="classes" type="text" value="" onchange="selectByValue(this.form,'classlist',this.value,true);" /></td> \r
136                                                 </tr> -->\r
137                                         </table>\r
138                                 </fieldset>\r
139                         </div>\r
140 \r
141                         <div id="advanced_panel" class="panel">\r
142                                 <fieldset>\r
143                                         <legend>{#advimage_dlg.swap_image}</legend>\r
144 \r
145                                         <input type="checkbox" id="onmousemovecheck" name="onmousemovecheck" class="checkbox" onclick="ImageDialog.setSwapImage(this.checked);" />\r
146                                         <label id="onmousemovechecklabel" for="onmousemovecheck">{#advimage_dlg.alt_image}</label>\r
147 \r
148                                         <table border="0" cellpadding="4" cellspacing="0" width="100%">\r
149                                                         <tr>\r
150                                                                 <td class="column1"><label id="onmouseoversrclabel" for="onmouseoversrc">{#advimage_dlg.mouseover}</label></td> \r
151                                                                 <td><table border="0" cellspacing="0" cellpadding="0"> \r
152                                                                         <tr> \r
153                                                                           <td><input id="onmouseoversrc" name="onmouseoversrc" type="text" value="" /></td> \r
154                                                                           <td id="onmouseoversrccontainer">&nbsp;</td>\r
155                                                                         </tr>\r
156                                                                   </table></td>\r
157                                                         </tr>\r
158                                                         <tr>\r
159                                                                 <td><label for="over_list">{#advimage_dlg.image_list}</label></td>\r
160                                                                 <td><select id="over_list" name="over_list" onchange="document.getElementById('onmouseoversrc').value=this.options[this.selectedIndex].value;"><option value=""></option></select></td>\r
161                                                         </tr>\r
162                                                         <tr> \r
163                                                                 <td class="column1"><label id="onmouseoutsrclabel" for="onmouseoutsrc">{#advimage_dlg.mouseout}</label></td> \r
164                                                                 <td class="column2"><table border="0" cellspacing="0" cellpadding="0"> \r
165                                                                         <tr> \r
166                                                                           <td><input id="onmouseoutsrc" name="onmouseoutsrc" type="text" value="" /></td> \r
167                                                                           <td id="onmouseoutsrccontainer">&nbsp;</td>\r
168                                                                         </tr> \r
169                                                                   </table></td> \r
170                                                         </tr>\r
171                                                         <tr>\r
172                                                                 <td><label for="out_list">{#advimage_dlg.image_list}</label></td>\r
173                                                                 <td><select id="out_list" name="out_list" onchange="document.getElementById('onmouseoutsrc').value=this.options[this.selectedIndex].value;"><option value=""></option></select></td>\r
174                                                         </tr>\r
175                                         </table>\r
176                                 </fieldset>\r
177 \r
178                                 <fieldset>\r
179                                         <legend>{#advimage_dlg.misc}</legend>\r
180 \r
181                                         <table border="0" cellpadding="4" cellspacing="0">\r
182                                                 <tr>\r
183                                                         <td class="column1"><label id="idlabel" for="id">{#advimage_dlg.id}</label></td> \r
184                                                         <td><input id="id" name="id" type="text" value="" /></td> \r
185                                                 </tr>\r
186 \r
187                                                 <tr>\r
188                                                         <td class="column1"><label id="dirlabel" for="dir">{#advimage_dlg.langdir}</label></td> \r
189                                                         <td>\r
190                                                                 <select id="dir" name="dir" onchange="ImageDialog.changeAppearance();"> \r
191                                                                                 <option value="">{#not_set}</option> \r
192                                                                                 <option value="ltr">{#advimage_dlg.ltr}</option> \r
193                                                                                 <option value="rtl">{#advimage_dlg.rtl}</option> \r
194                                                                 </select>\r
195                                                         </td> \r
196                                                 </tr>\r
197 \r
198                                                 <tr>\r
199                                                         <td class="column1"><label id="langlabel" for="lang">{#advimage_dlg.langcode}</label></td> \r
200                                                         <td>\r
201                                                                 <input id="lang" name="lang" type="text" value="" />\r
202                                                         </td> \r
203                                                 </tr>\r
204 \r
205                                                 <tr>\r
206                                                         <td class="column1"><label id="usemaplabel" for="usemap">{#advimage_dlg.map}</label></td> \r
207                                                         <td>\r
208                                                                 <input id="usemap" name="usemap" type="text" value="" />\r
209                                                         </td> \r
210                                                 </tr>\r
211 \r
212                                                 <tr>\r
213                                                         <td class="column1"><label id="longdesclabel" for="longdesc">{#advimage_dlg.long_desc}</label></td>\r
214                                                         <td><table border="0" cellspacing="0" cellpadding="0">\r
215                                                                         <tr>\r
216                                                                           <td><input id="longdesc" name="longdesc" type="text" value="" /></td>\r
217                                                                           <td id="longdesccontainer">&nbsp;</td>\r
218                                                                         </tr>\r
219                                                                 </table></td> \r
220                                                 </tr>\r
221                                         </table>\r
222                                 </fieldset>\r
223                         </div>\r
224                 </div>\r
225 \r
226                 <div class="mceActionPanel">\r
227                         <input type="submit" id="insert" name="insert" value="{#insert}" />\r
228                         <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />\r
229                 </div>\r
230     </form>\r
231 </body> \r
232 </html> \r