View/Edit #301:www_nav_links

Switch to edit mode.

Name(s): www_nav_links
1:  links = pass(@args)
2:  for x in (this.link_order)
3:    links = {@links, {"Chapter", tostr("/", toint(x)), x.name}}
4:  endfor
5:  x = this in this.link_order
6:  if (x == 1 && (object = $www:parse_GET("isindex")))
7:    "Code view mode"
8:    object = toobj(object)
9:    x = object in this.link_order
10:   links = {@links, {"Up", tostr("/", toint(object)), object.name}}
11: elseif (x != 1)
12:   links = {@links, {"Up", "/mspdemo", this.link_order[1].name}}
13: endif
14: if (x != 1)
15:   links = {@links, {"First", tostr("/", toint(this.link_order[1])), this.link_order[1].name}}
16:   links = {@links, {"Previous", tostr("/", toint(this.link_order[x - 1])), this.link_order[x - 1].name}}
17: endif
18: if (x != length(this.link_order))
19:   links = {@links, {"Last", tostr("/", toint(this.link_order[$])), this.link_order[$].name}}
20:   links = {@links, {"Next", tostr("/", toint(this.link_order[x + 1])), this.link_order[x + 1].name}}
21: endif
22: return links
23: "Last modified by Dax (#789) on Tue May  3 14:09:31 2005 MDT."

Verb arguments: this none this
Verb perms: Readable eXecutable NOT-Debug
Verb owned by: Odo (#987)

You are not logged in.

[home | help | who | search | setup | code]