forked from tsugiproject/koseu-site
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
53 lines (51 loc) · 1.54 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
use \Tsugi\Util\Net;
use \Tsugi\Core\LTIX;
use \Tsugi\UI\Output;
require "top.php";
require "nav.php";
?>
<div id="container">
<h1>Hosting Your Own MOOC</h1>
<?php if ( isset($_SESSION['id']) ) { ?>
<p>
Welcome to our Massive Open Online Course (MOOC). Now that you have logged in, you have access to
course-style features of this web site.
<?php } else { ?>
<p>
Hello and welcome to this MOOC web site.
<ul>
<li>
You can add structures videos, course materials, and LTI tools under <a href="lessons">Lessons</a>.
You do this by editing the file <a href="lessons.json" target="_blank">lessons.json</a>.
</li>
<li>
Once you have login configured, you can
<a href="tsugi/login.php">log in</a> to this site and get
a grade book, access to autograded assignments, see a map of your fellow students and maybe earn a badge or two.
</li>
<li>
Privacy is important so there is a sample
<a href="privacy">Privacy Policy</a> that is provided as a starting point.
</li>
</ul>
<?php } ?>
This site uses <a href="http://www.tsugi.org" target="_blank">Tsugi</a>
framework to embed a learning
management system into this site.
If you are interested in collaborating
to build these kinds of sites for yourself, please see the
<a href="http://www.tsugi.org" target="_blank">tsugi.org</a> website.
The skelton content for this site is available in
<a href="https://github.com/tsugiproject/koseu-site" target="_blank">GitHub</a>.
</p>
<!--
<?php
echo("IP Address: ".Net::getIP()."\n");
echo(Output::safe_var_dump($_SESSION));
var_dump($USER);
?>
-->
</div>
<?php
require "foot.php";