$this->assign('includeWysiwygEditor', TRUE);
}
- $resources->addScriptFile('civicrm', 'js/crm.searchForm.js', 1, 'html-header');
+ $resources
+ ->addScriptFile('civicrm', 'js/crm.searchForm.js', 1, 'html-header')
+ ->addStyleFile('civicrm', 'css/searchForm.css', 1, 'html-header');
$this->addButtons(array(
array(
protected $_batchStatusId;
public function preProcess() {
+ // This reuses some styles from search forms
+ CRM_Core_Resources::singleton()->addStyleFile('civicrm', 'css/searchForm.css', 1, 'html-header');
+
self::$_entityID = CRM_Utils_Request::retrieve('bid', 'Positive') ? CRM_Utils_Request::retrieve('bid', 'Positive') : $_POST['batch_id'];
$this->assign('entityID', self::$_entityID);
if (isset(self::$_entityID)) {
content: "\00BB";
}
-.crm-container div#searchForm {
- height: auto;
- width: 100%;
-}
-
-.crm-container div#searchForm table.form-layout {
- border-spacing: 0;
-}
-
-.crm-container div#searchForm table.form-layout td {
- padding: 4px;
- border: 1px solid #DDDDDD;
-}
-
/* editor specific classes */
#crm-container dd.editor {
margin-top: 0.7em;
--- /dev/null
+/* Styles specific to search forms and search results */
+
+.crm-container div#searchForm {
+ height: auto;
+ width: 100%;
+}
+
+.crm-container div#searchForm table.form-layout {
+ border-spacing: 0;
+}
+
+.crm-container div#searchForm table.form-layout td {
+ padding: 4px;
+ border: 1px solid #DDDDDD;
+}
\ No newline at end of file