Chapter 2. Reference For wuiphp.xml

Table of Contents

@wuiPhpHtmlBannerBottom()
@wuiPhpHtmlBannerTop()
@wuiPhpHtmlBodyBegin()
@wuiPhpHtmlBodyEnd()
@wuiPhpHtmlDocBegin()
@wuiPhpHtmlDocEnd()
@wuiPhpHtmlHeadBegin()
@wuiPhpHtmlHeadEnd()
@wuiPhpHtmlInline(CODE)
@wuiPhpSetPageInfo(CVSID, INITDATE, TITLE)

@wuiPhpHtmlBannerBottom()

Inserts standard NST WUI banner that should be at end of page.

Inserts the standard NST WUI bottom banner into the page being rendered. NOTE: This is macro is rarely used directly (only if your page defines its own specialized <body> section instead of using the predefined ones which are available). This macro is automatically included for you if you use either the @wuiPhpHtmlBodyEnd() or @wuiPhpHtmlDocEnd() macro.

Example of using the macro:

See: @wuiPhpHtmlBannerTop()

Assuming the com.ccg.macros.at.All class is within your CLASSPATH and the config/wuiphp.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/wuiphp.at",,"d")
See: @wuiPhpHtmlBannerTop()
EOF

This macro is defined as:

  <br />
  @javascript("addSectionLink();")
  <table@htmlAttr("border","0")
        @htmlAttr("width","100%")
        @htmlAttr("class","fstyle")
        @htmlAttr("summary","NST Bottom Banner")>
    <tr>
      <td@htmlAttr("align","left")>
        <p@htmlAttr("class","fstyle textHover")>
          <a@htmlAttr("class","fstyle")
            @htmlAttr("href","@nstHtmlUrl()/nstlicense.html")
            @htmlAttr("title","Display the NST License page, Copyright &#169; 2003 - 2008 Ronald W. Henderson and Paul Blankenbaker")>
            ©
          </a>&nbsp;<span@htmlAttr("title","NST Development Life Cycle For This Release")>@nstBeginYear()-@docBuildYear()</span>
          <a@htmlAttr("class","fstyle textHover")
            @htmlAttr("href","@urlWww()")
            @htmlAttr("target","_top")
            @htmlAttr("title","NST Home Page On The Internet")>
            @domain()
          </a>
        </p>
      </td>
      <td@htmlAttr("align","center")
	 @htmlAttr("title","Time Taken To Load And Render This Page In Seconds")>
        <p@htmlAttr("class","fstyle")>
          @javascript("
            endDate = new Date();
            var endTime = endDate.getTime();
            var loadTime = (endTime-startTime)/1000.0;
            document.write("Loaded in: " + loadTime.toFixed(3) + " secs");
          ")
        </p>
      </td>
      <td@htmlAttr("align","right") >
        <table@htmlAttr("border","0")
              @htmlAttr("summary","NST Version")>
          <tr>
            <td>
              <p@htmlAttr("class","fstyle")>
                <span@htmlAttr("title","NST Distribution Version: v@wuiPhpHtmlInline("echo $wuiPageInfo->getReleaseISO();")")>NST&nbsp;v@wuiPhpHtmlInline("echo $wuiPageInfo->getReleaseISO();")</span>&nbsp;(<span
 @htmlAttr("title","NST WUI Release: v@releaseWUI(), Build Date: @docBuildDateLong()")>@docBuildDateShort()</span>)
              </p>
            </td>
            <td>
              @javascript("
                addNavLinkHomeFooter();
                addNavLinkTopFooter();
                addNavLinkPrevFooter();")
            </td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
  <div@htmlAttr("id","divBottom")>
    <a@htmlAttr("name","bottom")>
    </a>
  </div>