1
0
mirror of synced 2025-02-19 16:33:15 +03:00

catalog export fix

This commit is contained in:
Grisha Pomadchin 2013-09-22 20:03:35 +04:00
parent 0e5c9b5b6c
commit 6c2552881b
2 changed files with 46 additions and 41 deletions

View File

@ -1,5 +1,8 @@
<?php <?php
global $MESS;
IncludeModuleLangFile(__FILE__);
class ICMLLoader { class ICMLLoader {
public $iblocks; public $iblocks;
@ -132,7 +135,7 @@ class ICMLLoader {
$arRes = Array(); $arRes = Array();
$arRes['ID'] = $this->mainSection + $id; $arRes['ID'] = $this->mainSection + $id;
$arRes['IBLOCK_SECTION_ID'] = 0; $arRes['IBLOCK_SECTION_ID'] = 0;
$arRes['NAME'] = "Основной раздел каталога " . $iblock['NAME']; $arRes['NAME'] = sprintf(GetMessage('ROOT_CATEGORY_FOR_CATALOG'), $iblock['NAME']);
$categories[$arRes['ID']] = $arRes; $categories[$arRes['ID']] = $arRes;
} }
} }

View File

@ -0,0 +1,2 @@
<?php
$MESS["ROOT_CATEGORY_FOR_CATALOG"] = "Корневой раздел для каталога \"%s\"";