Annotation of loncom/interface/lonparmset.pm, revision 1.16
1.1 www 1: # The LearningOnline Network with CAPA
2: # Handler to set parameters for assessments
3: #
4: # (Handler to resolve ambiguous file locations
5: #
6: # (TeX Content Handler
7: #
8: # 05/29/00,05/30,10/11 Gerd Kortemeyer)
9: #
10: # 10/11,10/12,10/16 Gerd Kortemeyer)
11: #
1.13 www 12: # 11/20,11/21,11/22,11/23,11/24,11/25,11/27 Gerd Kortemeyer
1.1 www 13:
14: package Apache::lonparmset;
15:
16: use strict;
17: use Apache::lonnet;
18: use Apache::Constants qw(:common :http REDIRECT);
19: use GDBM_File;
1.4 www 20:
1.1 www 21:
1.2 www 22: my %courseopt;
23: my %useropt;
24: my %bighash;
25: my %parmhash;
26:
1.8 www 27: my @outpar;
28:
1.3 www 29: my @ids;
30: my %symbp;
1.10 www 31: my %mapp;
1.3 www 32: my %typep;
1.16 ! www 33: my %keyp;
! 34:
! 35: my %allkeys;
1.2 www 36:
37: my $uname;
38: my $udom;
39: my $uhome;
40:
41: my $csec;
42:
1.3 www 43: my $fcat;
44:
1.2 www 45: # -------------------------------------------- Figure out a cascading parameter
46:
47: sub parmval {
1.11 www 48: my ($what,$id,$def)=@_;
1.8 www 49: my $result='';
1.11 www 50: @outpar=();
1.2 www 51: # ----------------------------------------------------- Cascading lookup scheme
1.10 www 52:
1.3 www 53: my $symbparm=$symbp{$id}.'.'.$what;
1.10 www 54: my $mapparm=$mapp{$id}.'___(all).'.$what;
55:
1.2 www 56: my $seclevel=
1.10 www 57: $ENV{'request.course.id'}.'.['.
1.14 www 58: $csec.'].'.$what;
1.10 www 59: my $seclevelr=
60: $ENV{'request.course.id'}.'.['.
1.14 www 61: $csec.'].'.$symbparm;
1.10 www 62: my $seclevelm=
63: $ENV{'request.course.id'}.'.['.
1.14 www 64: $csec.'].'.$mapparm;
1.10 www 65:
1.2 www 66: my $courselevel=
67: $ENV{'request.course.id'}.'.'.$what;
1.10 www 68: my $courselevelr=
69: $ENV{'request.course.id'}.'.'.$symbparm;
70: my $courselevelm=
71: $ENV{'request.course.id'}.'.'.$mapparm;
1.2 www 72:
1.11 www 73: # -------------------------------------------------------- first, check default
74:
75: if ($def) { $outpar[11]=$def;
76: $result=11; }
77:
78: # ----------------------------------------------------- second, check map parms
79:
80: my $thisparm=$parmhash{$symbparm};
81: if ($thisparm) { $outpar[10]=$thisparm;
82: $result=10; }
83:
84: # --------------------------------------------------------- third, check course
85:
86: if ($courseopt{$courselevel}) { $outpar[9]=$courseopt{$courselevel};
87: $result=9; }
88:
89: if ($courseopt{$courselevelm}) { $outpar[8]=$courseopt{$courselevelm};
90: $result=8; }
91:
92: if ($courseopt{$courselevelr}) { $outpar[7]=$courseopt{$courselevelr};
93: $result=7; }
94:
95: if ($csec) {
96:
97: if ($courseopt{$seclevel}) { $outpar[6]=$courseopt{$seclevel};
98: $result=6; }
99:
100: if ($courseopt{$seclevelm}) { $outpar[5]=$courseopt{$seclevelm};
101: $result=5; }
102:
103: if ($courseopt{$seclevelr}) { $outpar[4]=$courseopt{$seclevelr};
104: $result=4; }
105:
106: }
107:
108: # ---------------------------------------------------------- fourth, check user
1.8 www 109:
110: if ($uname) {
1.11 www 111:
1.10 www 112: if ($useropt{$courselevel}) { $outpar[3]=$useropt{$courselevel};
113: $result=3; }
114:
1.11 www 115: if ($useropt{$courselevelm}) { $outpar[2]=$useropt{$courselevelm};
116: $result=2; }
1.2 www 117:
1.11 www 118: if ($useropt{$courselevelr}) { $outpar[1]=$useropt{$courselevelr};
119: $result=1; }
1.10 www 120:
1.11 www 121: }
1.2 www 122:
1.8 www 123: return $result;
1.2 www 124: }
125:
1.3 www 126: # ---------------------------------------------------------------- Sort routine
127:
128: sub bycat {
129: if ($fcat eq '') {
130: $a<=>$b;
131: } else {
1.16 ! www 132: &parmval($fcat,$a)<=>&parmval($fcat,$b);
1.3 www 133: }
134: }
135:
1.9 www 136: # ------------------------------------------------------------ Output for value
137:
138: sub valout {
139: my ($value,$type)=@_;
140: return
141: ($value?(($type=~/^date/)?localtime($value):$value):' ');
142: }
143:
1.5 www 144: # -------------------------------------------------------- Produces link anchor
145:
146: sub plink {
147: my ($type,$dis,$value,$marker,$return,$call)=@_;
148: return '<a href="javascript:pjump('."'".$type."','".$dis."','".$value."','"
1.8 www 149: .$marker."','".$return."','".$call."'".');">'.
1.9 www 150: &valout($value,$type).'</a>';
1.5 www 151: }
152:
1.1 www 153: # ================================================================ Main Handler
154:
155: sub handler {
156: my $r=shift;
157:
158: if ($r->header_only) {
159: $r->content_type('text/html');
160: $r->send_http_header;
161: return OK;
162: }
163:
164: # ----------------------------------------------------- Needs to be in a course
165:
166: if (($ENV{'request.course.fn'}) &&
167: (&Apache::lonnet::allowed('opa',$ENV{'request.course.id'}))) {
1.2 www 168: # -------------------------------------------------------- Variable declaration
169:
170: %courseopt=();
171: %useropt=();
172: %bighash=();
173:
1.3 www 174: @ids=();
175: %symbp=();
176: %typep=();
1.2 www 177:
1.12 www 178: my $message='';
179:
180: $csec=$ENV{'form.csec'};
1.2 www 181: $udom=$ENV{'form.udom'};
1.12 www 182: my $id=$ENV{'form.id'};
183: if (($id) && ($udom)) {
184: $uname=(&Apache::lonnet::idget($udom,$id))[1];
185: if ($uname) {
186: $id='';
187: } else {
188: $message=
189: "<h3><font color=red>Unknown ID '$id' at domain '$udom'</font></h3>";
190: }
191: } else {
192: $uname=$ENV{'form.uname'};
193: }
1.2 www 194: unless ($udom) { $uname=''; }
195: $uhome='';
196: if ($uname) {
197: $uhome=&Apache::lonnet::homeserver($uname,$udom);
1.12 www 198:
199: if ($uhome eq 'no_host') {
1.3 www 200: $message=
1.8 www 201: "<h3><font color=red>Unknown user '$uname' at domain '$udom'</font></h3>";
1.3 www 202: $uname='';
1.12 www 203: } else {
204: $csec=&Apache::lonnet::usection(
205: $udom,$uname,$ENV{'request.course.id'});
206: if ($csec eq '-1') {
207: $message="<h3><font color=red>".
208: "User '$uname' at domain '$udom' not in this course</font></h3>";
209: $uname='';
210: $csec=$ENV{'form.csec'};
211: } else {
212: my %name=&Apache::lonnet::userenvironment($udom,$uname,
213: ('firstname','middlename','lastname','generation','id'));
214: $message="\n<p>\nFull Name: ".
215: $name{'firstname'}.' '.$name{'middlename'}
216: .$name{'lastname'}.' '.$name{'generation'}.
217: "<br>\nID: ".$name{'id'}.'<p>';
218: }
219: }
1.3 www 220: }
1.2 www 221:
1.3 www 222: unless ($csec) { $csec=''; }
1.12 www 223:
1.3 www 224: $fcat=$ENV{'form.fcat'};
225: unless ($fcat) { $fcat=''; }
1.2 www 226:
227: # ------------------------------------------------------------------- Tie hashs
228: if ((tie(%bighash,'GDBM_File',$ENV{'request.course.fn'}.'.db',
229: &GDBM_READER,0640)) &&
230: (tie(%parmhash,'GDBM_File',
231: $ENV{'request.course.fn'}.'_parms.db',&GDBM_READER,0640))) {
232:
1.14 www 233: # --------------------------------------------------------- Get all assessments
1.16 ! www 234: %allkeys=();
! 235:
1.14 www 236: map {
237: if ($_=~/^src\_(\d+)\.(\d+)$/) {
238: my $mapid=$1;
239: my $resid=$2;
240: my $id=$mapid.'.'.$resid;
1.16 ! www 241: my $srcf=$bighash{$_};
! 242: if ($srcf=~/\.(problem|exam|quiz|assess|survey|form)$/) {
1.14 www 243: $ids[$#ids+1]=$id;
244: $typep{$id}=$1;
1.16 ! www 245: $keyp{$id}='';
! 246: map {
! 247: if ($_=~/^parameter\_(.*)/) {
! 248: my $key=$_;
! 249: my $allkey=$1;
! 250: my $display=
! 251: &Apache::lonnet::metadata($srcf,$key.'.display');
! 252: unless ($display) {
! 253: $display=
! 254: &Apache::lonnet::metadata($srcf,$key.'.name');
! 255: }
! 256: $allkeys{$allkey}=$display;
! 257: if ($keyp{$id}) {
! 258: $keyp{$id}.=','.$key;
! 259: } else {
! 260: $keyp{$id}=$key;
! 261: }
! 262: }
! 263: } split(/\,/,
! 264: &Apache::lonnet::metadata($srcf,'keys'));
1.14 www 265: $mapp{$id}=
266: &Apache::lonnet::declutter($bighash{'map_id_'.$mapid});
267: $symbp{$id}=$mapp{$id}.
268: '___'.$resid.'___'.
1.16 ! www 269: &Apache::lonnet::declutter($srcf);
1.14 www 270: }
271: }
272: } keys %bighash;
273: # ---------------------------------------------------------- Anything to store?
274: if ($ENV{'form.pres_marker'}) {
275: my ($sresid,$spnam,$snum)=split(/\&/,$ENV{'form.pres_marker'});
1.15 www 276: $spnam=~s/\_/\./;
277: # ---------------------------------------------------------- Construct prefixes
1.14 www 278:
279: my $symbparm=$symbp{$sresid}.'.'.$spnam;
280: my $mapparm=$mapp{$sresid}.'___(all).'.$spnam;
281:
282: my $seclevel=
283: $ENV{'request.course.id'}.'.['.
284: $csec.'].'.$spnam;
285: my $seclevelr=
286: $ENV{'request.course.id'}.'.['.
287: $csec.'].'.$symbparm;
288: my $seclevelm=
289: $ENV{'request.course.id'}.'.['.
290: $csec.'].'.$mapparm;
291:
292: my $courselevel=
293: $ENV{'request.course.id'}.'.'.$spnam;
294: my $courselevelr=
295: $ENV{'request.course.id'}.'.'.$symbparm;
296: my $courselevelm=
297: $ENV{'request.course.id'}.'.'.$mapparm;
298:
299: my $storeunder='';
300: if (($snum==9) || ($snum==3)) { $storeunder=$courselevel; }
301: if (($snum==8) || ($snum==2)) { $storeunder=$courselevelm; }
302: if (($snum==7) || ($snum==1)) { $storeunder=$courselevelr; }
303: if ($snum==6) { $storeunder=$seclevel; }
304: if ($snum==5) { $storeunder=$seclevelm; }
305: if ($snum==4) { $storeunder=$seclevelr; }
1.15 www 306: $storeunder=&Apache::lonnet::escape($storeunder);
307:
308: my $storecontent=
309: $storeunder.'='.&Apache::lonnet::escape($ENV{'form.pres_value'}).'&'.
310: $storeunder.'.type='.&Apache::lonnet::escape($ENV{'form.pres_type'});
1.14 www 311:
1.15 www 312: my $reply='';
1.14 www 313: if ($snum>3) {
314: # ---------------------------------------------------------------- Store Course
1.15 www 315: $reply=&Apache::lonnet::critical('put:'.
316: $ENV{'course.'.$ENV{'request.course.id'}.'.domain'}.':'.
317: $ENV{'course.'.$ENV{'request.course.id'}.'.num'}.':resourcedata:'.
318: $storecontent,
319: $ENV{'course.'.$ENV{'request.course.id'}.'.home'});
1.14 www 320: } else {
321: # ------------------------------------------------------------------ Store User
1.15 www 322: $reply=
323: &Apache::lonnet::critical('put:'.$udom.':'.$uname.':resourcedata:'.
324: $storecontent,$uhome);
325: }
326:
327: if ($reply=~/^error\:(.*)/) {
328: $message.="<h3><font color=red>Write Error: $1</font></h3>";
329: }
330: # ---------------------------------------------------------------- Done storing
331: }
1.2 www 332: # -------------------------------------------------------------- Get coursedata
333: my $reply=&Apache::lonnet::reply('dump:'.
334: $ENV{'course.'.$ENV{'request.course.id'}.'.domain'}.':'.
335: $ENV{'course.'.$ENV{'request.course.id'}.'.num'}.':resourcedata',
336: $ENV{'course.'.$ENV{'request.course.id'}.'.home'});
337: if ($reply!~/^error\:/) {
338: map {
339: my ($name,$value)=split(/\=/,$_);
1.15 www 340: $courseopt{&Apache::lonnet::unescape($name)}=
341: &Apache::lonnet::unescape($value);
1.2 www 342: } split(/\&/,$reply);
343: }
344: # --------------------------------------------------- Get userdata (if present)
345: if ($uname) {
346: my $reply=
347: &Apache::lonnet::reply('dump:'.$udom.':'.$uname.':resourcedata',$uhome);
348: if ($reply!~/^error\:/) {
349: map {
350: my ($name,$value)=split(/\=/,$_);
1.15 www 351: $useropt{&Apache::lonnet::unescape($name)}=
352: &Apache::lonnet::unescape($value);
1.2 www 353: } split(/\&/,$reply);
354: }
355: }
1.14 www 356:
1.2 www 357: # ------------------------------------------------------------------- Sort this
1.3 www 358: @ids=sort bycat @ids;
1.2 www 359: # ------------------------------------------------------------------ Start page
1.1 www 360: $r->content_type('text/html');
361: $r->send_http_header;
1.5 www 362: $r->print(<<ENDHEAD);
363: <html>
364: <head>
365: <title>LON-CAPA Assessment Parameters</title>
366: <script>
1.13 www 367:
1.5 www 368: function pclose() {
369: parmwin=window.open("/adm/rat/empty.html","LONCAPAparms",
370: "height=350,width=350,scrollbars=no,menubar=no");
371: parmwin.close();
372: }
373:
374: function pjump(type,dis,value,marker,ret,call) {
1.13 www 375: document.parmform.pres_marker.value='';
1.6 www 376: parmwin=window.open("/adm/rat/parameter.html?type="+escape(type)
377: +"&value="+escape(value)+"&marker="+escape(marker)
378: +"&return="+escape(ret)
379: +"&call="+escape(call)+"&name="+escape(dis),"LONCAPAparms",
1.5 www 380: "height=350,width=350,scrollbars=no,menubar=no");
381:
382: }
1.13 www 383:
384: function psub() {
385: pclose();
386: if ((document.parmform.pres_value.value!='') &&
387: (document.parmform.pres_marker.value!='')) {
388: document.parmform.submit();
389: } else {
390: document.parmform.pres_value.value='';
391: document.parmform.pres_marker.value='';
392: }
393: }
394:
1.5 www 395: </script>
396: </head>
397: <body bgcolor="#FFFFFF" onUnload="pclose()">
398: <h1>Set Assessment Parameters</h1>
1.8 www 399: <form method="post" action="/adm/parmset" name="parmform">
400: <h2>Course: $ENV{'course.'.$ENV{'request.course.id'}.'.description'}</h2>
401: <b>
402: Section/Group:
1.12 www 403: <input type="text" value="$csec" size="6" name="csec">
1.8 www 404: <br>
405: For User
1.12 www 406: <input type="text" value="$uname" size="12" name="uname">
407: or ID
408: <input type="text" value="$id" size="12" name="id">
1.8 www 409: at Domain
1.12 www 410: <input type="text" value="$udom" size="6" name="udom">
1.8 www 411: </b>
1.12 www 412: <input type="submit" value="Display">
1.13 www 413: <input type="hidden" value='' name="pres_value">
414: <input type="hidden" value='' name="pres_type">
415: <input type="hidden" value='' name="pres_marker">
1.5 www 416: ENDHEAD
1.12 www 417:
418: $r->print($message.'<p>Sort list by ');
1.8 www 419: $r->print('<select name="fcat" onChange="this.form.submit();">');
1.16 ! www 420: $r->print('<option value="">Enclosing Map</option>');
! 421: map {
! 422: $r->print('<option value="'.$_.'"');
! 423: if ($fcat eq $_) { $r->print(' selected'); }
! 424: $r->print('>'.$allkeys{$_}.'</option>');
! 425: } keys %allkeys;
1.8 www 426: $r->print('</select>');
1.10 www 427: # ----------------------------------------------------------------- Start Table
428: my $coursespan=$csec?8:5;
1.9 www 429: $r->print(<<ENDTABLEHEAD);
430: <p><table border=2>
1.11 www 431: <tr><td colspan=5></td>
1.10 www 432: <th colspan=$coursespan>Any User</th>
1.9 www 433: ENDTABLEHEAD
1.10 www 434: if ($uname) {
435: $r->print("<th colspan=3 rowspan=2>User $uname at Domain $udom</th>");
436: }
437: $r->print(<<ENDTABLETWO);
1.11 www 438: <th rowspan=3>Parameter in Effect</th></tr><tr><td colspan=5></td>
1.10 www 439: <th colspan=2>Resource Level</th>
440: <th colspan=3>in Course</th>
441: ENDTABLETWO
1.9 www 442: if ($csec) {
1.10 www 443: $r->print("<th colspan=3>in Section/Group $csec</th>");
1.9 www 444: }
1.10 www 445: $r->print(<<ENDTABLEHEADFOUR);
1.11 www 446: </tr><tr><th>Assessment URL and Title</th><th>Type</th>
1.10 www 447: <th>Enclosing Map</th><th>Part No.</th><th>Parameter Name</th>
1.11 www 448: <th>default</th><th>from Enclosing Map</th>
1.10 www 449: <th>general</th><th>for Enclosing Map</th><th>for Resource</th>
450: ENDTABLEHEADFOUR
451: if ($csec) {
452: $r->print('<th>general</th><th>for Enclosing Map</th><th>for Resource</th>');
453: }
454: if ($uname) {
455: $r->print('<th>general</th><th>for Enclosing Map</th><th>for Resource</th>');
456: }
457: $r->print('</tr><tr>');
1.3 www 458: map {
1.4 www 459: # ------------------------------------------------------ Entry for one resource
1.8 www 460: @outpar=();
1.5 www 461: my $rid=$_;
462: my $thistitle='';
1.16 ! www 463: my %name= ();
! 464: my %part= ();
! 465: my %display=();
! 466: my %type= ();
! 467: my %default=();
! 468: my $uri=&Apache::lonnet::declutter($bighash{'src_'.$rid});
! 469:
1.4 www 470: map {
1.16 ! www 471: $part{$_}=&Apache::lonnet::metadata($uri,$_.'.part');
! 472: $name{$_}=&Apache::lonnet::metadata($uri,$_.'.name');
! 473: $display{$_}=&Apache::lonnet::metadata($uri,$_.'.display');
! 474: unless ($display{$_}) { $display{$_}=''; }
! 475: $display{$_}.=' ('.$name{$_}.')';
! 476: $default{$_}=&Apache::lonnet::metadata($uri,$_.'.default');
! 477: $type{$_}=&Apache::lonnet::metadata($uri,$_.'.type');
! 478: $thistitle=&Apache::lonnet::metadata($uri,$_.'.title');
! 479: } split(/\,/,$keyp{$rid});
! 480:
1.11 www 481: my $totalparms=scalar keys %name;
1.5 www 482: $r->print('<td rowspan='.$totalparms.'><tt><font size=-1>'.
1.16 ! www 483: join(' / ',split(/\//,$uri)).
! 484: '</font></tt><p><b>'.
1.5 www 485: $bighash{'title_'.$rid});
486: if ($thistitle) {
487: $r->print(' ('.$thistitle.')');
488: }
1.11 www 489: $r->print('</b></td>');
490: $r->print('<td rowspan='.$totalparms.'>'.$typep{$rid}.'</td>');
491: $r->print('<td rowspan='.$totalparms.'><tt><font size=-1>'.
1.10 www 492: join(' / ',split(/\//,$mapp{$rid})).'</font></tt></td>');
1.11 www 493: map {
494:
495: my $result=&parmval($part{$_}.'.'.$name{$_},$rid,$default{$_});
496:
1.16 ! www 497: $r->print("<td>$part{$_}</td><td>$display{$_}</td>");
! 498: my $thismarker=$_;
! 499: $thismarker=~s/^parameter\_//;
! 500: my $mprefix=$rid.'&'.$thismarker.'&';
1.13 www 501:
1.12 www 502: $r->print('<td'.(($result==11)?' bgcolor="#AAFFAA"':'').'>'.
503: &valout($outpar[11],$type{$_}).'</td>');
504: $r->print('<td'.(($result==10)?' bgcolor="#AAFFAA"':'').'>'.
505: &valout($outpar[10],$type{$_}).'</td>');
1.13 www 506:
1.12 www 507: $r->print('<td'.(($result==9)?' bgcolor="#AAFFAA"':'').'>'.
1.13 www 508: &plink($type{$_},$display{$_},$outpar[9],$mprefix.'9',
509: 'parmform.pres','psub').'</td>');
1.12 www 510: $r->print('<td'.(($result==8)?' bgcolor="#AAFFAA"':'').'>'.
1.13 www 511: &plink($type{$_},$display{$_},$outpar[8],$mprefix.'8',
512: 'parmform.pres','psub').'</td>');
1.12 www 513: $r->print('<td'.(($result==7)?' bgcolor="#AAFFAA"':'').'>'.
1.13 www 514: &plink($type{$_},$display{$_},$outpar[7],$mprefix.'7',
515: 'parmform.pres','psub').'</td>');
516:
1.9 www 517: if ($csec) {
1.12 www 518: $r->print('<td'.(($result==6)?' bgcolor="#AAFFAA"':'').'>'.
1.13 www 519: &plink($type{$_},$display{$_},$outpar[6],$mprefix.'6',
520: 'parmform.pres','psub').'</td>');
1.12 www 521: $r->print('<td'.(($result==5)?' bgcolor="#AAFFAA"':'').'>'.
1.13 www 522: &plink($type{$_},$display{$_},$outpar[5],$mprefix.'5',
523: 'parmform.pres','psub').'</td>');
1.12 www 524: $r->print('<td'.(($result==4)?' bgcolor="#AAFFAA"':'').'>'.
1.13 www 525: &plink($type{$_},$display{$_},$outpar[4],$mprefix.'4',
526: 'parmform.pres','psub').'</td>');
1.9 www 527: }
1.13 www 528:
1.9 www 529: if ($uname) {
1.12 www 530: $r->print('<td'.(($result==3)?' bgcolor="#AAFFAA"':'').'>'.
1.13 www 531: &plink($type{$_},$display{$_},$outpar[3],$mprefix.'3',
532: 'parmform.pres','psub').'</td>');
1.12 www 533: $r->print('<td'.(($result==2)?' bgcolor="#AAFFAA"':'').'>'.
1.13 www 534: &plink($type{$_},$display{$_},$outpar[2],$mprefix.'2',
535: 'parmform.pres','psub').'</td>');
1.12 www 536: $r->print('<td'.(($result==1)?' bgcolor="#AAFFAA"':'').'>'.
1.13 www 537: &plink($type{$_},$display{$_},$outpar[1],$mprefix.'1',
538: 'parmform.pres','psub').'</td>');
1.9 www 539: }
1.13 www 540:
1.11 www 541: $r->print('<td>'.&valout($outpar[$result],$type{$_}).'</td>');
1.5 www 542: $r->print("</tr>\n<tr>");
1.11 www 543: } sort keys %name;
1.4 www 544: # -------------------------------------------------- End entry for one resource
1.3 www 545: } @ids;
1.8 www 546: $r->print('</table></form></body></html>');
1.1 www 547: untie(%bighash);
1.2 www 548: untie(%parmhash);
1.1 www 549: }
550: } else {
551: # ----------------------------- Not in a course, or not allowed to modify parms
552: $ENV{'user.error.msg'}=
1.7 www 553: "/adm/parmset:opa:0:0:Cannot modify assessment parameters";
1.1 www 554: return HTTP_NOT_ACCEPTABLE;
555: }
556: return OK;
557: }
558:
559: 1;
560: __END__
561:
562:
563:
564:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>