- Совместимость с XenForo
- 2.0
- 2.1
С помощью данного дополнения вы можете использовать моб. синтаксис в любом шаблоне:
Есть дополнительные функции кроме cutemb_is_mobile()
Этот плагин использует данную библиотеку:
HTML:
<xf:if is="cutemb_is_mobile()">
You are using mobile
<xf:else />
You are not using mobile
</xf:if>
- cutemb_is_tablet
- cutemb_is_android_os
- cutemb_is_iphone
- cutemb_is_ipad
- cutemb_is_ios
- cutemb_is_chrome
- cutemb_is_opera
- cutemb_is_ie
- cutemb_is_firefox
- cutemb_is_safari
- cutemb_is_uc_browser
HTML:
<xf:if is="cutemb_is_firefox()">
You are using firefox
<xf:else />
You are not using firefox
</xf:if>
Этот плагин использует данную библиотеку: