summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorCharlyCoste <contact@ccoste.fr>2010-03-14 02:03:29 +0100
committerCharlyCoste <contact@ccoste.fr>2010-03-14 02:03:29 +0100
commitc921e5422d3c927c7ccd1c062e9fa3338834c1b7 (patch)
treef37e81a0c66f1351c7c0e34f1ede0f056c79fa68 /inc
parentab0b552c80a34b38afbc01b9598d77677a7659fb (diff)
downloadnextcloud-server-c921e5422d3c927c7ccd1c062e9fa3338834c1b7.tar.gz
nextcloud-server-c921e5422d3c927c7ccd1c062e9fa3338834c1b7.zip
<br /> is not a valid strict xhtml1.0 tag. Not semantic. Replacing it by CSS instructions on semantic tags.
Diffstat (limited to 'inc')
-rwxr-xr-xinc/lib_base.php6
-rwxr-xr-xinc/lib_files.php2
-rwxr-xr-xinc/templates/footer.php2
-rwxr-xr-xinc/templates/header.php5
4 files changed, 6 insertions, 9 deletions
diff --git a/inc/lib_base.php b/inc/lib_base.php
index f4523228674..b8d5bcb9ed4 100755
--- a/inc/lib_base.php
+++ b/inc/lib_base.php
@@ -190,14 +190,14 @@ class OC_DB {
$DBConnection = @new mysqli($CONFIG_DBHOST, $CONFIG_DBUSER, $CONFIG_DBPWD,$CONFIG_DBNAME);
if (mysqli_connect_errno()) {
@ob_end_clean();
- echo('<html><head></head><body class="error"><br /><br /><div class="center"><b>can not connect to database.</div></body></html>');
+ echo('<html><head></head><body class="error"><div class="center"><b>can not connect to database.</div></body></html>');
exit();
}
}
$result = @$DBConnection->query($cmd);
if (!$result) {
- $entry='DB Error: "'.$DBConnection->error.'"<br />';
- $entry.='Offending command was: '.$cmd.'<br />';
+ $entry='<p>DB Error: "'.$DBConnection->error.'"</p>';
+ $entry.='<p>Offending command was: '.$cmd.'</p>';
echo($entry);
}
return $result;
diff --git a/inc/lib_files.php b/inc/lib_files.php
index d00444ab09d..39d48c13a97 100755
--- a/inc/lib_files.php
+++ b/inc/lib_files.php
@@ -82,7 +82,7 @@ class OC_FILES {
}
}
echo('</table>');
- if(!$filesfound) echo('<br />no files here');
+ if(!$filesfound) echo('<p>no files here</p>');
echo('</div>');
}
diff --git a/inc/templates/footer.php b/inc/templates/footer.php
index 138d563658a..9771c797787 100755
--- a/inc/templates/footer.php
+++ b/inc/templates/footer.php
@@ -1,5 +1,3 @@
-<br />
-<br />
<p class="footer">
<?php
echo($CONFIG_FOOTEROWNERNAME);
diff --git a/inc/templates/header.php b/inc/templates/header.php
index efd235168bd..90a9b1c23f0 100755
--- a/inc/templates/header.php
+++ b/inc/templates/header.php
@@ -11,18 +11,17 @@
if(!isset($_SESSION['username']) or $_SESSION['username']=='') {
- echo('<br /><br /><div class="center">');
+ echo('<div class="center">');
OC_UTIL::showloginform();
echo('</div>');
OC_UTIL::showfooter();
exit();
}else{
- echo('<br /><div class="center">');
+ echo('<div id="nav" class="center">');
OC_UTIL::shownavigation();
echo('</div>');
}
?>
-<br />