Exemplo n.º 1
0
 /**
  * Get numeric case for lang messages
  * @param $number
  * @param $once
  * @param $multi21
  * @param $multi2_4
  * @param $multi5_20
  * @return string
  */
 public static function getNumericCase($number, $once, $multi21, $multi2_4, $multi5_20)
 {
     return CWebDavTools::getNumericCase($number, $once, $multi21, $multi2_4, $multi5_20);
 }
Exemplo n.º 2
0
    ?>
</span>
				<span class="bx-webdav-invite-users-arrow"></span>
			</div>
			<div class="bx-webdav-invite-users-block"></div>
		</div>
		<?php 
}
?>
		<?php 
if ($arResult['DISCONNECTED_USERS_COUNT'] > 0) {
    ?>
		<div class="bx-webdav-invite-users-list" style="height: auto;">
			<div onclick="wdOpenUsersList(this, 'disconnect');" class="bx-webdav-invite-users-title">
				<span class="bx-webdav-invite-users-title-text"><?php 
    echo CWebDavTools::getNumericCase($arResult['DISCONNECTED_USERS_COUNT'], GetMessage('WD_INVITE_MODAL_TAB_USERS_NOT_USAGE_COUNT_1', array('#COUNT#' => $arResult['DISCONNECTED_USERS_COUNT'])), GetMessage('WD_INVITE_MODAL_TAB_USERS_NOT_USAGE_COUNT_21', array('#COUNT#' => $arResult['DISCONNECTED_USERS_COUNT'])), GetMessage('WD_INVITE_MODAL_TAB_USERS_NOT_USAGE_COUNT_2_4', array('#COUNT#' => $arResult['DISCONNECTED_USERS_COUNT'])), GetMessage('WD_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>
	<div class="bx-webdav-invite-footer">
		<a href="javascript:void(0)" onclick="wdOpenConfirmUnlink();" class="webform-button"><span class="webform-button-left"></span><span class="webform-button-text"><?php 
echo GetMessage('WD_INVITE_MODAL_BTN_DIE_SELF_ACCESS');
?>
</span><span class="webform-button-right"></span></a>
Exemplo n.º 3
0
        echo $user['INVITE_USER']['ID'];
        ?>
)" class="bx-webdav-invite-us-set"></span><?php 
    }
    ?>
</span><?php 
}
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="wdLoadPortionUsersList(this, '<?php 
        echo $arResult['USER_LIST_TYPE'];
        ?>
', <?php 
        echo ++$arResult['PAGE'];
        ?>
);"><?php 
        echo CWebDavTools::getNumericCase($portion, GetMessage('WD_INVITE_MODAL_TAB_USERS_LOAD_MORE_COUNT_1', array('#COUNT#' => $portion)), GetMessage('WD_INVITE_MODAL_TAB_USERS_LOAD_MORE_COUNT_1_21', array('#COUNT#' => $portion)), GetMessage('WD_INVITE_MODAL_TAB_USERS_LOAD_MORE_COUNT_2_4', array('#COUNT#' => $portion)), GetMessage('WD_INVITE_MODAL_TAB_USERS_LOAD_MORE_COUNT_5_20', array('#COUNT#' => $portion)));
        ?>
</span>
	<?php 
    }
    ?>
</div>
<?php 
}