![Obihai Technology OBi1032 Administration Manual Download Page 143](http://html2.mh-extra.com/html/obihai-technology/obi1032/obi1032_administration-manual_3151346143.webp)
Copyright 2010-2017 Obihai Technology, Inc.
143
Macors that can be used in a <SoftKeyStyles> XML
Macro
Where
Description
$alert
Anywhere. Typically
inside an $eval
expression in an
attribute
$alert expands into "1" for the following soft keys:
-
cfa
if Call Forward All/Unconditional is enabled
-
mwi
when there are new messages
-
missed
when there are new missed calls
-
dnd
when Do Not Disturb is enabled
-
dnr
when Do Not Ring is enabled
-
cwa
when Call Waiting is disabled
-
aans
when Auto Answer Intercom is disabled
-
bci
when Block Caller ID is enabled
-
bac
when Block Anonymous Call is enabled
-
pg1,pg2
when the corresponding group is joined
Otherwise, it expands into "0".
For example:
bgimg="$eval($alert?{http://xyz.com/a.png}:{http://xyz.
com/b.png})"
$eval
Anywhere
See section heading
$eval()
Example 1: Use Icons Only for Home Screen Soft Keys
In this example, we will make all the soft keys on the Home Screen to show only an icon that is center justified. The
icons we use are all internal icon files, that you may replace with external http/https URLs. Here are the parameter
settings and a screen shot of the result.
Soft Key Sets
::
Home
=
redial;icon=dial.png;style=1,cfa;icon=cfwd.png;icon1=cfwd.png;style=1,dnd;
icon=dnd_tb.png;icon2=dnd_tb.png;style=1,lines;icon=conf.png;style="1"
Screen Item Customization
::
SoftKeyStyles
=
<SoftKeyStyles>
<style id='1'>
<label hidden='1'/>
<icon width='120' align='center'/>
</style>
</SoftKeyStyles>