In the theme "standardxhtml" I added a stylesheet file "docstyles.php" to overwrite the theme independend "docstyles.css".
<title>Moodle Dokumentation: Hintergrund</title>
<link rel="stylesheet" href="docstyles.css" type=
"TEXT/CSS">
+ <script language="JavaScript" type="text/javascript">
+ <!-- //hide
+ var themeCSS = "<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>";
+ if (themeCSS.indexOf("CFG->wwwroot") != true) {
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/styles.php\" />");
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/docstyles.php\" />");
+ }
+ // done hiding -->
+ </script>
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
</head>
<head>
<title>Moodle Dokumentation: Coding Guidelines</title>
<link rel="stylesheet" href="docstyles.css" type="TEXT/CSS">
+ <script language="JavaScript" type="text/javascript">
+ <!-- //hide
+ var themeCSS = "<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>";
+ if (themeCSS.indexOf("CFG->wwwroot") != true) {
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/styles.php\" />");
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/docstyles.php\" />");
+ }
+ // done hiding -->
+ </script>
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
</head>
<title>Moodle Dokumentation: Danke schön</title>
<link rel="stylesheet" href="docstyles.css" type=
"TEXT/CSS">
+ <script language="JavaScript" type="text/javascript">
+ <!-- //hide
+ var themeCSS = "<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>";
+ if (themeCSS.indexOf("CFG->wwwroot") != true) {
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/styles.php\" />");
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/docstyles.php\" />");
+ }
+ // done hiding -->
+ </script>
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
</head>
können</title>
<link rel="stylesheet" href="docstyles.css" type=
"TEXT/CSS">
+ <script language="JavaScript" type="text/javascript">
+ <!-- //hide
+ var themeCSS = "<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>";
+ if (themeCSS.indexOf("CFG->wwwroot") != true) {
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/styles.php\" />");
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/docstyles.php\" />");
+ }
+ // done hiding -->
+ </script>
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
</head>
<title>Moodle Dokumentation: Entwicklerhandbuch</title>
<link rel="stylesheet" href="docstyles.css" type=
"TEXT/CSS">
+ <script language="JavaScript" type="text/javascript">
+ <!-- //hide
+ var themeCSS = "<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>";
+ if (themeCSS.indexOf("CFG->wwwroot") != true) {
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/styles.php\" />");
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/docstyles.php\" />");
+ }
+ // done hiding -->
+ </script>
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
</head>
(FAQ)</title>
<link rel="stylesheet" href="docstyles.css" type=
"TEXT/CSS">
+ <script language="JavaScript" type="text/javascript">
+ <!-- //hide
+ var themeCSS = "<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>";
+ if (themeCSS.indexOf("CFG->wwwroot") != true) {
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/styles.php\" />");
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/docstyles.php\" />");
+ }
+ // done hiding -->
+ </script>
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
</head>
<head>
<title>Moodle Dokumentation: Features</title>
<link rel="stylesheet" href="docstyles.css" type="TEXT/CSS">
+ <script language="JavaScript" type="text/javascript">
+ <!-- //hide
+ var themeCSS = "<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>";
+ if (themeCSS.indexOf("CFG->wwwroot") != true) {
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/styles.php\" />");
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/docstyles.php\" />");
+ }
+ // done hiding -->
+ </script>
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
</head>
<head>
<title>Moodle Dokumentation: Future</title>
<link rel="stylesheet" href="docstyles.css" type="TEXT/CSS">
+ <script language="JavaScript" type="text/javascript">
+ <!-- //hide
+ var themeCSS = "<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>";
+ if (themeCSS.indexOf("CFG->wwwroot") != true) {
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/styles.php\" />");
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/docstyles.php\" />");
+ }
+ // done hiding -->
+ </script>
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
</head>
<title>Moodle Dokumentation: Installation</title>
<link rel="stylesheet" href="docstyles.css" type=
"TEXT/CSS">
+ <script language="JavaScript" type="text/javascript">
+ <!-- //hide
+ var themeCSS = "<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>";
+ if (themeCSS.indexOf("CFG->wwwroot") != true) {
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/styles.php\" />");
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/docstyles.php\" />");
+ }
+ // done hiding -->
+ </script>
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
</head>
<title>Moodle Dokumentation: Apache, MySQL und PHP
installieren</title>
<link rel="stylesheet" href="docstyles.css" type="TEXT/CSS">
+ <script language="JavaScript" type="text/javascript">
+ <!-- //hide
+ var themeCSS = "<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>";
+ if (themeCSS.indexOf("CFG->wwwroot") != true) {
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/styles.php\" />");
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/docstyles.php\" />");
+ }
+ // done hiding -->
+ </script>
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
</head>
<title>Moodle Dokumentation: Einführung</title>
<link rel="stylesheet" href="docstyles.css" type=
"TEXT/CSS">
+ <script language="JavaScript" type="text/javascript">
+ <!-- //hide
+ var themeCSS = "<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>";
+ if (themeCSS.indexOf("CFG->wwwroot") != true) {
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/styles.php\" />");
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/docstyles.php\" />");
+ }
+ // done hiding -->
+ </script>
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
</head>
<title>Moodle Dokument: Urheberrechtsbestimmungen</title>
<link rel="stylesheet" href="docstyles.css" type=
"TEXT/CSS">
+ <script language="JavaScript" type="text/javascript">
+ <!-- //hide
+ var themeCSS = "<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>";
+ if (themeCSS.indexOf("CFG->wwwroot") != true) {
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/styles.php\" />");
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/docstyles.php\" />");
+ }
+ // done hiding -->
+ </script>
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
</head>
<title>Moodle Dokumentantion: Weitere Hilfedateien und
Handbücher</title>
<link rel="stylesheet" href="docstyles.css" type="TEXT/CSS">
+ <script language="JavaScript" type="text/javascript">
+ <!-- //hide
+ var themeCSS = "<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>";
+ if (themeCSS.indexOf("CFG->wwwroot") != true) {
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/styles.php\" />");
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/docstyles.php\" />");
+ }
+ // done hiding -->
+ </script>
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
</head>
<head>
<title>Moodle Dokumentation: Philosophie</title>
<link rel="stylesheet" href="docstyles.css" type="TEXT/CSS">
+ <script language="JavaScript" type="text/javascript">
+ <!-- //hide
+ var themeCSS = "<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>";
+ if (themeCSS.indexOf("CFG->wwwroot") != true) {
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/styles.php\" />");
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/docstyles.php\" />");
+ }
+ // done hiding -->
+ </script>
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
</head>
<head>
<title>Moodle Dokumentation: Aktuelle Release Informationen</title>
<link rel="stylesheet" href="docstyles.css" type="TEXT/CSS">
+ <script language="JavaScript" type="text/javascript">
+ <!-- //hide
+ var themeCSS = "<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>";
+ if (themeCSS.indexOf("CFG->wwwroot") != true) {
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/styles.php\" />");
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/docstyles.php\" />");
+ }
+ // done hiding -->
+ </script>
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
</head>
<head>
<title>Moodle Dokumentation Kleines Trainerhandbuch</title>
<link rel="stylesheet" href="docstyles.css" type="TEXT/CSS">
+ <script language="JavaScript" type="text/javascript">
+ <!-- //hide
+ var themeCSS = "<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>";
+ if (themeCSS.indexOf("CFG->wwwroot") != true) {
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/styles.php\" />");
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/docstyles.php\" />");
+ }
+ // done hiding -->
+ </script>
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
</head>
<title>moodle Dokumentation: Leitfaden für
Moodle-Übersetzungen</title>
<link rel="stylesheet" href="docstyles.css" type="TEXT/CSS">
+ <script language="JavaScript" type="text/javascript">
+ <!-- //hide
+ var themeCSS = "<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>";
+ if (themeCSS.indexOf("CFG->wwwroot") != true) {
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/styles.php\" />");
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/docstyles.php\" />");
+ }
+ // done hiding -->
+ </script>
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
</head>
<title>Moodle Dokumentation: Upgrade</title>
<link rel="stylesheet" href="docstyles.css" type=
"TEXT/CSS">
+ <script language="JavaScript" type="text/javascript">
+ <!-- //hide
+ var themeCSS = "<?php echo "$CFG->wwwroot/theme/$CFG->theme" ?>";
+ if (themeCSS.indexOf("CFG->wwwroot") != true) {
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/styles.php\" />");
+ document.write ("<link rel=\"stylesheet\" type=\"text/css\" href=\"" + themeCSS +"/docstyles.php\" />");
+ }
+ // done hiding -->
+ </script>
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
</head>