Content

Page tree

Versions Compared

Key

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

Example: Show MenuItem based on architecture series

Code Block
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneMenu>
    <If condition="$(arch_series)==snom7XX">
        <MenuItem name="This is a 7XX">
            <Url>http://website.com/snom7xx.xml</Url>
        </MenuItem>
    </If>
    <Elif condition="$(arch_series)==snomD3X5">
        <MenuItem name="This is a D3X5">
            <Url>http://website.com/snomD3xx.xml</Url>
        </MenuItem>
    </Elif>
    <Else>
        <MenuItem name="Another architecture: I am $(arch_series)">
            <Url>http://website.com/another_arch_series.xml</Url>
        </MenuItem>
    </Else>
</SnomIPPhoneMenu>


Result:

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: Zeige MenuItem basierend auf der Architekturreihe

Code Block
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneMenu>
    <If condition="$(arch_series)==snom7XX">
        <MenuItem name="This is a 7XX">
            <Url>http://website.com/snom7xx.xml</Url>
        </MenuItem>
    </If>
    <Elif condition="$(arch_series)==snomD3X5">
        <MenuItem name="This is a D3X5">
            <Url>http://website.com/snomD3xx.xml</Url>
        </MenuItem>
    </Elif>
    <Else>
        <MenuItem name="Another architecture: I am $(arch_series)">
            <Url>http://website.com/another_arch_series.xml</Url>
        </MenuItem>
    </Else>
</SnomIPPhoneMenu>


Ergebnis:

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