@ipToMapSpan(IP, [ATTRS])

Inserts a <span> that a user will be able to click on to bring up a map.

The following parameters are recognized:

IP

The IP address or host name to show on a map.

[ATTRS]

Optional attributes to include in the span (don't use onclick or onmouseover).

This macro is used to insert a <span> into the document which the user will be able to click on to open a new window showing the location of the IP address on a map.

Example of using the macro:

@ipToMapSpan("www.networksecuritytoolkit.org")

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")

@ipToMapSpan("www.networksecuritytoolkit.org")

EOF

This macro is defined as:

<span @htmlAttr("class","ipToMap") @param(1)
 @ipToMapHoverEnhance()>@param(0)</span>