Permalink
Browse files

Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close…

… tags

There are multiple issues with Moodle files containing empty or blank lines
(lines consisting of white spaces or tabs only) and/or white space before or
after the PHP open and close tags, notably with config.php and theme files.
  • Loading branch information...
1 parent 1f68258 commit 0baafc173a0065e5cc748616eb574fdf30a5a540 iarenaza committed Oct 9, 2007
View
@@ -15,4 +15,3 @@
"french" => "French");
?>
-
@@ -217,4 +217,3 @@ function my_file_get_contents($filename, $use_include_path = 0) {
}
?>
-
View
@@ -340,4 +340,3 @@
?>
-
View
@@ -306,4 +306,3 @@ function print_outline_row($mod, $instance, $result) {
}
?>
-
@@ -122,4 +122,3 @@
print_footer($COURSE);
?>
-
@@ -57,4 +57,3 @@
print_footer($course);
?>
-
@@ -67,4 +67,3 @@
print_footer($course);
?>
-
@@ -31,4 +31,3 @@
DB_ERROR_ACCESS_VIOLATION => 'سماحيات غير كافية'
);
?>
-
@@ -34,5 +34,4 @@
DB_ERROR_NOSUCHDB => 'несъществуваща база данни',
DB_ERROR_ACCESS_VIOLATION => 'нямате достатъчно права'
);
-?>
-
+?>
@@ -35,4 +35,3 @@
DB_ERROR_ACCESS_VIOLATION => 'нямате достатъчно права'
);
?>
-
@@ -30,5 +30,4 @@
DB_ERROR_NOSUCHDB => 'no such database',
DB_ERROR_ACCESS_VIOLATION => 'insufficient permissions'
);
-?>
-
+?>
@@ -32,5 +32,4 @@
DB_ERROR_NOSUCHDB => 'nie znaleziono bazy',
DB_ERROR_ACCESS_VIOLATION => 'niedostateczne uprawnienia'
);
-?>
-
+?>
@@ -33,4 +33,3 @@
DB_ERROR_ACCESS_VIOLATION => 'permisiuni insuficiente'
);
?>
-
@@ -31,4 +31,3 @@
DB_ERROR_ACCESS_VIOLATION => 'permissions ไม่พอ'
);
?>
-
@@ -21,7 +21,12 @@ Our changes:
working properly. Simplified logic (now that we are FETCH_ASSOC). Work in progress
for the annoying http://tracker.moodle.org/browse/MDL-6877.
Once fixed by adodb guys, we'll return to their official distro.
+ * lang/adodb-ar.inc.php lang/adodb-bg.inc.php lang/adodb-bgutf8.inc.php
+ lang/adodb-en.inc.php lang/adodb-pl.inc.php lang/adodb-ro.inc.php
+ lang/adodb_th.inc.php - Removed leading white space outside PHP open/close tags
+ (see http://tracker.moodle.org/browse/MDL-11632).
-skodak
+
+skodak,iarenaza
$Id$
View
@@ -93,4 +93,3 @@
print_footer($course);
?>
-
@@ -1178,4 +1178,3 @@
print_footer($course);
?>
-
View
@@ -107,4 +107,4 @@
break;
}
echo '<hr />';
-?>
+?>
View
@@ -60,4 +60,3 @@
print_footer($course);
?>
-
View
@@ -145,4 +145,3 @@
print_footer($course);
?>
-
View
@@ -35,4 +35,3 @@
redirect("$CFG->wwwroot/course/view.php?id=$course->id");
?>
-
@@ -28,4 +28,3 @@
"lesson.php?action=delete&amp;id=$cm->id&amp;pageid=$pageid&amp;sesskey=".$USER->sesskey,
"view.php?id=$cm->id");
?>
-
View
@@ -87,4 +87,3 @@
print_footer($course);
?>
-
@@ -43,4 +43,3 @@
redirect($CFG->hiveprotocol .'://'. $CFG->hivehost .':'. $CFG->hiveport .''. $CFG->hivepath .'?'.$query);
?>
-
View
@@ -79,4 +79,3 @@
}
}
?>
-
View
@@ -309,4 +309,3 @@
?>
-
View
@@ -155,4 +155,3 @@
print_footer('none');
?>
-
@@ -1364,4 +1364,3 @@
print_footer($course);
?>
-
View
@@ -121,4 +121,3 @@
print_footer($course);
?>
-
@@ -92,4 +92,3 @@
print_footer('none');
?>
-
View
@@ -141,4 +141,3 @@
print_footer($COURSE);
?>
-
View
@@ -20,4 +20,3 @@
}
?>
-
@@ -28,5 +28,3 @@
}
}
?>
-
-
@@ -1,4 +1,3 @@
-
<?php print_custom_corners_end(false, 'content'); ?>
</div> <!-- end div containerContent -->
<!-- START OF FOOTER -->
@@ -28,5 +28,3 @@
}
}
?>
-
-

0 comments on commit 0baafc1

Please sign in to comment.