about summary refs log tree commit diff stats
path: root/classes/Handler/ListHandler.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2026-06-15 20:26:59 +0300
committerAndrew Dolgov <fox@fakecake.org>2026-06-15 20:26:59 +0300
commit2be5ac92f7c7a7a195c90236b03c24c3d138d6c9 (patch)
treea67f4201deabdc7bb3c4311447517e7259df9c4d /classes/Handler/ListHandler.php
parent39389e6a59249b644fdc7a96bfd73c3ee01ce2e7 (diff)
downloadthe-epube-2be5ac92f7c7a7a195c90236b03c24c3d138d6c9.tar.gz
the-epube-2be5ac92f7c7a7a195c90236b03c24c3d138d6c9.tar.xz
unify rendering of book cells between offline and online list modes
Diffstat (limited to 'classes/Handler/ListHandler.php')
-rw-r--r--classes/Handler/ListHandler.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/classes/Handler/ListHandler.php b/classes/Handler/ListHandler.php
index e4f6455..9c65176 100644
--- a/classes/Handler/ListHandler.php
+++ b/classes/Handler/ListHandler.php
@@ -71,13 +71,10 @@ class ListHandler implements RequestHandlerInterface, AuthRequired
                 }
             }
 
-            $read_link = "";
             $in_progress = false;
             $is_read = false;
 
             if ($line["epub_id"]) {
-                $read_link = "read.html?" . http_build_query(["id" => $line["epub_id"], "rt" => $mode, "b" => $line["id"], "ts" => time()]);
-
                 $lastread_sth = $ldb->prepare("SELECT lastread, total_pages FROM epube_books, epube_pagination
                     WHERE epube_pagination.bookid = epube_books.bookid AND
                         epube_books.bookid = ? AND owner = ?");
@@ -92,14 +89,6 @@ class ListHandler implements RequestHandlerInterface, AuthRequired
                 }
             }
 
-            $series_link = "";
-            $series_full = "";
-
-            if ($line["series_name"]) {
-                $series_link = "?" . http_build_query(["query" => $line["series_name"]]);
-                $series_full = $line["series_name"] . " [" . $line["series_index"] . "]";
-            }
-
             $data_sth = $caldb->prepare("SELECT * FROM data WHERE book = ? LIMIT 3");
             $data_sth->execute([$line['id']]);
 
@@ -127,10 +116,7 @@ class ListHandler implements RequestHandlerInterface, AuthRequired
                 "author_sort" => $line["author_sort"],
                 "series_name" => $line["series_name"] ?? "",
                 "series_index" => $line["series_index"] ?? 0,
-                "series_link" => $series_link,
-                "series_full" => $series_full,
                 "cover_link" => $cover_link,
-                "read_link" => $read_link,
                 "in_progress" => $in_progress,
                 "is_read" => $is_read,
                 "is_fav" => $is_fav,