From b868d3d9cf9e9d60e3a42edbbacc49f2be31507e Mon Sep 17 00:00:00 2001 From: samhemelryk Date: Tue, 26 May 2009 06:26:11 +0000 Subject: [PATCH] lib MDL-19236 Added boilerplates and copyrights --- lib/webdavlib.php | 50 ++++++++++++++++++++-------------------- lib/weblib.php | 8 +++---- lib/wiki_to_markdown.php | 41 ++++++++++++++++++++++++++++---- lib/womenslib.php | 25 +++++++++++++++++++- lib/xmlize.php | 4 +++- 5 files changed, 92 insertions(+), 36 deletions(-) diff --git a/lib/webdavlib.php b/lib/webdavlib.php index 7379209aa0..1cb82ccba2 100644 --- a/lib/webdavlib.php +++ b/lib/webdavlib.php @@ -1,30 +1,32 @@ , 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 , Xwave GmbH, Josefstr. 92, 8005 Zuerich - Switzerland. - * @version 0.1.5 + * @author Christian Juerges , 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 { diff --git a/lib/weblib.php b/lib/weblib.php index b4d6445866..f90bd16d77 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1,7 +1,7 @@ . @@ -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 diff --git a/lib/wiki_to_markdown.php b/lib/wiki_to_markdown.php index 6c35633b09..40a0061de5 100644 --- a/lib/wiki_to_markdown.php +++ b/lib/wiki_to_markdown.php @@ -1,20 +1,51 @@ . + +/** + * 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; diff --git a/lib/womenslib.php b/lib/womenslib.php index 52004f2f91..1118cf2e24 100644 --- a/lib/womenslib.php +++ b/lib/womenslib.php @@ -1,4 +1,27 @@ -. + +/** + * @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'); ?> diff --git a/lib/xmlize.php b/lib/xmlize.php index 5a9a8ad679..cf1dee3ba1 100644 --- a/lib/xmlize.php +++ b/lib/xmlize.php @@ -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 */ /** -- 2.39.5