Scheduled maintenance alert

Our website will undergo maintenance from Di, 19.11.2024, 20:00 CEST to Di, 19.11.2024, 22:00 CEST, which may cause occasional service disruptions. We apologize for any inconvenience and appreciate your understanding.

Content

Page tree

Example: Check which display type is used and print the text on based on result

<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneMenu>
    <If condition="$(display_type)==color_touch">
        <MenuItem name="Display type:color_touch"></MenuItem>
    </If>
    <Elif condition="$(display_type)==color">
        <MenuItem name="Display type:color"></MenuItem>
    </Elif>
    <Elif condition="$(display_type)==greyscale">
        <MenuItem name="Display type:greyscale"></MenuItem>
    </Elif>
    <Elif condition="$(display_type)==monochrome">
        <MenuItem name="Display type:monochrome"></MenuItem>
    </Elif>
    <Elif condition="$(display_type)==character">
        <MenuItem name="Display type:character"></MenuItem>
    </Elif>
    <Elif condition="$(display_type)==none">
        <MenuItem name="Display type:none"></MenuItem>
    </Elif>
    <Else>
        <MenuItem name="Not defined display type">
        </MenuItem>
    </Else>
</SnomIPPhoneMenu>


Result: