Skip to content

Instantly share code, notes, and snippets.

@geff21st
Last active May 23, 2017 15:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geff21st/3f020da1b248777243316ac78dfcd912 to your computer and use it in GitHub Desktop.
Save geff21st/3f020da1b248777243316ac78dfcd912 to your computer and use it in GitHub Desktop.
<?
define('LOG_FILENAME', __DIR__.'/log/'.date('Ymd').'.log');
require_once($_SERVER["DOCUMENT_ROOT"].'/bitrix/modules/main/include/prolog_before.php');
?>
<? foreach ($arResult["ITEMS"] as $arItem): ?>
<?
$this->AddEditAction(
$arItem["ID"], $arItem["EDIT_LINK"],
CIBlock::GetArrayByID($arItem["IBLOCK_ID"], "ELEMENT_EDIT")
);
$this->AddDeleteAction(
$arItem["ID"], $arItem["DELETE_LINK"],
CIBlock::GetArrayByID($arItem["IBLOCK_ID"], "ELEMENT_DELETE"),
array("CONFIRM" => GetMessage("CT_BNL_ELEMENT_DELETE_CONFIRM")));
?>
id="<?= $this->GetEditAreaId($arItem['ID']); ?>"
<?= $arItem["NAME"] ?>
<?= $arItem[""] ?>
<? endforeach; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment