diff options
author | Sashi20 | 2020-01-10 14:01:36 +0530 |
---|---|---|
committer | Sashi20 | 2020-01-10 14:01:36 +0530 |
commit | 96fa3195ca3e86c739c2907f85360bc4dcd95a95 (patch) | |
tree | 8f246c25ce5502eacc4f1b9c0e8fdc27f571e3e8 /display_books.inc | |
parent | fecb424fa4f20814d663e48ae668552381678509 (diff) | |
download | r_textbook_companion-96fa3195ca3e86c739c2907f85360bc4dcd95a95.tar.gz r_textbook_companion-96fa3195ca3e86c739c2907f85360bc4dcd95a95.tar.bz2 r_textbook_companion-96fa3195ca3e86c739c2907f85360bc4dcd95a95.zip |
Update project details in info and update text in completed books page
Diffstat (limited to 'display_books.inc')
-rwxr-xr-x | display_books.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/display_books.inc b/display_books.inc index 3448347..829b681 100755 --- a/display_books.inc +++ b/display_books.inc @@ -140,7 +140,7 @@ function tbc_completed_books_all() $output .= "</h4></div>"; $result_count = db_query("SELECT pe.book FROM {textbook_companion_preference} pe LEFT JOIN textbook_companion_proposal po ON pe.proposal_id = po.id WHERE po.proposal_status =3 AND pe.approval_status =1"); $row_count = $result_count->rowCount(); - $output .= "<p style='clear: both;'>Total number of completed books : " . $row_count . " </p>"; + $output .= "<p style='clear: both;'>Total number of completed books : " . $row_count . " </p><br><span style='color:red;'>The list below is not the books as named but only are the solved example for R</span>"; $output .= "<hr style='background-color: #abb2b8;' />"; $result_category = db_query("SELECT * FROM {list_of_category} WHERE category_id !=0"); $row_category_count = $result_category->rowCount(); @@ -174,7 +174,7 @@ function tbc_books_display_new_category_form($form, &$form_state) $book_count = $count_row->c; $form['completed_book_count'] = array( '#type' => 'item', - '#markup' => "Total number of completed books: " . $book_count, + '#markup' => "Total number of completed books: " . $book_count . "<br><span style='color:red;'>The list below is not the books as named but only are the solved example for R</span>", ); $form['category'] = array( '#type' => 'select', |