123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315 |
- <div style="background-color: #FFF; overflow: hidden">
- <div title="{{$.lp.base}}" class="MWFTab">
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.id}}:</td>
- <td class="editTableValue"><input type="text" name="id" value="text{$.id}" class="editTableInput"/></td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.name}}:</td>
- <td class="editTableValue"><input type="text" name="companyName" value="text{$.companyName}" class="editTableInput"/></td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.description}}:</td>
- <td class="editTableValue"><input type="text" name="description" value="text{$.description}" class="editTableInput"/></td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.readonly}}:</td>
- <td class="editTableValue">
- <input type="radio" name="isReadonly" value="true" text{($.isReadonly)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="isReadonly" value="false" text{(!$.isReadonly)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.allowUpload}}:</td>
- <td class="editTableValue">
- <input type="radio" name="allowUpload" value="true" text{($.allowUpload)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="allowUpload" value="false" text{(!$.allowUpload)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.fileSite}}:</td>
- <td class="editTableValue"><input type="text" name="fileSite" value="text{$.fileSite || 'filetext'}" class="editTableInput"/></td>
- </tr>
- </table>
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.fileName}}:</td>
- <td class="editTableValue">
- <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}}
- <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}}
- </td>
- </tr>
- </table>
- <div id="fileNameArea" style="display: text{($.fileNameType=='value')?'block':'none'};">
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableValue">
- <input type="text" name="fileName" value="text{$.fileName}" class="editTableInput"/>
- </td>
- </tr>
- </table>
- </div>
- <div id="fileNameScriptArea" style="display: text{($.fileNameScript=='script')?'block':'none'};">
- <div class="MWFScriptArea" name="fileNameScript" title="{{$.lp.editScript}} (S)"></div>
- </div>
- <div class="MWFMaplist" name="styles" title="{{$.lp.style}}"></div>
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.type}}:</td>
- <td class="editTableValue">
- <input class="editTableRadio" onclick="if (this.checked) $('officeTemplateArea').setStyle('display', 'none'); " name="officeType" text{($.officeType=='docx')?'checked':''} type="radio" value="docx"/>Word <br/>
- <input class="editTableRadio" onclick="if (this.checked) $('officeTemplateArea').setStyle('display', 'none'); " name="officeType" text{($.officeType=='xlsx')?'checked':''} type="radio" value="xlsx"/>Excel <br/>
- <input class="editTableRadio" onclick="if (this.checked) $('officeTemplateArea').setStyle('display', 'none'); " name="officeType" text{($.officeType=='pptx')?'checked':''} type="radio" value="pptx"/>PowerPoint <br/>
- <input class="editTableRadio" onclick="if (this.checked) $('officeTemplateArea').setStyle('display', 'block'); " name="officeType" text{($.officeType=='other')?'checked':''} type="radio" value="other"/>{{$.lp.byTemplate}}
- </td>
- </tr>
- </table>
- <div id="officeTemplateArea" title="src" style="display: text{($.officeType=='other')?'block':'none'}">
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableValue">
- <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}}
- <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}}
- </td>
- </tr>
- </table>
- <div id="templateArea" style="display: text{($.templateType=='value')?'block':'none'};">
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.templateId}}:</td>
- <td class="editTableValue">
- <input type="text" name="template" value="text{$.template}" class="editTableInput"/>
- </td>
- </tr>
- </table>
- </div>
- <div id="templateScriptArea" style="display: text{($.templateType=='script')?'block':'none'};">
- <div class="MWFScriptArea" name="templeteScript" title="{{$.lp.editScript}} (S)"></div>
- </div>
- </div>
- <div class="MWFScriptArea" name="readScript" title="{{$.lp.readonlyCondition}} (S)"></div>
- </div>
- <div title="{{$.lp.onlyoffice.config}}" class="MWFTab">
- <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>
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.autosave}}:</td>
- <td class="editTableValue">
- <input type="radio" name="autosave" value="true" text{($.autosave)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="autosave" value="false" text{(!$.autosave)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.chat}}:</td>
- <td class="editTableValue">
- <input type="radio" name="chat" value="true" text{($.chat)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="chat" value="false" text{(!$.chat)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.comments}}:</td>
- <td class="editTableValue">
- <input type="radio" name="comments" value="true" text{($.comments)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="comments" value="false" text{(!$.comments)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.compatibleFeatures}}:</td>
- <td class="editTableValue">
- <input type="radio" name="compatibleFeatures" value="true" text{($.compatibleFeatures)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="compatibleFeatures" value="false" text{(!$.compatibleFeatures)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <!-- <tr>-->
- <!-- <td class="editTableTitle">强制保存:</td>-->
- <!-- <td class="editTableValue">-->
- <!-- <input type="radio" name="forcesave" value="true" text{($.forcesave)?'checked':''}/>是-->
- <!-- <input type="radio" name="forcesave" value="false" text{(!$.forcesave)?'checked':''}/>否-->
- <!-- </td>-->
- <!-- </tr>-->
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.plugins}}:</td>
- <td class="editTableValue">
- <input type="radio" name="plugins" value="true" text{($.plugins)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="plugins" value="false" text{(!$.plugins)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.reviewDisplay}}:</td>
- <td class="editTableValue">
- <input type="radio" name="reviewDisplay" value="markup" text{$.reviewDisplay=='markup'||!$.reviewDisplay ?'checked':''}/>{{$.lp.onlyoffice.reviewDisplay_markup}}
- <input type="radio" name="reviewDisplay" value="final" text{$.reviewDisplay=='final'?'checked':''}/>{{$.lp.onlyoffice.reviewDisplay_final}}
- <input type="radio" name="reviewDisplay" value="original" text{$.reviewDisplay=='original'?'checked':''}/>{{$.lp.onlyoffice.reviewDisplay_original}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.showReviewChanges}}:</td>
- <td class="editTableValue">
- <input type="radio" name="showReviewChanges" value="true" text{($.showReviewChanges)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="showReviewChanges" value="false" text{(!$.showReviewChanges)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.trackChanges}}:</td>
- <td class="editTableValue">
- <input type="radio" name="trackChanges" value="true" text{($.trackChanges)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="trackChanges" value="false" text{(!$.trackChanges)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.spellcheck}}:</td>
- <td class="editTableValue">
- <input type="radio" name="spellcheck" value="true" text{($.spellcheck)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="spellcheck" value="false" text{(!$.spellcheck)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- </table>
- <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>
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.compactHeader}}:</td>
- <td class="editTableValue">
- <input type="radio" name="compactHeader" value="true" text{($.compactHeader)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="compactHeader" value="false" text{(!$.compactHeader)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.compactToolbar}}:</td>
- <td class="editTableValue">
- <input type="radio" name="compactToolbar" value="true" text{($.compactToolbar)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="compactToolbar" value="false" text{(!$.compactToolbar)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.feedback}}:</td>
- <td class="editTableValue">
- <input type="radio" name="feedback" value="true" text{($.feedback)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="feedback" value="false" text{(!$.feedback)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.help}}:</td>
- <td class="editTableValue">
- <input type="radio" name="help" value="true" text{($.help)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="help" value="false" text{(!$.help)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.toolbarHideFileName}}:</td>
- <td class="editTableValue">
- <input type="radio" name="toolbarHideFileName" value="true" text{($.toolbarHideFileName)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="toolbarHideFileName" value="false" text{(!$.toolbarHideFileName)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.toolbarNoTabs}}:</td>
- <td class="editTableValue">
- <input type="radio" name="toolbarNoTabs" value="true" text{($.toolbarNoTabs)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="toolbarNoTabs" value="false" text{(!$.toolbarNoTabs)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.unit}}</td>
- <td class="editTableValue">
- <input type="radio" name="unit" value="cm" text{$.unit=='cm'||!$.unit ?'checked':''}/>{{$.lp.onlyoffice.unit_cm}}
- <input type="radio" name="unit" value="pt" text{$.unit=='pt'?'checked':''}/>{{$.lp.onlyoffice.unit_pt}}
- <input type="radio" name="unit" value="inch" text{$.unit=='inch'?'checked':''}/>{{$.lp.onlyoffice.unit_inch}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.zoom}}</td>
- <td class="editTableValue">
- <input type="text" name="zoom" value="text{!$.zoom?'100':$.zoom}" class="editTableInput"/>
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.hideRightMenu}}:</td>
- <td class="editTableValue">
- <input type="radio" name="hideRightMenu" value="true" text{($.hideRightMenu)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="hideRightMenu" value="false" text{(!$.hideRightMenu)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- </table>
- <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>
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.address}}:</td>
- <td class="editTableValue">
- <input type="text" name="address" value="text{$.address}" class="editTableInput"/>
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.info}}:</td>
- <td class="editTableValue">
- <input type="text" name="info" value="text{$.info}" class="editTableInput"/>
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">logo:</td>
- <td class="editTableValue">
- <input type="text" name="logo" value="text{$.logo}" class="editTableInput"/>
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.mail}}:</td>
- <td class="editTableValue">
- <input type="text" name="mail" value="text{$.mail}" class="editTableInput"/>
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.company}}:</td>
- <td class="editTableValue">
- <input type="text" name="name" value="text{$.name}" class="editTableInput"/>
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.www}}:</td>
- <td class="editTableValue">
- <input type="text" name="www" value="text{$.www}" class="editTableInput"/>
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.feedbackUrl}}:</td>
- <td class="editTableValue">
- <input type="text" name="feedbackUrl" value="text{$.feedbackUrl}" class="editTableInput"/>
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.logoImg}}:</td>
- <td class="editTableValue">
- <input type="text" name="logoImg" value="text{$.logoImg}" class="editTableInput"/>
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.onlyoffice.logoUrl}}:</td>
- <td class="editTableValue">
- <input type="text" name="logoUrl" value="text{$.logoUrl}" class="editTableInput"/>
- </td>
- </tr>
- </table>
- </div>
- <div title="{{$.lp.event}}" class="MWFTab">
- <div class="MWFEventsArea" name="events"></div>
- </div>
- <div title="HTML" class="MWFTab">
- <div class="MWFHTMLArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
- </div>
- <div title="JSON" class="MWFTab">
- <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
- </div>
- </div>
|