Merge pull request #4936 from monishdeb/INFRA-32
[civicrm-core.git] / CRM / Report / Form / Contribute / LoggingSummary.php
index cec784d4b11a641c9274174d280a29ec37157c4f..28c79bd7f9cab0d74313928edf32ac82d6affc62 100644 (file)
@@ -1,5 +1,4 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
  | CiviCRM version 4.6                                                |
@@ -35,9 +34,8 @@
  */
 class CRM_Report_Form_Contribute_LoggingSummary extends CRM_Logging_ReportSummary {
   /**
-   *
    */
-  function __construct() {
+  public function __construct() {
     $this->_columns = array(
       'civicrm_contact_altered_contact' => array(
         'dao' => 'CRM_Contact_DAO_Contact',
@@ -178,7 +176,7 @@ class CRM_Report_Form_Contribute_LoggingSummary extends CRM_Logging_ReportSummar
   /**
    * @param $rows
    */
-  function alterDisplay(&$rows) {
+  public function alterDisplay(&$rows) {
     // cache for id → is_deleted mapping
     $isDeleted = array();
 
@@ -208,7 +206,7 @@ class CRM_Report_Form_Contribute_LoggingSummary extends CRM_Logging_ReportSummar
         $url = CRM_Report_Utils_Report::getNextUrl('logging/contribute/detail', $q, FALSE, TRUE);
         $row['log_civicrm_contribution_log_action_link'] = $url;
         $row['log_civicrm_contribution_log_action_hover'] = ts('View details for this update');
-        $row['log_civicrm_contribution_log_action'] = '<div class="icon details-icon"></div> ' . ts('Update');
+        $row['log_civicrm_contribution_log_action'] = '<div class="icon ui-icon-zoomin"></div> ' . ts('Update');
       }
 
       unset($row['log_civicrm_contribute_log_user_id']);
@@ -216,7 +214,7 @@ class CRM_Report_Form_Contribute_LoggingSummary extends CRM_Logging_ReportSummar
     }
   }
 
-  function from() {
+  public function from() {
     $this->_from = "
             FROM `{$this->loggingDB}`.log_civicrm_contribution {$this->_aliases['log_civicrm_contribution']}
             LEFT JOIN civicrm_contact {$this->_aliases['civicrm_contact_altered_by']}
@@ -233,4 +231,3 @@ class CRM_Report_Form_Contribute_LoggingSummary extends CRM_Logging_ReportSummar
         ";
   }
 }
-