Cleanly fix the problems with line feed

This commit is contained in:
Sébastien Lucas 2013-07-22 14:29:32 +02:00
parent 2a5d405a91
commit 3ca1d1d3df
18 changed files with 6 additions and 30 deletions

View File

@ -265,4 +265,3 @@ class OPDSRenderer
}
}
?>

View File

@ -99,4 +99,3 @@ and book = ?');
return $authorArray;
}
}
?>

View File

@ -864,4 +864,3 @@ abstract class Base
}
}
?>

View File

@ -562,4 +562,3 @@ order by substr (upper (sort), 1, 1)");
}
}
?>

View File

@ -1,3 +1,5 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<?php
/**
* COPS (Calibre OPDS PHP Server) Configuration check
@ -21,8 +23,6 @@
}
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>COPS Configuration Check</title>
@ -152,5 +152,4 @@ Please check
<footer></footer>
</div>
</body>
</html>
</html>

View File

@ -9,4 +9,3 @@
require_once 'config_default.php';
if (file_exists('config_local.php'))
require_once 'config_local.php';
?>

View File

@ -202,4 +202,3 @@
*/
$config['cops_html_tag_filter'] = "0";
?>

View File

@ -21,4 +21,3 @@
* 0 : disable
*/
$config['cops_use_url_rewriting'] = "0";
?>

View File

@ -99,4 +99,3 @@ order by {0}.value', self::getTableName ($customId), self::getTableLinkName ($cu
return $entryArray;
}
}
?>

View File

@ -143,4 +143,3 @@ class Data extends Base {
}
}
}
?>

View File

@ -25,9 +25,6 @@
$OPDSRender = new OPDSRenderer ();
// Clean output buffer : mandatory for nginx / php-fpm on Wheezy
ob_end_clean();
switch ($page) {
case Base::PAGE_OPENSEARCH :
echo $OPDSRender->getOpenSearch ();
@ -39,4 +36,3 @@
return;
break;
}
?>

View File

@ -50,9 +50,6 @@ function notFound () {
return;
}
}
// Clean output buffer : mandatory for nginx / php-fpm on Wheezy
ob_end_clean();
switch ($type)
{
@ -141,4 +138,3 @@ function notFound () {
else {
header ($config['cops_x_accel_redirect'] . ": " . $dir . $file);
}
?>

View File

@ -101,4 +101,3 @@
echo json_encode ($out);
?>

View File

@ -1,3 +1,5 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<?php
/**
* COPS (Calibre OPDS PHP Server) HTML main script
@ -29,8 +31,6 @@
$n = getURLParam ("n", "1");
$database = GetUrlParam (DB);
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>COPS</title>
@ -93,4 +93,4 @@
</head>
<body>
</body>
</html>
</html>

View File

@ -64,4 +64,3 @@ order by languages.lang_code');
return $entryArray;
}
}
?>

View File

@ -64,5 +64,3 @@ if(!$mail->Send()) {
echo 'Message has been sent';
?>

View File

@ -73,4 +73,3 @@ order by series.sort');
return $entryArray;
}
}
?>

View File

@ -62,4 +62,3 @@ order by tags.name');
return $entryArray;
}
}
?>