fck_image.html 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <!--
  3. * FCKeditor - The text editor for Internet - http://www.fckeditor.net
  4. * Copyright (C) 2003-2010 Frederico Caldeira Knabben
  5. *
  6. * == BEGIN LICENSE ==
  7. *
  8. * Licensed under the terms of any of the following licenses at your
  9. * choice:
  10. *
  11. * - GNU General Public License Version 2 or later (the "GPL")
  12. * http://www.gnu.org/licenses/gpl.html
  13. *
  14. * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
  15. * http://www.gnu.org/licenses/lgpl.html
  16. *
  17. * - Mozilla Public License Version 1.1 or later (the "MPL")
  18. * http://www.mozilla.org/MPL/MPL-1.1.html
  19. *
  20. * == END LICENSE ==
  21. *
  22. * Image Properties dialog window.
  23. -->
  24. <html xmlns="http://www.w3.org/1999/xhtml">
  25. <head>
  26. <title>Image Properties</title>
  27. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  28. <meta name="robots" content="noindex, nofollow" />
  29. <script src="common/fck_dialog_common.js" type="text/javascript"></script>
  30. <script src="fck_image/fck_image.js" type="text/javascript"></script>
  31. <script type="text/javascript">
  32. document.write( FCKTools.GetStyleHtml( GetCommonDialogCss() ) ) ;
  33. </script>
  34. <style type="text/css">
  35. body, td, input, textarea, select, label { font-family: Arial, Verdana, Geneva, helvetica, sans-serif; font-size: 11px; }
  36. </style>
  37. </head>
  38. <body scroll="no" style="overflow: hidden">
  39. <div id="divInfo">
  40. <table cellspacing="1" cellpadding="1" border="0" width="100%" height="100%">
  41. <tr>
  42. <td>
  43. <table cellspacing="0" cellpadding="0" width="100%" border="0">
  44. <tr>
  45. <td width="100%">
  46. <span fcklang="DlgImgURL">URL</span>
  47. </td>
  48. <td id="tdBrowse" style="display: none" nowrap="nowrap" rowspan="2">
  49. &nbsp;
  50. <input id="btnBrowse" onclick="BrowseServer();" type="button" value="Browse Server"
  51. fcklang="DlgBtnBrowseServer" />
  52. </td>
  53. </tr>
  54. <tr>
  55. <td valign="top">
  56. <input id="txtUrl" style="width: 100%" type="text" onblur="UpdatePreview();" />
  57. </td>
  58. </tr>
  59. </table>
  60. </td>
  61. </tr>
  62. <tr>
  63. <td>
  64. <span fcklang="DlgImgAlt">Short Description</span><br />
  65. <input id="txtAlt" style="width: 100%" type="text" /><br />
  66. </td>
  67. </tr>
  68. <tr height="100%">
  69. <td valign="top">
  70. <table cellspacing="0" cellpadding="0" width="100%" border="0" height="100%">
  71. <tr>
  72. <td valign="top">
  73. <br />
  74. <table cellspacing="0" cellpadding="0" border="0">
  75. <tr>
  76. <td nowrap="nowrap">
  77. <span fcklang="DlgImgWidth">Width</span>&nbsp;</td>
  78. <td>
  79. <input type="text" size="3" id="txtWidth" onkeyup="OnSizeChanged('Width',this.value);" /></td>
  80. <td rowspan="2">
  81. <div id="btnLockSizes" class="BtnLocked" onmouseover="this.className = (bLockRatio ? 'BtnLocked' : 'BtnUnlocked' ) + ' BtnOver';"
  82. onmouseout="this.className = (bLockRatio ? 'BtnLocked' : 'BtnUnlocked' );" title="Lock Sizes"
  83. onclick="SwitchLock(this);">
  84. </div>
  85. </td>
  86. <td rowspan="2">
  87. <div id="btnResetSize" class="BtnReset" onmouseover="this.className='BtnReset BtnOver';"
  88. onmouseout="this.className='BtnReset';" title="Reset Size" onclick="ResetSizes();">
  89. </div>
  90. </td>
  91. </tr>
  92. <tr>
  93. <td nowrap="nowrap">
  94. <span fcklang="DlgImgHeight">Height</span>&nbsp;</td>
  95. <td>
  96. <input type="text" size="3" id="txtHeight" onkeyup="OnSizeChanged('Height',this.value);" /></td>
  97. </tr>
  98. </table>
  99. <br />
  100. <table cellspacing="0" cellpadding="0" border="0">
  101. <tr>
  102. <td nowrap="nowrap">
  103. <span fcklang="DlgImgBorder">Border</span>&nbsp;</td>
  104. <td>
  105. <input type="text" size="2" value="" id="txtBorder" onkeyup="UpdatePreview();" /></td>
  106. </tr>
  107. <tr>
  108. <td nowrap="nowrap">
  109. <span fcklang="DlgImgHSpace">HSpace</span>&nbsp;</td>
  110. <td>
  111. <input type="text" size="2" id="txtHSpace" onkeyup="UpdatePreview();" /></td>
  112. </tr>
  113. <tr>
  114. <td nowrap="nowrap">
  115. <span fcklang="DlgImgVSpace">VSpace</span>&nbsp;</td>
  116. <td>
  117. <input type="text" size="2" id="txtVSpace" onkeyup="UpdatePreview();" /></td>
  118. </tr>
  119. <tr>
  120. <td nowrap="nowrap">
  121. <span fcklang="DlgImgAlign">Align</span>&nbsp;</td>
  122. <td>
  123. <select id="cmbAlign" onchange="UpdatePreview();">
  124. <option value="" selected="selected"></option>
  125. <option fcklang="DlgImgAlignLeft" value="left">Left</option>
  126. <option fcklang="DlgImgAlignAbsBottom" value="absBottom">Abs Bottom</option>
  127. <option fcklang="DlgImgAlignAbsMiddle" value="absMiddle">Abs Middle</option>
  128. <option fcklang="DlgImgAlignBaseline" value="baseline">Baseline</option>
  129. <option fcklang="DlgImgAlignBottom" value="bottom">Bottom</option>
  130. <option fcklang="DlgImgAlignMiddle" value="middle">Middle</option>
  131. <option fcklang="DlgImgAlignRight" value="right">Right</option>
  132. <option fcklang="DlgImgAlignTextTop" value="textTop">Text Top</option>
  133. <option fcklang="DlgImgAlignTop" value="top">Top</option>
  134. </select>
  135. </td>
  136. </tr>
  137. </table>
  138. </td>
  139. <td>
  140. &nbsp;&nbsp;&nbsp;</td>
  141. <td width="100%" valign="top">
  142. <table cellpadding="0" cellspacing="0" width="100%" style="table-layout: fixed">
  143. <tr>
  144. <td>
  145. <span fcklang="DlgImgPreview">Preview</span></td>
  146. </tr>
  147. <tr>
  148. <td valign="top">
  149. <iframe class="ImagePreviewArea" src="fck_image/fck_image_preview.html" frameborder="0"
  150. marginheight="0" marginwidth="0"></iframe>
  151. </td>
  152. </tr>
  153. </table>
  154. </td>
  155. </tr>
  156. </table>
  157. </td>
  158. </tr>
  159. </table>
  160. </div>
  161. <div id="divUpload" style="display: none">
  162. <form id="frmUpload" method="post" target="UploadWindow" enctype="multipart/form-data"
  163. action="" onsubmit="return CheckUpload();">
  164. <span fcklang="DlgLnkUpload">Upload</span><br />
  165. <input id="txtUploadFile" style="width: 100%" type="file" size="40" name="NewFile" /><br />
  166. <br />
  167. <input id="btnUpload" type="submit" value="Send it to the Server" fcklang="DlgLnkBtnUpload" />
  168. <script type="text/javascript">
  169. document.write( '<iframe name="UploadWindow" style="display: none" src="' + FCKTools.GetVoidUrl() + '"><\/iframe>' ) ;
  170. </script>
  171. </form>
  172. </div>
  173. <div id="divLink" style="display: none">
  174. <table cellspacing="1" cellpadding="1" border="0" width="100%">
  175. <tr>
  176. <td>
  177. <div>
  178. <span fcklang="DlgLnkURL">URL</span><br />
  179. <input id="txtLnkUrl" style="width: 100%" type="text" onblur="UpdatePreview();" />
  180. </div>
  181. <div id="divLnkBrowseServer" align="right">
  182. <input type="button" value="Browse Server" fcklang="DlgBtnBrowseServer" onclick="LnkBrowseServer();" />
  183. </div>
  184. <div>
  185. <span fcklang="DlgLnkTarget">Target</span><br />
  186. <select id="cmbLnkTarget">
  187. <option value="" fcklang="DlgGenNotSet" selected="selected">&lt;not set&gt;</option>
  188. <option value="_blank" fcklang="DlgLnkTargetBlank">New Window (_blank)</option>
  189. <option value="_top" fcklang="DlgLnkTargetTop">Topmost Window (_top)</option>
  190. <option value="_self" fcklang="DlgLnkTargetSelf">Same Window (_self)</option>
  191. <option value="_parent" fcklang="DlgLnkTargetParent">Parent Window (_parent)</option>
  192. </select>
  193. </div>
  194. </td>
  195. </tr>
  196. </table>
  197. </div>
  198. <div id="divAdvanced" style="display: none">
  199. <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
  200. <tr>
  201. <td valign="top" width="50%">
  202. <span fcklang="DlgGenId">Id</span><br />
  203. <input id="txtAttId" style="width: 100%" type="text" />
  204. </td>
  205. <td width="1">
  206. &nbsp;&nbsp;</td>
  207. <td valign="top">
  208. <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
  209. <tr>
  210. <td width="60%">
  211. <span fcklang="DlgGenLangDir">Language Direction</span><br />
  212. <select id="cmbAttLangDir" style="width: 100%">
  213. <option value="" fcklang="DlgGenNotSet" selected="selected">&lt;not set&gt;</option>
  214. <option value="ltr" fcklang="DlgGenLangDirLtr">Left to Right (LTR)</option>
  215. <option value="rtl" fcklang="DlgGenLangDirRtl">Right to Left (RTL)</option>
  216. </select>
  217. </td>
  218. <td width="1%">
  219. &nbsp;&nbsp;</td>
  220. <td nowrap="nowrap">
  221. <span fcklang="DlgGenLangCode">Language Code</span><br />
  222. <input id="txtAttLangCode" style="width: 100%" type="text" />&nbsp;
  223. </td>
  224. </tr>
  225. </table>
  226. </td>
  227. </tr>
  228. <tr>
  229. <td colspan="3">
  230. &nbsp;</td>
  231. </tr>
  232. <tr>
  233. <td colspan="3">
  234. <span fcklang="DlgGenLongDescr">Long Description URL</span><br />
  235. <input id="txtLongDesc" style="width: 100%" type="text" />
  236. </td>
  237. </tr>
  238. <tr>
  239. <td colspan="3">
  240. &nbsp;</td>
  241. </tr>
  242. <tr>
  243. <td valign="top">
  244. <span fcklang="DlgGenClass">Stylesheet Classes</span><br />
  245. <input id="txtAttClasses" style="width: 100%" type="text" />
  246. </td>
  247. <td>
  248. </td>
  249. <td valign="top">
  250. &nbsp;<span fcklang="DlgGenTitle">Advisory Title</span><br />
  251. <input id="txtAttTitle" style="width: 100%" type="text" />
  252. </td>
  253. </tr>
  254. </table>
  255. <span fcklang="DlgGenStyle">Style</span><br />
  256. <input id="txtAttStyle" style="width: 100%" type="text" />
  257. </div>
  258. </body>
  259. </html>