Esempio n. 1
0
            }
            ?>
							];
						</script>

						<?php 
            if (CWebDavEditDocGoogle::isEditable($arWDFile['NAME'])) {
                ?>
							<script type="text/javascript">
								BX.message({
									'wd_service_edit_doc_default': '<?php 
                echo CUtil::JSEscape(CWebDavTools::getServiceEditDocForCurrentUser());
                ?>
',
									'wd_gender_current_user': '******'
								});
							</script>
						<?php 
            }
            ?>
						<?php 
            if (!empty($arWDFile['EDITABLE']) && empty($arResult['IS_HISTORY_DOC']) && CWebDavEditDocGoogle::isEditable($arWDFile['NAME'])) {
                ?>
							<a class="feed-con-file-changes-link" href="#" onclick="BX.fireEvent(BX.findPreviousSibling(BX(this), function(node){ return BX.type.isElementNode(node) && (node.getAttribute('data-bx-viewer'));}, true), 'click');top.BX.CViewer.objNowInShow.runActionByCurrentElement('forceEdit', {obElementViewer: top.BX.CViewer.objNowInShow}); return false;"><?php 
                echo GetMessage('WDUF_FILE_EDIT');
                ?>
</a>
						<?php