|
|
|
|
|
|
|
|
'<br />' + |
|
|
'<br />' + |
|
|
'<label for="linkText-{{cid}}" class="hidden-visually">{{urlLabel}}</label>' + |
|
|
'<label for="linkText-{{cid}}" class="hidden-visually">{{urlLabel}}</label>' + |
|
|
'<input id="linkText-{{cid}}" class="linkText {{#unless isLinkShare}}hidden{{/unless}}" type="text" readonly="readonly" value="{{shareLinkURL}}" />' + |
|
|
'<input id="linkText-{{cid}}" class="linkText {{#unless isLinkShare}}hidden{{/unless}}" type="text" readonly="readonly" value="{{shareLinkURL}}" />' + |
|
|
' {{#if showPasswordCheckBox}}' + |
|
|
|
|
|
'<input type="checkbox" name="showPassword" id="showPassword-{{cid}}" class="checkbox showPasswordCheckbox" {{#if isPasswordSet}}checked="checked"{{/if}} value="1" />' + |
|
|
|
|
|
'<label for="showPassword-{{cid}}">{{enablePasswordLabel}}</label>' + |
|
|
|
|
|
' {{/if}}' + |
|
|
|
|
|
'<div id="linkPass" class="linkPass {{#unless isPasswordSet}}hidden{{/unless}}">' + |
|
|
|
|
|
' <label for="linkPassText-{{cid}}" class="hidden-visually">{{passwordLabel}}</label>' + |
|
|
|
|
|
' <input id="linkPassText-{{cid}}" class="linkPassText" type="password" placeholder="{{passwordPlaceholder}}" />' + |
|
|
|
|
|
' <span class="icon-loading-small hidden"></span>' + |
|
|
|
|
|
'</div>' + |
|
|
|
|
|
' {{#if publicUpload}}' + |
|
|
' {{#if publicUpload}}' + |
|
|
'<div id="allowPublicUploadWrapper">' + |
|
|
'<div id="allowPublicUploadWrapper">' + |
|
|
' <span class="icon-loading-small hidden"></span>' + |
|
|
' <span class="icon-loading-small hidden"></span>' + |
|
|
' <input type="checkbox" value="1" name="allowPublicUpload" id="sharingDialogAllowPublicUpload-{{cid}}" class="checkbox publicUploadCheckbox" {{{publicUploadChecked}}} />' + |
|
|
' <input type="checkbox" value="1" name="allowPublicUpload" id="sharingDialogAllowPublicUpload-{{cid}}" class="checkbox publicUploadCheckbox" {{{publicUploadChecked}}} />' + |
|
|
'<label for="sharingDialogAllowPublicUpload-{{cid}}">{{publicUploadLabel}}</label>' + |
|
|
'<label for="sharingDialogAllowPublicUpload-{{cid}}">{{publicUploadLabel}}</label>' + |
|
|
'</div>' + |
|
|
'</div>' + |
|
|
|
|
|
' {{/if}}' + |
|
|
|
|
|
' {{#if showPasswordCheckBox}}' + |
|
|
|
|
|
'<input type="checkbox" name="showPassword" id="showPassword-{{cid}}" class="checkbox showPasswordCheckbox" {{#if isPasswordSet}}checked="checked"{{/if}} value="1" />' + |
|
|
|
|
|
'<label for="showPassword-{{cid}}">{{enablePasswordLabel}}</label>' + |
|
|
' {{/if}}' + |
|
|
' {{/if}}' + |
|
|
|
|
|
'<div id="linkPass" class="linkPass {{#unless isPasswordSet}}hidden{{/unless}}">' + |
|
|
|
|
|
' <label for="linkPassText-{{cid}}" class="hidden-visually">{{passwordLabel}}</label>' + |
|
|
|
|
|
' <input id="linkPassText-{{cid}}" class="linkPassText" type="password" placeholder="{{passwordPlaceholder}}" />' + |
|
|
|
|
|
' <span class="icon-loading-small hidden"></span>' + |
|
|
|
|
|
'</div>' + |
|
|
'{{else}}' + |
|
|
'{{else}}' + |
|
|
// FIXME: this doesn't belong in this view |
|
|
// FIXME: this doesn't belong in this view |
|
|
'{{#if noSharingPlaceholder}}<input id="shareWith-{{cid}}" class="shareWithField" type="text" placeholder="{{noSharingPlaceholder}}" disabled="disabled"/>{{/if}}' + |
|
|
'{{#if noSharingPlaceholder}}<input id="shareWith-{{cid}}" class="shareWithField" type="text" placeholder="{{noSharingPlaceholder}}" disabled="disabled"/>{{/if}}' + |