Inserts a icon (with optional title) to indicate new users should look here.
The following parameters are recognized:
Link to jump to when user clicks on icon.
The text to display when mouse hovers over icon (NO LINE BREAKS - PLAIN TEXT).
Example of using the macro:
@newUserIcon("cgi-bin/networking/tethereal.cgi","Capture network traffic")Assuming the com.ccg.macros.at.All
class is within your CLASSPATH and the
config/html.at macros file has been
generated (Hint: run make atmacros in the
wui directory), a developer should be able to
run the above example by copy/pasting from below:
[root@probe root]#java com.ccg.macros.at.All <<EOF@include("config/html.at",,"d")@newUserIcon("cgi-bin/networking/tethereal.cgi","Capture network traffic")EOF
This macro is defined as:
@link("@param(0)","<img @htmlAttr("src","@imageDirUrl()/new_users.gif")
@htmlAttr("width","61")
@htmlAttr("height","18")
alt=\"\"
@toolTipAttr("@param(1)")
@htmlAttr("class","userIcon")/>@comment("@htmlEntity("span","New Users","@htmlAttr("style","background-color: #23ff23; padding-left: 2px; margin: 0; height: 22px; vertical-align: center; font-size: 18px;")")")")