Merge pull request #7032 from mlutfy/4.7-crm17432
[civicrm-core.git] / CRM / Contribute / Page / ContributionPage.php
index 1cc32d9c9560f6e31a6e8f6a3388fe1362442486..a133520f249af4e750b72a5590b1a3ef3ba6c2bd 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.6                                                |
+ | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
@@ -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