This repository has been archived on 2025-03-01. You can view files and clone it, but cannot push or open issues or pull requests.
trantor/templates
Las Zenow 93bd567f8d Change the paths stored on the database
The paths in the database now are relative of the config BOOKS_PATH and COVER_PATH

For updating the database this query should be use:
for (var i = db.books.find(); i.hasNext(); ) {
        var book = i.next();
        db.books.update({_id: book["_id"]}, {$set: {path: book["path"].slice(6), cover: book["cover"].slice(7), coversmall: book["coversmall"].slice(7)}});
}
2012-10-28 20:21:46 +01:00
..
about.html Fixing bad english 2012-10-26 13:53:11 +02:00
book.html Change the paths stored on the database 2012-10-28 20:21:46 +01:00
edit.html Change the paths stored on the database 2012-10-28 20:21:46 +01:00
footer.html Resize properly the iframe 2012-09-02 15:40:43 +02:00
header.html Add settings page to allow users to change their password 2012-10-28 18:47:44 +01:00
index.html Change the paths stored on the database 2012-10-28 20:21:46 +01:00
new.html Change the paths stored on the database 2012-10-28 20:21:46 +01:00
read.html The iframe should be as big as the book menu, so the covers are well align 2012-09-09 12:42:22 +02:00
search.html Change the paths stored on the database 2012-10-28 20:21:46 +01:00
settings.html Add settings page to allow users to change their password 2012-10-28 18:47:44 +01:00
upload.html Add some explanations to upload page 2012-08-23 01:08:42 +02:00