MDL-19600 remove remaining traces of docstyles.php.
(Not used since Moodle 1.6.) Also remove the remaining bits of lang/en_utf8/docs.
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
This directory used to contain lots of documentation in HTML form.
|
||||
|
||||
All of it has gone now because we now use the Moodle Docs wiki.
|
||||
|
||||
|
||||
To find out the new locations for all the information that was here, see:
|
||||
|
||||
http://docs.moodle.org/en/MoodleDocs_and_lang_packs
|
||||
|
||||
http://tracker.moodle.org/browse/MDL-4912
|
||||
|
||||
Cheers,
|
||||
Martin Dougiamas, 10th July 2007
|
||||
File diff suppressed because one or more lines are too long
@@ -1,18 +0,0 @@
|
||||
ABOUT THIS DIRECTORY
|
||||
--------------------
|
||||
|
||||
DO NOT CHANGE, RENAME OR MOVE ANY OF THE FILES
|
||||
IN THIS DIRECTORY unless you REALLY know what
|
||||
you are doing.
|
||||
|
||||
Changing these files could mess up your course.
|
||||
|
||||
This directory contains files uploaded to your
|
||||
course within particular modules (mostly by
|
||||
students), such as assignment submissions and
|
||||
forum attachments.
|
||||
|
||||
The names of the directories and files within
|
||||
this directory are very specific and are
|
||||
automatically maintained by Moodle.
|
||||
|
||||
@@ -1719,3 +1719,19 @@ function require_js($lib) {
|
||||
echo $PAGE->requires->js($lib)->asap();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Makes an upload directory for a particular module.
|
||||
*
|
||||
* This funciton has been deprecated by the file API changes in Moodle 2.0.
|
||||
*
|
||||
* @deprecated
|
||||
* @param int $courseid The id of the course in question - maps to id field of 'course' table.
|
||||
* @return string|false Returns full path to directory if successful, false if not
|
||||
*/
|
||||
function make_mod_upload_directory($courseid) {
|
||||
global $CFG;
|
||||
debugging('make_mod_upload_directory has been deprecated by the file API changes in Moodle 2.0.', DEBUG_DEVELOPER);
|
||||
return make_upload_directory($courseid .'/'. $CFG->moddata);
|
||||
}
|
||||
|
||||
|
||||
@@ -5023,30 +5023,6 @@ function get_file_packer($mimetype='application/zip') {
|
||||
return $fp[$mimetype];
|
||||
}
|
||||
|
||||
/**
|
||||
* Makes an upload directory for a particular module.
|
||||
*
|
||||
* @global object
|
||||
* @param int $courseid The id of the course in question - maps to id field of 'course' table.
|
||||
* @return string|false Returns full path to directory if successful, false if not
|
||||
*/
|
||||
function make_mod_upload_directory($courseid) {
|
||||
global $CFG;
|
||||
|
||||
if (! $moddata = make_upload_directory($courseid .'/'. $CFG->moddata)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$strreadme = get_string('readme');
|
||||
|
||||
if (file_exists($CFG->dirroot .'/lang/'. $CFG->lang .'/docs/module_files.txt')) {
|
||||
copy($CFG->dirroot .'/lang/'. $CFG->lang .'/docs/module_files.txt', $moddata .'/'. $strreadme .'.txt');
|
||||
} else {
|
||||
copy($CFG->dirroot .'/lang/en_utf8/docs/module_files.txt', $moddata .'/'. $strreadme .'.txt');
|
||||
}
|
||||
return $moddata;
|
||||
}
|
||||
|
||||
/**
|
||||
* Makes a directory for a particular user.
|
||||
*
|
||||
|
||||
@@ -190,7 +190,6 @@ function extract_data($pages, $courseid, $lessonname, $modname) {
|
||||
$extratedpages = array();
|
||||
|
||||
// directory for images
|
||||
make_mod_upload_directory($courseid); // make sure moddata is made
|
||||
make_upload_directory($courseid.'/moddata/'.$modname, false); // we store our images in a subfolder in here
|
||||
|
||||
$imagedir = $CFG->dataroot.'/'.$courseid.'/moddata/'.$modname;
|
||||
|
||||
@@ -1,100 +0,0 @@
|
||||
<?PHP /* $Id$ */
|
||||
|
||||
/// We use PHP so we can do value substitutions into the styles
|
||||
$nomoodlecookie = true;
|
||||
|
||||
require_once("../../config.php");
|
||||
$themename = optional_param('themename', NULL, PARAM_SAFEDIR);
|
||||
|
||||
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
|
||||
|
||||
///
|
||||
/// You can hardcode colours in this file if you
|
||||
/// don't care about this.
|
||||
|
||||
?>
|
||||
body {
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
p, a {
|
||||
font-size:small;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
padding-left:0px;
|
||||
background-color:transparent;
|
||||
color:#000000;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size:1.7em;
|
||||
margin:0.5em 0 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size:1.4em;
|
||||
margin:0.5em 0 0;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size:1.2em;
|
||||
margin:0.5em 0 0;
|
||||
}
|
||||
|
||||
|
||||
li {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.question {
|
||||
font-size: medium;
|
||||
font-weight: bold;
|
||||
border: 1px dotted;
|
||||
padding: 10px;
|
||||
background-color: #EEEEEE;
|
||||
}
|
||||
|
||||
.answer {
|
||||
font-size: medium;
|
||||
border: none;
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
.normaltext {
|
||||
font-size: medium;
|
||||
border: none;
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
.answercode {
|
||||
font-family: "Courier New", Courier, mono;
|
||||
font-size: small;
|
||||
border: none;
|
||||
padding-left: 60px;
|
||||
}
|
||||
|
||||
.questionlink {
|
||||
font-size: medium;
|
||||
border: none;
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
.examplecode {
|
||||
font-family: "Courier New", Courier, mono;
|
||||
font-size: small;
|
||||
border: thin dashed #999999;
|
||||
background-color: #FBFBFB;
|
||||
margin: auto;
|
||||
margin-top: 0.5em;
|
||||
padding: 30px;
|
||||
height: auto;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.spaced {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
@@ -1,100 +0,0 @@
|
||||
<?PHP /* $Id$ */
|
||||
|
||||
/// We use PHP so we can do value substitutions into the styles
|
||||
define('NO_MOODLE_COOKIES', true); // session not used here
|
||||
|
||||
require_once("../../config.php");
|
||||
$themename = optional_param('themename', NULL, PARAM_SAFEDIR);
|
||||
|
||||
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
|
||||
|
||||
///
|
||||
/// You can hardcode colours in this file if you
|
||||
/// don't care about this.
|
||||
|
||||
?>
|
||||
body {
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
p, a {
|
||||
font-size:small;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
padding-left:0px;
|
||||
background-color:transparent;
|
||||
color:#000000;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size:1.7em;
|
||||
margin:0.5em 0 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size:1.4em;
|
||||
margin:0.5em 0 0;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size:1.2em;
|
||||
margin:0.5em 0 0;
|
||||
}
|
||||
|
||||
|
||||
li {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.question {
|
||||
font-size: medium;
|
||||
font-weight: bold;
|
||||
border: 1px dotted;
|
||||
padding: 10px;
|
||||
background-color: #EEEEEE;
|
||||
}
|
||||
|
||||
.answer {
|
||||
font-size: medium;
|
||||
border: none;
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
.normaltext {
|
||||
font-size: medium;
|
||||
border: none;
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
.answercode {
|
||||
font-family: "Courier New", Courier, mono;
|
||||
font-size: small;
|
||||
border: none;
|
||||
padding-left: 60px;
|
||||
}
|
||||
|
||||
.questionlink {
|
||||
font-size: medium;
|
||||
border: none;
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
.examplecode {
|
||||
font-family: "Courier New", Courier, mono;
|
||||
font-size: small;
|
||||
border: thin dashed #999999;
|
||||
background-color: #FBFBFB;
|
||||
margin: auto;
|
||||
margin-top: 0.5em;
|
||||
padding: 30px;
|
||||
height: auto;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.spaced {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
<?PHP /* $Id$ */
|
||||
|
||||
/// We use PHP so we can do value substitutions into the styles
|
||||
define('NO_MOODLE_COOKIES', true); // session not used here
|
||||
|
||||
require_once("../../config.php");
|
||||
$themename = optional_param('themename', NULL, PARAM_SAFEDIR);
|
||||
|
||||
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
|
||||
|
||||
///
|
||||
/// You can hardcode colours in this file if you
|
||||
/// don't care about this.
|
||||
|
||||
?>
|
||||
@@ -1,100 +0,0 @@
|
||||
<?PHP /* $Id$ */
|
||||
|
||||
/// We use PHP so we can do value substitutions into the styles
|
||||
define('NO_MOODLE_COOKIES', true); // session not used here
|
||||
|
||||
require_once("../../config.php");
|
||||
$themename = optional_param('themename', NULL, PARAM_SAFEDIR);
|
||||
|
||||
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
|
||||
|
||||
///
|
||||
/// You can hardcode colours in this file if you
|
||||
/// don't care about this.
|
||||
|
||||
?>
|
||||
body {
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
p, a {
|
||||
font-size:small;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
padding-left:0px;
|
||||
background-color:transparent;
|
||||
color:#555555;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size:1.7em;
|
||||
margin:0.5em 0 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size:1.4em;
|
||||
margin:0.5em 0 0;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size:1.2em;
|
||||
margin:0.5em 0 0;
|
||||
}
|
||||
|
||||
|
||||
li {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.question {
|
||||
font-size: medium;
|
||||
font-weight: normal;
|
||||
border: 1px dotted;
|
||||
padding: 10px;
|
||||
background-color: #EEEEEE;
|
||||
}
|
||||
|
||||
.answer {
|
||||
font-size: medium;
|
||||
border: none;
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
.normaltext {
|
||||
font-size: medium;
|
||||
border: none;
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
.answercode {
|
||||
font-family: "Courier New", Courier, mono;
|
||||
font-size: small;
|
||||
border: none;
|
||||
padding-left: 60px;
|
||||
}
|
||||
|
||||
.questionlink {
|
||||
font-size: medium;
|
||||
border: none;
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
.examplecode {
|
||||
font-family: "Courier New", Courier, mono;
|
||||
font-size: small;
|
||||
border: thin dashed #999999;
|
||||
background-color: #FBFBFB;
|
||||
margin: auto;
|
||||
margin-top: 0.5em;
|
||||
padding: 30px;
|
||||
height: auto;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.spaced {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
@@ -1,100 +0,0 @@
|
||||
<?PHP /* $Id$ */
|
||||
|
||||
/// We use PHP so we can do value substitutions into the styles
|
||||
define('NO_MOODLE_COOKIES', true); // session not used here
|
||||
|
||||
require_once("../../config.php");
|
||||
$themename = optional_param('themename', NULL, PARAM_SAFEDIR);
|
||||
|
||||
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
|
||||
|
||||
///
|
||||
/// You can hardcode colours in this file if you
|
||||
/// don't care about this.
|
||||
|
||||
?>
|
||||
body {
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
p, a {
|
||||
font-size:90%;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
padding-left:0px;
|
||||
background-color:transparent;
|
||||
color:#000000;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size:1.7em;
|
||||
margin:0.5em 0 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size:1.4em;
|
||||
margin:0.5em 0 0;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size:1.2em;
|
||||
margin:0.5em 0 0;
|
||||
}
|
||||
|
||||
|
||||
li {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.question {
|
||||
font-size: medium;
|
||||
font-weight: bold;
|
||||
border: 1px dotted;
|
||||
padding: 10px;
|
||||
background-color: #EEEEEE;
|
||||
}
|
||||
|
||||
.answer {
|
||||
font-size: medium;
|
||||
border: none;
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
.normaltext {
|
||||
font-size: medium;
|
||||
border: none;
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
.answercode {
|
||||
font-family: "Courier New", Courier, mono;
|
||||
font-size: small;
|
||||
border: none;
|
||||
padding-left: 60px;
|
||||
}
|
||||
|
||||
.questionlink {
|
||||
font-size: medium;
|
||||
border: none;
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
.examplecode {
|
||||
font-family: "Courier New", Courier, mono;
|
||||
font-size: small;
|
||||
border: thin dashed #999999;
|
||||
background-color: #FBFBFB;
|
||||
margin: auto;
|
||||
margin-top: 0.5em;
|
||||
padding: 30px;
|
||||
height: auto;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.spaced {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
@@ -1,100 +0,0 @@
|
||||
<?PHP /* $Id$ */
|
||||
|
||||
/// We use PHP so we can do value substitutions into the styles
|
||||
define('NO_MOODLE_COOKIES', true); // session not used here
|
||||
|
||||
require_once("../../config.php");
|
||||
$themename = optional_param('themename', NULL, PARAM_SAFEDIR);
|
||||
|
||||
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
|
||||
|
||||
///
|
||||
/// You can hardcode colours in this file if you
|
||||
/// don't care about this.
|
||||
|
||||
?>
|
||||
body {
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
p, a {
|
||||
font-size:90%;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
padding-left:0px;
|
||||
background-color:transparent;
|
||||
color:#000000;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size:1.7em;
|
||||
margin:0.5em 0 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size:1.4em;
|
||||
margin:0.5em 0 0;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size:1.2em;
|
||||
margin:0.5em 0 0;
|
||||
}
|
||||
|
||||
|
||||
li {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.question {
|
||||
font-size: medium;
|
||||
font-weight: bold;
|
||||
border: 1px dotted;
|
||||
padding: 10px;
|
||||
background-color: #EEEEEE;
|
||||
}
|
||||
|
||||
.answer {
|
||||
font-size: medium;
|
||||
border: none;
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
.normaltext {
|
||||
font-size: medium;
|
||||
border: none;
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
.answercode {
|
||||
font-family: "Courier New", Courier, mono;
|
||||
font-size: small;
|
||||
border: none;
|
||||
padding-left: 60px;
|
||||
}
|
||||
|
||||
.questionlink {
|
||||
font-size: medium;
|
||||
border: none;
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
.examplecode {
|
||||
font-family: "Courier New", Courier, mono;
|
||||
font-size: small;
|
||||
border: thin dashed #999999;
|
||||
background-color: #FBFBFB;
|
||||
margin: auto;
|
||||
margin-top: 0.5em;
|
||||
padding: 30px;
|
||||
height: auto;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.spaced {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
@@ -1,100 +0,0 @@
|
||||
<?PHP /* $Id$ */
|
||||
|
||||
/// We use PHP so we can do value substitutions into the styles
|
||||
define('NO_MOODLE_COOKIES', true); // session not used here
|
||||
|
||||
require_once("../../config.php");
|
||||
$themename = optional_param('themename', NULL, PARAM_SAFEDIR);
|
||||
|
||||
$themeurl = style_sheet_setup(filemtime("styles.php"), 300, $themename);
|
||||
|
||||
///
|
||||
/// You can hardcode colours in this file if you
|
||||
/// don't care about this.
|
||||
|
||||
?>
|
||||
body {
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
p, a {
|
||||
font-size:small;
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
padding-left:0px;
|
||||
background-color:transparent;
|
||||
color:#000000;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size:1.7em;
|
||||
margin:0.5em 0 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size:1.4em;
|
||||
margin:0.5em 0 0;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size:1.2em;
|
||||
margin:0.5em 0 0;
|
||||
}
|
||||
|
||||
|
||||
li {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.question {
|
||||
font-size: medium;
|
||||
font-weight: bold;
|
||||
border: 1px dotted;
|
||||
padding: 10px;
|
||||
background-color: #EEEEEE;
|
||||
}
|
||||
|
||||
.answer {
|
||||
font-size: medium;
|
||||
border: none;
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
.normaltext {
|
||||
font-size: medium;
|
||||
border: none;
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
.answercode {
|
||||
font-family: "Courier New", Courier, mono;
|
||||
font-size: small;
|
||||
border: none;
|
||||
padding-left: 60px;
|
||||
}
|
||||
|
||||
.questionlink {
|
||||
font-size: medium;
|
||||
border: none;
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
.examplecode {
|
||||
font-family: "Courier New", Courier, mono;
|
||||
font-size: small;
|
||||
border: thin dashed #999999;
|
||||
background-color: #FBFBFB;
|
||||
margin: auto;
|
||||
margin-top: 0.5em;
|
||||
padding: 30px;
|
||||
height: auto;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.spaced {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
Reference in New Issue
Block a user