Method code for $page_bin_index._show_header_objs()

[Turn off line numbering]
  1: arg objs, what;
  2: var o, line;
  3: 
  4: if (objs.length() > 1) {
  5:     line = "<tr><td><b>" + what + "s</b>:</td><td>" + ._make_object_href(objs[1]);
  6:     for o in (objs.subrange(2))
  7:         line += ", " + ._make_object_href(o);
  8:     line += "</td></tr>";
  9: } else if (objs.length() == 1) {
 10:     line = "<tr><td><b>" + what + "</b>:</td><td>" + ._make_object_href(objs[1]) + "</td></tr>";
 11: } else {
 12:     line = "<tr><td><b>" + what + "</b>:</td><td>(none)</td></tr>";
 13: }
 14: return line;

// Brad Roberts
// Bruce Mitchener, Jr.
// Created 16-May-1997 as a part of ColdCore, see: @help Credit

Tlon