Merge pull request #7032 from mlutfy/4.7-crm17432
[civicrm-core.git] / CRM / Contribute / Page / ContributionPage.php
index 18eb4665ca6d6ec89392c5363699ee90b4aa7d61..a133520f249af4e750b72a5590b1a3ef3ba6c2bd 100644 (file)
@@ -29,8 +29,6 @@
  *
  * @package CRM
  * @copyright CiviCRM LLC (c) 2004-2015
- * $Id$
- *
  */
 
 /**
@@ -372,10 +370,7 @@ AND         cp.page_type = 'contribute'
   }
 
   /**
-   * make a copy of a contribution page, including
-   * all the fields in the page
-   *
-   * @return void
+   * Make a copy of a contribution page, including all the fields in the page.
    */
   public function copy() {
     $gid = CRM_Utils_Request::retrieve('gid', 'Positive',
@@ -394,6 +389,8 @@ AND         cp.page_type = 'contribute'
    *   Unused parameter.
    */
   public function browse($action = NULL) {
+    Civi::resources()->addStyleFile('civicrm', 'css/searchForm.css', 1, 'html-header');
+
     $this->_sortByCharacter = CRM_Utils_Request::retrieve('sortByCharacter',
       'String',
       $this