From 2ac0e2d6b395d641809bfccdceb54e7328b506c1 Mon Sep 17 00:00:00 2001 From: Jayaram R Pai Date: Fri, 20 Jun 2014 15:12:53 +0530 Subject: moved category position --- cloud_comments.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud_comments.module b/cloud_comments.module index 26c444a..cb02710 100755 --- a/cloud_comments.module +++ b/cloud_comments.module @@ -66,6 +66,7 @@ function cloud_comments_all($example_id=0) { $q = "SELECT book from {textbook_companion_preference} where id = '%d'"; $qr = db_query($q, $row->books); $obj = db_fetch_object($qr); + $page_content .= t("
Category: ") . $categories[$row->category] . t("
"); $page_content .= t("
Book: ") . $obj->book . t("
"); $q = "SELECT name from {textbook_companion_chapter} where id = '%d'"; @@ -74,7 +75,6 @@ function cloud_comments_all($example_id=0) { $chapter = $obj->name?$obj->name:"None"; $page_content .= t("
Chapter: ") . $chapter . ($row->chapter_no?" ({$row->chapter_no})":"") . t("
"); - $page_content .= t("
Category: ") . $categories[$row->category] . t("
"); $q = "SELECT caption from {textbook_companion_example} where id = '%d'"; $qr = db_query($q, $row->example); -- cgit