summaryrefslogtreecommitdiff
path: root/tbc_external_review.module
diff options
context:
space:
mode:
authorSashi202021-02-23 15:27:43 +0530
committerGitHub2021-02-23 15:27:43 +0530
commitbcced4fe94e895b96a724483a2e08e218726baf1 (patch)
treef561d430e6db436a1723e10bc961618e8a7653bf /tbc_external_review.module
parent53762d582520841fe82c48177999663f6c042bb4 (diff)
parent84b9852a06c5c43f0d74d1295f6b8aa9d1de8bd0 (diff)
downloadtbc-external-review-bcced4fe94e895b96a724483a2e08e218726baf1.tar.gz
tbc-external-review-bcced4fe94e895b96a724483a2e08e218726baf1.tar.bz2
tbc-external-review-bcced4fe94e895b96a724483a2e08e218726baf1.zip
Merge pull request #1 from Sashi20/master
Rename popup class name to avoiod conflict with xcos popup
Diffstat (limited to 'tbc_external_review.module')
-rwxr-xr-xtbc_external_review.module26
1 files changed, 13 insertions, 13 deletions
diff --git a/tbc_external_review.module b/tbc_external_review.module
index fdb0b7f..74fba40 100755
--- a/tbc_external_review.module
+++ b/tbc_external_review.module
@@ -819,7 +819,7 @@
//l("View", "", $options),
l("View", "", array( "fragment" => " ",
"external" => TRUE,"attributes" => array(
- "id" => "popup_window",
+ "id" => "scilab-popup_window",
"data-comment" => "{$row->id}",
))),
);
@@ -830,14 +830,14 @@
//$page_content .= "<div id='lightbox-form' style='display:none'>";
//$page_content .= "<div id='lightbox-inner'></div></div> ";
- $page_content .= "<div id='example-popup' class='popup'>
- <div class='popup-body'>
- <span class='popup-exit'></span>
- <div id = 'popup-content' class='popup-content'>
+ $page_content .= "<div id='example-scilab-popup' class='scilab-popup'>
+ <div class='scilab-popup-body'>
+ <span class='scilab-popup-exit'></span>
+ <div id = 'scilab-popup-content' class='scilab-popup-content'>
</div>
</div>
</div>";
- $page_content .= "<div class='popup-overlay'></div>";
+ $page_content .= "<div class='scilab-popup-overlay'></div>";
} else {
@@ -1931,7 +1931,7 @@
//l("View", "", $view_options),
l("View", "", array( "fragment" => " ",
"external" => TRUE,"attributes" => array(
- "id" => "popup_window",
+ "id" => "scilab-popup_window",
"data-comment" => "{$row->id}",
))),
@@ -1963,14 +1963,14 @@
}
//$page_content .= theme("table", $headers, $rows);
$page_content .= theme('table', array('header' => $headers, 'rows' => $rows ));
- $page_content .= "<div id='example-popup' class='popup'>
- <div class='popup-body'>
- <span class='popup-exit'></span>
- <div id = 'popup-content' class='popup-content'>
+ $page_content .= "<div id='example-scilab-popup' class='scilab-popup'>
+ <div class='scilab-popup-body'>
+ <span class='scilab-popup-exit'></span>
+ <div id = 'scilab-popup-content' class='scilab-popup-content'>
</div>
</div>
</div>";
- $page_content .= "<div class='popup-overlay'></div>";
+ $page_content .= "<div class='scilab-popup-overlay'></div>";
} else {
/* displaying the list of books */
$query = "
@@ -2233,7 +2233,7 @@
INSERT INTO {external_review_details}
(uid, preference_id, review, status, completed, published, sent)
VALUES
- (:uid, {:preference_id},{:review}, :status, :completed, :published, :sent)
+ (:uid, :preference_id, :review, :status, :completed, :published, :sent)
";
$args = array(':uid' => 0,
':preference_id' => $preference_id,