]> git.mjollnir.org Git - moodle.git/commitdiff
Added a JS to open the styles from the theme folder for the doc pages.
authorurs_hunkler <urs_hunkler>
Mon, 24 Jan 2005 12:32:31 +0000 (12:32 +0000)
committerurs_hunkler <urs_hunkler>
Mon, 24 Jan 2005 12:32:31 +0000 (12:32 +0000)
In the theme "standardxhtml" I added a stylesheet file "docstyles.php" to overwrite the theme independend "docstyles.css".

18 files changed:
lang/de/docs/background.html
lang/de/docs/coding.html
lang/de/docs/credits.html
lang/de/docs/cvs.html
lang/de/docs/developer.html
lang/de/docs/faq.html
lang/de/docs/features.html
lang/de/docs/future.html
lang/de/docs/install.html
lang/de/docs/installamp.html
lang/de/docs/intro.html
lang/de/docs/licence.html
lang/de/docs/other.html
lang/de/docs/philosophy.html
lang/de/docs/release.html
lang/de/docs/teacher.html
lang/de/docs/translation.html
lang/de/docs/upgrade.html

index 005b62b94e0d5c01c9753f7f02a5f724c682b4a7..0049e4f2919b2fd2ab63e4033137ebc6f8cfc734 100644 (file)
@@ -4,6 +4,15 @@
 <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>
index f081d955fbe612b7357bf0399301f9dd4f611aab..9ebe3d776f452d9d88d1668250261d65764fc167 100644 (file)
@@ -3,6 +3,15 @@
 <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>
index 69ec3e461eaf5024a9fea79078042f42499c376e..3d94c055d12a063b2ab8f1b0ee1b8c01c6ee7b1c 100644 (file)
@@ -4,6 +4,15 @@
 <title>Moodle Dokumentation: Danke sch&ouml;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>
index 7e110be33fd81df2cea5e5b8b8e4851166e5448d..22ef743c2ea4dccf040baae5189aef632b6c82bf 100644 (file)
@@ -5,6 +5,15 @@
 k&ouml;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>
index 620308da659b32cdf4315f6916e08158817e369a..ab2a85000a63f83172dd8f06e0cb92ce38dfe966 100644 (file)
@@ -4,6 +4,15 @@
 <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>
index 14da66a6c3500f51fa14ef26c3aff71b2611b749..6a06ea0ed6e33f25e17a23532c17e4228f1ccb97 100644 (file)
@@ -5,6 +5,15 @@
 (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>
index d909331fd10b833180cd2e9b2860034c75c60e1d..5bd063f7ee005ef7cbde074f949be6b8fa4d577c 100644 (file)
@@ -3,6 +3,15 @@
 <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>
index 4f252d390ec898c31c773525d07ad8ef0cf25c2c..b9b1d4860ebf5559a65412fc64b9062c93cee5bb 100644 (file)
@@ -3,6 +3,15 @@
 <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>
index a4e2908f0cbfcbbbf083f4834c1cd907c5ba6155..95a4a2672f4afb5ebd8ecd2422ef04d54153de3c 100644 (file)
@@ -4,6 +4,15 @@
 <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>
index 2ee2de3e8191b590a8b30b164ef8479173f893aa..0b123a162703963c547c7be7e7476522a220403e 100644 (file)
@@ -4,6 +4,15 @@
 <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>
index 0154de675e297c240a02c615d0bd2f4b9704093e..cdd925229ca992bef2ad35fab094f08f9acb4ee0 100644 (file)
@@ -4,6 +4,15 @@
 <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>
index 1a4459238f1799591536fd964cb981a4f34fbf85..3b909543fac801dac7d1b159793690957c0a701b 100644 (file)
@@ -4,6 +4,15 @@
 <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>
index 26076b9073b8d684447bb2a1f75d281c4e3161a8..b4956b0fb4eaa63a5089a57d31bd770e83d65e45 100644 (file)
@@ -4,6 +4,15 @@
 <title>Moodle Dokumentantion: Weitere Hilfedateien und
 Handb&uuml;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>
index 92dfff4f76c3b266cc34e49a1734b8bc35b56eed..54b38845cf0b17d55181358dd8116309ef855a59 100644 (file)
@@ -3,6 +3,15 @@
 <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>
index 57dd9ed0971d6ab2fc44b9e7f4c70da2548f6ece..3ed278fd518a949569d95d74b129f37f86527c92 100644 (file)
@@ -3,6 +3,15 @@
 <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>
index 2b837ce91a6007b1b1ca502dbb24ee4069cb7a21..9884f3a1546db4f8ef710196d05a113840bf98eb 100644 (file)
@@ -3,6 +3,15 @@
 <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>
index cf6d13c163835bbe0f351e35aa8686a63511b174..ca9265d862f89f85df5aa0f766c6d45467bcae35 100644 (file)
@@ -4,6 +4,15 @@
 <title>moodle Dokumentation: Leitfaden f&uuml;r
 Moodle-&Uuml;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>
index 388455aa25502ad5bbdccb7cbfba6119258c8d92..82366134b4493c36945c2a54bebec45ab13a19f9 100644 (file)
@@ -4,6 +4,15 @@
 <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>