Merge pull request #4936 from monishdeb/INFRA-32
[civicrm-core.git] / CRM / Report / Form / Contribute / LoggingSummary.php
index d083eb7cbae9f2738c6ed91f9da7f72e5820bcb0..28c79bd7f9cab0d74313928edf32ac82d6affc62 100644 (file)
@@ -1,10 +1,9 @@
 <?php
-
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
  * $Id$
  *
  */
 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',
@@ -172,7 +173,10 @@ class CRM_Report_Form_Contribute_LoggingSummary extends CRM_Logging_ReportSummar
     parent::__construct();
   }
 
-  function alterDisplay(&$rows) {
+  /**
+   * @param $rows
+   */
+  public function alterDisplay(&$rows) {
     // cache for id → is_deleted mapping
     $isDeleted = array();
 
@@ -202,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']);
@@ -210,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']}
@@ -227,4 +231,3 @@ class CRM_Report_Form_Contribute_LoggingSummary extends CRM_Logging_ReportSummar
         ";
   }
 }
-