attachment.html 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  1. <div style="background-color: #FFF; overflow: hidden">
  2. <div title="{{$.lp.base}}" class="MWFTab">
  3. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  4. <tr>
  5. <td class="editTableTitle">{{$.lp.id}}:</td>
  6. <td class="editTableValue"><input type="text" name="id" value="text{$.id}" class="editTableInput"/></td>
  7. </tr>
  8. <tr>
  9. <td class="editTableTitle">{{$.lp.name}}:</td>
  10. <td class="editTableValue"><input type="text" name="name" value="text{$.name}" class="editTableInput"/></td>
  11. </tr>
  12. <tr>
  13. <td class="editTableTitle">{{$.lp.description}}:</td>
  14. <td class="editTableValue"><input type="text" name="description" value="text{$.description}" class="editTableInput"/></td>
  15. </tr>
  16. <tr>
  17. <td class="editTableTitle">{{$.lp.site}}:</td>
  18. <td class="editTableValue"><input type="text" name="site" value="text{$.site}" class="editTableInput"/><br>{{$.lp.defaultSiteInfo}}</td>
  19. </tr>
  20. <tr>
  21. <td class="editTableTitle">{{$.lp.editInActivex}}:</td>
  22. <td class="editTableValue">
  23. <input onclick="if (this.checked){ $('text{$.pid}OpenInOfficeArea').setStyle('display', 'block')}" type="radio" name="isOpenInOffice" value="true" text{($.isOpenInOffice)?'checked':''}/>{{$.lp.yes}}
  24. <input onclick="if (this.checked){ $('text{$.pid}OpenInOfficeArea').setStyle('display', 'none')}" type="radio" name="isOpenInOffice" value="false" text{(!$.isOpenInOffice)?'checked':''}/>{{$.lp.no}}
  25. </td>
  26. </tr>
  27. </table>
  28. <div id="text{$.pid}OpenInOfficeArea" style="display: text{($.isOpenAttachment)?'block':'none'};">
  29. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  30. <tr>
  31. <td class="editTableTitle">{{$.lp.activexId}}</td>
  32. <td class="editTableValue">
  33. <input type="text" name="officeControlName" value="text{$.officeControlName}" class="editTableInput"/>
  34. </td>
  35. </tr>
  36. </table>
  37. </div>
  38. <div class="MWFMaplist" name="styles" title="{{$.lp.style}}"></div>
  39. <div class="MWFValidation" name="validationConfig"></div>
  40. <div class="MWFScriptArea" name="validation" title="{{$.lp.verificationScript}} (S)"></div>
  41. </div>
  42. <div title="{{$.lp.attribute}}" class="MWFTab" style="overflow: hidden">
  43. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  44. <tr>
  45. <td class="editTableTitle">{{$.lp.showType}}:</td>
  46. <td class="editTableValue">
  47. <input class="editTableRadio" name="size" text{($.size=='max')?'checked':''} type="radio" value="max"/>{{$.lp.complete}}
  48. <input class="editTableRadio" name="size" text{($.size=='min')?'checked':''} type="radio" value="min"/>{{$.lp.simple}}
  49. </td>
  50. </tr>
  51. <tr>
  52. <td class="editTableTitle">{{$.lp.switchStyle}}:</td>
  53. <td class="editTableValue">
  54. <input class="editTableRadio" name="isSizeChange" text{($.isSizeChange=='y')?'checked':''} type="radio" value="y"/>{{$.lp.allow}}
  55. <input class="editTableRadio" name="isSizeChange" text{($.isSizeChange=='n')?'checked':''} type="radio" value="n"/>{{$.lp.notAllow}}
  56. </td>
  57. </tr>
  58. <tr>
  59. <td class="editTableTitle">{{$.lp.uploadType}}:</td>
  60. <td class="editTableValue">
  61. <input type="checkbox" name="attachmentExtType" text{(!$.attachmentExtType || $.attachmentExtType.indexOf('word')!=-1)?'checked':''} value="word" onchange="
  62. if (!this.checked && !$('text{$.pid}attachmentExtOtherType').get('value'))$('text{$.pid}attachmentExtType_other').set('checked', false );
  63. ">{{$.lp.wordDoc}}
  64. <input type="checkbox" name="attachmentExtType" text{(!$.attachmentExtType || $.attachmentExtType.indexOf('excel')!=-1)?'checked':''} value="excel" onchange="
  65. if (!this.checked && !$('text{$.pid}attachmentExtOtherType').get('value'))$('text{$.pid}attachmentExtType_other').set('checked', false );
  66. ">{{$.lp.excelDoc}}
  67. <input type="checkbox" name="attachmentExtType" text{(!$.attachmentExtType || $.attachmentExtType.indexOf('ppt')!=-1)?'checked':''} value="ppt" onchange="
  68. if (!this.checked && !$('text{$.pid}attachmentExtOtherType').get('value'))$('text{$.pid}attachmentExtType_other').set('checked', false );
  69. ">{{$.lp.pptDoc}}
  70. <input type="checkbox" name="attachmentExtType" text{(!$.attachmentExtType || $.attachmentExtType.indexOf('ppt')!=-1)?'checked':''} value="txt" onchange="
  71. if (!this.checked && !$('text{$.pid}attachmentExtOtherType').get('value'))$('text{$.pid}attachmentExtType_other').set('checked', false );
  72. ">{{$.lp.textDoc}}
  73. <input type="checkbox" name="attachmentExtType" text{(!$.attachmentExtType || $.attachmentExtType.indexOf('pic')!=-1)?'checked':''} value="pic" onchange="
  74. if (!this.checked && !$('text{$.pid}attachmentExtOtherType').get('value'))$('text{$.pid}attachmentExtType_other').set('checked', false );
  75. ">{{$.lp.imgDoc}}
  76. <input type="checkbox" name="attachmentExtType" text{(!$.attachmentExtType || $.attachmentExtType.indexOf('pdf')!=-1)?'checked':''} value="pdf" onchange="
  77. if (!this.checked && !$('text{$.pid}attachmentExtOtherType').get('value'))$('text{$.pid}attachmentExtType_other').set('checked', false );
  78. ">{{$.lp.pdfDoc}}
  79. <input type="checkbox" name="attachmentExtType" text{(!$.attachmentExtType || $.attachmentExtType.indexOf('zip')!=-1)?'checked':''} value="zip" onchange="
  80. if (!this.checked && !$('text{$.pid}attachmentExtOtherType').get('value'))$('text{$.pid}attachmentExtType_other').set('checked', false );
  81. ">{{$.lp.zipDoc}}
  82. <input type="checkbox" name="attachmentExtType" text{(!$.attachmentExtType || $.attachmentExtType.indexOf('audio')!=-1)?'checked':''} value="audio" onchange="
  83. if (!this.checked && !$('text{$.pid}attachmentExtOtherType').get('value'))$('text{$.pid}attachmentExtType_other').set('checked', false );
  84. ">{{$.lp.audioDoc}}
  85. <input type="checkbox" name="attachmentExtType" text{(!$.attachmentExtType || $.attachmentExtType.indexOf('video')!=-1)?'checked':''} value="video" onchange="
  86. if (!this.checked && !$('text{$.pid}attachmentExtOtherType').get('value'))$('text{$.pid}attachmentExtType_other').set('checked', false );
  87. ">{{$.lp.videoDoc}}<br/>
  88. <input id="text{$.pid}attachmentExtType_other" type="checkbox" name="attachmentExtType" text{(!$.attachmentExtType || $.attachmentExtType.indexOf('other')!=-1)?'checked':''} value="other">{{$.lp.otherDoc}}
  89. <input id="text{$.pid}attachmentExtOtherType" type="text" name="attachmentExtOtherType" value="text{$.attachmentExtOtherType}" class="editTableInput"/>
  90. <span>{{$.lp.docSample}}</span>
  91. </td>
  92. </tr>
  93. <tr>
  94. <td class="editTableTitle">{{$.lp.uploadSize}}:</td>
  95. <td class="editTableValue">
  96. <input type="text" name="attachmentSize" value="text{$.attachmentSize || 0}" class="editTableInput"/>
  97. <br />
  98. <div style="text-align:center">{{$.lp.uploadSizeInfo}}</div>
  99. </td>
  100. </tr>
  101. <tr>
  102. <td class="editTableTitle">{{$.lp.uploadCount}}:</td>
  103. <td class="editTableValue">
  104. <input type="text" name="attachmentCount" value="text{$.attachmentCount}" class="editTableInput"/>
  105. <br />
  106. <div style="text-align:center">{{$.lp.uploadCountInfo}}</div>
  107. </td>
  108. </tr>
  109. <tr>
  110. <td class="editTableTitle">{{$.lp.changeSize}}:</td>
  111. <td class="editTableValue">
  112. <input class="editTableRadio" name="resize" text{($.resize=='y')?'checked':''} type="radio" value="y"/>{{$.lp.allow}}
  113. <input class="editTableRadio" name="resize" text{($.resize=='n')?'checked':''} type="radio" value="n"/>{{$.lp.notAllow}}
  114. </td>
  115. </tr>
  116. <tr>
  117. <td class="editTableTitle">{{$.lp.useAttachmentStyle}}:</td>
  118. <td class="editTableValue">
  119. <input type="checkbox" name="availableListStyles" text{(!$.availableListStyles || $.availableListStyles.indexOf('list')!=-1)?'checked':''} value="list">{{$.lp.list}}
  120. <input type="checkbox" name="availableListStyles" text{(!$.availableListStyles || $.availableListStyles.indexOf('seq')!=-1)?'checked':''} value="seq">{{$.lp.sequence}}
  121. <input type="checkbox" name="availableListStyles" text{(!$.availableListStyles || $.availableListStyles.indexOf('icon')!=-1)?'checked':''} value="icon">{{$.lp.icon}}
  122. <input type="checkbox" name="availableListStyles" text{(!$.availableListStyles || $.availableListStyles.indexOf('preview')!=-1)?'checked':''} value="preview">{{$.lp.preview}}
  123. </td>
  124. </tr>
  125. <tr>
  126. <td class="editTableTitle">{{$.lp.attDefaultStyle}}:</td>
  127. <td class="editTableValue">
  128. <input class="editTableRadio" name="listStyle" text{($.listStyle=='list')?'checked':''} type="radio" value="list"/>{{$.lp.list}} </br>
  129. <input class="editTableRadio" name="listStyle" text{($.listStyle=='icon')?'checked':''} type="radio" value="icon"/>{{$.lp.icon}} </br>
  130. <input class="editTableRadio" name="listStyle" text{($.listStyle=='preview')?'checked':''} type="radio" value="preview"/>{{$.lp.preview}}</br>
  131. <input class="editTableRadio" name="listStyle" text{($.listStyle=='sequence')?'checked':''} type="radio" value="sequence"/>{{$.lp.sequence}}
  132. </td>
  133. </tr>
  134. <tr>
  135. <td class="editTableTitle">{{$.lp.readonlyMode}}:</td>
  136. <td class="editTableValue">
  137. <input class="editTableRadio" name="readonly" text{($.readonly=='y')?'checked':''} type="radio" value="y"/>{{$.lp.yes}}
  138. <input class="editTableRadio" name="readonly" text{($.readonly=='n')?'checked':''} type="radio" value="n"/>{{$.lp.no}}
  139. </td>
  140. </tr>
  141. <tr>
  142. <td class="editTableTitle">{{$.lp.allowUpload}}:</td>
  143. <td class="editTableValue">
  144. <input class="editTableRadio" name="isUpload" text{($.isUpload=='y')?'checked':''} type="radio" value="y"/>{{$.lp.allow}}
  145. <input class="editTableRadio" name="isUpload" text{($.isUpload=='n')?'checked':''} type="radio" value="n"/>{{$.lp.notAllow}}
  146. <input class="editTableRadio" name="isUpload" text{($.isUpload=='hidden')?'checked':''} type="radio" value="hidden"/>{{$.lp.hide}}
  147. </td>
  148. </tr>
  149. <tr>
  150. <td class="editTableTitle">{{$.lp.allowPreview}}:</td>
  151. <td class="editTableValue">
  152. <input class="editTableRadio" name="isPreviewAtt" text{($.isPreviewAtt=='y')?'checked':''} type="radio" value="y"/>{{$.lp.allow}}
  153. <input class="editTableRadio" name="isPreviewAtt" text{($.isPreviewAtt=='n')?'checked':''} type="radio" value="n"/>{{$.lp.notAllow}}
  154. <input class="editTableRadio" name="isPreviewAtt" text{($.isPreviewAtt=='hidden')?'checked':''} type="radio" value="hidden"/>{{$.lp.hide}}
  155. <br/>
  156. </td>
  157. </tr>
  158. <tr>
  159. <td class="editTableTitle">{{$.lp.allowEdit}}:</td>
  160. <td class="editTableValue">
  161. <input class="editTableRadio" name="isEditAtt" text{($.isEditAtt=='y')?'checked':''} type="radio" value="y"/>{{$.lp.allow}}
  162. <input class="editTableRadio" name="isEditAtt" text{($.isEditAtt=='n')?'checked':''} type="radio" value="n"/>{{$.lp.notAllow}}
  163. <input class="editTableRadio" name="isEditAtt" text{($.isEditAtt=='hidden')?'checked':''} type="radio" value="hidden"/>{{$.lp.hide}}
  164. <br/>
  165. </td>
  166. </tr>
  167. <tr>
  168. <td class="editTableTitle">{{$.lp.officeTool}}:</td>
  169. <td class="editTableValue">
  170. <input class="editTableRadio" name="officeTool" text{($.officeTool=='OnlyOffice')?'checked':''} type="radio" value="OnlyOffice"/>OnlyOffice
  171. <input class="editTableRadio" name="officeTool" text{($.officeTool=='WpsOffice')?'checked':''} type="radio" value="WpsOffice"/>WpsOffice
  172. <input class="editTableRadio" name="officeTool" text{($.officeTool=='YozoOffice')?'checked':''} type="radio" value="YozoOffice"/>YozoOffice
  173. <input class="editTableRadio" name="officeTool" text{($.officeTool=='OfficeOnline')?'checked':''} type="radio" value="OfficeOnline"/>OfficeOnline
  174. <input class="editTableRadio" name="officeTool" text{($.officeTool=='LibreOffice')?'checked':''} type="radio" value="LibreOffice"/>LibreOffice
  175. <br/>
  176. </td>
  177. </tr>
  178. <tr>
  179. <td class="editTableTitle">{{$.lp.allowDownload}}:</td>
  180. <td class="editTableValue">
  181. <input class="editTableRadio" name="isDownload" text{($.isDownload!=='n' && $.isDownload!=='hidden')?'checked':''} type="radio" value="y"/>{{$.lp.allow}}
  182. <input class="editTableRadio" name="isDownload" text{($.isDownload=='n')?'checked':''} type="radio" value="n"/>{{$.lp.notAllow}}
  183. <input class="editTableRadio" name="isDownload" text{($.isDownload=='hidden')?'checked':''} type="radio" value="hidden"/>{{$.lp.hide}}
  184. </td>
  185. </tr>
  186. <tr>
  187. <td class="editTableTitle">{{$.lp.allowDownloadBatch}}:</td>
  188. <td class="editTableValue">
  189. <input class="editTableRadio" name="isDownloadBatch" text{($.isDownloadBatch!=='n' && $.isDownloadBatch!=='hidden')?'checked':''} type="radio" value="y"/>{{$.lp.allow}}
  190. <input class="editTableRadio" name="isDownloadBatch" text{($.isDownloadBatch=='n')?'checked':''} type="radio" value="n"/>{{$.lp.notAllow}}
  191. <input class="editTableRadio" name="isDownloadBatch" text{($.isDownloadBatch=='hidden')?'checked':''} type="radio" value="hidden"/>{{$.lp.hide}}
  192. </td>
  193. </tr>
  194. <tr>
  195. <td class="editTableTitle">{{$.lp.dblClickAttachment}}:</td>
  196. <td class="editTableValue">
  197. <input class="editTableRadio" name="dblclick" text{($.dblclick=='open' || (!$.dblclick && $.isDownload!=="n") )?'checked':''} type="radio" value="open"/>{{$.lp.openAtt}}
  198. <input class="editTableRadio" name="dblclick" text{($.dblclick=='preview')?'checked':''} type="radio" value="preview"/>{{$.lp.previewFirst}}
  199. <input class="editTableRadio" name="dblclick" text{($.dblclick=='disable' || (!$.dblclick && $.isDownload==="n") )?'checked':''} type="radio" value="disable"/>{{$.lp.notAllow}}
  200. <div style="position: relative;float:right;">
  201. <div class="MWFHelp" style="position: absolute;height: 16px;width: 16px;top:4px;right:4px;background: url('../x_component_process_FormDesigner/$Main/default/formtoolbar/question.png')">
  202. {{$.lp.previewAttachmentNote}}
  203. </div>
  204. </div>
  205. </td>
  206. </tr>
  207. <tr>
  208. <td class="editTableTitle">{{$.lp.allowDelete}}:</td>
  209. <td class="editTableValue">
  210. <input class="editTableRadio" name="isDelete" text{($.isDelete=='y')?'checked':''} type="radio" value="y"/>{{$.lp.allow}}
  211. <input class="editTableRadio" name="isDelete" text{($.isDelete=='n')?'checked':''} type="radio" value="n"/>{{$.lp.notAllow}}<br/>
  212. <input class="editTableRadio" name="isDelete" text{($.isDelete=='o')?'checked':''} type="radio" value="o"/>{{$.lp.allowDelMyAtt}}<br/>
  213. <input class="editTableRadio" name="isDelete" text{($.isDelete=='a')?'checked':''} type="radio" value="a"/>{{$.lp.allowDelCurActivityAtt}}<br/>
  214. <input class="editTableRadio" name="isDelete" text{($.isDelete=='ao')?'checked':''} type="radio" value="ao"/>{{$.lp.allowDelMyCurActivityAtt}}<br/>
  215. <input class="editTableRadio" name="isDelete" text{($.isDelete=='hidden')?'checked':''} type="radio" value="hidden"/>{{$.lp.hide}}
  216. </td>
  217. </tr>
  218. <tr>
  219. <td class="editTableTitle">{{$.lp.allowReplace}}:</td>
  220. <td class="editTableValue">
  221. <input class="editTableRadio" name="isReplace" text{($.isReplace=='y')?'checked':''} type="radio" value="y"/>{{$.lp.allow}}
  222. <input class="editTableRadio" name="isReplace" text{($.isReplace=='n')?'checked':''} type="radio" value="n"/>{{$.lp.notAllow}}<br/>
  223. <input class="editTableRadio" name="isReplace" text{($.isReplace=='o')?'checked':''} type="radio" value="o"/>{{$.lp.allowDelMyAtt}}<br/>
  224. <input class="editTableRadio" name="isReplace" text{($.isReplace=='a')?'checked':''} type="radio" value="a"/>{{$.lp.allowDelCurActivityAtt}}<br/>
  225. <input class="editTableRadio" name="isReplace" text{($.isReplace=='ao')?'checked':''} type="radio" value="ao"/>{{$.lp.allowDelMyCurActivityAtt}}<br/>
  226. <input class="editTableRadio" name="isReplace" text{($.isReplace=='hidden')?'checked':''} type="radio" value="hidden"/>{{$.lp.hide}}
  227. </td>
  228. </tr>
  229. <tr>
  230. <td class="editTableTitle">{{$.lp.allowConfig}}:</td>
  231. <td class="editTableValue">
  232. <input class="editTableRadio" name="isConfig" text{($.isConfig!=='n' && $.isConfig!=='hidden')?'checked':''} type="radio" value="y"/>{{$.lp.allow}}
  233. <input class="editTableRadio" name="isConfig" text{($.isConfig=='n')?'checked':''} type="radio" value="n"/>{{$.lp.notAllow}}
  234. <input class="editTableRadio" name="isConfig" text{($.isConfig=='hidden')?'checked':''} type="radio" value="hidden"/>{{$.lp.hide}}
  235. </td>
  236. </tr>
  237. <tr>
  238. <td class="editTableTitle">{{$.lp.allowOrder}}:</td>
  239. <td class="editTableValue">
  240. <input class="editTableRadio" name="isOrder" text{($.isOrder!=='n' && $.isOrder!=='hidden')?'checked':''} type="radio" value="y"/>{{$.lp.allow}}
  241. <input class="editTableRadio" name="isOrder" text{($.isOrder=='n')?'checked':''} type="radio" value="n"/>{{$.lp.notAllow}}
  242. <input class="editTableRadio" name="isOrder" text{($.isOrder=='hidden')?'checked':''} type="radio" value="hidden"/>{{$.lp.hide}}
  243. </td>
  244. </tr>
  245. <tr>
  246. <td class="editTableTitle">{{$.lp.actionBar}}:</td>
  247. <td class="editTableValue">
  248. <input class="editTableRadio" name="toolbarGroupHidden" text{(($.toolbarGroupHidden || []).indexOf('edit')!=-1)?'checked':''} type="checkbox" value="edit"/>{{$.lp.hideEditButton}}<br/>
  249. <input class="editTableRadio" name="toolbarGroupHidden" text{(($.toolbarGroupHidden || []).indexOf('read')!=-1)?'checked':''} type="checkbox" value="read"/>{{$.lp.hideReadButton}}<br/>
  250. <input class="editTableRadio" name="toolbarGroupHidden" text{(($.toolbarGroupHidden || []).indexOf('list')!=-1)?'checked':''} type="checkbox" value="list"/>{{$.lp.hideLayoutButton}}<br/>
  251. <input class="editTableRadio" name="toolbarGroupHidden" text{(($.toolbarGroupHidden || []).indexOf('config')!=-1)?'checked':''} type="checkbox" value="config"/>{{$.lp.hideSettingButton}}<br/>
  252. <input class="editTableRadio" name="toolbarGroupHidden" text{(($.toolbarGroupHidden || []).indexOf('view')!=-1)?'checked':''} type="checkbox" value="view"/>{{$.lp.hideModeButton}}<br/>
  253. </td>
  254. </tr>
  255. </table>
  256. <div style="height: 28px; font-weight: bold; line-height:28px; background-color: #EEE; padding: 0px 6px; border-top: 1px solid #999">{{$.lp.showInDatagrid}}</div>
  257. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  258. <tr>
  259. <td class="editTableTitle">{{$.lp.showType}}:</td>
  260. <td class="editTableValue">
  261. <input class="editTableRadio" name="dg_size" text{($.dg_size=='max')?'checked':''} type="radio" value="max"/>{{$.lp.complete}}
  262. <input class="editTableRadio" name="dg_size" text{($.dg_size!=='max')?'checked':''} type="radio" value="min"/>{{$.lp.simple}}
  263. </td>
  264. </tr>
  265. <tr>
  266. <td class="editTableTitle">{{$.lp.switchStyle}}:</td>
  267. <td class="editTableValue">
  268. <input class="editTableRadio" name="dg_isSizeChange" text{($.dg_isSizeChange=='y')?'checked':''} type="radio" value="y"/>{{$.lp.allow}}
  269. <input class="editTableRadio" name="dg_isSizeChange" text{($.dg_isSizeChange!=='y')?'checked':''} type="radio" value="n"/>{{$.lp.notAllow}}
  270. </td>
  271. </tr>
  272. <tr>
  273. <td class="editTableTitle">{{$.lp.changeSize}}:</td>
  274. <td class="editTableValue">
  275. <input class="editTableRadio" name="dg_resize" text{($.resize=='y')?'checked':''} type="radio" value="y"/>{{$.lp.allow}}
  276. <input class="editTableRadio" name="dg_resize" text{($.resize!=='y')?'checked':''} type="radio" value="n"/>{{$.lp.notAllow}}
  277. </td>
  278. </tr>
  279. <tr>
  280. <td class="editTableTitle">{{$.lp.useAttachmentStyle}}:</td>
  281. <td class="editTableValue">
  282. <input type="checkbox" name="dg_availableListStyles" text{(!$.dg_availableListStyles || $.dg_availableListStyles.indexOf('list')!=-1)?'checked':''} value="list">{{$.lp.list}}
  283. <input type="checkbox" name="dg_availableListStyles" text{(!$.dg_availableListStyles || $.dg_availableListStyles.indexOf('seq')!=-1)?'checked':''} value="seq">{{$.lp.sequence}}
  284. <input type="checkbox" name="dg_availableListStyles" text{(!$.dg_availableListStyles || $.dg_availableListStyles.indexOf('icon')!=-1)?'checked':''} value="icon">{{$.lp.icon}}
  285. <input type="checkbox" name="dg_availableListStyles" text{(!$.dg_availableListStyles || $.dg_availableListStyles.indexOf('preview')!=-1)?'checked':''} value="preview">{{$.lp.preview}}
  286. </td>
  287. </tr>
  288. <tr>
  289. <td class="editTableTitle">{{$.lp.attDefaultStyle}}:</td>
  290. <td class="editTableValue">
  291. <input class="editTableRadio" name="dg_listStyle" text{($.dg_listStyle=='list')?'checked':''} type="radio" value="list"/>{{$.lp.list}} </br>
  292. <input class="editTableRadio" name="dg_listStyle" text{($.dg_listStyle=='icon')?'checked':''} type="radio" value="icon"/>{{$.lp.icon}} </br>
  293. <input class="editTableRadio" name="dg_listStyle" text{($.dg_listStyle=='preview')?'checked':''} type="radio" value="preview"/>{{$.lp.preview}}</br>
  294. <input class="editTableRadio" name="dg_listStyle" text{($.dg_listStyle!=='list' && $.dg_listStyle!=='icon' && $.dg_listStyle!=='preview')?'checked':''} type="radio" value="sequence"/>{{$.lp.sequence}}
  295. </td>
  296. </tr>
  297. <tr>
  298. <td class="editTableTitle">{{$.lp.actionBar}}:</td>
  299. <td class="editTableValue">
  300. <input class="editTableRadio" name="dg_toolbarGroupHidden" text{(($.dg_toolbarGroupHidden || []).indexOf('edit')!=-1)?'checked':''} type="checkbox" value="edit"/>{{$.lp.hideEditButton}}<br/>
  301. <input class="editTableRadio" name="dg_toolbarGroupHidden" text{(($.dg_toolbarGroupHidden || []).indexOf('read')!=-1)?'checked':''} type="checkbox" value="read"/>{{$.lp.hideReadButton}}<br/>
  302. <input class="editTableRadio" name="dg_toolbarGroupHidden" text{(($.dg_toolbarGroupHidden || []).indexOf('list')!=-1)?'checked':''} type="checkbox" value="list"/>{{$.lp.hideLayoutButton}}<br/>
  303. <input class="editTableRadio" name="dg_toolbarGroupHidden" text{(($.dg_toolbarGroupHidden || []).indexOf('config')!=-1)?'checked':''} type="checkbox" value="config"/>{{$.lp.hideSettingButton}}<br/>
  304. <input class="editTableRadio" name="dg_toolbarGroupHidden" text{(($.dg_toolbarGroupHidden || []).indexOf('view')!=-1)?'checked':''} type="checkbox" value="view"/>{{$.lp.hideModeButton}}<br/>
  305. </td>
  306. </tr>
  307. </table>
  308. <div style="height: 28px; font-weight: bold; line-height:28px; background-color: #EEE; padding: 0px 6px; border-top: 1px solid #999">{{$.lp.attachmentValidation}}</div>
  309. <div>{{$.lp.attachmentValidationNote}}</div>
  310. <div class="MWFScriptArea" name="uploadValidation" title="{{$.lp.attachmentValidationScript}} (S)"></div>
  311. </div>
  312. <div title="{{$.lp.event}}" class="MWFTab" style="overflow: hidden">
  313. <div class="MWFEventsArea" name="events"></div>
  314. </div>
  315. <div title="HTML" class="MWFTab">
  316. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  317. </div>
  318. <div title="JSON" class="MWFTab">
  319. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  320. </div>
  321. </div>