Changeset:
d327cca4654e
https://sourceforge.net/p/mrbs/hg-code/ci/d327cca4654ee6385248cb97ed5bf768af728252
Author:
Campbell Morrison <[email protected]>
Date:
Sun Dec 04 16:48:44 2016 +0000
Log message:
Fixed height of header when debugging with display_errors set to '1'.
diffstat:
web/Themes/default/header.inc | 8 +++++++-
web/css/mrbs.css.php | 6 +++++-
web/day.php | 2 ++
3 files changed, 14 insertions(+), 2 deletions(-)
diffs (53 lines):
diff -r 847556466ab8 -r d327cca4654e web/Themes/default/header.inc
--- a/web/Themes/default/header.inc Sun Dec 04 10:41:03 2016 +0000
+++ b/web/Themes/default/header.inc Sun Dec 04 16:48:44 2016 +0000
@@ -268,7 +268,13 @@
echo "[Warning: ".$locale_warning."]";
}
- echo "<header id=\"banner\" class=\"screenonly\">\n";
+ $class = 'screenonly';
+ if ($simple)
+ {
+ $class .= ' simple';
+ }
+
+ echo "<header id=\"banner\" class=\"$class\">\n";
print_header_site_info();
if (!$simple)
{
diff -r 847556466ab8 -r d327cca4654e web/css/mrbs.css.php
--- a/web/css/mrbs.css.php Sun Dec 04 10:41:03 2016 +0000
+++ b/web/css/mrbs.css.php Sun Dec 04 16:48:44 2016 +0000
@@ -860,7 +860,7 @@
/* ------------ FUNCTIONS.INC -------------------*/
-header#banner {
+#banner {
display: table;
height: 100%;
width: 100%;
@@ -871,6 +871,10 @@
border-style: solid;
}
+#banner.simple {
+ height: auto;
+}
+
#banner #company {
display: table-cell;
font-size: large;
diff -r 847556466ab8 -r d327cca4654e web/day.php
--- a/web/day.php Sun Dec 04 10:41:03 2016 +0000
+++ b/web/day.php Sun Dec 04 16:48:44 2016 +0000
@@ -6,6 +6,8 @@
require_once "mincals.inc";
require_once "functions_table.inc";
+throw new Exception('Testing');
+
// Get non-standard form variables
$timetohighlight = get_form_var('timetohighlight', 'int');
$ajax = get_form_var('ajax', 'int');
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits