From 26bb29f9e131a1e796dcfbb2187a0f982bd350ae Mon Sep 17 00:00:00 2001 From: Daniel Messer Date: Tue, 15 Aug 2023 12:33:37 -0500 Subject: [PATCH] Music and Feature Film citations. --- itemrecord.php | 48 +++++++++++++++++++++++++++++------------------- 1 file changed, 29 insertions(+), 19 deletions(-) diff --git a/itemrecord.php b/itemrecord.php index 3e29ace..6e86f6e 100644 --- a/itemrecord.php +++ b/itemrecord.php @@ -60,12 +60,6 @@ AND books_tags_link.book = '$ItemID'"); // ---------- Pull data from tags table for Similar items ---------- -/*$similartags = $db->query("SELECT name FROM tags -INNER JOIN books_tags_link -ON books_tags_link.tag = tags.id -WHERE tags.name NOT LIKE 'infopump%' -AND books_tags_link.book = '$ItemID' LIMIT 2");*/ - // New similar tags query $similartags = $db->query("SELECT name FROM tags WHERE name IN (SELECT name FROM tags @@ -112,7 +106,7 @@ ON custom_column_1.id = books_custom_column_1_link.value WHERE books_custom_column_1_link.book = '$ItemID'"); while ($row = $type->fetchArray()) { - $row_type = $row['itemtype']; + $row_type = mb_convert_case($row['itemtype'], MB_CASE_TITLE, "UTF-8"); } // ---------- Pull series information ---------- @@ -269,22 +263,28 @@ while ($row = $subtype->fetchArray()) {
-

Citations


+

Bibliographic Citations


+

Note: You may need to slightly edit citations for final use. Citations are based upon available data. Refer to your format guides for proper bibliographic citations.

'.$row_author_sort.'. '.$row_title.'. '.$row_publocation.': '.$row_publisher.', '.$row_pubdate.'.
'; echo ''; - } else { - echo ''; - } + } else { + echo ''; + } ?> Copy Chicago citation