]> git.mjollnir.org Git - moodle.git/commitdiff
First version of HTML documentation
authormartin <martin>
Thu, 6 Dec 2001 04:23:25 +0000 (04:23 +0000)
committermartin <martin>
Thu, 6 Dec 2001 04:23:25 +0000 (04:23 +0000)
17 files changed:
doc/CHANGES [deleted file]
doc/COPYRIGHT.txt [moved from doc/COPYRIGHT with 100% similarity]
doc/INSTALL [deleted file]
doc/LICENCE [deleted file]
doc/NOTES [deleted file]
doc/ROADMAP [deleted file]
doc/background.html [new file with mode: 0755]
doc/config.php [deleted file]
doc/contents.html [new file with mode: 0755]
doc/credits.html [new file with mode: 0755]
doc/developer.html [new file with mode: 0755]
doc/future.html [new file with mode: 0755]
doc/index.html [new file with mode: 0644]
doc/install.html [new file with mode: 0755]
doc/intro.html [new file with mode: 0755]
doc/licence.html [new file with mode: 0755]
doc/teacher.html [new file with mode: 0755]

diff --git a/doc/CHANGES b/doc/CHANGES
deleted file mode 100644 (file)
index de3a654..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-0.1
----
-
-Starting to look more complete.
-Added news posting and email forwarding of news items.
-Changed listing of modules to A,B,C,D
-
-
similarity index 100%
rename from doc/COPYRIGHT
rename to doc/COPYRIGHT.txt
diff --git a/doc/INSTALL b/doc/INSTALL
deleted file mode 100644 (file)
index 871d481..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-===========================================================================
-==  MOODLE
-== 
-==  OPEN-SOURCE SOFTWARE FOR INTERNET-BASED EDUCATION
-==
-==  Copyright (c) Martin Dougiamas, 2001 
-==
-==  Freely available under the GNU License
-==
-===========================================================================
-
-
-Directory structure
-===================
-
-config.php  - the only file you need to edit to get started
-
-lib         - libraries of core Moodle code
-
-user        - code to display and manage users
-course      - code to display and manage courses 
-login       - code to handle login and account creation
-admin       - code to administrate the whole server
-pix         - Generic site graphics are in here
-
-mod         - All Moodle modules are in here
-theme       - All Moodle themes are in here
-
-
-
-HOW TO INSTALL MOODLE
-=====================
-
-1.  SET UP A DATABASE
-
-    Create an empty database (eg "moodle") in your database system
-    along with a special user (eg "moodle") that has access to that 
-    database.  (Don't use the "root" user for the moodle database - 
-    it's a security hazard).
-
-    eg for MySQL under a Unix system:
-
-    # mysql -u root -p 
-    > CREATE DATABASE moodle;
-    > GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,INDEX,ALTER ON moodle.* 
-      TO moodle@localhost IDENTIFIED BY 'yourpassword';
-    > quit
-    # mysqladmin -p reload
-
-
-2.  EDIT config.php
-    Edit the configuration file, putting in the database details that you 
-    just defined, as well as changing the site address and so on.
-
-    Make sure you specify what type of database you are using.
-
-    eg:
-
-    $CFG->wwwroot   = "http://example.com"; 
-    $CFG->dbtype    = "mysqlt";      // eg mysql, mysqlt, postgres ... etc
-    $CFG->dbhost    = "localhost";   // eg localhost 
-    $CFG->dbname    = "moodle";      // eg moodle
-    $CFG->dbuser    = "moodle";
-    $CFG->dbpass    = "yourpassword";
-    
-
-3.  GO TO THE ADMIN PAGE
-
-    The admin page should now be working at:  http://example.com/admin  
-
-    The first time you access this page, Moodle will automagically 
-    create all the tables it needs within your database.
-
-    You will then be asked to create an administration user for
-    future access to the admin pages..  
-    
-    All your further configuration of Moodle can now be done using the
-    administration web pages, including:
-      
-        - creating and deleting courses
-        - administering teacher accounts
-        - changing site-wide settings
-        - adding/deleting modules
-    
-    Configuration of each course is done by the teachers of that course.
-    See the teacher documentation for more information about that.
-    
-    Have fun and send me feedback so we can continue improving Moodle!
-        
-
-Cheers!
-
-Martin Dougiamas
-martin@moodle.com
diff --git a/doc/LICENCE b/doc/LICENCE
deleted file mode 100644 (file)
index 5d18622..0000000
+++ /dev/null
@@ -1,281 +0,0 @@
-                   GNU GENERAL PUBLIC LICENSE
-                      Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
-                       59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-                           Preamble
-
-  The licenses for most software are designed to take away your
-freedom to share and change it.  By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users.  This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it.  (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.)  You can apply it to
-your programs, too.
-
-  When we speak of free software, we are referring to freedom, not
-price.  Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
-  To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
-
-  For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have.  You must make sure that they, too, receive or can get the
-source code.  And you must show them these terms so they know their
-rights.
-
-  We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
-  Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software.  If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
-  Finally, any free program is threatened constantly by software
-patents.  We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary.  To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
-
-  The precise terms and conditions for copying, distribution and
-modification follow.
-\f
-                   GNU GENERAL PUBLIC LICENSE
-   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
-  0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License.  The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language.  (Hereinafter, translation is included without limitation in
-the term "modification".)  Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope.  The act of
-running the Program is not restricted, and the output from the Program
-is covered only if its contents constitute a work based on the
-Program (independent of having been made by running the Program).
-Whether that is true depends on what the Program does.
-
-  1. You may copy and distribute verbatim copies of the Program's
-source code as you receive it, in any medium, provided that you
-conspicuously and appropriately publish on each copy an appropriate
-copyright notice and disclaimer of warranty; keep intact all the
-notices that refer to this License and to the absence of any warranty;
-and give any other recipients of the Program a copy of this License
-along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and
-you may at your option offer warranty protection in exchange for a fee.
-
-  2. You may modify your copy or copies of the Program or any portion
-of it, thus forming a work based on the Program, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
-    a) You must cause the modified files to carry prominent notices
-    stating that you changed the files and the date of any change.
-
-    b) You must cause any work that you distribute or publish, that in
-    whole or in part contains or is derived from the Program or any
-    part thereof, to be licensed as a whole at no charge to all third
-    parties under the terms of this License.
-
-    c) If the modified program normally reads commands interactively
-    when run, you must cause it, when started running for such
-    interactive use in the most ordinary way, to print or display an
-    announcement including an appropriate copyright notice and a
-    notice that there is no warranty (or else, saying that you provide
-    a warranty) and that users may redistribute the program under
-    these conditions, and telling the user how to view a copy of this
-    License.  (Exception: if the Program itself is interactive but
-    does not normally print such an announcement, your work based on
-    the Program is not required to print an announcement.)
-\f
-These requirements apply to the modified work as a whole.  If
-identifiable sections of that work are not derived from the Program,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works.  But when you
-distribute the same sections as part of a whole which is a work based
-on the Program, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program
-with the Program (or with a work based on the Program) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
-  3. You may copy and distribute the Program (or a work based on it,
-under Section 2) in object code or executable form under the terms of
-Sections 1 and 2 above provided that you also do one of the following:
-
-    a) Accompany it with the complete corresponding machine-readable
-    source code, which must be distributed under the terms of Sections
-    1 and 2 above on a medium customarily used for software interchange; or,
-
-    b) Accompany it with a written offer, valid for at least three
-    years, to give any third party, for a charge no more than your
-    cost of physically performing source distribution, a complete
-    machine-readable copy of the corresponding source code, to be
-    distributed under the terms of Sections 1 and 2 above on a medium
-    customarily used for software interchange; or,
-
-    c) Accompany it with the information you received as to the offer
-    to distribute corresponding source code.  (This alternative is
-    allowed only for noncommercial distribution and only if you
-    received the program in object code or executable form with such
-    an offer, in accord with Subsection b above.)
-
-The source code for a work means the preferred form of the work for
-making modifications to it.  For an executable work, complete source
-code means all the source code for all modules it contains, plus any
-associated interface definition files, plus the scripts used to
-control compilation and installation of the executable.  However, as a
-special exception, the source code distributed need not include
-anything that is normally distributed (in either source or binary
-form) with the major components (compiler, kernel, and so on) of the
-operating system on which the executable runs, unless that component
-itself accompanies the executable.
-
-If distribution of executable or object code is made by offering
-access to copy from a designated place, then offering equivalent
-access to copy the source code from the same place counts as
-distribution of the source code, even though third parties are not
-compelled to copy the source along with the object code.
-\f
-  4. You may not copy, modify, sublicense, or distribute the Program
-except as expressly provided under this License.  Any attempt
-otherwise to copy, modify, sublicense or distribute the Program is
-void, and will automatically terminate your rights under this License.
-However, parties who have received copies, or rights, from you under
-this License will not have their licenses terminated so long as such
-parties remain in full compliance.
-
-  5. You are not required to accept this License, since you have not
-signed it.  However, nothing else grants you permission to modify or
-distribute the Program or its derivative works.  These actions are
-prohibited by law if you do not accept this License.  Therefore, by
-modifying or distributing the Program (or any work based on the
-Program), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Program or works based on it.
-
-  6. Each time you redistribute the Program (or any work based on the
-Program), the recipient automatically receives a license from the
-original licensor to copy, distribute or modify the Program subject to
-these terms and conditions.  You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
-this License.
-
-  7. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License.  If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Program at all.  For example, if a patent
-license would not permit royalty-free redistribution of the Program by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under
-any particular circumstance, the balance of the section is intended to
-apply and the section as a whole is intended to apply in other
-circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system, which is
-implemented by public license practices.  Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-\f
-  8. If the distribution and/or use of the Program is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Program under this License
-may add an explicit geographical distribution limitation excluding
-those countries, so that distribution is permitted only in or among
-countries not thus excluded.  In such case, this License incorporates
-the limitation as if written in the body of this License.
-
-  9. The Free Software Foundation may publish revised and/or new versions
-of the General Public License from time to time.  Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-Each version is given a distinguishing version number.  If the Program
-specifies a version number of this License which applies to it and "any
-later version", you have the option of following the terms and conditions
-either of that version or of any later version published by the Free
-Software Foundation.  If the Program does not specify a version number of
-this License, you may choose any version ever published by the Free Software
-Foundation.
-
-  10. If you wish to incorporate parts of the Program into other free
-programs whose distribution conditions are different, write to the author
-to ask for permission.  For software which is copyrighted by the Free
-Software Foundation, write to the Free Software Foundation; we sometimes
-make exceptions for this.  Our decision will be guided by the two goals
-of preserving the free status of all derivatives of our free software and
-of promoting the sharing and reuse of software generally.
-
-                           NO WARRANTY
-
-  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
-  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
-
-                    END OF TERMS AND CONDITIONS
-
diff --git a/doc/NOTES b/doc/NOTES
deleted file mode 100644 (file)
index b373186..0000000
--- a/doc/NOTES
+++ /dev/null
@@ -1,3 +0,0 @@
-weeks dates start from 0:00 Monday morning
-
-
diff --git a/doc/ROADMAP b/doc/ROADMAP
deleted file mode 100644 (file)
index 1096744..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-Roadmap
--------
-
-Here are some of the directions I would like to take
-Moodle now it has been released.
-
-- Code audit and clean up.  Standardise tabs, wordwrap.
-  Refactor a few bits.
-
-- Full internationalisation.  To start with I've hardcoded 
-  all the strings just to get things started and reduce 
-  obfuscation during development.  Modular "language packs"
-  need to implemented instead. eg using STPhp.
-
-
diff --git a/doc/background.html b/doc/background.html
new file mode 100755 (executable)
index 0000000..e239898
--- /dev/null
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">\r
+<HTML>\r
+<HEAD>\r
+  <TITLE>Moodle Docs: Background</TITLE>\r
+  <LINK REL="stylesheet" HREF="../theme/standard/styles.css" TYPE="TEXT/CSS">\r
+</HEAD>\r
+<BODY BGCOLOR="#ffffff">\r
+  \r
+<H2>Background</H2>\r
\r
+<P>Right now, Moodle is still in early development. Some features are unfinished, \r
+  and there is a way to go yet before it could be compared to commercial tools \r
+  such as WebCT or Blackboard.</P>\r
+<P>That said, it has already been used to successfully conduct a postgraduate \r
+  course at Curtin University of Technology, and many improvements are planned \r
+  in the near future.</P>\r
+<P>&nbsp;</P>\r
+\r
+<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="index.html" TARGET="_top">Moodle Documentation</A></FONT></P>\r
+\r
+</BODY>\r
+</HTML>\r
diff --git a/doc/config.php b/doc/config.php
deleted file mode 100644 (file)
index 792570e..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<?PHP // $Id$
-///////////////////////////////////////////////////////////////////////////
-//
-// Moodle configuration file
-// 
-// This file should be located in the top-level directory.
-//
-///////////////////////////////////////////////////////////////////////////
-
-// Site configuration variables are all stored in the CFG object.
-
-// First, we need to configure the database where all Moodle data 
-// will be stored.  This database must already have been created
-// and a username/password created to access it.   See INSTALL doc.
-
-$CFG->dbtype    = "mysql";       // eg mysql, postgres, oracle, access etc 
-$CFG->dbhost    = "localhost";   // eg localhost 
-$CFG->dbname    = "moodle";      // eg moodle
-$CFG->dbuser    = "username";
-$CFG->dbpass    = "password";
-
-
-// Next you need to tell Moodle where it is, and where it can save files.
-
-$CFG->wwwroot   = "http://example.com/moodle";
-$CFG->dirroot   = "/web/moodle";
-$CFG->dataroot  = "/home/moodledata";    // Web-server writeable
-
-
-// Choose a theme from the "themes" folder.  Default theme is "standard".
-
-$CFG->theme     = "standard";
-
-
-// Give the full name (eg mail.example.com) of an SMTP server that the 
-// web server machine has access to (to send mail).  Default: "localhost".
-
-$CFG->smtphost  = "mail.example.com";
-
-
-// You should not need to change anything below this line
-///////////////////////////////////////////////////////////////////////////
-
-$CFG->libdir    = "$CFG->dirroot/lib";
-
-require("$CFG->libdir/setup.php");  // Sets up all libraries, sessions etc
-
-?>
diff --git a/doc/contents.html b/doc/contents.html
new file mode 100755 (executable)
index 0000000..6e7503f
--- /dev/null
@@ -0,0 +1,21 @@
+<HEAD>\r
+    <!-- $Id$ -->\r
+    <TITLE>Moodle Docs: Table of Contents</TITLE>\r
+       <LINK REL="stylesheet" HREF="../theme/standard/styles.css" TYPE="TEXT/CSS">\r
+</HEAD>\r
+\r
+<BODY BGCOLOR="#FFFFFF">\r
+    <FONT SIZE=2 FACE="san-serif">\r
+    <P><B>Moodle Documentation</B></P>\r
+    <LI><A TARGET="main" HREF="intro.html">Introduction</A>\r
+    <LI><A TARGET="main" HREF="background.html">Background</A>\r
+    <LI><A TARGET="main" HREF="install.html">Installation</A>\r
+    \r
+<LI><A TARGET="main" HREF="teacher.html">Teacher Manual</A> \r
+<LI><A TARGET="main" HREF="developer.html">Developer Manual</A> \r
+<LI><A TARGET="main" HREF="future.html">Future</A>\r
+<LI><A TARGET="main" HREF="credits.html">Credits</A> \r
+<LI><A TARGET="main" HREF="licence.html">License</A>\r
+</FONT>\r
+</BODY>\r
+\r
diff --git a/doc/credits.html b/doc/credits.html
new file mode 100755 (executable)
index 0000000..4e4a40c
--- /dev/null
@@ -0,0 +1,102 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">\r
+<HTML>\r
+<HEAD>\r
+  <TITLE>Moodle Docs: Credits</TITLE>\r
+  <LINK REL="stylesheet" HREF="../theme/standard/styles.css" TYPE="TEXT/CSS">\r
+</HEAD>\r
+  <BODY BGCOLOR="#ffffff">\r
+        \r
+<H2>Credits</H2>\r
+       \r
+<P><B>Moodle </B>itself is Copyright &copy; 2001, <A HREF="http://dougiamas.com/">\r
+  Martin Dougiamas</A>. &nbsp;It is distributed under the <A HREF="licence.html">\r
+  GNU Public License</A>.</P>\r
+   \r
+<H3>Other contributors</H3>\r
+   \r
+<UL>\r
+    <LI><B>Dr Peter Taylor</B>, at Curtin University of Technology, for working \r
+with the prototype and making many useful suggestions</LI>\r
+   \r
+</UL>\r
+  <BR>\r
+   \r
+<P></P>\r
+   \r
+<H3>Moodle libraries</H3>\r
+   \r
+<BLOCKQUOTE>      \r
+  <P>Some of Moodle's libraries were written by other people, and are being \r
+redistributed as part of Moodle under the LGPL. &nbsp;Copyright information \r
+from this software is included below:</P>\r
+       \r
+  <P><B>ADOdb &nbsp; </B>- &nbsp;lib/adodb<BR>\r
+    </P>\r
+       \r
+  <BLOCKQUOTE>          \r
+    <P>Database abstraction library for MySQL, PostgreSQL, MSSQL, Oracle,\r
+Interbase, Foxpro, Access, ADO, Sybase, DB2 and ODBC.</P>\r
+     \r
+    <P>Version: 1.54 15 Nov 2001&nbsp;<BR>\r
+  Copyright &copy;  2000, 2001 John Lim (jlim@natsoft.com.my)<BR>\r
+  License: Dual LGPL and BSD-style<BR>\r
+  URL: &nbsp;<A HREF="http://php.weblogs.com/adodb" TARGET="newpage">http://php.weblogs.com/adodb</A><BR>\r
+      </P>\r
+      </BLOCKQUOTE>\r
+     \r
+    <P><B>Graph Class</B> &nbsp; - &nbsp;lib/graphlib.php </P>\r
+           \r
+    <BLOCKQUOTE>              \r
+      <P>Class to draw line, point, bar, and area graphs, including numeric\r
+ x-axis and double y-axis.</P>\r
+       \r
+      <P>  Version: 1.6.3<BR>\r
+  Copyright &copy;&nbsp;2000&nbsp; Herman Veluwenkamp,&nbsp;hermanV@mindless.com<BR>\r
+  License: LGPL<BR>\r
+        </P>\r
+        </BLOCKQUOTE>\r
+               \r
+      <P><B>PHP mailer</B> &nbsp; - &nbsp;lib/class.phpmailer.php<BR>\r
+        </P>\r
+              \r
+      <BLOCKQUOTE>Class for sending email using either sendmail, PHP mail(), \r
+or SMTP.&nbsp; Methods are based upon the standard AspEmail(tm) classes.<BR>\r
+         <BR>\r
+          Version 1.25, Created 07/02/2001<BR>\r
+  Copyright &copy; 2001 Brent R. Matzelle &lt;bmatzelle@yahoo.com&gt;<BR>\r
+  License: LGPL<BR>\r
+          <BR>\r
+          </BLOCKQUOTE>\r
+                   \r
+        <P><B>SMTP class &nbsp; </B>- &nbsp;lib/class.smtp.php<BR>\r
+          </P>\r
+                   \r
+        <BLOCKQUOTE>Class that can be used to connect and communicate with\r
+ any SMTP server. <BR>\r
+  It implements all the SMTP functions defined in RFC821 except TURN.<BR>\r
+           <BR>\r
+ Version: 03/26/2001 <BR>\r
+ Copyright &copy; 2001 &nbsp;Chris Ryan &lt;chris@greatbridge.com&gt;<BR>\r
+           <BR>\r
+            </BLOCKQUOTE>\r
+                       \r
+          <P><B>PHP Simple Excel File Generator</B>&nbsp; - &nbsp; lib/psxlsgen.php</P>\r
+                       \r
+          <BLOCKQUOTE>Class to generate very simple MS Excel files (xls)\r
+via PHP.<BR>\r
+              <BR>\r
+  Version: 0.3b<BR>\r
+ Copyright &copy; 2001 &nbsp;Erol Ozcan &lt;eozcan@superonline.com&gt;<BR>\r
+ License: GNU LGPL<BR>\r
+  URL: <A HREF="http://psxlsgen.sourceforge.net">http://psxlsgen.sourceforge.net</A><BR>\r
+              </BLOCKQUOTE>\r
+              </BLOCKQUOTE>\r
+                           \r
+            <BLOCKQUOTE><BR>\r
+                </BLOCKQUOTE>\r
+                               \r
+              <P ALIGN="CENTER"><FONT SIZE="1"><A HREF="index.html" TARGET="_top">Moodle Documentation</A></FONT></P>\r
+\r
+                                    \r
+              </BODY>\r
+              </HTML>\r
diff --git a/doc/developer.html b/doc/developer.html
new file mode 100755 (executable)
index 0000000..5033d1b
--- /dev/null
@@ -0,0 +1,22 @@
+<HEAD>\r
+    <TITLE>Moodle Docs: Developers Manual</TITLE>\r
+       <LINK REL="stylesheet" HREF="../theme/standard/styles.css" TYPE="TEXT/CSS">\r
+</HEAD>\r
+\r
+<BODY BGCOLOR="#FFFFFF">\r
+\r
+<H2>Developers Manual</H2>\r
+<H3>Moodle architecture</H3>\r
+<P>This section will describe the overall architecture for Moodle and some of \r
+  the major design decisions that were made during development.</P>\r
+<P>&nbsp;</P>\r
+<H3>Plug-in modules</H3>\r
+<P>Moodle has been designed to be modular, so that new learning activities can \r
+  be easily written and &quot;plugged-in&quot; to a Moodle installation by the \r
+  system administrator.</P>\r
+<P>This section will describe the Plug-in API and provide a simple example of \r
+  a Moodle plug-in.</P>\r
+<P>&nbsp;</P>\r
+<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="index.html" TARGET="_top">Moodle Documentation</A></FONT></P>\r
+\r
+</BODY>\r
diff --git a/doc/future.html b/doc/future.html
new file mode 100755 (executable)
index 0000000..ba4784e
--- /dev/null
@@ -0,0 +1,63 @@
+<HEAD>\r
+    <TITLE>Moodle Docs: Future</TITLE>\r
+       <LINK REL="stylesheet" HREF="../theme/standard/styles.css" TYPE="TEXT/CSS">\r
+</HEAD>\r
+\r
+<BODY BGCOLOR="#FFFFFF">\r
+\r
+<H2>Future</H2>\r
+<P>As Moodle gains in maturity, I hope its directions are strongly influenced \r
+  by the community of developers and users.</P>\r
+<P>All unfinished features, proposed improvements and feature requests will be \r
+  gathered on this page.</P>\r
+<P><B>General</B></P>\r
+<UL>\r
+  <LI>Format of existing code should be checked and cleaned up (tabs etc). Define \r
+    a style guide.</LI>\r
+  <LI>All table inserts should be converted to use the insert_record function.</LI>\r
+  <LI>Full internationalisation of texts using modular "language packs". eg <A HREF="http://stphp.sourceforge.net/">STPhp</A></LI>\r
+  <LI>Implement pop-up help windows all over the site (from tiny help icons)</LI>\r
+  <LI>Users can specify their timezone so all times displayed are in local time \r
+    format.</LI>\r
+  <LI>Each course has a private &quot;teacher forum&quot; where teachers keep \r
+    notes on the course for action research purposes. Messages can be posted here \r
+    from any module in the course, and they contain links back to their relevant \r
+    modules.</LI>\r
+  <LI>Assessment system: each module can be marked per student. All assessments \r
+    can be combined on one page.</LI>\r
+  <LI>More course formats.</LI>\r
+  <LI>Better WYSIWYG editing of texts (using Java or Flash).</LI>\r
+  <LI>Make this page more interactive. :-)</LI>\r
+</UL>\r
+<P><B>Assignment module</B></P>\r
+<UL>\r
+  <LI>Module to allow submission and assessment of assignments (to be written).</LI>\r
+</UL>\r
+<P><B>Chat module</B></P>\r
+<UL>\r
+  <LI>Re-implement chat room using Flash, and use user pictures.</LI>\r
+</UL>\r
+<P><B>Choice module</B></P>\r
+<UL>\r
+  <LI>Add capability for more than two choices.</LI>\r
+  <LI>Add teacher option of publishing results (ie a poll).</LI>\r
+</UL>\r
+<P><B>Discussion module</B></P>\r
+<UL>\r
+  <LI>Discussion forums need to have abbreviated topic display and pagination \r
+    for when they get very big.</LI>\r
+  <LI>Allow files to be attached to discussion posts (images etc).</LI>\r
+</UL>\r
+<P><B>Journal module</B></P>\r
+<UL>\r
+  <LI>Journal summary index should show teacher remarks.</LI>\r
+</UL>\r
+<P><B>Survey module</B></P>\r
+<UL>\r
+  <LI>Allow teachers to create and share surveys.</LI>\r
+</UL>\r
+<P ALIGN="CENTER">Send your additions, suggestions to <A HREF="mailto:martin@moodle.com">Martin \r
+  Dougiamas</A>.</P>\r
+<P ALIGN="CENTER">&nbsp;</P>\r
+<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="index.html" TARGET="_top">Moodle Documentation</A></FONT></P>\r
+</BODY>\r
diff --git a/doc/index.html b/doc/index.html
new file mode 100644 (file)
index 0000000..99d87fb
--- /dev/null
@@ -0,0 +1,8 @@
+<HEAD>
+    <TITLE>Moodle Documentation</TITLE>
+</HEAD>
+
+<FRAMESET COLS="200,*">
+    <FRAME NAME="contents" SRC="contents.html">
+    <FRAME NAME="main" SRC="intro.html">
+</FRAMESET>
diff --git a/doc/install.html b/doc/install.html
new file mode 100755 (executable)
index 0000000..bbd13c9
--- /dev/null
@@ -0,0 +1,228 @@
+<HEAD>\r
+    <TITLE>Moodle Docs: Installation</TITLE>\r
+       <LINK REL="stylesheet" HREF="../theme/standard/styles.css" TYPE="TEXT/CSS">\r
+</HEAD>\r
+\r
+<BODY BGCOLOR="#FFFFFF">\r
+\r
+<H2>Installing Moodle</H2>\r
+<P>This guide explains how to install Moodle for the first time.</P>\r
+<P>Sections in this document:</P>\r
+<OL>\r
+  <LI><A HREF="#requirements">Requirements</A></LI>\r
+  <LI><A HREF="#downloading">Download</A></LI>\r
+  <LI><A HREF="#site">Site structure</A></LI>\r
+  <LI><A HREF="#data">Create a data directory</A></LI>\r
+  <LI><A HREF="#database">Create a database</A></LI>\r
+  <LI><A HREF="#config">Edit config.php</A></LI>\r
+  <LI><A HREF="#admin">Go to the admin page</A></LI>\r
+  <LI><A HREF="#cron">Set up cron</A></LI>\r
+  <LI><A HREF="#course">Create a new course</A></LI>\r
+</OL>\r
+<H3><A NAME="requirements"></A>Requirements</H3>\r
+<P>Moodle is primarily developed in Linux and MacOSX environments using PHP, Apache \r
+  and MySQL. However, it has been designed to run on as many platforms as possible.</P>\r
+<P>All you should need are:</P>\r
+<UL>\r
+  <LI>a working installation of <A HREF="http://www.php.net/">PHP</A> (version \r
+    4.0.6 or better), including the <A HREF="http://www.boutell.com/gd/">GD</A> \r
+    library for manipulating images.</LI>\r
+  <LI>a working database server (<A HREF="http://www.mysql.com/">MySQL</A>, PostgreSQL, \r
+    MSSQL, Oracle, Interbase, Foxpro, Access, ADO, Sybase, DB2 or ODBC)</LI>\r
+</UL>\r
+<P>The quickest way to satisfy these requirements on Windows platforms is to download \r
+  <A HREF="http://www.phpgeek.com/">PHPTriad</A> or <A HREF="http://www.foxserv.net/">FoxServ</A>, \r
+  which will install Apache, PHP, and MySQL for you.</P>\r
+<P>&nbsp;</P>\r
+<H3><A NAME="downloading"></A>Download</H3>\r
+<P>There are two ways to get Moodle, as a compressed package and via CVS. These \r
+  are explained in detail on the download page on <A HREF="http://moodle.com/">http://moodle.com/</A></P>\r
+<P>After downloading and unpacking the archive, or checking out the files via \r
+  CVS, you will be left with a directory called &quot;moodle&quot;, containing \r
+  a number of files and folders. </P>\r
+<P>You can either place the whole folder in your web server documents directory, \r
+  in which case the site will be located at <B>http://yourwebserver.com/moodle</B>, \r
+  or you can copy all the contents straight into the main web server documents \r
+  directory, in which case the site will be simply <B>http://yourwebserver.com</B>.</P>\r
+<P>&nbsp;</P>\r
+<H3><A NAME="site"></A>Site structure</H3>\r
+<P>Here is a quick summary of the contents of the Moodle folder, to help get you \r
+  oriented:</P>\r
+<BLOCKQUOTE> \r
+  <P>config.php - the only file you need to edit to get started <BR>\r
+    index.php - the front page of the site</P>\r
+  <UL>\r
+    <LI>admin/ - code to administrate the whole server </LI>\r
+    <LI>course/ - code to display and manage courses </LI>\r
+    <LI>doc/ - help documentation for Moodle (eg this page)</LI>\r
+    <LI>files/ - code to display and manage uploaded files</LI>\r
+    <LI>lib/ - libraries of core Moodle code </LI>\r
+    <LI>login/ - code to handle login and account creation </LI>\r
+    <LI>mod/ - all Moodle course modules</LI>\r
+    <LI>pix/ - generic site graphics</LI>\r
+    <LI>theme/ - theme packs/skins to change the look of the site.</LI>\r
+    <LI>user/ - code to display and manage users</LI>\r
+  </UL>\r
+  <P>&nbsp;</P>\r
+</BLOCKQUOTE>\r
+<H3><A NAME="data"></A>Create a data directory</H3>\r
+<P>Moodle will also need some space on your hard disk to store uploaded files, \r
+  such as course documents and user pictures.</P>\r
+<P>Create a directory for this purpose somewhere <B>away</B> from the web server \r
+  documents directory (we don't want these files to be accessible from the web), \r
+  and ensure that the web server software has permission to write to this directory. \r
+  On Unix machines, this means setting the owner of the directory to be something \r
+  like &quot;nobody&quot; or &quot;apache&quot;.</P>\r
+<P>&nbsp;</P>\r
+<H3><A NAME="database"></A>Create a database</H3>\r
+<P>You need to create an empty database (eg "moodle") in your database system \r
+  along with a special user (eg "moodleuser") that has access to that database \r
+  (and that database only. For example, don't use the "root" user for the moodle \r
+  database - it's a security hazard). </P>\r
+<P>eg for MySQL: </P>\r
+<PRE>\r
+   # mysql -u root -p\r
+   > CREATE DATABASE moodle; \r
+   > GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,INDEX,ALTER ON moodle.* \r
+           TO moodleuser@localhost IDENTIFIED BY 'yourpassword'; \r
+   > quit \r
+   # mysqladmin -p reload\r
+</PRE>\r
+\r
+<P>&nbsp;</P>\r
+<H3><A NAME="config"></A>Edit config.php</H3>\r
+<P>Now you can edit the configuration file, config.php. This file is used by all \r
+  other files in Moodle.</P>\r
+<P>In it you specify the database details that you just defined, as well as the \r
+  site address, file system directory, data directory and so on. The config file \r
+  has detailed directions.</P>\r
+<P>For the rest of this installation document we will assume your site is at: \r
+  http://example.com/moodle</P>\r
+<P>&nbsp;</P>\r
+<H3><A NAME="admin"></A>Go to the admin page</H3>\r
+<P>The admin page should now be working at: http://example.com/moodle/admin</P>\r
+<P>Go to this page using your favourite web browser.</P>\r
+<P>The first time you access this page, Moodle will set up your database and prompt \r
+  you for more information.</P>\r
+<P>Firstly, the main database tables are created. You should see a number of statements \r
+  like this (in green):</P>\r
+<BLOCKQUOTE> \r
+  <P><FONT COLOR="#006600">SUCCESS: CREATE TABLE course ( id int(10) unsigned \r
+    NOT NULL auto_increment, category int(10) unsigned NOT NULL default '0', password \r
+    varchar(50) NOT NULL default '', fullname varchar(254) NOT NULL default '', \r
+    shortname varchar(15) NOT NULL default '', summary text NOT NULL, format tinyint(4) \r
+    NOT NULL default '1', teacher varchar(100) NOT NULL default 'Teacher', startdate \r
+    int(10) unsigned NOT NULL default '0', enddate int(10) unsigned NOT NULL default \r
+    '0', timemodified int(10) unsigned NOT NULL default '0', PRIMARY KEY (id)) \r
+    TYPE=MyISAM</FONT></P>\r
+  <P>...and so on, followed by: <FONT COLOR="#FF0000">Main databases set up successfully</FONT>. \r
+  </P>\r
+</BLOCKQUOTE>\r
+<P>If you don't see this, then there must have been some problem with the database \r
+  or the configuration settings you defined in config.php. Check these and try \r
+  this page again.</P>\r
+<P>Press the &quot;Continue&quot; link at the bottom of the page.</P>\r
+<P>Next you will see a similar page that sets up all the tables required by each \r
+  Moodle module. As before, they should all be green, otherwise you may be a problem \r
+  in the module code.</P>\r
+<P>Press the &quot;Continue&quot; link at the bottom of the page.</P>\r
+<P>You should now see a form where you can define more parameters for your Moodle \r
+  site, such as the name, the description shown on the front page, and so on. \r
+  Fill this out (you can always go back and change these later) and then press \r
+  &quot;Update the site&quot;.</P>\r
+<P>Finally, you will then be asked to create an administration user for future \r
+  access to the admin pages. Fill out the details with your own name, email etc \r
+  and then click &quot;Update this user&quot;. You will be returned to the main \r
+  admin page, which contain a number of links arranged in a menu.</P>\r
+<P>Make sure you remember the username and password you chose for the administration \r
+  user, as they will be necessary to access the administration page in future.</P>\r
+<P>All your further configuration of Moodle can now be done using the administration \r
+  page menu, which includes tasks such as:</P>\r
+<UL>\r
+  <LI>creating and deleting courses</LI>\r
+  <LI>administering teacher accounts</LI>\r
+  <LI>changing site-wide settings</LI>\r
+</UL>\r
+<P>&nbsp;</P>\r
+<H3><A NAME="cron"></A>Set up cron</H3>\r
+<P>Some of Moodle's modules require continual checks to perform tasks. For example, \r
+  Moodle needs to check the discussion forums so it can mail out copies of posts \r
+  to people who have subscribed.</P>\r
+<P>The script that does all this is located in the admin directory, and is called \r
+  cron.php. However, it can not run itself, so you need to set up a mechanism \r
+  where this script is run regularly (eg every five minutes). This provides a \r
+  &quot;heartbeat&quot; so that the script can perform functions at periods defined \r
+  by each module.</P>\r
+<P>For security reasons, this script defines a required password. Edit cron.php \r
+  with a text editor and change the password to something unique. eg </P>\r
+<BLOCKQUOTE> \r
+  <PRE>$PASSWORD = &quot;pword&quot;;\r
+</PRE>\r
+</BLOCKQUOTE>\r
+<P>Test that the script works by running it directly from your browser:</P>\r
+<BLOCKQUOTE> \r
+  <PRE>http://example.com/moodle/admin/cron.php?p=pword</PRE>\r
+</BLOCKQUOTE>\r
+<P>Now, you need to set up some of way of running the script automatically. There \r
+  are two main ways of doing this, 'externally' and 'internally'. </P>\r
+<BLOCKQUOTE> \r
+  <H4>External cron</H4>\r
+  <P>You can set up a program to call the page just as you did in the example \r
+    above. For example, you can use a Unix utility like 'wget':<BR>\r
+  </P>\r
+  <BLOCKQUOTE> \r
+    <PRE>wget -q -O /dev/null 'http://example.com/moodle/admin/cron.php?p=pword'</PRE>\r
+  </BLOCKQUOTE>\r
+  <P>Note in this example that the output is thrown away (to /dev/null).</P>\r
+  <P>To automate the running of this script every 5 minutes you can use Unix <B>cron</B>. \r
+    Edit your cron settings from the commandline using &quot;crontab -e&quot; \r
+    and add a line like:</P>\r
+  <BLOCKQUOTE> \r
+    <PRE>*/5 * * * * wget -q -O /dev/null 'http://example.com/moodle/admin/cron.php?p=pword'\r
+</PRE>\r
+  </BLOCKQUOTE>\r
+  <P>On non-Unix platforms you will need to find another way to do this (and let \r
+    me know so I can update this documentation!)</P>\r
+  <H4>Internal cron</H4>\r
+  <P>To run the cron.php script internally, you need a version of PHP compiled \r
+    to be run from the command-line, also called a &quot;cgi&quot; version. On \r
+    a Unix machine, you can now run the script with your password as the first \r
+    parameter, something like this:</P>\r
+  <BLOCKQUOTE>\r
+    <PRE>/opt/bin/php /web/moodle/admin/cron.php pword</PRE>\r
+  </BLOCKQUOTE>\r
+  <P>As before you can automate this using Unix cron (or the equivalent on your \r
+    OS):</P>\r
+  <BLOCKQUOTE> \r
+    <PRE>*/5 * * * * (/opt/bin/php /web/moodle/admin/cron.php pword) &amp;&gt; /dev/null\r
+</PRE>\r
+  </BLOCKQUOTE>\r
+</BLOCKQUOTE>\r
+<P>The advantage with running the script internally is that your web server logs \r
+  aren't filled with constant requests to cron.php. The disadvantage is that you \r
+  need to have access to a command-line version of php.</P>\r
+<P>&nbsp;</P>\r
+<H3><A NAME="course"></A>Create a new course</H3>\r
+<P>Now that Moodle is running properly, you can create a course. </P>\r
+<P>Start on the admin page ( http://example.com/moodle/admin ) and select &quot;Create \r
+  a new course&quot;.</P>\r
+<P>Fill out the form, paying special attention to the course format. </P>\r
+<P>If you choose a &quot;weekly&quot; format, then course modules will be arranged \r
+  by &quot;weeks&quot;. The weeks in your course are defined by the start and \r
+  end dates you choose on this form. The idea is that the next time you run this \r
+  course, you can just change the dates and keep the essential course format.</P>\r
+<P>The &quot;non-weekly&quot; format is for courses that don't have a start or \r
+  finish, and so any start/end dates you choose will be ignored.</P>\r
+<P>Press &quot;Update this course&quot;, and you will be taken to a new form where \r
+  you can add teachers to the course. You can only add existing user accounts \r
+  from this form - if you want to create a new teacher account then either ask \r
+  the teacher to create one for themselves (see the login page), or create one \r
+  for them using the &quot;Create a user account&quot; on the Admin page.</P>\r
+<P>Once done, your course is ready to customise, and is accessible via the &quot;Courses&quot; \r
+  link on the home page.</P>\r
+<P>See the &quot;<A HREF="teacher.html">Teacher Manual</A>&quot; for more details \r
+  on course-building.</P>\r
+<P>&nbsp;</P>\r
+<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="index.html" TARGET="_top">Moodle Documentation</A></FONT></P>\r
+\r
+</BODY>\r
diff --git a/doc/intro.html b/doc/intro.html
new file mode 100755 (executable)
index 0000000..6743bed
--- /dev/null
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">\r
+<HTML>\r
+<HEAD>\r
+  <TITLE>Moodle Docs: Introduction</TITLE>\r
+  <LINK REL="stylesheet" HREF="../theme/standard/styles.css" TYPE="TEXT/CSS">\r
+</HEAD>\r
+<BODY BGCOLOR="#ffffff">\r
+  \r
+<H2>Introduction</H2>\r
\r
+<P>Moodle is a software package for producing internet-based courses and web sites. \r
+  It's an ongoing development project designed to support a <A HREF="http://dougiamas.com/writing/constructivism.html">constructivist</A> \r
+  framework of education. </P>\r
+<P>Moodle is given away freely as <A HREF="http://www.opensource.org/docs/definition_plain.html"> \r
+  Open Source</A> software (under the <A HREF="http://www.gnu.org/copyleft/gpl.html"> \r
+  GNU Public License</A>). It will run on any computer that can run <A HREF="http://www.php.net/"> \r
+  PHP</A>, and supports almost every brand of database.</P>\r
+<P>The word Moodle is an acronym for Modular Object-Oriented Dynamic Learning \r
+  Environment, which is mostly useful to programmers and education theorists.&nbsp; \r
+  &nbsp;It's also a verb that describes the process of lazily meandering through \r
+  something, doing things as it occurs to you to do them, an enjoyable tinkering \r
+  that often leads to insight and creativity. As such it applies both to the way \r
+  Moodle was developed, and to the way a student or teacher might approach studying \r
+  or teaching an online course.</P>\r
+<P><BR>\r
+</P>\r
+<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="index.html" TARGET="_top">Moodle Documentation</A></FONT></P>\r
+\r
+</BODY>\r
+</HTML>\r
diff --git a/doc/licence.html b/doc/licence.html
new file mode 100755 (executable)
index 0000000..9da1246
--- /dev/null
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">\r
+<HTML>\r
+<HEAD>\r
+   <TITLE>Moodle Docs: Copyright License</TITLE>\r
+   <LINK REL="stylesheet" HREF="../theme/standard/styles.css" TYPE="TEXT/CSS">\r
+</HEAD>\r
+<BODY BGCOLOR="#ffffff">\r
+    \r
+<H2>Copyright License for Moodle</H2>\r
\r
+<P>Moodle is Copyright &copy; 2001, <A HREF="http://dougiamas.com/">Martin Dougiamas</A>.</P>\r
+<P>This program is free software; you can redistribute it and/or modify<BR>\r
+  it under the terms of the GNU General Public License as published by<BR>\r
+  the Free Software Foundation; either version 2 of the License, or<BR>\r
+  (at your option) any later version.</P>\r
+<P>This program is distributed in the hope that it will be useful,<BR>\r
+  but WITHOUT ANY WARRANTY; without even the implied warranty of<BR>\r
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<BR>\r
+  GNU General Public License for more details (attached below).<BR>\r
+</P>\r
+<HR WIDTH="100%" SIZE="2"><BR>\r
+   \r
+<PRE>              GNU GENERAL PUBLIC LICENSE<BR>                     Version 2, June 1991<BR><BR> Copyright (C) 1989, 1991 Free Software Foundation, Inc.<BR> 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA<BR> Everyone is permitted to copy and distribute verbatim copies<BR> of this license document, but changing it is not allowed.<BR><BR>                      Preamble<BR><BR>  The licenses for most software are designed to take away your<BR>freedom to share and change it.  By contrast, the GNU General Public<BR>License is intended to guarantee your freedom to share and change free<BR>software--to make sure the software is free for all its users.  This<BR>General Public License applies to most of the Free Software<BR>Foundation's software and to any other program whose authors commit to<BR>using it.  (Some other Free Software Foundation software is covered by<BR>the GNU Library General Public License instead.)  You can apply it to<BR>your programs, too.<BR><BR>  When we speak of free software, we are referring to freedom, not<BR>price.  Our General Public Licenses are designed to make sure that you<BR>have the freedom to distribute copies of free software (and charge for<BR>this service if you wish), that you receive source code or can get it<BR>if you want it, that you can change the software or use pieces of it<BR>in new free programs; and that you know you can do these things.<BR><BR>  To protect your rights, we need to make restrictions that forbid<BR>anyone to deny you these rights or to ask you to surrender the rights.<BR>These restrictions translate to certain responsibilities for you if you<BR>distribute copies of the software, or if you modify it.<BR><BR>  For example, if you distribute copies of such a program, whether<BR>gratis or for a fee, you must give the recipients all the rights that<BR>you have.  You must make sure that they, too, receive or can get the<BR>source code.  And you must show them these terms so they know their<BR>rights.<BR><BR>  We protect your rights with two steps: (1) copyright the software, and<BR>(2) offer you this license which gives you legal permission to copy,<BR>distribute and/or modify the software.<BR><BR>  Also, for each author's protection and ours, we want to make certain<BR>that everyone understands that there is no warranty for this free<BR>software.  If the software is modified by someone else and passed on, we<BR>want its recipients to know that what they have is not the original, so<BR>that any problems introduced by others will not reflect on the original<BR>authors' reputations.<BR><BR>  Finally, any free program is threatened constantly by software<BR>patents.  We wish to avoid the danger that redistributors of a free<BR>program will individually obtain patent licenses, in effect making the<BR>program proprietary.  To prevent this, we have made it clear that any<BR>patent must be licensed for everyone's free use or not licensed at all.<BR><BR>  The precise terms and conditions for copying, distribution and<BR>modification follow.<BR>\f<BR>                    GNU GENERAL PUBLIC LICENSE<BR>   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION<BR><BR>  0. This License applies to any program or other work which contains<BR>a notice placed by the copyright holder saying it may be distributed<BR>under the terms of this General Public License.  The "Program", below,<BR>refers to any such program or work, and a "work based on the Program"<BR>means either the Program or any derivative work under copyright law:<BR>that is to say, a work containing the Program or a portion of it,<BR>either verbatim or with modifications and/or translated into another<BR>language.  (Hereinafter, translation is included without limitation in<BR>the term "modification".)  Each licensee is addressed as "you".<BR><BR>Activities other than copying, distribution and modification are not<BR>covered by this License; they are outside its scope.  The act of<BR>running the Program is not restricted, and the output from the Program<BR>is covered only if its contents constitute a work based on the<BR>Program (independent of having been made by running the Program).<BR>Whether that is true depends on what the Program does.<BR><BR>  1. You may copy and distribute verbatim copies of the Program's<BR>source code as you receive it, in any medium, provided that you<BR>conspicuously and appropriately publish on each copy an appropriate<BR>copyright notice and disclaimer of warranty; keep intact all the<BR>notices that refer to this License and to the absence of any warranty;<BR>and give any other recipients of the Program a copy of this License<BR>along with the Program.<BR><BR>You may charge a fee for the physical act of transferring a copy, and<BR>you may at your option offer warranty protection in exchange for a fee.<BR><BR>  2. You may modify your copy or copies of the Program or any portion<BR>of it, thus forming a work based on the Program, and copy and<BR>distribute such modifications or work under the terms of Section 1<BR>above, provided that you also meet all of these conditions:<BR><BR>    a) You must cause the modified files to carry prominent notices<BR>    stating that you changed the files and the date of any change.<BR><BR>    b) You must cause any work that you distribute or publish, that in<BR>    whole or in part contains or is derived from the Program or any<BR>    part thereof, to be licensed as a whole at no charge to all third<BR>    parties under the terms of this License.<BR><BR>    c) If the modified program normally reads commands interactively<BR>    when run, you must cause it, when started running for such<BR>    interactive use in the most ordinary way, to print or display an<BR>    announcement including an appropriate copyright notice and a<BR>    notice that there is no warranty (or else, saying that you provide<BR>    a warranty) and that users may redistribute the program under<BR>    these conditions, and telling the user how to view a copy of this<BR>    License.  (Exception: if the Program itself is interactive but<BR>    does not normally print such an announcement, your work based on<BR>    the Program is not required to print an announcement.)<BR>\f<BR>These requirements apply to the modified work as a whole.  If<BR>identifiable sections of that work are not derived from the Program,<BR>and can be reasonably considered independent and separate works in<BR>themselves, then this License, and its terms, do not apply to those<BR>sections when you distribute them as separate works.  But when you<BR>distribute the same sections as part of a whole which is a work based<BR>on the Program, the distribution of the whole must be on the terms of<BR>this License, whose permissions for other licensees extend to the<BR>entire whole, and thus to each and every part regardless of who wrote it.<BR><BR>Thus, it is not the intent of this section to claim rights or contest<BR>your rights to work written entirely by you; rather, the intent is to<BR>exercise the right to control the distribution of derivative or<BR>collective works based on the Program.<BR><BR>In addition, mere aggregation of another work not based on the Program<BR>with the Program (or with a work based on the Program) on a volume of<BR>a storage or distribution medium does not bring the other work under<BR>the scope of this License.<BR><BR>  3. You may copy and distribute the Program (or a work based on it,<BR>under Section 2) in object code or executable form under the terms of<BR>Sections 1 and 2 above provided that you also do one of the following:<BR><BR>    a) Accompany it with the complete corresponding machine-readable<BR>    source code, which must be distributed under the terms of Sections<BR>    1 and 2 above on a medium customarily used for software interchange; or,<BR><BR>    b) Accompany it with a written offer, valid for at least three<BR>    years, to give any third party, for a charge no more than your<BR>    cost of physically performing source distribution, a complete<BR>    machine-readable copy of the corresponding source code, to be<BR>    distributed under the terms of Sections 1 and 2 above on a medium<BR>    customarily used for software interchange; or,<BR><BR>    c) Accompany it with the information you received as to the offer<BR>    to distribute corresponding source code.  (This alternative is<BR>    allowed only for noncommercial distribution and only if you<BR>    received the program in object code or executable form with such<BR>    an offer, in accord with Subsection b above.)<BR><BR>The source code for a work means the preferred form of the work for<BR>making modifications to it.  For an executable work, complete source<BR>code means all the source code for all modules it contains, plus any<BR>associated interface definition files, plus the scripts used to<BR>control compilation and installation of the executable.  However, as a<BR>special exception, the source code distributed need not include<BR>anything that is normally distributed (in either source or binary<BR>form) with the major components (compiler, kernel, and so on) of the<BR>operating system on which the executable runs, unless that component<BR>itself accompanies the executable.<BR><BR>If distribution of executable or object code is made by offering<BR>access to copy from a designated place, then offering equivalent<BR>access to copy the source code from the same place counts as<BR>distribution of the source code, even though third parties are not<BR>compelled to copy the source along with the object code.<BR>\f<BR>  4. You may not copy, modify, sublicense, or distribute the Program<BR>except as expressly provided under this License.  Any attempt<BR>otherwise to copy, modify, sublicense or distribute the Program is<BR>void, and will automatically terminate your rights under this License.<BR>However, parties who have received copies, or rights, from you under<BR>this License will not have their licenses terminated so long as such<BR>parties remain in full compliance.<BR><BR>  5. You are not required to accept this License, since you have not<BR>signed it.  However, nothing else grants you permission to modify or<BR>distribute the Program or its derivative works.  These actions are<BR>prohibited by law if you do not accept this License.  Therefore, by<BR>modifying or distributing the Program (or any work based on the<BR>Program), you indicate your acceptance of this License to do so, and<BR>all its terms and conditions for copying, distributing or modifying<BR>the Program or works based on it.<BR><BR>  6. Each time you redistribute the Program (or any work based on the<BR>Program), the recipient automatically receives a license from the<BR>original licensor to copy, distribute or modify the Program subject to<BR>these terms and conditions.  You may not impose any further<BR>restrictions on the recipients' exercise of the rights granted herein.<BR>You are not responsible for enforcing compliance by third parties to<BR>this License.<BR><BR>  7. If, as a consequence of a court judgment or allegation of patent<BR>infringement or for any other reason (not limited to patent issues),<BR>conditions are imposed on you (whether by court order, agreement or<BR>otherwise) that contradict the conditions of this License, they do not<BR>excuse you from the conditions of this License.  If you cannot<BR>distribute so as to satisfy simultaneously your obligations under this<BR>License and any other pertinent obligations, then as a consequence you<BR>may not distribute the Program at all.  For example, if a patent<BR>license would not permit royalty-free redistribution of the Program by<BR>all those who receive copies directly or indirectly through you, then<BR>the only way you could satisfy both it and this License would be to<BR>refrain entirely from distribution of the Program.<BR><BR>If any portion of this section is held invalid or unenforceable under<BR>any particular circumstance, the balance of the section is intended to<BR>apply and the section as a whole is intended to apply in other<BR>circumstances.<BR><BR>It is not the purpose of this section to induce you to infringe any<BR>patents or other property right claims or to contest validity of any<BR>such claims; this section has the sole purpose of protecting the<BR>integrity of the free software distribution system, which is<BR>implemented by public license practices.  Many people have made<BR>generous contributions to the wide range of software distributed<BR>through that system in reliance on consistent application of that<BR>system; it is up to the author/donor to decide if he or she is willing<BR>to distribute software through any other system and a licensee cannot<BR>impose that choice.<BR><BR>This section is intended to make thoroughly clear what is believed to<BR>be a consequence of the rest of this License.<BR>\f<BR>  8. If the distribution and/or use of the Program is restricted in<BR>certain countries either by patents or by copyrighted interfaces, the<BR>original copyright holder who places the Program under this License<BR>may add an explicit geographical distribution limitation excluding<BR>those countries, so that distribution is permitted only in or among<BR>countries not thus excluded.  In such case, this License incorporates<BR>the limitation as if written in the body of this License.<BR><BR>  9. The Free Software Foundation may publish revised and/or new versions<BR>of the General Public License from time to time.  Such new versions will<BR>be similar in spirit to the present version, but may differ in detail to<BR>address new problems or concerns.<BR><BR>Each version is given a distinguishing version number.  If the Program<BR>specifies a version number of this License which applies to it and "any<BR>later version", you have the option of following the terms and conditions<BR>either of that version or of any later version published by the Free<BR>Software Foundation.  If the Program does not specify a version number of<BR>this License, you may choose any version ever published by the Free Software<BR>Foundation.<BR><BR>  10. If you wish to incorporate parts of the Program into other free<BR>programs whose distribution conditions are different, write to the author<BR>to ask for permission.  For software which is copyrighted by the Free<BR>Software Foundation, write to the Free Software Foundation; we sometimes<BR>make exceptions for this.  Our decision will be guided by the two goals<BR>of preserving the free status of all derivatives of our free software and<BR>of promoting the sharing and reuse of software generally.<BR><BR>                           NO WARRANTY<BR><BR>  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY<BR>FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN<BR>OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES<BR>PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED<BR>OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF<BR>MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS<BR>TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE<BR>PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,<BR>REPAIR OR CORRECTION.<BR><BR>  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING<BR>WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR<BR>REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,<BR>INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING<BR>OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED<BR>TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY<BR>YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER<BR>PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE<BR>POSSIBILITY OF SUCH DAMAGES.<BR><BR>                     END OF TERMS AND CONDITIONS<BR></PRE>\r
+   \r
+\r
+<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="index.html" TARGET="_top">Moodle Documentation</A></FONT></P>\r
+\r
+</BODY>\r
+</HTML>\r
diff --git a/doc/teacher.html b/doc/teacher.html
new file mode 100755 (executable)
index 0000000..518024e
--- /dev/null
@@ -0,0 +1,14 @@
+<HEAD>\r
+    <TITLE>Moodle Docs: Teachers Manual</TITLE>\r
+       <LINK REL="stylesheet" HREF="../theme/standard/styles.css" TYPE="TEXT/CSS">\r
+</HEAD>\r
+\r
+<BODY BGCOLOR="#FFFFFF">\r
+\r
+<H2>Teacher Manual</H2>\r
+<P>This page will provide a way to learn about creating online courses with Moodle. \r
+  It will include not only descriptions of the various functions, but discussions \r
+  of philosophy and pedagogical decisions that need to be made by teachers.</P>\r
+<P ALIGN="CENTER"><FONT SIZE="1"><A HREF="index.html" TARGET="_top">Moodle Documentation</A></FONT></P>\r
+\r
+</BODY>\r