File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/components/bitrix/wiki.history.diff/templates/.default/template.php
Back
<?if(!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED!==true)die(); use Bitrix\Main\UI; UI\Extension::load("ui.tooltip"); ?><div id="wiki-post"> <? if(!empty($arResult['FATAL_MESSAGE'])): ?> <div class="wiki-errors wiki-note-box wiki-note-error"> <div class="wiki-error-text"> <?= htmlspecialcharsEx($arResult['FATAL_MESSAGE'])?> </div> </div> <? else: if ($arResult['SOCNET']) : $APPLICATION->IncludeComponent('bitrix:main.user.link', '', array( 'AJAX_ONLY' => 'Y', 'PATH_TO_SONET_USER_PROFILE' => str_replace('#user_id#', '#ID#', $arResult['PATH_TO_USER']), 'PATH_TO_SONET_MESSAGES_CHAT' => $arResult['PATH_TO_SONET_MESSAGES_CHAT'], 'NAME_TEMPLATE' => $arResult['NAME_TEMPLATE'], 'SHOW_LOGIN' => $arResult['SHOW_LOGIN'], 'PATH_TO_CONPANY_DEPARTMENT' => $arResult['PATH_TO_CONPANY_DEPARTMENT'], 'PATH_TO_VIDEO_CALL' => $arResult['PATH_TO_VIDEO_CALL'] ), $component, array('HIDE_ICONS' => 'Y') ); endif; ?> <div id="wiki-post-content"> <span> <?=GetMessage('WIKI_VERSION_FROM')?> <a href="<?= htmlspecialcharsbx($arResult['VERSION_DIFF']['SHOW_LINK'])?>"><?= htmlspecialcharsbx($arResult['VERSION_DIFF']['MODIFIED'])?></a> <? if (!empty($arResult['VERSION_DIFF']['USER_LINK'])): ?> <a href="<?= htmlspecialcharsbx($arResult['VERSION_DIFF']['USER_LINK'])?>" id="anchor_<?= htmlspecialcharsbx($arResult['VERSION_DIFF']['ID'])?>" bx-tooltip-user-id="<?=$arResult['VERSION_DIFF']["USER_ID"]?>"><?= htmlspecialcharsbx($arResult['VERSION_DIFF']['USER_LOGIN'])?></a> <? else: ?> <?= htmlspecialcharsbx($arResult['VERSION_DIFF']['USER_LOGIN'])?> <? endif; ?> <hr /> <span> <?=GetMessage('WIKI_DIFF_VERSION_FROM')?> <a href="<?= htmlspecialcharsbx($arResult['VERSION_OLD']['SHOW_LINK'])?>"><?= htmlspecialcharsbx($arResult['VERSION_OLD']['MODIFIED'])?></a> <? if (!empty($arResult['VERSION_OLD']['USER_LINK'])): ?> <a href="<?= htmlspecialcharsbx($arResult['VERSION_OLD']['USER_LINK'])?>" id="anchor_<?=htmlspecialcharsbx($arResult['VERSION_OLD']['ID'])?>" bx-tooltip-user-id="<?=$arResult['VERSION_OLD']["USER_ID"]?>"><?= htmlspecialcharsbx($arResult['VERSION_OLD']['USER_LOGIN'])?></a> <? else: ?> <?= htmlspecialcharsbx($arResult['VERSION_OLD']['USER_LOGIN'])?> <? endif; ?> (<a href="<?= htmlspecialcharsbx($arResult['CANCEL_LINK'])?>"><?=GetMessage('WIKI_RESTORE_TO_CURRENT')?></a>) <hr /> <b><?=GetMessage('WIKI_DIFF_TITLE')?></b><br/> <?=$arResult['DIFF_NAME']?> <hr /> <b><?=GetMessage('WIKI_DIFF_TEXT')?></b><br/> <?=$arResult['DIFF']?> </div> <? endif;?> </div>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.24 |
proxy
|
phpinfo
|
Settings