upgrade
This commit is contained in:
38
main/gradebook/docs/example_csv.html
Normal file
38
main/gradebook/docs/example_csv.html
Normal file
@@ -0,0 +1,38 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>CSV file example</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<h1>CSV example for certificate importation</h1>
|
||||
This is an example file and this data can't be imported on your platform. The user id must correspond to users existing on your platform.<br />
|
||||
|
||||
The mandatory fields are emphasized. The other fields can be omitted. The separator is always the ";". If you want to overwrite the scores, you must choose the "Overwrite score" option.<br />
|
||||
|
||||
<h2>Complete CSV score importation file</h2>
|
||||
<b>username</b>;official_code;<b>lastname</b>;<b>firstname</b>;<b>score</b>;date<br />
|
||||
<b>bgate</b>;bgate;Gate;Bill;<b>2</b>;02/25/09 12:24 PM<br />
|
||||
<b>ltorvald</b>;ltorvald;Torvald;Linus;<b>10</b>;02/25/09 12:24 PM<br />
|
||||
<b>jsmith</b>;;<b>Smith</b>;<b>John</b>;<b>3</b>;<br />
|
||||
<br /><br />
|
||||
|
||||
|
||||
<h2>Minimal CSV score importation file</h2>
|
||||
This is possible to use a minimal file if you choose the "Ingnore error option" :
|
||||
<br /><br />
|
||||
username;score<br />
|
||||
bgate;2<br />
|
||||
ltorvald;10<br />
|
||||
jsmith;3<br />
|
||||
|
||||
<h2>Presence score importation file</h2>
|
||||
For the presence this is the same file except the score fied which is "0" for absent and "1" for present :
|
||||
<br /><br />
|
||||
<b>username</b>;official_code;<b>lastname</b>;<b>firstname</b>;<b>score</b>;date<br />
|
||||
<b>bgate</b>;bgate;Gate;Bill;<b>0</b>;02/25/09 12:24 PM<br />
|
||||
<b>ltorvald</b>;ltorvald;Torvald;Linus;<b>1</b>;02/25/09 12:24 PM<br />
|
||||
<b>jsmith</b>;;<b>Smith</b>;<b>John</b>;<b>0</b>;<br />
|
||||
|
||||
|
||||
|
||||
</BODY>
|
||||
|
||||
107
main/gradebook/docs/example_xml.html
Normal file
107
main/gradebook/docs/example_xml.html
Normal file
@@ -0,0 +1,107 @@
|
||||
<HTML>
|
||||
<head profile="http://dublincore.org/documents/dcq-html/">
|
||||
<title></title>
|
||||
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
||||
<meta content="" name="description" />
|
||||
<meta content="" name="keywords" />
|
||||
<link href="http://purl.org/dc/elements/1.1/" rel="schema.DC" />
|
||||
<meta content="" name="DC.title" />
|
||||
<meta content="" name="DC.subject" />
|
||||
<meta content="" name="DC.description" />
|
||||
<meta content="" name="DC.creator" />
|
||||
<meta content="" name="DC.date" />
|
||||
<meta content="" name="DC.language" />
|
||||
<style media="all" type="text/css">
|
||||
body {font-family:'Times New Roman',serif;font-size:16.0px}
|
||||
p.PreformattedText {margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;border:none;padding:0;font-family:'Times New Roman';font-size:13.333334px}
|
||||
</style>
|
||||
</head>
|
||||
<BODY>
|
||||
<h1>XML example for certificate importation</h1>
|
||||
This is an example file and this data can't be imported on your platform. The user id must correspond to users existing on your platform.<br />
|
||||
|
||||
The date and offical_code fiels aren't mandatory and can be omitted without any error. If you want to overwrite the scores, you must choose the "Overwrite score" option.<br />
|
||||
|
||||
<h2>Complete XML score importation file</h2>
|
||||
<p class="PreformattedText"><?xml version="1.0" encoding="ISO-8859-1"?></p>
|
||||
<p class="PreformattedText"> <XMLResults></p>
|
||||
<p class="PreformattedText"><Result></p>
|
||||
<p class="PreformattedText"> <username>bgate</username></p>
|
||||
<p class="PreformattedText"> <official_code>bgate</official_code></p>
|
||||
<p class="PreformattedText"> <lastname>Gate</lastname></p>
|
||||
<p class="PreformattedText"> <firstname>Bill</firstname></p>
|
||||
<p class="PreformattedText"> <score>2</score></p>
|
||||
<p class="PreformattedText"> <date>2009-2-25 12:28</date></p>
|
||||
<p class="PreformattedText"> </Result></p>
|
||||
<p class="PreformattedText"><Result></p>
|
||||
<p class="PreformattedText"> <username>ltorvald</username></p>
|
||||
<p class="PreformattedText"> <official_code>ltorvald</official_code></p>
|
||||
<p class="PreformattedText"> <lastname>Torvald</lastname></p>
|
||||
<p class="PreformattedText"> <firstname>Linus</firstname></p>
|
||||
<p class="PreformattedText"> <score>10</score></p>
|
||||
<p class="PreformattedText"> <date>2009-2-25 12:28</date></p>
|
||||
<p class="PreformattedText"> </Result></p>
|
||||
<p class="PreformattedText"><Result></p>
|
||||
<p class="PreformattedText"> <username>jsmith</username></p>
|
||||
<p class="PreformattedText"> <official_code></official_code></p>
|
||||
<p class="PreformattedText"> <lastname>Smith</lastname></p>
|
||||
<p class="PreformattedText"> <firstname>John</firstname></p>
|
||||
<p class="PreformattedText"> <score>3</score></p>
|
||||
<p class="PreformattedText"> <date></date></p>
|
||||
<p class="PreformattedText"> </Result></p>
|
||||
<p class="PreformattedText"></XMLResults></p>
|
||||
|
||||
<h2>Minimal XML score importation file</h2>
|
||||
This is possible to use a minimal file if you choose the "Ingnore error option" :
|
||||
<br /><br />
|
||||
<p class="PreformattedText"><?xml version="1.0" encoding="ISO-8859-1"?></p>
|
||||
<p class="PreformattedText"> <XMLResults></p>
|
||||
<p class="PreformattedText"><Result></p>
|
||||
<p class="PreformattedText"> <username>bgate</username></p>
|
||||
<p class="PreformattedText"> <score>2</score></p>
|
||||
<p class="PreformattedText"> </Result></p>
|
||||
<p class="PreformattedText"><Result></p>
|
||||
<p class="PreformattedText"> <username>ltorvald</username></p>
|
||||
<p class="PreformattedText"> <score>10</score></p>
|
||||
<p class="PreformattedText"> </Result></p>
|
||||
<p class="PreformattedText"><Result></p>
|
||||
<p class="PreformattedText"> <username>jsmith</username></p>
|
||||
<p class="PreformattedText"> <score>3</score></p>
|
||||
<p class="PreformattedText"> </Result></p>
|
||||
<p class="PreformattedText"></XMLResults></p>
|
||||
|
||||
<h2>Complete XML presence importation file</h2>
|
||||
For the presence this is the same file except the score fied which is "0" for absent and "1" for present :
|
||||
<br /><br />
|
||||
<p class="PreformattedText"><?xml version="1.0" encoding="ISO-8859-1"?></p>
|
||||
<p class="PreformattedText"> <XMLResults></p>
|
||||
<p class="PreformattedText"><Result></p>
|
||||
<p class="PreformattedText"> <username>bgate</username></p>
|
||||
<p class="PreformattedText"> <official_code>bgate</official_code></p>
|
||||
<p class="PreformattedText"> <lastname>Gate</lastname></p>
|
||||
<p class="PreformattedText"> <firstname>Bill</firstname></p>
|
||||
<p class="PreformattedText"> <score>0</score></p>
|
||||
<p class="PreformattedText"> <date>2009-2-25 12:28</date></p>
|
||||
<p class="PreformattedText"> </Result></p>
|
||||
<p class="PreformattedText"><Result></p>
|
||||
<p class="PreformattedText"> <username>ltorvald</username></p>
|
||||
<p class="PreformattedText"> <official_code>ltorvald</official_code></p>
|
||||
<p class="PreformattedText"> <lastname>Torvald</lastname></p>
|
||||
<p class="PreformattedText"> <firstname>Linus</firstname></p>
|
||||
<p class="PreformattedText"> <score>1</score></p>
|
||||
<p class="PreformattedText"> <date>2009-2-25 12:28</date></p>
|
||||
<p class="PreformattedText"> </Result></p>
|
||||
<p class="PreformattedText"><Result></p>
|
||||
<p class="PreformattedText"> <username>jsmith</username></p>
|
||||
<p class="PreformattedText"> <official_code></official_code></p>
|
||||
<p class="PreformattedText"> <lastname>Smith</lastname></p>
|
||||
<p class="PreformattedText"> <firstname>John</firstname></p>
|
||||
<p class="PreformattedText"> <score>0</score></p>
|
||||
<p class="PreformattedText"> <date></date></p>
|
||||
<p class="PreformattedText"> </Result></p>
|
||||
<p class="PreformattedText"></XMLResults></p>
|
||||
|
||||
<br /><br />
|
||||
You could also use a minimal XML file for the presence.
|
||||
</BODY>
|
||||
|
||||
7
main/gradebook/docs/index.html
Normal file
7
main/gradebook/docs/index.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0; url=../gradebook.php">
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user