summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJayaram R Pai2014-06-20 15:12:53 +0530
committerJayaram R Pai2014-06-20 15:12:53 +0530
commit2ac0e2d6b395d641809bfccdceb54e7328b506c1 (patch)
tree8486980eeab41030234093a12b8b82493bd3044a
parenta2b141ef477dfa2fcffdf9ddb8b4dfdb58e8b8e5 (diff)
downloadcloud-comments-2ac0e2d6b395d641809bfccdceb54e7328b506c1.tar.gz
cloud-comments-2ac0e2d6b395d641809bfccdceb54e7328b506c1.tar.bz2
cloud-comments-2ac0e2d6b395d641809bfccdceb54e7328b506c1.zip
moved category position
-rwxr-xr-xcloud_comments.module2
1 files changed, 1 insertions, 1 deletions
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("<div class='type'> <b>Category: </b>") . $categories[$row->category] . t("</div>");
$page_content .= t("<div class='type'> <b>Book:</b> ") . $obj->book . t("</div>");
$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("<div class='type'> <b>Chapter: </b> ") . $chapter . ($row->chapter_no?" (<b>{$row->chapter_no}</b>)":"") . t("</div>");
- $page_content .= t("<div class='type'> <b>Category: </b>") . $categories[$row->category] . t("</div>");
$q = "SELECT caption from {textbook_companion_example} where id = '%d'";
$qr = db_query($q, $row->example);