} if ($arResult['PAGE'] != $arResult['TOTAL_PAGE']) { $portion = $arResult['TOTAL_COUNT'] - $arResult['PAGE'] * $arResult['ON_PAGE']; ?> <div class="bx-webdav-invite-us-place-for-users"></div> <div class="bx-webdav-invite-us-more"> <?php if ($portion > 0) { ?> <span class="bx-webdav-invite-us-more-link" onclick="diskLoadPortionUsersList(this, <?php echo $arResult['OBJECT']['ID']; ?> , '<?php echo $arResult['USER_LIST_TYPE']; ?> ', <?php echo ++$arResult['PAGE']; ?> , '<?php echo $arResult['URL_TO_SHOW_USER_LIST']; ?> ');"><?php echo \Bitrix\Disk\Ui\Text::getNumericCase($portion, GetMessage('DISK_FOLDER_LIST_INVITE_MODAL_TAB_USERS_LOAD_MORE_COUNT_1', array('#COUNT#' => $portion)), GetMessage('DISK_FOLDER_LIST_INVITE_MODAL_TAB_USERS_LOAD_MORE_COUNT_1_21', array('#COUNT#' => $portion)), GetMessage('DISK_FOLDER_LIST_INVITE_MODAL_TAB_USERS_LOAD_MORE_COUNT_2_4', array('#COUNT#' => $portion)), GetMessage('DISK_FOLDER_LIST_INVITE_MODAL_TAB_USERS_LOAD_MORE_COUNT_5_20', array('#COUNT#' => $portion))); ?> </span> <?php } ?> </div> <?php }
<?php } ?> <?php if ($arResult['DISCONNECTED_USERS_COUNT'] > 0) { ?> <div class="bx-webdav-invite-users-list" style="height: auto;"> <div onclick="diskOpenUsersList(<?php echo $arResult['OBJECT']['ID']; ?> , this, 'disconnect', '<?php echo $arResult['URL_TO_SHOW_USER_LIST']; ?> ');" class="bx-webdav-invite-users-title"> <span class="bx-webdav-invite-users-title-text"><?php echo \Bitrix\Disk\Ui\Text::getNumericCase($arResult['DISCONNECTED_USERS_COUNT'], GetMessage('DISK_FOLDER_LIST_INVITE_MODAL_TAB_USERS_NOT_USAGE_COUNT_1', array('#COUNT#' => $arResult['DISCONNECTED_USERS_COUNT'])), GetMessage('DISK_FOLDER_LIST_INVITE_MODAL_TAB_USERS_NOT_USAGE_COUNT_21', array('#COUNT#' => $arResult['DISCONNECTED_USERS_COUNT'])), GetMessage('DISK_FOLDER_LIST_INVITE_MODAL_TAB_USERS_NOT_USAGE_COUNT_2_4', array('#COUNT#' => $arResult['DISCONNECTED_USERS_COUNT'])), GetMessage('DISK_FOLDER_LIST_INVITE_MODAL_TAB_USERS_NOT_USAGE_COUNT_5_20', array('#COUNT#' => $arResult['DISCONNECTED_USERS_COUNT']))); ?> </span> <span class="bx-webdav-invite-users-arrow"></span> </div> <div class="bx-webdav-invite-users-block"></div> </div> <?php } ?> <div class="bx-webdav-invite-footer-link-block"> <a onclick="diskUnshareAllUsers(<?php echo $arResult['OBJECT']['ID']; ?> , '<?php echo $arResult['URL_TO_UNSHARE_ALL_USERS'];