Annotation of loncom/auth/lonroles.pm, revision 1.54
1.1 harris41 1: # The LearningOnline Network with CAPA
2: # User Roles Screen
1.31 www 3: #
1.54 ! www 4: # $Id: lonroles.pm,v 1.53 2003/03/23 01:46:51 www Exp $
1.31 www 5: #
6: # Copyright Michigan State University Board of Trustees
7: #
8: # This file is part of the LearningOnline Network with CAPA (LON-CAPA).
9: #
10: # LON-CAPA is free software; you can redistribute it and/or modify
11: # it under the terms of the GNU General Public License as published by
12: # the Free Software Foundation; either version 2 of the License, or
13: # (at your option) any later version.
14: #
15: # LON-CAPA is distributed in the hope that it will be useful,
16: # but WITHOUT ANY WARRANTY; without even the implied warranty of
17: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18: # GNU General Public License for more details.
19: #
20: # You should have received a copy of the GNU General Public License
21: # along with LON-CAPA; if not, write to the Free Software
22: # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23: #
24: # /home/httpd/html/adm/gpl.txt
25: #
26: # http://www.lon-capa.org/
27: #
1.1 harris41 28: # (Directory Indexer
29: # (Login Screen
1.32 harris41 30: # YEAR=1999
1.1 harris41 31: # 5/21/99,5/22,5/25,5/26,5/31,6/2,6/10,7/12,7/14 Gerd Kortemeyer)
32: # 11/23 Gerd Kortemeyer)
1.32 harris41 33: # YEAR=2000
1.7 www 34: # 1/14,03/06,06/01,07/22,07/24,07/25,
1.19 www 35: # 09/04,09/06,09/28,09/29,09/30,10/2,10/5,10/26,10/28,
1.20 www 36: # 12/08,12/28,
1.32 harris41 37: # YEAR=2001
1.20 www 38: # 01/15/01 Gerd Kortemeyer
1.28 www 39: # 03/02,05/03,05/25,05/30,06/01,07/06,08/06 Gerd Kortemeyer
1.33 www 40: # 12/29 Gerd Kortemeyer
1.32 harris41 41: #
42: ###
1.22 harris41 43:
1.1 harris41 44: package Apache::lonroles;
45:
46: use strict;
47: use Apache::lonnet();
1.7 www 48: use Apache::lonuserstate();
1.1 harris41 49: use Apache::Constants qw(:common);
1.2 www 50: use Apache::File();
1.26 www 51: use Apache::lonmenu;
1.29 albertel 52: use Apache::loncommon;
1.1 harris41 53:
54: sub handler {
1.10 www 55:
1.1 harris41 56: my $r = shift;
57:
1.6 www 58: my $now=time;
59: my $then=$ENV{'user.login.time'};
60: my $envkey;
61:
1.10 www 62:
1.6 www 63: # ================================================================== Roles Init
64:
65: if ($ENV{'form.selectrole'}) {
1.33 www 66: if ($ENV{'request.course.id'}) {
67: my %temp=('logout_'.$ENV{'request.course.id'} => time);
68: &Apache::lonnet::put('email_status',\%temp);
69: }
1.40 matthew 70: &Apache::lonnet::appenv("request.course.id" => '',
71: "request.course.fn" => '',
72: "request.course.uri" => '',
73: "request.course.sec" => '',
74: "request.role" => 'cm',
75: "request.role.domain" => $ENV{'user.domain'});
1.13 www 76: foreach $envkey (keys %ENV) {
1.40 matthew 77: next if ($envkey!~/^user\.role\./);
78: my (undef,undef,$role,@pwhere)=split(/\./,$envkey);
1.6 www 79: my $where=join('.',@pwhere);
80: my $trolecode=$role.'.'.$where;
81: if ($ENV{'form.'.$trolecode}) {
82: my ($tstart,$tend)=split(/\./,$ENV{$envkey});
83: my $tstatus='is';
84: if ($tstart) {
85: if ($tstart>$then) {
86: $tstatus='future';
87: }
88: }
89: if ($tend) {
90: if ($tend<$then) { $tstatus='expired'; }
1.19 www 91: if ($tend<$now) { $tstatus='will_not'; }
1.6 www 92: }
93: if ($tstatus eq 'is') {
1.13 www 94: $where=~s/^\///;
95: my ($cdom,$cnum,$csec)=split(/\//,$where);
1.53 www 96: # check for keyed access
97: if (($role eq 'st') &&
98: ($ENV{'course.'.$cdom.'_'.$cnum.'.keyaccess'} eq 'yes')) {
99: unless (&Apache::lonnet::validate_access_key(
100: $ENV{'environment.key.'.$cdom.'_'.$cnum},
101: $cdom,$cnum)) {
102: # there is no valid key
103: if ($ENV{'form.newkey'}) {
104: # student attempts to register a new key
105: } else {
106: # print form to enter a new key
1.54 ! www 107: $r->content_type('text/html');
! 108: &Apache::loncommon::no_cache($r);
! 109: $r->send_http_header;
! 110: my $swinfo=&Apache::lonmenu::rawconfig();
! 111: my $bodytag=&Apache::loncommon::bodytag
! 112: ('Enter Access Key to Unlock this Course');
! 113: $r->print(<<ENDENTERKEY);
1.53 www 114: <head><title>Entering Course Access Key</title>
115: </head>
116: <html>
117: $bodytag
118: <script>
119: $swinfo
120: </script>
121: <form method="post">
122: <input type="hidden" name="selectrole" value="$ENV{'form.selectrole'}" />
123: <input type="text" size="20" name="newkey" value="$ENV{'form.newkey'}" />
124: <input type="submit" value="Enter key" />
125: </form>
126: </body></html>
127: ENDENTERKEY
1.54 ! www 128: return OK;
1.53 www 129: }
130: }
131: }
1.40 matthew 132: &Apache::lonnet::appenv('request.role' => $trolecode,
133: 'request.role.domain' => $cdom,
134: 'request.course.sec' => $csec);
1.27 www 135: my $msg='Entering course ...';
1.25 www 136: if (($cnum) && ($role ne 'ca')) {
1.19 www 137: my ($furl,$ferr)=
138: &Apache::lonuserstate::readmap($cdom.'/'.$cnum);
1.20 www 139: if (($ENV{'form.orgurl'}) &&
140: ($ENV{'form.orgurl'}!~/^\/adm\/flip/)) {
1.11 www 141: $r->internal_redirect($ENV{'form.orgurl'});
142: return OK;
1.19 www 143: } else {
1.27 www 144: unless ($ENV{'request.course.id'}) {
145: &Apache::lonnet::appenv(
146: "request.course.id" => $cdom.'_'.$cnum);
147: $furl='/adm/notfound.html';
148: $msg=
149: '<h1><font color=red>Could not initialize top-level map.</font></h1>';
150: }
1.20 www 151: $r->content_type('text/html');
1.30 albertel 152: &Apache::loncommon::no_cache($r);
1.20 www 153: $r->send_http_header;
1.52 www 154: my $swinfo=&Apache::lonmenu::rawconfig();
1.43 www 155: my $bodytag=&Apache::loncommon::bodytag('Switching Role');
1.20 www 156: print (<<ENDREDIR);
157: <head><title>Entering Course</title>
158: <meta HTTP-EQUIV="Refresh" CONTENT="1; url=$furl">
159: </head>
160: <html>
1.43 www 161: $bodytag
1.26 www 162: <script>
163: $swinfo
164: </script>
1.43 www 165: <h1>$msg</h1>
1.20 www 166: </body>
167: </html>
168: ENDREDIR
169: return OK;
1.19 www 170: }
1.7 www 171: }
1.6 www 172: }
173: }
174: }
1.40 matthew 175: }
1.44 www 176:
1.10 www 177:
1.6 www 178: # =============================================================== No Roles Init
1.10 www 179:
180: $r->content_type('text/html');
1.30 albertel 181: &Apache::loncommon::no_cache($r);
1.10 www 182: $r->send_http_header;
183: return OK if $r->header_only;
184:
1.52 www 185: my $swinfo=&Apache::lonmenu::rawconfig();
1.41 www 186: my $bodytag=&Apache::loncommon::bodytag('User Roles');
1.48 www 187: my $helptag=&Apache::loncommon::help_open_topic
1.52 www 188: ("General_Intro","Click here for help");
1.10 www 189: $r->print(<<ENDHEADER);
190: <html>
191: <head>
192: <title>LON-CAPA User Roles</title>
1.41 www 193: </head>
194: $bodytag
1.45 www 195: $helptag<br />
1.26 www 196: <script>
197: $swinfo
198: window.focus();
199: </script>
1.10 www 200: ENDHEADER
1.6 www 201:
1.2 www 202: # ------------------------------------------ Get Error Message from Environment
203:
204: my ($fn,$priv,$nochoose,$error,$msg)=split(/:/,$ENV{'user.error.msg'});
1.12 www 205: if ($ENV{'user.error.msg'}) {
206: $r->log_reason(
207: "$msg for $ENV{'user.name'} domain $ENV{'user.domain'} access $priv",$fn);
208: }
1.1 harris41 209:
1.6 www 210: # ---------------------------------------------------------------- Who is this?
211:
212: my $advanced=0;
213: foreach $envkey (keys %ENV) {
214: if ($envkey=~/^user\.role\./) {
1.40 matthew 215: my (undef,undef,$role,@pwhere)=split(/\./,$envkey);
1.6 www 216: if ($role ne 'st') { $advanced=1; }
217: }
218: }
219:
1.2 www 220: # -------------------------------------------------------- Generate Page Output
1.6 www 221: # --------------------------------------------------------------- Error Header?
1.2 www 222: if ($error) {
223: $r->print("<h1>LON-CAPA Access Control</h1>");
1.4 www 224: $r->print("<hr><pre>Access : ".
225: Apache::lonnet::plaintext($priv)."\n");
226: $r->print("Resource: $fn\n");
227: $r->print("Action : $msg\n</pre><hr>");
1.2 www 228: } else {
1.25 www 229: if ($ENV{'user.error.msg'}) {
230: $r->print(
231: '<h3><font color=red>You need to choose another user role or '.
232: 'enter a specific course for this function</font></h3>');
233: }
1.2 www 234: }
1.6 www 235: # -------------------------------------------------------- Choice or no choice?
1.2 www 236: if ($nochoose) {
1.6 www 237: if ($advanced) {
238: $r->print("<h2>Assigned User Roles</h2>\n");
239: } else {
240: $r->print("<h2>Sorry ...</h2>\nThis resource might be part of");
241: if ($ENV{'request.course.id'}) {
242: $r->print(' another');
243: } else {
244: $r->print(' a certain');
245: }
246: $r->print(' course.</body></html>');
247: return OK;
248: }
249: } else {
250: if ($advanced) {
1.35 matthew 251: $r->print("Your home server is ".
252: $Apache::lonnet::hostname{&Apache::lonnet::homeserver
1.39 stredwic 253: ($ENV{'user.name'},$ENV{'user.domain'})}.
1.38 stredwic 254: "<br />\n");
1.35 matthew 255: $r->print("Author and Co-Author roles may not be available on ".
256: "servers other than your home server.");
1.6 www 257: } else {
258: $r->print("<h2>Enter a Course</h2>\n");
1.17 www 259: }
1.18 www 260: if (($ENV{'REDIRECT_QUERY_STRING'}) && ($fn)) {
261: $fn.='?'.$ENV{'REDIRECT_QUERY_STRING'};
1.6 www 262: }
1.11 www 263: $r->print('<form method=post action="'.(($fn)?$fn:$r->uri).'">');
1.6 www 264: $r->print('<input type=hidden name=orgurl value="'.$fn.'">');
265: $r->print('<input type=hidden name=selectrole value=1>');
266: }
1.27 www 267: $r->print('<br>Show all roles: <input type=checkbox name=showall');
268: if ($ENV{'form.showall'}) { $r->print(' checked'); }
269: $r->print('><input type=submit value="Display"><br>');
1.6 www 270: # ----------------------------------------------------------------------- Table
271: $r->print('<table><tr>');
272: unless ($nochoose) { $r->print('<th> </th>'); }
273: $r->print('<th>User Role</th><th colspan=2>Extent</th>'.
274: '<th>Start</th><th>End</th><th>Remark</th></tr>'."\n");
1.4 www 275:
1.3 albertel 276: foreach $envkey (sort keys %ENV) {
1.35 matthew 277: my $button = 1;
1.49 www 278: my $switchserver='';
1.2 www 279: if ($envkey=~/^user\.role\./) {
1.40 matthew 280: my (undef,undef,$role,@pwhere)=split(/\./,$envkey);
1.46 matthew 281: next if (!defined($role) || $role eq '');
1.4 www 282: my $where=join('.',@pwhere);
1.6 www 283: my $trolecode=$role.'.'.$where;
1.4 www 284: my ($tstart,$tend)=split(/\./,$ENV{$envkey});
285: my $tremark='';
286: my $tstatus='is';
287: my $tpstart=' ';
288: my $tpend=' ';
1.47 www 289: my $tfont='#000000';
1.4 www 290: if ($tstart) {
291: if ($tstart>$then) {
1.35 matthew 292: $tstatus='future';
293: if ($tstart<$now) { $tstatus='will'; }
1.4 www 294: }
295: $tpstart=localtime($tstart);
296: }
297: if ($tend) {
1.23 www 298: if ($tend<$then) {
1.35 matthew 299: $tstatus='expired';
1.23 www 300: } elsif ($tend<$now) {
1.35 matthew 301: $tstatus='will_not';
1.23 www 302: }
1.4 www 303: $tpend=localtime($tend);
304: }
1.6 www 305: if ($ENV{'request.role'} eq $trolecode) {
306: $tstatus='selected';
307: }
1.4 www 308: my $tbg;
1.35 matthew 309: if (($tstatus eq 'is') || ($tstatus eq 'selected') ||
310: ($ENV{'form.showall'})) {
311: if ($tstatus eq 'is') {
312: $tbg='#77FF77';
1.47 www 313: $tfont='#003300';
1.35 matthew 314: } elsif ($tstatus eq 'future') {
315: $tbg='#FFFF77';
1.49 www 316: $button=0;
1.35 matthew 317: } elsif ($tstatus eq 'will') {
318: $tbg='#FFAA77';
319: $tremark.='Active at next login. ';
320: } elsif ($tstatus eq 'expired') {
321: $tbg='#FF7777';
1.47 www 322: $tfont='#330000';
1.49 www 323: $button=0;
1.35 matthew 324: } elsif ($tstatus eq 'will_not') {
325: $tbg='#AAFF77';
326: $tremark.='Expired after logout. ';
327: } elsif ($tstatus eq 'selected') {
328: $tbg='#11CC55';
1.47 www 329: $tfont='#002200';
1.35 matthew 330: $tremark.='Currently selected. ';
331: }
332: my $trole;
333: if ($role =~ /^cr\//) {
334: my ($rdummy,$rdomain,$rauthor,$rrole)=split(/\//,$role);
335: $tremark.='<br>Defined by '.$rauthor.' at '.$rdomain.'.';
336: $trole=$rrole;
1.8 www 337: } else {
1.35 matthew 338: $trole=Apache::lonnet::plaintext($role);
339: }
340: my $ttype;
341: my $twhere;
342: my ($tdom,$trest,$tsection)=
343: split(/\//,Apache::lonnet::declutter($where));
344: # First, Co-Authorship roles
345: if ($role eq 'ca') {
1.39 stredwic 346: my $home = &Apache::lonnet::homeserver($trest,$tdom);
1.49 www 347: if ($home ne $r->dir_config('lonHostID')) {
348: $button=0;
1.51 www 349: $switchserver=&Apache::lonnet::escape('http://'.
350: $Apache::lonnet::hostname{$home}.
351: '/adm/login?domain='.$ENV{'user.domain'}.
352: '&username='.$ENV{'user.name'}.
353: '&firsturl=/priv/'.$trest);
1.49 www 354: }
1.35 matthew 355: #next if ($home eq 'no_host');
356: $home = $Apache::lonnet::hostname{$home};
357: $ttype='Construction Space';
358: $twhere='User: '.$trest.'<br />Domain: '.$tdom.'<br />'.
359: ' Server: '.$home;
360: $ENV{'course.'.$tdom.'_'.$trest.'.description'}='ca';
361: } elsif ($role eq 'au') {
362: # Authors
363: my $home = &Apache::lonnet::homeserver
1.39 stredwic 364: ($ENV{'user.name'},$ENV{'user.domain'});
1.49 www 365: if ($home ne $r->dir_config('lonHostID')) {
366: $button=0;
1.51 www 367: $switchserver=&Apache::lonnet::escape('http://'.
368: $Apache::lonnet::hostname{$home}.
369: '/adm/login?domain='.$ENV{'user.domain'}.
370: '&username='.$ENV{'user.name'}.
371: '&firsturl=/priv/'.$ENV{'user.name'});
1.49 www 372: }
1.35 matthew 373: #next if ($home eq 'no_host');
374: $home = $Apache::lonnet::hostname{$home};
375: $ttype='Construction Space';
376: $twhere='Domain: '.$tdom.'<br />Server: '.$home;
377: $ENV{'course.'.$tdom.'_'.$trest.'.description'}='ca';
378: } elsif ($trest) {
379: $ttype='Course';
380: if ($tsection) {
381: $ttype.='<br>Section/Group: '.$tsection;
1.37 albertel 382: }
1.35 matthew 383: my $tcourseid=$tdom.'_'.$trest;
384: if ($ENV{'course.'.$tcourseid.'.description'}) {
1.47 www 385: $twhere=$ENV{'course.'.$tcourseid.'.description'};
386: unless ($twhere eq 'Currently not available') {
1.49 www 387: $twhere.=' <font size="-2">'.
388: &Apache::loncommon::syllabuswrapper('Syllabus',$trest,$tdom,$tfont).
389: '</font>';
1.47 www 390: }
1.8 www 391: } else {
1.35 matthew 392: my %newhash=Apache::lonnet::coursedescription
393: ($tcourseid);
394: if (%newhash) {
1.49 www 395: $twhere=$newhash{'description'}.
396: ' <font size="-2">'.
397: &Apache::loncommon::syllabuswrapper('Syllabus',$trest,$tdom,$tfont).
398: '</font>';
1.35 matthew 399: } else {
400: $twhere='Currently not available';
401: $ENV{'course.'.$tcourseid.'.description'}=$twhere;
402: }
1.8 www 403: }
1.37 albertel 404: if ($role ne 'st') { $twhere.="<br />Domain:".$tdom; }
1.35 matthew 405: } elsif ($tdom) {
406: $ttype='Domain';
407: $twhere=$tdom;
408: } else {
409: $ttype='System';
410: $twhere='system wide';
1.13 www 411: }
1.35 matthew 412:
413: # ----- do not trust the indention below here -----
414: $r->print('<tr bgcolor='.$tbg.'>');
415: unless ($nochoose) {
416: if (!$button) {
1.49 www 417: if ($switchserver) {
418: $r->print('<td><a href="/adm/logout?handover='.
419: $switchserver.'">Switch Server</a></td>');
420: } else {
421: $r->print('<td> </td>');
422: }
1.35 matthew 423: } elsif ($tstatus eq 'is') {
424: $r->print('<td><input type=submit value=Select name="'.
425: $trolecode.'"></td>');
426: } elsif ($ENV{'user.adv'}) {
427: $r->print
428: ('<td><input type=submit value="Re-Initialize"'.
429: ' name="'.$trolecode.'"></td>');
430: } else {
431: $r->print('<td> </td>');
432: }
1.6 www 433: }
1.47 www 434: $r->print('<td><font color="'.$tfont.'">'.$trole.
435: '</font></td><td><font color="'.$tfont.'">'.$ttype.
436: '</font></td><td><font color="'.$tfont.'">'.$twhere.
437: '</font></td><td><font color="'.$tfont.'">'.$tpstart.
438: '</font></td><td><font color="'.$tfont.'">'.$tpend.
439: '</font></td><td><font color="'.$tfont.'">'.$tremark.
440: ' </font></td></tr>'."\n");
1.27 www 441: }
1.4 www 442: }
443: }
1.14 www 444: my $tremark='';
1.47 www 445: my $tfont='#003300';
1.14 www 446: if ($ENV{'request.role'} eq 'cm') {
1.19 www 447: $r->print('<tr bgcolor="#11CC55">');
1.14 www 448: $tremark='Currently selected.';
1.47 www 449: $tfont='#002200';
1.14 www 450: } else {
451: $r->print('<tr bgcolor="#77FF77">');
452: }
453: unless ($nochoose) {
454: if ($ENV{'request.role'} ne 'cm') {
455: $r->print('<td><input type=submit value=Select name="cm"></td>');
456: } else {
457: $r->print('<td> </td>');
458: }
459: }
1.47 www 460: $r->print('<td colspan=5><font color="'.$tfont.'">No role specified'.
461: '</font></td><td><font color="'.$tfont.'">'.$tremark.
462: ' </font></td></tr>'."\n");
1.4 www 463:
464: $r->print('</table>');
465: unless ($nochoose) {
466: $r->print("</form>\n");
467: }
1.22 harris41 468: # ------------------------------------------------------------ Privileges Info
1.43 www 469: if (($advanced) && (($ENV{'user.error.msg'}) || ($error))) {
1.22 harris41 470: $r->print('<hr><h2>Current Privileges</h2>');
1.4 www 471:
472: foreach $envkey (sort keys %ENV) {
1.15 www 473: if ($envkey=~/^user\.priv\.$ENV{'request.role'}\./) {
474: my $where=$envkey;
475: $where=~s/^user\.priv\.$ENV{'request.role'}\.//;
1.4 www 476: my $ttype;
477: my $twhere;
1.15 www 478: my ($tdom,$trest,$tsec)=
1.8 www 479: split(/\//,Apache::lonnet::declutter($where));
1.6 www 480: if ($trest) {
1.24 www 481: if ($ENV{'course.'.$tdom.'_'.$trest.'.description'} eq 'ca') {
482: $ttype='Construction Space';
483: $twhere='User: '.$trest.', Domain: '.$tdom;
484: } else {
1.4 www 485: $ttype='Course';
1.16 www 486: $twhere=$ENV{'course.'.$tdom.'_'.$trest.'.description'};
1.15 www 487: if ($tsec) {
488: $twhere.=' (Section/Group: '.$tsec.')';
489: }
1.24 www 490: }
1.4 www 491: } elsif ($tdom) {
492: $ttype='Domain';
493: $twhere=$tdom;
494: } else {
495: $ttype='System';
496: $twhere='/';
497: }
498: $r->print("\n<h3>".$ttype.': '.$twhere.'</h3><ul>');
1.32 harris41 499: foreach (sort split(/:/,$ENV{$envkey})) {
1.4 www 500: if ($_) {
501: my ($prv,$restr)=split(/\&/,$_);
502: my $trestr='';
503: if ($restr ne 'F') {
504: my $i;
1.5 www 505: $trestr.=' (';
1.4 www 506: for ($i=0;$i<length($restr);$i++) {
1.5 www 507: $trestr.=
508: Apache::lonnet::plaintext(substr($restr,$i,1));
509: if ($i<length($restr)-1) { $trestr.=', '; }
510: }
511: $trestr.=')';
1.4 www 512: }
513: $r->print('<li>'.Apache::lonnet::plaintext($prv).$trestr.
514: '</li>');
515: }
1.32 harris41 516: }
1.4 www 517: $r->print('</ul>');
1.2 www 518: }
1.4 www 519: }
1.6 www 520: }
1.2 www 521:
1.1 harris41 522: $r->print("</body></html>\n");
523: return OK;
524: }
525:
526: 1;
527: __END__
1.32 harris41 528:
529: =head1 NAME
530:
531: Apache::lonroles - User Roles Screen
532:
533: =head1 SYNOPSIS
534:
535: Invoked by /etc/httpd/conf/srm.conf:
536:
537: <Location /adm/roles>
538: PerlAccessHandler Apache::lonacc
539: SetHandler perl-script
540: PerlHandler Apache::lonroles
541: ErrorDocument 403 /adm/login
542: ErrorDocument 500 /adm/errorhandler
543: </Location>
544:
545: =head1 INTRODUCTION
546:
547: This module enables a user to select what role he wishes to
548: operate under (instructor, student, teaching assistant, course
549: coordinator, etc). These roles are pre-established by the actions
550: of upper-level users.
551:
552: This is part of the LearningOnline Network with CAPA project
553: described at http://www.lon-capa.org.
554:
555: =head1 HANDLER SUBROUTINE
556:
557: This routine is called by Apache and mod_perl.
558:
559: =over 4
560:
561: =item *
562:
563: Roles Initialization (yes/no)
564:
565: =item *
566:
567: Get Error Message from Environment
568:
569: =item *
570:
571: Who is this?
572:
573: =item *
574:
575: Generate Page Output
576:
577: =item *
578:
579: Choice or no choice
580:
581: =item *
582:
583: Table
584:
585: =item *
586:
587: Privileges
588:
589: =back
590:
591: =cut
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>