onlyoffice.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315
  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="companyName" value="text{$.companyName}" 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.readonly}}:</td>
  18. <td class="editTableValue">
  19. <input type="radio" name="isReadonly" value="true" text{($.isReadonly)?'checked':''}/>{{$.lp.yes}}
  20. <input type="radio" name="isReadonly" value="false" text{(!$.isReadonly)?'checked':''}/>{{$.lp.no}}
  21. </td>
  22. </tr>
  23. <tr>
  24. <td class="editTableTitle">{{$.lp.allowUpload}}:</td>
  25. <td class="editTableValue">
  26. <input type="radio" name="allowUpload" value="true" text{($.allowUpload)?'checked':''}/>{{$.lp.yes}}
  27. <input type="radio" name="allowUpload" value="false" text{(!$.allowUpload)?'checked':''}/>{{$.lp.no}}
  28. </td>
  29. </tr>
  30. <tr>
  31. <td class="editTableTitle">{{$.lp.fileSite}}:</td>
  32. <td class="editTableValue"><input type="text" name="fileSite" value="text{$.fileSite || 'filetext'}" class="editTableInput"/></td>
  33. </tr>
  34. </table>
  35. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  36. <tr>
  37. <td class="editTableTitle">{{$.lp.fileName}}:</td>
  38. <td class="editTableValue">
  39. <input type="radio" onclick="if (this.checked){ $('fileNameArea').setStyle('display', 'block'); $('fileNameScriptArea').setStyle('display', 'none')}" name="fileNameType" value="value" text{($.fileNameType=='value')?'checked':''}/>{{$.lp.textValue}}
  40. <input type="radio" onclick="if (this.checked){ $('fileNameArea').setStyle('display', 'none'); $('fileNameScriptArea').setStyle('display', 'block')}" name="fileNameType" value="script" text{($.fileNameType=='script')?'checked':''}/>{{$.lp.script}}
  41. </td>
  42. </tr>
  43. </table>
  44. <div id="fileNameArea" style="display: text{($.fileNameType=='value')?'block':'none'};">
  45. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  46. <tr>
  47. <td class="editTableValue">
  48. <input type="text" name="fileName" value="text{$.fileName}" class="editTableInput"/>
  49. </td>
  50. </tr>
  51. </table>
  52. </div>
  53. <div id="fileNameScriptArea" style="display: text{($.fileNameScript=='script')?'block':'none'};">
  54. <div class="MWFScriptArea" name="fileNameScript" title="{{$.lp.editScript}} (S)"></div>
  55. </div>
  56. <div class="MWFMaplist" name="styles" title="{{$.lp.style}}"></div>
  57. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  58. <tr>
  59. <td class="editTableTitle">{{$.lp.type}}:</td>
  60. <td class="editTableValue">
  61. <input class="editTableRadio" onclick="if (this.checked) $('officeTemplateArea').setStyle('display', 'none'); " name="officeType" text{($.officeType=='docx')?'checked':''} type="radio" value="docx"/>Word <br/>
  62. <input class="editTableRadio" onclick="if (this.checked) $('officeTemplateArea').setStyle('display', 'none'); " name="officeType" text{($.officeType=='xlsx')?'checked':''} type="radio" value="xlsx"/>Excel <br/>
  63. <input class="editTableRadio" onclick="if (this.checked) $('officeTemplateArea').setStyle('display', 'none'); " name="officeType" text{($.officeType=='pptx')?'checked':''} type="radio" value="pptx"/>PowerPoint <br/>
  64. <input class="editTableRadio" onclick="if (this.checked) $('officeTemplateArea').setStyle('display', 'block'); " name="officeType" text{($.officeType=='other')?'checked':''} type="radio" value="other"/>{{$.lp.byTemplate}}
  65. </td>
  66. </tr>
  67. </table>
  68. <div id="officeTemplateArea" title="src" style="display: text{($.officeType=='other')?'block':'none'}">
  69. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  70. <tr>
  71. <td class="editTableValue">
  72. <input type="radio" onclick="if (this.checked){ $('templateArea').setStyle('display', 'block'); $('templateScriptArea').setStyle('display', 'none')}" name="templateType" value="value" text{($.templateType=='value')?'checked':''}/>{{$.lp.textValue}}
  73. <input type="radio" onclick="if (this.checked){ $('templateArea').setStyle('display', 'none'); $('templateScriptArea').setStyle('display', 'block')}" name="templateType" value="script" text{($.templateType=='script')?'checked':''}/>{{$.lp.script}}
  74. </td>
  75. </tr>
  76. </table>
  77. <div id="templateArea" style="display: text{($.templateType=='value')?'block':'none'};">
  78. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  79. <tr>
  80. <td class="editTableTitle">{{$.lp.templateId}}:</td>
  81. <td class="editTableValue">
  82. <input type="text" name="template" value="text{$.template}" class="editTableInput"/>
  83. </td>
  84. </tr>
  85. </table>
  86. </div>
  87. <div id="templateScriptArea" style="display: text{($.templateType=='script')?'block':'none'};">
  88. <div class="MWFScriptArea" name="templeteScript" title="{{$.lp.editScript}} (S)"></div>
  89. </div>
  90. </div>
  91. <div class="MWFScriptArea" name="readScript" title="{{$.lp.readonlyCondition}} (S)"></div>
  92. </div>
  93. <div title="{{$.lp.onlyoffice.config}}" class="MWFTab">
  94. <div style="height: 28px; font-weight: bold; line-height:28px; background-color: #EEE; padding: 0px 6px; border-top: 1px solid #999">{{$.lp.onlyoffice.moduleConfig}}</div>
  95. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  96. <tr>
  97. <td class="editTableTitle">{{$.lp.onlyoffice.autosave}}:</td>
  98. <td class="editTableValue">
  99. <input type="radio" name="autosave" value="true" text{($.autosave)?'checked':''}/>{{$.lp.yes}}
  100. <input type="radio" name="autosave" value="false" text{(!$.autosave)?'checked':''}/>{{$.lp.no}}
  101. </td>
  102. </tr>
  103. <tr>
  104. <td class="editTableTitle">{{$.lp.onlyoffice.chat}}:</td>
  105. <td class="editTableValue">
  106. <input type="radio" name="chat" value="true" text{($.chat)?'checked':''}/>{{$.lp.yes}}
  107. <input type="radio" name="chat" value="false" text{(!$.chat)?'checked':''}/>{{$.lp.no}}
  108. </td>
  109. </tr>
  110. <tr>
  111. <td class="editTableTitle">{{$.lp.onlyoffice.comments}}:</td>
  112. <td class="editTableValue">
  113. <input type="radio" name="comments" value="true" text{($.comments)?'checked':''}/>{{$.lp.yes}}
  114. <input type="radio" name="comments" value="false" text{(!$.comments)?'checked':''}/>{{$.lp.no}}
  115. </td>
  116. </tr>
  117. <tr>
  118. <td class="editTableTitle">{{$.lp.onlyoffice.compatibleFeatures}}:</td>
  119. <td class="editTableValue">
  120. <input type="radio" name="compatibleFeatures" value="true" text{($.compatibleFeatures)?'checked':''}/>{{$.lp.yes}}
  121. <input type="radio" name="compatibleFeatures" value="false" text{(!$.compatibleFeatures)?'checked':''}/>{{$.lp.no}}
  122. </td>
  123. </tr>
  124. <!-- <tr>-->
  125. <!-- <td class="editTableTitle">强制保存:</td>-->
  126. <!-- <td class="editTableValue">-->
  127. <!-- <input type="radio" name="forcesave" value="true" text{($.forcesave)?'checked':''}/>是-->
  128. <!-- <input type="radio" name="forcesave" value="false" text{(!$.forcesave)?'checked':''}/>否-->
  129. <!-- </td>-->
  130. <!-- </tr>-->
  131. <tr>
  132. <td class="editTableTitle">{{$.lp.onlyoffice.plugins}}:</td>
  133. <td class="editTableValue">
  134. <input type="radio" name="plugins" value="true" text{($.plugins)?'checked':''}/>{{$.lp.yes}}
  135. <input type="radio" name="plugins" value="false" text{(!$.plugins)?'checked':''}/>{{$.lp.no}}
  136. </td>
  137. </tr>
  138. <tr>
  139. <td class="editTableTitle">{{$.lp.onlyoffice.reviewDisplay}}:</td>
  140. <td class="editTableValue">
  141. <input type="radio" name="reviewDisplay" value="markup" text{$.reviewDisplay=='markup'||!$.reviewDisplay ?'checked':''}/>{{$.lp.onlyoffice.reviewDisplay_markup}}
  142. <input type="radio" name="reviewDisplay" value="final" text{$.reviewDisplay=='final'?'checked':''}/>{{$.lp.onlyoffice.reviewDisplay_final}}
  143. <input type="radio" name="reviewDisplay" value="original" text{$.reviewDisplay=='original'?'checked':''}/>{{$.lp.onlyoffice.reviewDisplay_original}}
  144. </td>
  145. </tr>
  146. <tr>
  147. <td class="editTableTitle">{{$.lp.onlyoffice.showReviewChanges}}:</td>
  148. <td class="editTableValue">
  149. <input type="radio" name="showReviewChanges" value="true" text{($.showReviewChanges)?'checked':''}/>{{$.lp.yes}}
  150. <input type="radio" name="showReviewChanges" value="false" text{(!$.showReviewChanges)?'checked':''}/>{{$.lp.no}}
  151. </td>
  152. </tr>
  153. <tr>
  154. <td class="editTableTitle">{{$.lp.onlyoffice.trackChanges}}:</td>
  155. <td class="editTableValue">
  156. <input type="radio" name="trackChanges" value="true" text{($.trackChanges)?'checked':''}/>{{$.lp.yes}}
  157. <input type="radio" name="trackChanges" value="false" text{(!$.trackChanges)?'checked':''}/>{{$.lp.no}}
  158. </td>
  159. </tr>
  160. <tr>
  161. <td class="editTableTitle">{{$.lp.onlyoffice.spellcheck}}:</td>
  162. <td class="editTableValue">
  163. <input type="radio" name="spellcheck" value="true" text{($.spellcheck)?'checked':''}/>{{$.lp.yes}}
  164. <input type="radio" name="spellcheck" value="false" text{(!$.spellcheck)?'checked':''}/>{{$.lp.no}}
  165. </td>
  166. </tr>
  167. </table>
  168. <div style="height: 28px; font-weight: bold; line-height:28px; background-color: #EEE; padding: 0px 6px; border-top: 1px solid #999">{{$.lp.onlyoffice.viewSet}}</div>
  169. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  170. <tr>
  171. <td class="editTableTitle">{{$.lp.onlyoffice.compactHeader}}:</td>
  172. <td class="editTableValue">
  173. <input type="radio" name="compactHeader" value="true" text{($.compactHeader)?'checked':''}/>{{$.lp.yes}}
  174. <input type="radio" name="compactHeader" value="false" text{(!$.compactHeader)?'checked':''}/>{{$.lp.no}}
  175. </td>
  176. </tr>
  177. <tr>
  178. <td class="editTableTitle">{{$.lp.onlyoffice.compactToolbar}}:</td>
  179. <td class="editTableValue">
  180. <input type="radio" name="compactToolbar" value="true" text{($.compactToolbar)?'checked':''}/>{{$.lp.yes}}
  181. <input type="radio" name="compactToolbar" value="false" text{(!$.compactToolbar)?'checked':''}/>{{$.lp.no}}
  182. </td>
  183. </tr>
  184. <tr>
  185. <td class="editTableTitle">{{$.lp.onlyoffice.feedback}}:</td>
  186. <td class="editTableValue">
  187. <input type="radio" name="feedback" value="true" text{($.feedback)?'checked':''}/>{{$.lp.yes}}
  188. <input type="radio" name="feedback" value="false" text{(!$.feedback)?'checked':''}/>{{$.lp.no}}
  189. </td>
  190. </tr>
  191. <tr>
  192. <td class="editTableTitle">{{$.lp.onlyoffice.help}}:</td>
  193. <td class="editTableValue">
  194. <input type="radio" name="help" value="true" text{($.help)?'checked':''}/>{{$.lp.yes}}
  195. <input type="radio" name="help" value="false" text{(!$.help)?'checked':''}/>{{$.lp.no}}
  196. </td>
  197. </tr>
  198. <tr>
  199. <td class="editTableTitle">{{$.lp.onlyoffice.toolbarHideFileName}}:</td>
  200. <td class="editTableValue">
  201. <input type="radio" name="toolbarHideFileName" value="true" text{($.toolbarHideFileName)?'checked':''}/>{{$.lp.yes}}
  202. <input type="radio" name="toolbarHideFileName" value="false" text{(!$.toolbarHideFileName)?'checked':''}/>{{$.lp.no}}
  203. </td>
  204. </tr>
  205. <tr>
  206. <td class="editTableTitle">{{$.lp.onlyoffice.toolbarNoTabs}}:</td>
  207. <td class="editTableValue">
  208. <input type="radio" name="toolbarNoTabs" value="true" text{($.toolbarNoTabs)?'checked':''}/>{{$.lp.yes}}
  209. <input type="radio" name="toolbarNoTabs" value="false" text{(!$.toolbarNoTabs)?'checked':''}/>{{$.lp.no}}
  210. </td>
  211. </tr>
  212. <tr>
  213. <td class="editTableTitle">{{$.lp.onlyoffice.unit}}</td>
  214. <td class="editTableValue">
  215. <input type="radio" name="unit" value="cm" text{$.unit=='cm'||!$.unit ?'checked':''}/>{{$.lp.onlyoffice.unit_cm}}
  216. <input type="radio" name="unit" value="pt" text{$.unit=='pt'?'checked':''}/>{{$.lp.onlyoffice.unit_pt}}
  217. <input type="radio" name="unit" value="inch" text{$.unit=='inch'?'checked':''}/>{{$.lp.onlyoffice.unit_inch}}
  218. </td>
  219. </tr>
  220. <tr>
  221. <td class="editTableTitle">{{$.lp.onlyoffice.zoom}}</td>
  222. <td class="editTableValue">
  223. <input type="text" name="zoom" value="text{!$.zoom?'100':$.zoom}" class="editTableInput"/>
  224. </td>
  225. </tr>
  226. <tr>
  227. <td class="editTableTitle">{{$.lp.onlyoffice.hideRightMenu}}:</td>
  228. <td class="editTableValue">
  229. <input type="radio" name="hideRightMenu" value="true" text{($.hideRightMenu)?'checked':''}/>{{$.lp.yes}}
  230. <input type="radio" name="hideRightMenu" value="false" text{(!$.hideRightMenu)?'checked':''}/>{{$.lp.no}}
  231. </td>
  232. </tr>
  233. </table>
  234. <div style="height: 28px; font-weight: bold; line-height:28px; background-color: #EEE; padding: 0px 6px; border-top: 1px solid #999">{{$.lp.onlyoffice.individualization}}</div>
  235. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  236. <tr>
  237. <td class="editTableTitle">{{$.lp.onlyoffice.address}}:</td>
  238. <td class="editTableValue">
  239. <input type="text" name="address" value="text{$.address}" class="editTableInput"/>
  240. </td>
  241. </tr>
  242. <tr>
  243. <td class="editTableTitle">{{$.lp.onlyoffice.info}}:</td>
  244. <td class="editTableValue">
  245. <input type="text" name="info" value="text{$.info}" class="editTableInput"/>
  246. </td>
  247. </tr>
  248. <tr>
  249. <td class="editTableTitle">logo:</td>
  250. <td class="editTableValue">
  251. <input type="text" name="logo" value="text{$.logo}" class="editTableInput"/>
  252. </td>
  253. </tr>
  254. <tr>
  255. <td class="editTableTitle">{{$.lp.onlyoffice.mail}}:</td>
  256. <td class="editTableValue">
  257. <input type="text" name="mail" value="text{$.mail}" class="editTableInput"/>
  258. </td>
  259. </tr>
  260. <tr>
  261. <td class="editTableTitle">{{$.lp.onlyoffice.company}}:</td>
  262. <td class="editTableValue">
  263. <input type="text" name="name" value="text{$.name}" class="editTableInput"/>
  264. </td>
  265. </tr>
  266. <tr>
  267. <td class="editTableTitle">{{$.lp.onlyoffice.www}}:</td>
  268. <td class="editTableValue">
  269. <input type="text" name="www" value="text{$.www}" class="editTableInput"/>
  270. </td>
  271. </tr>
  272. <tr>
  273. <td class="editTableTitle">{{$.lp.onlyoffice.feedbackUrl}}:</td>
  274. <td class="editTableValue">
  275. <input type="text" name="feedbackUrl" value="text{$.feedbackUrl}" class="editTableInput"/>
  276. </td>
  277. </tr>
  278. <tr>
  279. <td class="editTableTitle">{{$.lp.onlyoffice.logoImg}}:</td>
  280. <td class="editTableValue">
  281. <input type="text" name="logoImg" value="text{$.logoImg}" class="editTableInput"/>
  282. </td>
  283. </tr>
  284. <tr>
  285. <td class="editTableTitle">{{$.lp.onlyoffice.logoUrl}}:</td>
  286. <td class="editTableValue">
  287. <input type="text" name="logoUrl" value="text{$.logoUrl}" class="editTableInput"/>
  288. </td>
  289. </tr>
  290. </table>
  291. </div>
  292. <div title="{{$.lp.event}}" class="MWFTab">
  293. <div class="MWFEventsArea" name="events"></div>
  294. </div>
  295. <div title="HTML" class="MWFTab">
  296. <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  297. </div>
  298. <div title="JSON" class="MWFTab">
  299. <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
  300. </div>
  301. </div>