This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  06ab3b1896870d0f7dec2431ea74a9b8e40931b6 (commit)
      from  63ba1b1c0a697d39ffdbb92e7957eb96ca9368dd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=06ab3b1896870d0f7dec2431ea74a9b8e40931b6

commit 06ab3b1896870d0f7dec2431ea74a9b8e40931b6
Author: Marc-Etienne Vargenau <[email protected]>
Date:   Thu Jun 9 17:12:33 2016 +0200

    global $HTML

diff --git a/src/common/tracker/include/ArtifactHtml.class.php 
b/src/common/tracker/include/ArtifactHtml.class.php
index ef6f114..f76e1ea 100644
--- a/src/common/tracker/include/ArtifactHtml.class.php
+++ b/src/common/tracker/include/ArtifactHtml.class.php
@@ -135,6 +135,7 @@ function hide_edit_button(id) {
        }
 
        function showHistory() {
+               global $HTML;
                $result=$this->getHistory();
                $rows= db_numrows($result);
 
@@ -146,14 +147,14 @@ function hide_edit_button(id) {
                        $title_arr[]=_('Date');
                        $title_arr[]=_('By');
 
-                       echo $GLOBALS['HTML']->listTableTop ($title_arr);
+                       echo $HTML->listTableTop ($title_arr);
 
                        $artifactType =& $this->getArtifactType();
 
                        for ($i=0; $i < $rows; $i++) {
                                $field=db_result($result, $i, 'field_name');
                                echo '
-                               <tr '. $GLOBALS['HTML']->boxGetAltRowStyle($i) 
.'><td>'.$field.'</td><td>';
+                               <tr '. $HTML->boxGetAltRowStyle($i) 
.'><td>'.$field.'</td><td>';
 
                                if ($field == 'status_id') {
 
@@ -178,7 +179,7 @@ function hide_edit_button(id) {
                                        '<td>'. db_result($result, $i, 
'user_name'). '</td></tr>';
                        }
 
-                       echo $GLOBALS['HTML']->listTableBottom();
+                       echo $HTML->listTableBottom();
 
                } else {
                        echo '

-----------------------------------------------------------------------

Summary of changes:
 src/common/tracker/include/ArtifactHtml.class.php | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to