Browse Source

Cleanly fix the problems with line feed

master
Sébastien Lucas 10 years ago
parent
commit
3ca1d1d3df
18 changed files with 6 additions and 30 deletions
  1. +0
    -1
      OPDS_renderer.php
  2. +0
    -1
      author.php
  3. +0
    -1
      base.php
  4. +0
    -1
      book.php
  5. +3
    -4
      checkconfig.php
  6. +0
    -1
      config.php
  7. +0
    -1
      config_default.php
  8. +0
    -1
      config_local.php.example
  9. +0
    -1
      customcolumn.php
  10. +0
    -1
      data.php
  11. +0
    -4
      feed.php
  12. +0
    -4
      fetch.php
  13. +0
    -1
      getJSON.php
  14. +3
    -3
      index.php
  15. +0
    -1
      language.php
  16. +0
    -2
      sendtomail.php
  17. +0
    -1
      serie.php
  18. +0
    -1
      tag.php

+ 0
- 1
OPDS_renderer.php View File

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

+ 0
- 1
author.php View File

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

+ 0
- 1
base.php View File

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

}
?>

+ 0
- 1
book.php View File

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

}
?>

+ 3
- 4
checkconfig.php 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>

+ 0
- 1
config.php View File

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

+ 0
- 1
config_default.php View File

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

?>

+ 0
- 1
config_local.php.example View File

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

+ 0
- 1
customcolumn.php View File

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

+ 0
- 1
data.php View File

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

+ 0
- 4
feed.php 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;
}
?>

+ 0
- 4
fetch.php 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);
}
?>

+ 0
- 1
getJSON.php View File

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

+ 3
- 3
index.php 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>

+ 0
- 1
language.php View File

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

+ 0
- 2
sendtomail.php View File

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

+ 0
- 1
serie.php View File

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

+ 0
- 1
tag.php View File

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

Loading…
Cancel
Save