Content

Page tree

Versions Compared

Key

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

Example: Show menu item if phone has/doesn't have the checkbox property

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneMenu>
 	<If condition="$(checkbox_property)==available">
		<MenuItem name="checkbox property available"></MenuItem>
 	</If>
 	<Elif condition="$(checkbox_property)==none">
 		<MenuItem name="no checkbox property"></MenuItem>
 	</Elif>
 	<Else>
 		<MenuItem name="unknown checkbox property"></MenuItem>
 	</Else>
</SnomIPPhoneMenu>


Result on Snom D745:

Image Added


Result on Snom D375:

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

Beispiel: Menüpunkt anzeigen, wenn Telefon die checkbox property hat/nicht hat

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneMenu>
 	<If condition="$(checkbox_property)==available">
		<MenuItem name="checkbox property available"></MenuItem>
 	</If>
 	<Elif condition="$(checkbox_property)==none">
 		<MenuItem name="no checkbox property"></MenuItem>
 	</Elif>
 	<Else>
 		<MenuItem name="unknown checkbox property"></MenuItem>
 	</Else>
</SnomIPPhoneMenu>


Ergebnis auf Snom D745:

Image Added


Ergebnis auf Snom D375:

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