本文整理汇总了PHP中CCalendar::GetMoreAttendeesMessage方法的典型用法代码示例。如果您正苦于以下问题:PHP CCalendar::GetMoreAttendeesMessage方法的具体用法?PHP CCalendar::GetMoreAttendeesMessage怎么用?PHP CCalendar::GetMoreAttendeesMessage使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CCalendar
的用法示例。
在下文中一共展示了CCalendar::GetMoreAttendeesMessage方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
?>
</span><?php
?>
</a><?php
}
}
?>
<?php
if (!$bShowAll) {
?>
<span id="feed-event-more-att-link-n-<?php
echo $id;
?>
" class="bxcal-more-attendees"><?php
echo CCalendar::GetMoreAttendeesMessage(count($event['DECLINED_ATTENDEES']) - $arParams['ATTENDEES_SHOWN_COUNT']);
?>
</span>
<div id="feed-event-more-attendees-n-<?php
echo $id;
?>
" class="bxcal-more-attendees-popup" style="display: none;">
<?php
echo $popupContent;
?>
</div>
<?php
}
?>
<?php
}
示例2: htmlspecialcharsbx
echo $arParams['AVATAR_SIZE'];
?>
" /></span></span><span class="bxcal-att-name"><?php
echo htmlspecialcharsbx($att['DISPLAY_NAME']);
?>
</span></a>
<?php
}
}
if (!$bShowAll) {
?>
<span data-bx-more-users="<?php
echo $arAtt['id'];
?>
" class="bxcal-more-attendees"><?php
echo CCalendar::GetMoreAttendeesMessage(count($arAtt['users']) - $arAtt['count']);
?>
</span>
<?php
}
?>
</div>
</td>
</tr>
<?php
}
/*foreach($attendees as $arAtt)*/
?>
<?php
if (!empty($event['MEETING']['TEXT'])) {
示例3: DialogViewEvent
//.........这里部分代码省略.........
?>
</span></a>
<?php
} else {
?>
<a title="<?php
echo htmlspecialcharsbx($att['DISPLAY_NAME']);
?>
" href="<?php
echo $att['URL'];
?>
" target="_blank" class="bxcal-att-popup-img"><span class="bxcal-att-popup-avatar-outer"><span class="bxcal-att-popup-avatar"><img src="<?php
echo $att['AVATAR_SRC'];
?>
" width="<?php
echo $Params['AVATAR_SIZE'];
?>
" height="<?php
echo $Params['AVATAR_SIZE'];
?>
" /></span></span><span class="bxcal-att-name"><?php
echo htmlspecialcharsbx($att['DISPLAY_NAME']);
?>
</span></a>
<?php
}
}
if (!$bShowAll) {
?>
<span data-bx-more-users="<?php
echo $arAtt['id'];
?>
" class="bxcal-more-attendees"><?php
echo CCalendar::GetMoreAttendeesMessage(count($arAtt['users']) - $arAtt['count']);
?>
</span>
<?php
}
?>
</div>
</td>
</tr>
<?php
}
/*foreach($attendees as $arAtt)*/
?>
<?php
if (!empty($event['MEETING']['TEXT'])) {
?>
<tr>
<td class="bx-cal-view-att-cell-l" style="padding-top: 3px;"><?php
echo GetMessage('EC_MEETING_TEXT2');
?>
:</td>
<td class="bx-cal-view-att-cell-r"><pre><?php
echo htmlspecialcharsEx($event['MEETING']['TEXT']);
?>
</pre></td>
</tr>
<?php
}
/*if (!empty($event['MEETING']['TEXT']))*/
?>
</table>
示例4: htmlspecialcharsbx
{
?>
<a title="<?= htmlspecialcharsbx($att['DISPLAY_NAME'])?>" href="<?= $att['URL']?>" target="_blank" class="bxcal-att-popup-img bxcal-att-popup-img-hidden"><span class="bxcal-att-popup-avatar-outer"><span class="bxcal-att-popup-avatar"><img src="<?= $att['AVATAR_SRC']?>" width="<?= $Params['AVATAR_SIZE']?>" height="<?= $Params['AVATAR_SIZE']?>" /></span></span><span class="bxcal-att-name"><?= htmlspecialcharsbx($att['DISPLAY_NAME'])?></span></a>
<?
}
else // Display attendee
{
?>
<a title="<?= htmlspecialcharsbx($att['DISPLAY_NAME'])?>" href="<?= $att['URL']?>" target="_blank" class="bxcal-att-popup-img"><span class="bxcal-att-popup-avatar-outer"><span class="bxcal-att-popup-avatar"><img src="<?= $att['AVATAR_SRC']?>" width="<?= $Params['AVATAR_SIZE']?>" height="<?= $Params['AVATAR_SIZE']?>" /></span></span><span class="bxcal-att-name"><?= htmlspecialcharsbx($att['DISPLAY_NAME'])?></span></a>
<?
}
}
if (!$bShowAll)
{
?>
<span data-bx-more-users="<?= $arAtt['id']?>" class="bxcal-more-attendees"><?= CCalendar::GetMoreAttendeesMessage(count($arAtt['users']) - $arAtt['count'])?></span>
<?
}?>
</div>
</td>
</tr>
<?endforeach;/*foreach($attendees as $arAtt)*/?>
<?if (!empty($event['MEETING']['TEXT'])):?>
<tr>
<td class="bx-cal-view-att-cell-l" style="padding-top: 3px;"><?=GetMessage('EC_MEETING_TEXT2')?>:</td>
<td class="bx-cal-view-att-cell-r"><pre><?= htmlspecialcharsEx($event['MEETING']['TEXT'])?></pre></td>
</tr>
<?endif; /*if (!empty($event['MEETING']['TEXT']))*/?>
</table>
示例5: elseif
$att['AVATAR_SRC'] = CCalendar::GetUserAvatar($att);
$att['URL'] = CCalendar::GetUserUrl($att["USER_ID"], $arParams["PATH_TO_USER"]);
}
if ($att['STATUS'] == "Y") {
$result['ACCEPTED_ATTENDEES'][] = $att;
} elseif ($att['STATUS'] == "N") {
$result['DECLINED_ATTENDEES'][] = $att;
}
}
$moreCountAcc = count($result['ACCEPTED_ATTENDEES']) - $ajaxParams['ATTENDEES_SHOWN_COUNT'];
$moreCountDec = count($result['DECLINED_ATTENDEES']) - $ajaxParams['ATTENDEES_SHOWN_COUNT'];
if ($moreCountAcc > 0) {
$result['ACCEPTED_PARAMS']['MORE_MESSAGE'] = CCalendar::GetMoreAttendeesMessage($moreCountAcc);
}
if ($moreCountDec > 0) {
$result['DECLINED_PARAMS']['MORE_MESSAGE'] = CCalendar::GetMoreAttendeesMessage($moreCountDec);
}
}
?>
<script>
window.ViewEventManager.requestResult = <?php
echo CUtil::PhpToJSObject($result);
?>
;
</script>
<?php
}
echo '#EVENT_FEED_RESULT_OK#';
}
}
die;