Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- ## /bitrix/components/bitrix/socialnetwork.blog.post.edit/post.ajax.php 51 строка
- function getBizprocList()
- {
- $lists = CIBlock::getList(
- array("SORT" => "ASC","NAME" => "ASC"),
- array("ACTIVE" => "Y","TYPE" => COption::GetOptionString("lists", "livefeed_iblock_type_id"), 'SITE_ID' => $siteId)
- );
- while($list = $lists->fetch())
- {
- if(CLists::getLiveFeed($list['ID']))
- {
- $shortName = substr($list['NAME'], 0, 50);
- if($shortName == $list['NAME'])
- $listData[$list['ID']] = $list['NAME'];
- else
- $listData[$list['ID']] = $shortName.'...';
- }
- }
- return $listData;
- }
Add Comment
Please, Sign In to add comment