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  43af07b6c4e99bc49a7c7bd82dec7efa2d351836 (commit)
      from  529cf83d0dcf4f18ac3ecee8586da4a7d2c61cfc (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=43af07b6c4e99bc49a7c7bd82dec7efa2d351836

commit 43af07b6c4e99bc49a7c7bd82dec7efa2d351836
Author: Marc-Etienne Vargenau <[email protected]>
Date:   Wed Mar 29 13:03:53 2017 +0200

    html_image takes ints, not strings

diff --git a/src/common/tracker/actions/effort_units.php 
b/src/common/tracker/actions/effort_units.php
index f305d15..5cb12a1 100644
--- a/src/common/tracker/actions/effort_units.php
+++ b/src/common/tracker/actions/effort_units.php
@@ -268,14 +268,14 @@ function show_units(&$effortUnitSet){
                        if ($isEditable) {
                                $pos =  $unit->getPosition();
                                if ($pos==1) {
-                                       $content = 
html_image('ic/btn_up.png','19','18',array('alt'=>'Up'));
+                                       $content = html_image('ic/btn_up.png', 
19, 18, array('alt'=>'Up'));
                                } else {
-                                       $content = 
util_make_link($currentURL.'?'.($urlParameters ? 
$urlParameters.'&':'').'unit_id='.$unit->getID().'&new_pos='.($pos - 
1).'&function=updownorder', 
html_image('ic/btn_up.png','19','18',array('alt'=>'Up', 'title'=>_('Move Up 
this custom field element'))));
+                                       $content = 
util_make_link($currentURL.'?'.($urlParameters ? 
$urlParameters.'&':'').'unit_id='.$unit->getID().'&new_pos='.($pos - 
1).'&function=updownorder', html_image('ic/btn_up.png', 19, 18, 
array('alt'=>'Up', 'title'=>_('Move Up this custom field element'))));
                                }
                                if ($pos == count($units)) {
-                                       $content .= 
html_image('ic/btn_down.png','19','18',array('alt'=>'Down'));
+                                       $content .= 
html_image('ic/btn_down.png', 19, 18, array('alt'=>'Down'));
                                } else {
-                                       $content .= 
util_make_link($currentURL.'?'.($urlParameters ? 
$urlParameters.'&':'').'unit_id='.$unit->getID().'&new_pos='.($pos + 
1).'&function=updownorder', 
html_image('ic/btn_down.png','19','18',array('alt'=>'Down', 'title'=>_('Move 
Down this custom field element'))));
+                                       $content .= 
util_make_link($currentURL.'?'.($urlParameters ? 
$urlParameters.'&':'').'unit_id='.$unit->getID().'&new_pos='.($pos + 
1).'&function=updownorder', html_image('ic/btn_down.png', 19, 18, 
array('alt'=>'Down', 'title'=>_('Move Down this custom field element'))));
                                }
                                $cells[] = array($content, 
'class'=>'align-center');
                        }
diff --git a/src/common/tracker/views/form-addextrafield.php 
b/src/common/tracker/views/form-addextrafield.php
index d57b7c9..a9f454c 100644
--- a/src/common/tracker/views/form-addextrafield.php
+++ b/src/common/tracker/views/form-addextrafield.php
@@ -79,22 +79,22 @@ if ($rows > 0) {
                                "</td>\n";
                echo '<td>'.$eftypes[$efarr[$i]['field_type']]."</td>\n";
                if ($efarr[$i]['is_disabled'] == 0) {
-                       echo '<td class="align-center" content="1" 
>'.html_image("ic/check.png",'15','13').'</td>'."\n";
+                       echo '<td class="align-center" content="1" 
>'.html_image("ic/check.png", 15, 13).'</td>'."\n";
                } else {
                        echo '<td content="0" ></td>'."\n";
                }
                if ($efarr[$i]['is_required'] == 1) {
-                       echo '<td class="align-center" content="1" 
>'.html_image("ic/check.png",'15','13').'</td>'."\n";
+                       echo '<td class="align-center" content="1" 
>'.html_image("ic/check.png", 15, 13).'</td>'."\n";
                } else {
                        echo '<td content="0" ></td>'."\n";
                }
                if ($efarr[$i]['is_hidden_on_submit'] == 0) {
-                       echo '<td class="align-center" content="1" 
>'.html_image("ic/check.png",'15','13').'</td>'."\n";
+                       echo '<td class="align-center" content="1" 
>'.html_image("ic/check.png", 15, 13).'</td>'."\n";
                } else {
                        echo '<td content="0" ></td>'."\n";
                }
                if ($autoAssignFieldId==$i) {
-                       echo '<td 
class="align-center">'.html_image("ic/check.png",'15','13').'</td>'."\n";
+                       echo '<td 
class="align-center">'.html_image("ic/check.png", 15, 13).'</td>'."\n";
                } else {
                        echo '<td></td>'."\n";
                }

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

Summary of changes:
 src/common/tracker/actions/effort_units.php     | 8 ++++----
 src/common/tracker/views/form-addextrafield.php | 8 ++++----
 2 files changed, 8 insertions(+), 8 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