Content

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Sv translation
languageen

Return true or false depend if the given feature is available. Here are some examples of valid arguments (without quotes) :

  • ALS_SENSOR - the phone has an Ambient Light Sensor
  • BW_BDF_DISP - the phone's display uses fonts in Glyph Bitmap Distribution Format to display texts
  • ETH_SWITCH_DEVICE -  the phone has Ethernet switch capability (true for all current phone types)
  • FEATURE_EAP_TLS - the phone has support for EAP (https://en.wikipedia.org/wiki/Extensible_Authentication_Protocol)
  • FEATURE_HEADSET_DETECT - the headset detection feature stops users from switching to headset if no headset is connected (for example on D735, D335, D717)
  • FEATURE_LABEL_DISPLAY - the phone has a label display
  • FEATURE_PUI_STYLE_SIO - phone uses the 'new' color UI (true for all phones with color display on version 10.x)
  • FEATURE_SECOND_DISPLAY - the phone has a second display
  • FEATURE_SMART_LABEL - the phone has smart labels (ex: D735, D717)
  • FEATURE_STANDARD_SMART_LABEL - a subtype of smart label called standard smart label is available (ex: D717)
  • FEATURE_USB_SUPPORT - the phone has USB support
  • FEATURE_XMPP - the phone has support for XMPP (https://xmpp.org/)
  • HAS_GBIT_PHY - the phone has a gigabit Ethernet port
  • HAS_LARGER_PIXEL_SIZE - has the color display with larger pixels than the rest of the phones (true for D765)
  • IPV6_SUPPORT - the phone has IPv6 support (https://en.wikipedia.org/wiki/IPv6)
  • LABEL_ADJUSTABLE_BACKLIGHT - if the phone has a label display: the backlight can be adjusted in steps (not just on/off)
  • ORDER_CANCEL_LEFT_OK_RIGHT - is the CANCEL key on the left and OK key on the right of the navigation keys or the other way around


Example code: show a checkbox which is ticked if the corresponding feature is available

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneText>
    <Text>
        $(x_o:$(show_feature:FEATURE_PUI_STYLE_SIO)) FEATURE_PUI_STYLE_SIO<br/>
        $(x_o:$(show_feature:FEATURE_SMART_LABEL)) FEATURE_SMART_LABEL<br/>
		$(x_o:$(show_feature:FEATURE_SECOND_DISPLAY)) FEATURE_SECOND_DISPLAY<br/>
    </Text>
</SnomIPPhoneText>


Result on Snom D375:

Image Added


Result on Snom D745:

Image Added


Result on Snom D385:

Image Added


Result on Snom D735:

Image Added


Include Page
Howto Footer - uni-en
Howto Footer - uni-en

Content by Label
showLabelsfalse
max50
spacesPW
showSpacefalse
sorttitle
typepage
cqllabel = "callbacks" and type = "page"
labels minibrowser xml-minibrowser

...

Sv translation
languagede

Gibt true oder false zurück, abhängig davon, ob die angegebene Funktion verfügbar ist. Hier sind einige Beispiele für gültige Argumente (ohne Anführungszeichen) :

  • ALS_SENSOR - das Telefon hat einen Umgebungslichtsensor
  • BW_BDF_DISP - das Display des Telefons verwendet Schriftarten im Glyph Bitmap Distribution Format zur Anzeige von Texten
  • ETH_SWITCH_DEVICE -  das Telefon verfügt über Ethernet-Switch-Fähigkeit (zutreffend für alle aktuellen Telefontypen)
  • FEATURE_EAP_TLS - das Telefon hat Unterstützung für EAP (https://en.wikipedia.org/wiki/Extensible_Authentication_Protocol)
  • FEATURE_HEADSET_DETECT - die Headset-Erkennungsfunktion verhindert, dass der Benutzer auf das Headset umschaltet, wenn kein Headset angeschlossen ist (z. B. bei D735, D335, D717)
  • FEATURE_LABEL_DISPLAY - das Telefon verfügt über ein Label-Display.
  • FEATURE_PUI_STYLE_SIO - das Telefon verwendet die 'neue' farbige Benutzeroberfläche (zutreffend für alle Telefone mit Farbdisplay in Version 10.x)
  • FEATURE_SECOND_DISPLAY - das Telefon verfügt über ein zweites Display
  • FEATURE_SMART_LABEL - das Telefon hat Smart Labels (z. B. D735, D717)
  • FEATURE_STANDARD_SMART_LABEL - ein Untertyp von Smart Labels, genannt Standard Smart Label, ist vorhanden (z. B. D717)
  • FEATURE_USB_SUPPORT - das Telefon hat USB-Unterstützung
  • FEATURE_XMPP - das Telefon verfügt über Unterstützung für XMPP (https://xmpp.org/)
  • HAS_GBIT_PHY - das Telefon verfügt über einen Gigabit-Ethernet-Anschluss
  • HAS_LARGER_PIXEL_SIZE - das Telefon hat ein Farbdisplay mit größeren Pixeln als der Rest der Telefone (zutreffend für D765)
  • IPV6_SUPPORT - das Telefon hat IPv6-Unterstützung (https://en.wikipedia.org/wiki/IPv6)
  • LABEL_ADJUSTABLE_BACKLIGHT - wenn das Telefon ein Label-Display hat: die Hintergrundbeleuchtung kann in Stufen eingestellt werden (nicht nur an/aus)
  • ORDER_CANCEL_LEFT_OK_RIGHT - ist die CANCEL-Taste auf der linken und die OK-Taste auf der rechten Seite der Navigationstasten oder andersherum


Beispielcode: ein Kontrollkästchen anzeigen, das angekreuzt ist, wenn die entsprechende Funktion verfügbar ist

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneText>
    <Text>
        $(x_o:$(show_feature:FEATURE_PUI_STYLE_SIO)) FEATURE_PUI_STYLE_SIO<br/>
        $(x_o:$(show_feature:FEATURE_SMART_LABEL)) FEATURE_SMART_LABEL<br/>
		$(x_o:$(show_feature:FEATURE_SECOND_DISPLAY)) FEATURE_SECOND_DISPLAY<br/>
    </Text>
</SnomIPPhoneText>


Ergebnis auf Snom D375:

Image Added


Ergebnis auf Snom D745:

Image Added


Ergebnis auf Snom D385:

Image Added


Ergebnis auf Snom D735:

Image Added


Include Page
Howto Footer - de
Howto Footer - de

Content by Label
showLabelsfalse
max50
spacesPW
showSpacefalse
sorttitle
typepage
cqllabel = "callbacks" and type = "page"
labels

...

minibrowser xml-

...

minibrowser