Пример #1
0
	{
		echo Loc::getMessage(
			'CAT_AGENT_FILEPATH',
			array(
				'#FILE#' => '<a href="'.$strYandexFile.'">'.$strYandexFile.'</a>'
			)
		).'<br>';
	}
	else
	{
		echo Loc::getMessage('CAT_AGENT_FILE_ABSENT').'<br>';
	}
?><br><?
	echo Loc::getMessage('CAT_AGENT_EVENT_LOG').':&nbsp;';

?><a href="/bitrix/admin/event_log.php?lang=<? echo LANGUAGE_ID; ?>&set_filter=Y<? echo CCatalogEvent::GetYandexAgentFilter(); ?>"><? echo Loc::getMessage('CAT_AGENT_EVENT_LOG_SHOW_ERROR')?></a>
</td></tr>
<?
	$systemTabControl->BeginNextTab();
?><tr><td align="left"><?
	$firstTop = ' style="margin-top: 0;"';
	if (!$useSaleDiscountOnly)
	{
	?>
	<h4<? echo $firstTop; ?>><? echo Loc::getMessage('CAT_PROC_REINDEX_DISCOUNT'); ?></h4>
	<input class="adm-btn-save" type="button" id="discount_reindex" value="<? echo Loc::getMessage('CAT_PROC_REINDEX_DISCOUNT_BTN'); ?>">
	<p><? echo Loc::getMessage('CAT_PROC_REINDEX_DISCOUNT_ALERT'); ?></p><?
		$firstTop = '';
	}
	if (CBXFeatures::IsFeatureEnabled('CatCompleteSet') && CCatalogProductSetAvailable::getAllCounter() > 0)
	{
Пример #2
0
<br><?php 
    $strYandexFile = str_replace('//', '/', Option::get('catalog', 'export_default_path') . '/yandex.php');
    if (file_exists($_SERVER['DOCUMENT_ROOT'] . $strYandexFile)) {
        echo Loc::getMessage('CAT_AGENT_FILEPATH', array('#FILE#' => '<a href="' . $strYandexFile . '">' . $strYandexFile . '</a>')) . '<br>';
    } else {
        echo Loc::getMessage('CAT_AGENT_FILE_ABSENT') . '<br>';
    }
    ?>
<br><?php 
    echo Loc::getMessage('CAT_AGENT_EVENT_LOG') . ':&nbsp;';
    ?>
<a href="/bitrix/admin/event_log.php?lang=<?php 
    echo LANGUAGE_ID;
    ?>
&set_filter=Y<?php 
    echo CCatalogEvent::GetYandexAgentFilter();
    ?>
"><?php 
    echo Loc::getMessage('CAT_AGENT_EVENT_LOG_SHOW_ERROR');
    ?>
</a>
</td></tr>
<?php 
    $systemTabControl->BeginNextTab();
    ?>
<tr><td align="left"><?php 
    $firstTop = ' style="margin-top: 0;"';
    if (!$useSaleDiscountOnly) {
        ?>
	<h4<?php 
        echo $firstTop;