Exemplo n.º 1
0
            ?>
		<td><div class="bx-separator"></div></td>
	<?php 
        }
        ?>
		<td><a href="javascript:void(0);" onclick="var el; if(bxGrid_<?php 
        echo $arParams["GRID_ID"];
        ?>
.IsActionEnabled() && confirm(((el=document.getElementById('actallrows_<?php 
        echo $arParams["GRID_ID"];
        ?>
')) && el.checked? '<?php 
        echo CUtil::JSEScape(GetMessage("interface_grid_delete"));
        ?>
':'<?php 
        echo CUtil::JSEScape(GetMessage("interface_grid_delete_checked"));
        ?>
'))) bxGrid_<?php 
        echo $arParams["GRID_ID"];
        ?>
.ActionDelete();" title="<?php 
        echo GetMessage("interface_grid_delete_title");
        ?>
" class="context-button icon action-delete-button-dis" id="delete_button_<?php 
        echo $arParams["GRID_ID"];
        ?>
"></a></td>
<?php 
        $bNeedSep = true;
    }
    $bShowApply = false;
Exemplo n.º 2
0
	BX.showWait();

	var keywords = '<?php 
echo CUtil::JSEscape(implode(', ', $arInnerKeywords));
?>
';

	BX.ajax({
		url: '/bitrix/tools/seo_page_parser.php?lang=<?php 
echo LANGUAGE_ID;
?>
&first=Y&site=<?php 
echo $site;
?>
&url=<?php 
echo CUtil::JSEScape(urlencode($back_url));
?>
&callback=set_stats&sessid=' + BX.bitrix_sessid(),
		data: 'keywords=' + BX.util.urlencode(keywords),
		method: 'POST',
		dataType: 'script',
		emulateOnload: false
	});
}

window.BXSetStats = function(data, stats, errors, extended)
{
	BXUpdateKeywordsStats(data);
	BXUpdatePageStats(stats);
	BXUpdatePageErrors(errors);
Exemplo n.º 3
0
}

window.BXCallPageStats = function()
{
	BX.showWait();

	var keywords = '<?echo CUtil::JSEscape(implode(', ', $arInnerKeywords));?>';

	BX.ajax({
		url: '/freetrix/tools/seo_page_parser.php?lang=<?php 
echo LANGUAGE_ID;
?>
&first=Y&site=<?php 
echo $site;
?>
&url=<?echo CUtil::JSEScape(urlencode($back_url))?>&callback=set_stats&sessid=' + BX.freetrix_sessid(),
		data: 'keywords=' + BX.util.urlencode(keywords),
		method: 'POST',
		dataType: 'script',
		emulateOnload: false
	});
}

window.BXSetStats = function(data, stats, errors, extended)
{
	BXUpdateKeywordsStats(data);
	BXUpdatePageStats(stats);
	BXUpdatePageErrors(errors);

	BXUpdatePageExtendedData(extended);
Exemplo n.º 4
0
			a = BX.util.array_values(window.arMembersList);
		}

		var copy_value = {};

		for (i=0; i < copy.options.length; i++)
		{
			if (copy.options[i].selected)
				copy_value[copy.options[i].value] = true;
		}

		while (copy.options.length > 0)
			copy.remove(0);

		copy.options.add(new Option('<?php 
echo CUtil::JSEScape(GetMessage('ME_AGENDA_NO_RESPONSIBLE'));
?>
', 0))
		for(var i = 0; i<a.length;i++)
		{
			var o = new Option(a[i].name, a[i].id);
			o.selected = !!copy_value[a[i].id];
			copy.options.add(o)
		}
	}
}

<?php 
if ($arResult['CAN_EDIT']) {
    ?>
function editRow(row, bSkipFocus)
Exemplo n.º 5
0
			</div>
		</div>
	</div>
	<i class="r0"></i>
	<i class="r1"></i>
	<i class="r2"></i>
</div>
<?php 
$this->EndViewTarget();
?>
<script type="text/javascript">
function BXDeleteMeeting(id)
{
	BX.PopupMenu.currentItem.popupWindow.close();
	if (confirm('<?php 
echo CUtil::JSEScape(GetMessage('ME_DELETE_CONFIRM'));
?>
'))
	{
		var row = BX('meeting_row_' + id);
		BX.showWait(row)
		BX.ajax.get('<?php 
echo CUtil::JSEscape($arParams['MEETING_URL']);
?>
?DELETE=Y&<?php 
echo bitrix_sessid_get();
?>
'.replace('#MEETING_ID#', id), function()
		{
			BX.closeWait(row);
			row.parentNode.removeChild(row);
Exemplo n.º 6
0
&url=<?echo CUtil::JSEScape(urlencode($back_url))?>&callback=' + jsUtils.urlencode(callback_name) + '&keywords=' + encodeURIComponent(keywords));
}

window.BXCallPageStats = function()
{
	ShowWaitWindow();

	var keywords = '<?echo CUtil::JSEscape(implode(', ', array_merge($arInnerKeywords['local'], $arInnerKeywords['section'])));?>';
	
	jsUtils.loadJSFile('/freetrix/tools/seo_page_parser.php?lang=<?php 
echo LANGUAGE_ID;
?>
&first=Y&site=<?php 
echo $site;
?>
&url=<?echo CUtil::JSEScape(urlencode($back_url))?>&callback=window.BXSetStats&keywords=' + encodeURIComponent(keywords));
}

window.BXSetStats = function(data, stats, errors, extended)
{
	var data_local = [], data_section = [];
	for (var i = 0; i < data.length; i++)
	{
		if (i < <?echo count($arInnerKeywords['local'])?>)
			data_local[data_local.length] = data[i];
		else
			data_section[data_section.length] = data[i];
	}
	
	BXUpdateKeywordsStats('local', data_local);
	BXUpdateKeywordsStats('section', data_section);