' ;
- var selectionTitleHtml = gFormHtml['currentSel'].replace('###', ids['currentSelId']).replace('???', ids['currentSelIdI']).replace('#hiddeninput#', hiddenInput) ;
-
- var btnsHtml = gFormHtml['btns'].replace('###', ids['addBtnId']).replace('???', ids['cancelBtnId']) ;
-
- var html = gFormHtml['formStart'].replace('###', ids['formId']) + selEditChkBoxHtml + selectionTitleHtml ;
-
- if ('nameInputId' in ids)
- html = html + gFormHtml['nameInput'].replace('###', ids['nameInputId']) ;
- if ('emailInputId' in ids)
- html = html + gFormHtml['emailInput'].replace('###', ids['emailInputId']) ;
-
- html = html + gFormHtml['titleInput'].replace('###', ids['titleInputId']) + gFormHtml['contentInput'].replace('###', ids['contentInputId']) + gFormHtml['tagsInput'].replace('###', ids['tagsInputId']);
- html = html + gFormHtml['hidden'].replace('###', ids['formatInputId']).replace('???', 'format') ;
- html = html + gFormHtml['hidden'].replace('###', ids['startWrapperInputId']).replace('???', 'start_wrapper') ;
- html = html + gFormHtml['hidden'].replace('###', ids['endWrapperInputId']).replace('???', 'end_wrapper') ;
- html = html + gFormHtml['hidden'].replace('###', ids['startOffsetInputId']).replace('???', 'start_offset') ;
- html = html + gFormHtml['hidden'].replace('###', ids['endOffsetInputId']).replace('???', 'end_offset') ;
- html = html + gFormHtml['hidden'].replace('###', ids['keyId']).replace('???', 'comment_key') ;
- html = html + gFormHtml['hidden'].replace('###', ids['editCommentId']).replace('???', 'edit_comment_id') ;
- html = html + btnsHtml + gFormHtml['formEnd'] ;
- ret['bodyContent'] = html ;
- return ret ;
+ var selEditChkBoxHtml = "" ;
+ if ('changeScopeInputId' in ids)
+ selEditChkBoxHtml = gFormHtml['changeScope'].replace('###', ids['changeScopeInputId']) ;
+
+ var hiddenInput = '