Annotation of loncom/interface/lonsimplepage.pm, revision 1.65
1.1 www 1: # The LearningOnline Network
2: # Simple Page Editor
3: #
1.65 ! neumanie 4: # $Id: lonsimplepage.pm,v 1.64 2009/01/28 14:45:06 bisitz Exp $
1.1 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: #
28:
29: package Apache::lonsimplepage;
30:
31: use strict;
32: use Apache::Constants qw(:common);
33: use Apache::loncommon;
1.60 ehlerst 34: use Apache::lontemplate;
1.1 www 35: use Apache::lonnet;
36: use Apache::lontexconvert;
1.6 matthew 37: use Apache::lonfeedback;
1.13 www 38: use Apache::lonlocal;
1.14 sakharuk 39: use Apache::lonprintout;
40: use Apache::lonxml;
1.40 raeburn 41: use Apache::longroup;
1.47 albertel 42: use HTML::Entities();
1.44 raeburn 43: use LONCAPA;
1.1 www 44:
1.51 albertel 45: sub get_db_name {
46: my ($url) = @_;
47: my ($udom,$uname,$marker)=(split(m{/},$url))[2,3,4];
48: my $dom = $env{'course.'.$env{'request.course.id'}.'.domain'};
49: my $crs = $env{'course.'.$env{'request.course.id'}.'.num'};
50:
51: my $db_name;
52:
53: if ($dom && $crs && ($udom eq $dom) && ($uname eq $crs)) {
54: $marker =~ s/\W//g;
55: $db_name = 'grppage_'.$marker;
56: } else {
57: $marker=~s/\D//g;
58: $db_name = 'smppage_'.$marker;
59: }
60: return if (!defined($marker));
61:
62: return $db_name;
63: }
64:
1.1 www 65: sub handler {
66: my $r = shift;
1.24 albertel 67: &Apache::loncommon::content_type($r,'text/html');
1.1 www 68: $r->send_http_header;
69: return OK if $r->header_only;
1.25 albertel 70: my $target=$env{'form.grade_target'};
1.1 www 71: # ------------------------------------------------------------ Print the screen
1.34 albertel 72: if ($target eq 'tex') {
1.25 albertel 73: $r->print(&Apache::lonprintout::print_latex_header($env{'form.latex_type'}));
1.14 sakharuk 74: }
1.51 albertel 75:
1.1 www 76: # Is this even in a course?
1.25 albertel 77: unless ($env{'request.course.id'}) {
1.18 sakharuk 78: if ($target ne 'tex') {
1.37 albertel 79: &Apache::loncommon::simple_error_page($r,'','Not in a course');
1.14 sakharuk 80: } else {
81: $r->print('\textbf{Not in a course}\end{document}');
82: }
1.37 albertel 83: return OK;
1.1 www 84: }
85:
1.51 albertel 86: my $db_name = &get_db_name($r->uri);
87:
1.28 raeburn 88: my $dom = $env{'course.'.$env{'request.course.id'}.'.domain'};
89: my $crs = $env{'course.'.$env{'request.course.id'}.'.num'};
1.51 albertel 90: my ($group,$group_desc,$group_home_view,$group_home_edit,
1.45 raeburn 91: $group_view_perm,$group_edit_perm);
1.28 raeburn 92: my %curr_group = ();
93: my %groupinfo = ();
1.51 albertel 94: if ($db_name =~ /^grppage_/) {
1.52 raeburn 95: $group = (split(m{/},$r->uri))[4];
1.51 albertel 96: $group =~ s/\W//g;
1.43 raeburn 97: my %curr_groups = &Apache::longroup::coursegroups($dom,$crs,$group);
1.39 albertel 98: if (!%curr_groups) {
1.37 albertel 99: &Apache::loncommon::simple_error_page($r,'','Invalid group name');
100: return OK;
1.28 raeburn 101: }
1.34 albertel 102: %groupinfo =
1.43 raeburn 103: &Apache::longroup::get_group_settings($curr_groups{$group});
1.45 raeburn 104: $group_desc = &unescape($groupinfo{'description'});
1.28 raeburn 105: }
1.1 www 106:
1.51 albertel 107: if (!$db_name) {
1.37 albertel 108: &Apache::loncommon::simple_error_page($r,'','Invalid call');
109: return OK;
1.1 www 110: }
111:
112: # --------------------------------------------------------- The syllabus fields
1.13 www 113: my %syllabusfields=&Apache::lonlocal::texthash(
1.1 www 114: 'aaa_title' => 'Page Title',
115: 'bbb_content' => 'Content',
116: 'ccc_webreferences' => 'Web References');
1.43 raeburn 117: if ($group ne '') {
1.45 raeburn 118: $syllabusfields{'abb_links'} = &mt('Available Group Tools');
1.28 raeburn 119: }
1.1 www 120:
1.7 www 121:
122: # ------------------------------------------------------------ Get query string
123: &Apache::loncommon::get_unprocessed_cgi
1.44 raeburn 124: ($ENV{'QUERY_STRING'},['forcestudent','forceedit',
125: 'register','ref']);
1.1 www 126: # --------------------------------------------------------------- Force Student
127: my $forcestudent='';
1.25 albertel 128: if ($env{'form.forcestudent'} || $target eq 'tex' ) { $forcestudent='student'; };
1.38 albertel 129: my $forceedit='';
130: if ($env{'form.forceedit'}) { $forceedit='edit'; }
1.1 www 131:
1.45 raeburn 132: my $refarg;
133: if ($env{'form.ref'}) {
134: $refarg = '&ref='.$env{'form.ref'};
135: }
1.29 raeburn 136:
1.51 albertel 137: my %syllabus=&Apache::lonnet::dump($db_name,$dom,$crs);
1.1 www 138:
139: # --------------------------------------- There is such a user, get environment
140:
1.18 sakharuk 141: if ($target ne 'tex') {
1.28 raeburn 142: my $title = 'Course Page';
1.43 raeburn 143: if ($group ne '') {
1.28 raeburn 144: $title = 'Group Page';
145: }
1.35 albertel 146: my $start_page =
147: &Apache::loncommon::start_page($title,undef,
148: {'function' => $forcestudent,
149: 'domain' => $dom,
150: 'force_register' =>
151: $env{'form.register'},});
152: $r->print($start_page);
1.28 raeburn 153: }
154:
1.43 raeburn 155: if ($group ne '') {
1.45 raeburn 156: my $group_view_perm =
157: &Apache::lonnet::allowed('vcg',$env{'request.course.id'}.
158: ($env{'request.course.sec'}?'/'.$env{'request.course.sec'}:''));
159: $group_edit_perm =
160: &Apache::lonnet::allowed('mdg',$env{'request.course.id'}.
161: ($env{'request.course.sec'}?'/'.$env{'request.course.sec'}:''));
162: $group_home_view = &Apache::lonnet::allowed('vgh',
163: $env{'request.course.id'}.'/'.$group);
164: $group_home_edit = &Apache::lonnet::allowed('mgh',
165: $env{'request.course.id'}.'/'.$group);
166: if ($group_view_perm || $group_edit_perm || $group_home_view ||
167: $group_home_edit || &Apache::longroup::check_group_access($group)) {
168: if (($env{'form.ref'} eq 'grouplist') && ($target ne 'tex')) {
169: $r->print(&grouppage_breadcrumbs($dom,$crs,$group,$group_desc));
170: }
171: if ((!$group_home_edit) && (!$group_home_view) &&
1.49 raeburn 172: (!$group_view_perm) && (!$group_edit_perm)) {
1.45 raeburn 173: &display_group_links($r,$target,$group,'view',$refarg,%groupinfo);
1.49 raeburn 174: if ($env{'form.grade_target'} ne 'tex') {
175: $r->print(&Apache::loncommon::end_page());
176: } else {
177: $r->print('\end{document}');
178: }
1.28 raeburn 179: return OK;
180: }
181: } else {
1.35 albertel 182: my $msg =
183: &mt('You do not currently have rights to view this group.');
1.28 raeburn 184: if ($target ne 'tex') {
1.35 albertel 185: $r->print("<p>$msg</p>".
1.32 albertel 186: &Apache::loncommon::end_page());
1.28 raeburn 187: } else {
1.35 albertel 188: $r->print('\textbf{'.$msg.'}\end{document}');
1.28 raeburn 189: }
1.35 albertel 190: return OK;
1.28 raeburn 191: }
1.49 raeburn 192: my ($blocked,$blocktext) =
193: &Apache::loncommon::blocking_status('groups');
194: if ($blocked) {
195: $r->print($blocktext);
196: $r->print(&Apache::loncommon::end_page());
197: return OK;
198: }
1.14 sakharuk 199: }
1.1 www 200:
1.28 raeburn 201: my $allowed;
1.45 raeburn 202:
1.43 raeburn 203: if ($group ne '') {
1.45 raeburn 204: $allowed = $group_edit_perm;
1.42 raeburn 205: if (!$allowed) {
1.45 raeburn 206: $allowed = $group_home_edit;
1.28 raeburn 207: }
208: } else {
209: $allowed=&Apache::lonnet::allowed('mdc',$env{'request.course.id'});
210: }
1.16 www 211: my $privileged=$allowed;
212: if (($syllabus{'uploaded.lastmodified'}) && (!$forceedit)) {
213: $forcestudent='student';
214: }
1.1 www 215:
1.18 sakharuk 216: if ($forcestudent or $target eq 'tex') { $allowed=0; }
1.46 raeburn 217:
1.18 sakharuk 218: if ($allowed) {
1.60 ehlerst 219: $r->print('<p>'.'<br /><a href="'.$r->uri.'?forcestudent=1'.$refarg.'">'
220: .'<font size="+1">'.&mt('Show Student View').'</font></a>'.
221: &Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView').
1.56 bisitz 222: &Apache::loncommon::help_open_topic('Uploaded_Templates_TextBoxes',&mt('Help with filling in text boxes'))
1.60 ehlerst 223: .'</p>');
1.18 sakharuk 224: } elsif ($privileged and $target ne 'tex') {
1.45 raeburn 225: my $edittext = &mt('Edit');
226: if ($group ne '') {
227: $edittext = &mt('Edit Group Homepage');
228: }
229: $r->print('<a href="'.$r->uri.'?forceedit=edit'.$refarg.'"><font size="+1">'.$edittext.'</font></a>');
230: if ($group ne '') {
231: if ($group_edit_perm) {
232: $r->print(' <font size="+1">'.
233: '<a href="/adm/coursegroups?action=modify&refpage=grouplist'.
234: '&state=pick_task&groupname='.$group.'">'.
235: &mt('Edit Group Settings').'</a></font>');
236: }
237: }
1.18 sakharuk 238: }
1.25 albertel 239: if (($env{'form.uploaddoc.filename'} and $target ne 'tex') &&
240: ($env{'form.storeupl'}) && ($allowed)) {
241: if ($env{'form.uploaddoc.filename'}=~/\.(gif|jpg|png|jpeg)$/i) {
1.18 sakharuk 242: if ($syllabus{'uploaded.photourl'}) {
243: &Apache::lonnet::removeuploadedurl($syllabus{'uploaded.photourl'});
244: }
1.45 raeburn 245: if ($group ne '') {
1.28 raeburn 246: $syllabus{'uploaded.photourl'}=&Apache::lonnet::userfileupload(
1.45 raeburn 247: 'uploaddoc',1,"grouppage/$group");
1.28 raeburn 248: } else {
249: $syllabus{'uploaded.photourl'}=
250: &Apache::lonnet::userfileupload('uploaddoc',1,'simplepage');
251: }
1.18 sakharuk 252: }
253: $syllabus{'uploaded.lastmodified'}=time;
1.51 albertel 254: &Apache::lonnet::put($db_name,\%syllabus,$dom,$crs);
1.18 sakharuk 255: }
1.62 ehlerst 256: if ($allowed && $env{'form.delupl'}) {
257: if ($syllabus{'uploaded.photourl'}) {
258: &Apache::lonnet::removeuploadedurl($syllabus{'uploaded.photourl'});
259: delete($syllabus{'uploaded.photourl'});
260: &Apache::lonnet::del('simplepage',['uploaded.photourl']);
261: }
262: }
1.25 albertel 263: if (($allowed) && ($env{'form.storesyl'})) {
1.48 albertel 264: foreach my $syl_field (keys(%syllabusfields)) {
265: my $field=$env{'form.'.$syl_field};
1.21 www 266: chomp($field);
1.18 sakharuk 267: $field=~s/\s+$//s;
1.21 www 268: $field=~s/^\s+//s;
269: $field=~s/\<br\s*\/*\>$//s;
1.18 sakharuk 270: $field=&Apache::lonfeedback::clear_out_html($field,1);
1.48 albertel 271: $syllabus{$syl_field}=$field;
1.18 sakharuk 272: }
273: $syllabus{'uploaded.lastmodified'}=time;
1.51 albertel 274: &Apache::lonnet::put($db_name,\%syllabus,$dom,$crs);
1.18 sakharuk 275: }
1.1 www 276:
277: # ---------------------------------------------------------------- Get syllabus
1.45 raeburn 278: if ((($syllabus{'uploaded.lastmodified'}) &&
1.46 raeburn 279: (($group ne '' && ($group_home_view || $group_edit_perm ||
280: $group_view_perm)) || ($group eq ''))) || ($allowed)) {
1.60 ehlerst 281: my $image;
1.18 sakharuk 282: if ($syllabus{'uploaded.photourl'}) {
1.45 raeburn 283: &Apache::lonnet::allowuploaded('/adm/smppg',
1.19 sakharuk 284: $syllabus{'uploaded.photourl'});
1.20 albertel 285:
1.60 ehlerst 286: $image='<img src="'.$syllabus{'uploaded.photourl'}.'"
1.65 ! neumanie 287: />';
1.20 albertel 288: if ($target eq 'tex') {
289: $image=&Apache::lonxml::xmlparse($r,'tex',$image);
1.60 ehlerst 290: }
291: }
1.18 sakharuk 292: if ($allowed) {
293: $r->print(
294: '<form method="post" enctype="multipart/form-data">'.
295: '<input type="hidden" name="forceedit" value="edit" />'.
1.56 bisitz 296: '<h3>'.&mt('Upload a Photo').'</h3>'.
1.50 albertel 297: '<input type="file" name="uploaddoc" size="50" />'.
1.56 bisitz 298: '<input type="submit" name="storeupl" value="'.&mt('Upload').'" />'.
1.53 raeburn 299: '</form><form method="post">'.
1.63 riegler 300: '<input type="hidden" name="forceedit" value="edit" />'.
301: '<form method="post"><input type="submit" name="delupl" value="'.&mt('Delete Photo').'" />' );
1.65 ! neumanie 302: }
1.60 ehlerst 303: if($allowed){
304: $r->print($image.'<div class="clear"> </div>');
1.65 ! neumanie 305: }
! 306:
1.48 albertel 307: foreach my $field (sort(keys(%syllabusfields))) {
308: if (($syllabus{$field}) || ($allowed) ||
309: ($field eq 'abb_links' && $group ne '')) {
310: my $message=$syllabus{$field};
1.26 albertel 311: &Apache::lonfeedback::newline_to_br(\$message);
1.18 sakharuk 312: $message
313: =~s/(https*\:\/\/[^\s]+)/\<a href=\"$1\"\>\<tt\>$1\<\/tt\>\<\/a\>/g;
1.22 www 314: if ($allowed) {
315: $message=&Apache::lonspeller::markeduptext($message);
316: }
1.54 foxr 317: if ($target ne 'tex') {
318: $message=&Apache::lontexconvert::msgtexconverted($message);
319: }
1.48 albertel 320: if ($field eq 'abb_links' && $group ne '') {
321: $r->print('<br /><input type="hidden" name="'.$field.
322: '" value="'.$syllabus{$field}.'" />');
1.45 raeburn 323: &display_group_links($r,$target,$group,'edit',$refarg,
324: %groupinfo);
1.28 raeburn 325: $r->print('<br />');
1.48 albertel 326: } elsif ($field eq 'aaa_title') {
1.28 raeburn 327: if ($target ne 'tex') {
1.61 ehlerst 328: if($allowed){
329: $r->print('<p>');
330: }
1.28 raeburn 331: $r->print('<h1>'.$message.'</h1>');
332: } else {
333: my $safeinit;
334: $r->print(&Apache::lonxml::xmlparse($r,'tex','<h1>'.$message.'</h1>'));
335: }
336: if ($allowed) {
337: if ($env{'form.grade_target'} ne 'tex') {
1.60 ehlerst 338: $r->print('<br /><h3>'.&mt('Title').'</h3>');
339: &Apache::lontemplate::print_editbox_template($r,$syllabus{$field},$field);
1.61 ehlerst 340: $r->print('</p>');
1.28 raeburn 341: } else {
342: my $safeinit;
1.48 albertel 343: $r->print(&Apache::lonxml::xmlparse($r,'tex',$syllabus{$field},$safeinit));
1.28 raeburn 344: }
345: }
346: } else {
1.18 sakharuk 347: if ($target ne 'tex') {
1.61 ehlerst 348: if($allowed){
349: $r->print('<p>');
350: }
1.65 ! neumanie 351: &Apache::lontemplate::print_template($r,$syllabusfields{$field},$message,$allowed,'LC_ContentBoxSpecial');
1.14 sakharuk 352: } else {
353: my $safeinit;
1.60 ehlerst 354: $r->print(&Apache::lonxml::xmlparse($r,'tex','<h3>'.$syllabusfields{$field}.'</h3>'));
1.18 sakharuk 355: $r->print(&Apache::lonxml::xmlparse($r,'tex',$message));
356: }
357: if ($allowed) {
358: if ($target ne 'tex') {
1.60 ehlerst 359: &Apache::lontemplate::print_editbox_template($r,$syllabus{$field},$field);
1.61 ehlerst 360: $r->print('</p>');
1.18 sakharuk 361: } else {
362: my $safeinit;
1.48 albertel 363: $r->print(&Apache::lonxml::xmlparse($r,'tex',$syllabus{$field},$safeinit));
1.18 sakharuk 364: }
1.14 sakharuk 365: }
1.18 sakharuk 366: }
367: }
368: }
1.65 ! neumanie 369:
1.60 ehlerst 370: if(!$allowed){
371: $r->print($image);
372: }
1.65 ! neumanie 373:
1.60 ehlerst 374: if ($allowed) {
375: $r->print('<p>'.'<br /><a href="'.$r->uri.'?forcestudent=1'.$refarg.'">'
376: .'<font size="+1">'.&mt('Show Student View').'</font></a>'.
377: &Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView').'</p>');
378: }
1.25 albertel 379: if ($allowed && ($env{'form.grade_target'} ne 'tex')) {
1.21 www 380: $r->print(&Apache::lonhtmlcommon::htmlareaselectactive
381: ('bbb_content').'</form>');
1.18 sakharuk 382: }
1.25 albertel 383: if ($env{'form.grade_target'} ne 'tex') {$r->print('</p>');}
1.1 www 384: } else {
1.45 raeburn 385: if ($group ne '') {
386: &display_group_links($r,$target,$group,'view',$refarg,%groupinfo);
387: } else {
1.64 bisitz 388: $r->print('<p>'.&mt('No page information provided.').'</p>');
1.45 raeburn 389: }
1.1 www 390: }
1.25 albertel 391: if ($env{'form.grade_target'} ne 'tex') {
1.32 albertel 392: $r->print(&Apache::loncommon::end_page());
1.14 sakharuk 393: } else {
394: $r->print('\end{document}');
395: }
1.1 www 396: return OK;
1.28 raeburn 397: }
398:
399: sub display_group_links {
1.45 raeburn 400: my ($r,$target,$group,$context,$refarg,%groupinfo) = @_;
1.28 raeburn 401: my @available = ();
402: my %menu = ();
403: %{$menu{'email'}} = (
1.59 schafran 404: text => 'Group Message',
1.45 raeburn 405: href => '/adm/email?compose=group&group='.$group.
406: $refarg,
1.28 raeburn 407: );
408: %{$menu{'discussion'}} = (
409: text => 'Discussion Boards',
1.45 raeburn 410: href => '/adm/groupboards?group='.$group.$refarg,
1.28 raeburn 411: );
412: %{$menu{'chat'}} = (
1.59 schafran 413: text => 'Group Chat',
1.45 raeburn 414: href => "javascript:group_chat('$group')",
1.28 raeburn 415: );
416: %{$menu{'files'}} = (
1.59 schafran 417: text => 'File Repository',
1.45 raeburn 418: href => '/adm/coursegrp_portfolio?group='.$group.
419: $refarg,
1.28 raeburn 420: );
421: %{$menu{'roster'}} = (
1.59 schafran 422: text => 'Membership Roster',
1.45 raeburn 423: href => '/adm/grouproster?group='.$group.$refarg,
1.28 raeburn 424: );
425: foreach my $tool (sort(keys(%menu))) {
426: if ($groupinfo{functions}{$tool} eq 'on') {
427: push(@available,$tool);
428: }
429: }
430: if (@available > 0) {
1.64 bisitz 431: my $output = '';
432: if ($target eq 'tex') {
433: $output = '<table cellspacing="4" cellpadding="4">';
434: } else {
435: $output = &Apache::loncommon::start_data_table();
436: }
1.28 raeburn 437: foreach my $tool (@available) {
438: if ($target eq 'tex') {
1.64 bisitz 439: $output .= '<tr><td>'.&mt($menu{$tool}{text}).'</td></tr>';
1.28 raeburn 440: } else {
1.64 bisitz 441: $output .= &Apache::loncommon::start_data_table_row()
442: .'<td><a href="'.$menu{$tool}{href}.'">'
443: .&mt($menu{$tool}{text}).'</a></td>'
444: .&Apache::loncommon::end_data_table_row();
1.28 raeburn 445: }
446: }
1.64 bisitz 447: if ($target eq 'tex') {
448: $output .= '</table>';
449: } else {
450: $output .= &Apache::loncommon::end_data_table();
451: }
1.28 raeburn 452: if ($target eq 'tex') {
1.45 raeburn 453: $r->print(&Apache::lonxml::xmlparse($r,'tex',&mt('Available functions').'<br /><br />'.$output));
1.28 raeburn 454: } else {
1.45 raeburn 455: $r->print('<h3>'.&mt('Available Group Tools').'</h3>'.$output);
1.28 raeburn 456: }
457: } else {
1.29 raeburn 458: my $output;
459: if ($context eq 'edit') {
1.45 raeburn 460: $output = &mt('No group functionality.');
1.29 raeburn 461: } else {
1.57 bisitz 462: $output = &mt('No group functionality (e.g., e-mail, discussion, chat or file upload) is currently available to you in this group: [_1].','<b>'.&unescape($groupinfo{'description'}).'</b>');
1.29 raeburn 463: }
1.28 raeburn 464: if ($target eq 'tex') {
465: $r->print(&Apache::lonxml::xmlparse($r,'tex',$output));
466: } else {
467: $r->print($output);
468: }
469: }
470: }
1.44 raeburn 471:
472: sub grouppage_breadcrumbs {
1.45 raeburn 473: my ($cdom,$cnum,$group,$description) = @_;
1.44 raeburn 474: &Apache::lonhtmlcommon::clear_breadcrumbs();
475: &Apache::lonhtmlcommon::add_breadcrumb
476: ({href=>"/adm/coursegroups",
1.45 raeburn 477: text=>"Groups",
478: title=>"Display Groups"},
1.44 raeburn 479: {href=>"/adm/$cdom/$cnum/$group/smppg?ref=grouplist",
1.64 bisitz 480: text=>&mt('Group:')." $description",
1.44 raeburn 481: title=>"Go to group's home page"},
482: );
1.45 raeburn 483: my $output .= &Apache::lonhtmlcommon::breadcrumbs(&mt('Group page - [_1]',
484: $description));
1.44 raeburn 485: return $output;
486: }
1.1 www 487:
488: 1;
489: __END__
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>