diff options
author | Prashant S | 2017-01-02 11:38:27 +0530 |
---|---|---|
committer | GitHub | 2017-01-02 11:38:27 +0530 |
commit | 441e51dea151cff3b4d840bd4088df471e4ad6de (patch) | |
tree | ab54dd57a92294ef7d79deb4ef61781c0d34d65e | |
parent | 56f1cecdd430188d1d9222edb98ea8f506739943 (diff) | |
parent | 8b89f72289839bc9ef3e3eb00b4d311623c12f24 (diff) | |
download | openmodelica_textbook_companion-441e51dea151cff3b4d840bd4088df471e4ad6de.tar.gz openmodelica_textbook_companion-441e51dea151cff3b4d840bd4088df471e4ad6de.tar.bz2 openmodelica_textbook_companion-441e51dea151cff3b4d840bd4088df471e4ad6de.zip |
Merge pull request #3 from prashantsinalkar/drupal_7.x
fixed default value text and unused field.
-rwxr-xr-x | run.inc | 2 | ||||
-rwxr-xr-x | textbook_companion.module | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -549,7 +549,7 @@ function _html_book_info($preference_id) $book_details = $query->execute()->fetchObject(); $html_data = ''; if ($book_details) { - $html_data = '<table cellspacing="1" cellpadding="1" border="0" style="width: 100%;" valign="top">' . '<tr><td style="width: 35%;"><span style="color: rgb(128, 0, 0);"><strong>About the Book</strong></span></td><td style="width: 35%;"><span style="color: rgb(128, 0, 0);"><strong>About the Contributor</strong></span></td>' . '<tr><td valign="top"><ul>' . '<li><strong>Author:</strong> ' . $book_details->preference_author . '</li>' . '<li><strong>Title of the Book:</strong> ' . $book_details->preference_book . '</li>' . '<li><strong>Publisher:</strong> ' . $book_details->preference_publisher . '</li>' . '<li><strong>Year:</strong> ' . $book_details->preference_year . '</li>' . '<li><strong>Edition:</strong> ' . $book_details->preference_edition . '</li>' . '</ul></td><td valign="top"><ul>' . '<li><strong>Contributor Name: </strong>' . $book_details->proposal_full_name . ', ' . $book_details->proposal_course . ', ' . $book_details->proposal_branch . ', ' . $book_details->proposal_university . '</li>' . '<li><strong>College Teacher: </strong>' . $book_details->proposal_faculty . '</li>' . '<li><strong>Reviewer: </strong>' . $book_details->proposal_reviewer . '</li>' . '</ul></td></tr>' . '</table>'; + $html_data = '<table cellspacing="1" cellpadding="1" border="0" style="width: 100%;" valign="top">' . '<tr><td style="width: 35%;"><span style="color: rgb(128, 0, 0);"><strong>About the Book</strong></span></td><td style="width: 35%;"><span style="color: rgb(128, 0, 0);"><strong>About the Contributor</strong></span></td>' . '<tr><td valign="top"><ul>' . '<li><strong>Author:</strong> ' . $book_details->preference_author . '</li>' . '<li><strong>Title of the Book:</strong> ' . $book_details->preference_book . '</li>' . '<li><strong>Publisher:</strong> ' . $book_details->preference_publisher . '</li>' . '<li><strong>Year:</strong> ' . $book_details->preference_year . '</li>' . '<li><strong>Edition:</strong> ' . $book_details->preference_edition . '</li>' . '</ul></td><td valign="top"><ul>' . '<li><strong>Contributor Name: </strong>' . $book_details->proposal_full_name . ', ' . $book_details->proposal_course . ', ' . $book_details->proposal_branch . ', ' . $book_details->proposal_university . '</li>' . '<li><strong>Reviewer: </strong>' . $book_details->proposal_reviewer . '</li>' . '</ul></td></tr>' . '</table>'; } return $html_data; } diff --git a/textbook_companion.module b/textbook_companion.module index b4e69df..d3d5f42 100755 --- a/textbook_companion.module +++ b/textbook_companion.module @@ -1926,7 +1926,7 @@ function book_proposal_form($form, &$form_state) ); $form['reviewer'] = array( '#type' => 'hidden', - '#value' => 'None', + '#value' => 'OpenModelica TBC Team', '#title' => t('Reviewer'), '#size' => 30, '#maxlength' => 50 |