[LON-CAPA-cvs] cvs: rat /client parameter.html
raeburn
raeburn@source.lon-capa.org
Mon, 17 May 2010 22:31:29 -0000
raeburn Mon May 17 22:31:29 2010 EDT
Modified files:
/rat/client parameter.html
Log:
- Bug 6282. Setting allowed file extensions to "Office Document" in pop-up
window when setting "uploadedfiletypes" parameter sets extensions to:
doc,docx,xls,xlsx,ppt,pptx
Index: rat/client/parameter.html
diff -u rat/client/parameter.html:1.57 rat/client/parameter.html:1.58
--- rat/client/parameter.html:1.57 Sun Feb 28 23:48:10 2010
+++ rat/client/parameter.html Mon May 17 22:31:29 2010
@@ -5,7 +5,7 @@
The LearningOnline Network with CAPA
Parameter Input Window
//
-// $Id: parameter.html,v 1.57 2010/02/28 23:48:10 raeburn Exp $
+// $Id: parameter.html,v 1.58 2010/05/17 22:31:29 raeburn Exp $
//
// Copyright Michigan State University Board of Trustees
//
@@ -671,8 +671,9 @@
' type="radio" '+callradiostringeval('png,jpg,jpeg,gif'));
if (svalue=='png,jpg,jpeg,gif') { choicewrite(' checked="checked"'); }
choicewrite(' /> Picture File</label><br />');
- choicewrite('<label><input name="radstringval" value="doc,xls,ppt"'+
- ' type="radio" '+callradiostringeval('doc,xls,ppt'));
+ choicewrite('<label><input name="radstringval" value="doc,docx,xls,xlsx,ppt,pptx"'+
+ ' type="radio" '+callradiostringeval('doc,docx,xls,xlsx,ppt,pptx'));
+ if (svalue=='doc,docx,xls,xlsx,ppt,pptx') { choicewrite(' checked="checked"'); }
if (svalue=='doc,xls,ppt') { choicewrite(' checked="checked"'); }
choicewrite(' /> Office Document</label><br />');
choicewrite('<input name="stringval" size="20" value="'+escapeHTML(svalue)+