]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-9742 Replaced stray tabs with spaces
authorpoltawski <poltawski>
Tue, 8 May 2007 16:25:18 +0000 (16:25 +0000)
committerpoltawski <poltawski>
Tue, 8 May 2007 16:25:18 +0000 (16:25 +0000)
lib/javascript-static.js
theme/chameleon/header.html
theme/cornflower/cornflower.css

index 5e128e247443b12910e2f7eb8df317f840c5efc2..4b7e1450b7b1a4b671de1c3bdccdfeb2004453f6 100644 (file)
@@ -401,22 +401,22 @@ function fix_column_width(colName) {
 
 
 /*
-       Insert myValue at current cursor position
-*/
+   Insert myValue at current cursor position
+ */
 function insertAtCursor(myField, myValue) {
-       // IE support
-       if (document.selection) {
-               myField.focus();
-               sel = document.selection.createRange();
-               sel.text = myValue;
-       }
-       // Mozilla/Netscape support
-       else if (myField.selectionStart || myField.selectionStart == '0') {
-               var startPos = myField.selectionStart;
-               var endPos = myField.selectionEnd;
-               myField.value = myField.value.substring(0, startPos)
-                       + myValue + myField.value.substring(endPos, myField.value.length);
-       } else {
-               myField.value += myValue;
-       }
+    // IE support
+    if (document.selection) {
+        myField.focus();
+        sel = document.selection.createRange();
+        sel.text = myValue;
+    }
+    // Mozilla/Netscape support
+    else if (myField.selectionStart || myField.selectionStart == '0') {
+        var startPos = myField.selectionStart;
+        var endPos = myField.selectionEnd;
+        myField.value = myField.value.substring(0, startPos)
+            + myValue + myField.value.substring(endPos, myField.value.length);
+    } else {
+        myField.value += myValue;
+    }
 }
index 03cedb173e39484bdcae371e5e7c16723c741820..37f0dbb7dde4b39c6950c224a5e24148d979e5c6 100644 (file)
@@ -25,8 +25,8 @@
       <h1 class="headermain"><?php echo $heading ?></h1>
       <div class="headermenu"><?php echo $menu ?></div>
     </div>
-               <div class="navbar clearfix">
-                       &nbsp;      
+    <div class="navbar clearfix">
+        &nbsp;      
     </div>
 <?php } else {  // This is what gets printed on any other page with a heading 
 ?>
index be0e218865e59b7a524a4f5d53f0fe1d73e96079..965a71c61cb01c4666afad2a657013f5cd4b5cfd 100755 (executable)
@@ -555,7 +555,7 @@ h6.main {
 
 div.headermenu 
 {
-       position: absolute;
-       top: 15px;
-       right: 10px;
-}
\ No newline at end of file
+    position: absolute;
+    top: 15px;
+    right: 10px;
+}