]> git.mjollnir.org Git - moodle.git/commitdiff
lib MDL-19236 Added boilerplates and copyrights
authorsamhemelryk <samhemelryk>
Tue, 26 May 2009 06:26:11 +0000 (06:26 +0000)
committersamhemelryk <samhemelryk>
Tue, 26 May 2009 06:26:11 +0000 (06:26 +0000)
lib/webdavlib.php
lib/weblib.php
lib/wiki_to_markdown.php
lib/womenslib.php
lib/xmlize.php

index 7379209aa0bda08d714f37117454085f15103d6e..1cb82ccba20a72e09341a1843f27213389f70167 100644 (file)
@@ -1,30 +1,32 @@
 <?php
-/*
-$Id$
-$Author$
-$Date$
-$Revision$
- */
+
+// webdav_client v0.1.5, a php based webdav client class.
+// Copyright (C) 2003 Christian Juerges
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 /**
  * webdav_client v0.1.5, a php based webdav client class.
  *
- * Copyright (C) 2003 Christian Juerges
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
-
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- *
+ * @package moodlecore
+ * @author Christian Juerges <christian.juerges@xwave.ch>, Xwave GmbH, Josefstr. 92, 8005 Zuerich - Switzerland
+ * @copyright (C) 2003/2004, Christian Juerges
+ * @license http://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License
+ * @version 0.1.5
  */
+
 /**
  * class webdav client. a php based nearly RFC 2518 conforming client.
  *
@@ -35,12 +37,10 @@ $Revision$
  * Please notice that all Filenames coming from or going to the webdav server should be UTF-8 encoded (see RFC 2518).
  * This class tries to convert all you filenames into utf-8 when it's needed. 
  *
- * @author Christian Juerges <christian.juerges@xwave.ch>, Xwave GmbH, Josefstr. 92, 8005 Zuerich - Switzerland.
- * @version 0.1.5
+ * @author Christian Juerges <christian.juerges@xwave.ch>, Xwave GmbH, Josefstr. 92, 8005 Zuerich - Switzerland
  * @copyright (C) 2003/2004, Christian Juerges
  * @license http://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License
  * @package webdav_client
- *
  */
 class webdav_client {
 
index b4d64458662097b428722b6480e713e1516e4606..f90bd16d77108ff77f0d4968a6db1c346f4e3795 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
-// This file is part of Moodle - http://moodle.org/ 
-// 
+// This file is part of Moodle - http://moodle.org/
+//
 // Moodle is free software: you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation, either version 3 of the License, or
@@ -11,7 +11,7 @@
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-// 
+//
 // You should have received a copy of the GNU General Public License
 // along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
 
@@ -25,9 +25,9 @@
  * - datalib.php - functions that access the database.
  * - moodlelib.php - general-purpose Moodle functions.
  *
+ * @package moodlecore
  * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
  * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
- * @package moodlecore
  */
 
 /// Constants
index 6c35633b09b88e87aa3c35e9831c09ba8439162a..40a0061de52c1b723d08acb579d302e799be5ccc 100644 (file)
@@ -1,20 +1,51 @@
 <?php
-// Utility function to convert wiki-like to Markdown format
-// Howard Miller, 2005
 
-// state defines
+// This file is part of Moodle - http://moodle.org/
+//
+// Moodle is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Moodle is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
+
+/**
+ * Utility function to convert wiki-like to Markdown format
+ *
+ * @package   moodlecore
+ * @copyright Howard Miller, 2005
+ * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
+
+/**#@+
+ *  state defines 
+ */
 define( "STATE_NONE",1 ); // blank line has been detected, so looking for first line on next para
 define( "STATE_PARAGRAPH",2 ); // currently processing vanilla paragraph
 define( "STATE_BLOCKQUOTE",3 ); // currently processing blockquote section
 define( "STATE_PREFORM",4 ); // currently processing preformatted text
 define( "STATE_NOTIKI",5 ); // currently processing preformatted / no formatting
-
-// list defines
+/**#@-*/
+/**#@+
+ * list defines
+ */
 define( "LIST_NONE", 1 ); // no lists active
 define( "LIST_UNORDERED", 2 ); // unordered list active
 define( "LIST_ORDERED", 3 ); // ordered list active
 define( "LIST_DEFINITION", 4 ); // definition list active
+/**#@-*/
 
+/**
+ * @package   moodlecore
+ * @copyright Howard Miller, 2005
+ * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
 class WikiToMarkdown {
 
   var $block_state;
index 52004f2f91b48d24669c78ea3315c90dda4720a0..1118cf2e24edda282fc21bd05ef4a5de728ac814 100644 (file)
@@ -1,4 +1,27 @@
-<?php 
+<?php
+
+// This file is part of Moodle - http://moodle.org/
+//
+// Moodle is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// Moodle is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
+
+/**
+ * @package   moodlecore
+ * @copyright 1999 onwards Martin Dougiamas  {@link http://moodle.com}
+ * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
+ */
+
+/** Include config.pgp */
    include('../config.php');
    redirect('http://en.wikipedia.org/wiki/Women%27s_liberation');
 ?>
index 5a9a8ad679c79513d1f980b0ee2d49839e8e1008..cf1dee3ba10890216138245ebdec8fd73abce6af 100644 (file)
@@ -9,10 +9,12 @@
  * on my part is to blame for the credit these people aren't receiving.
  * None of the code was copyrighted, though.
  *
+ * @package moodlecore
  * @author Hans Anderson
  * @version This is a stable release, 1.0.  I don't foresee any changes, but you
  * might check {@link http://www.hansanderson.com/php/xml/} to see
- * @package moodlecore
+ * @copyright Hans Anderson
+ * @license Feel Free To Use it However
  */
 
 /**