[Fusionforge-commits] r10759 - in trunk/src/www/tracker: admin include
Alain Peyrat
aljeux at libremir.placard.fr.eu.org
Tue Sep 28 18:22:27 CEST 2010
Author: aljeux
Date: 2010-09-28 18:22:27 +0200 (Tue, 28 Sep 2010)
New Revision: 10759
Modified:
trunk/src/www/tracker/admin/form-workflow.php
trunk/src/www/tracker/include/ArtifactHtml.class.php
Log:
html_image() cleanup
Modified: trunk/src/www/tracker/admin/form-workflow.php
===================================================================
--- trunk/src/www/tracker/admin/form-workflow.php 2010-09-28 16:22:21 UTC (rev 10758)
+++ trunk/src/www/tracker/admin/form-workflow.php 2010-09-28 16:22:27 UTC (rev 10759)
@@ -79,7 +79,7 @@
$name = 'wk[100]['. $s['element_id'].']';
$value = in_array($s['element_id'], $next)? ' checked="checked"' : '';
$str = '<input type="checkbox" name="'.$name.'"'.$value.' />';
- $str .= ' '.html_image('spacer.gif', 20, 20, array());
+ $str .= ' '.html_image('spacer.gif', 20, 20);
echo '<td align="center">'.$str.'</td>'."\n";
}
echo '</tr>'."\n";
@@ -106,11 +106,11 @@
$url = getStringFromServer('PHP_SELF').'?group_id='.$group_id.'&atid='.$ath->getID().'&workflow_roles=1&from='.$status['element_id'].'&next='.$s['element_id'];
$str .= ' <a href="'.$url.'" title="Edit roles">'.html_image('ic/acl_roles20.png', 20, 20, array('alt'=>'Edit Roles')).'</a>';
} else {
- $str .= ' '.html_image('spacer.gif', 20, 20, array());
+ $str .= ' '.html_image('spacer.gif', 20, 20);
}
} else {
$str = '<input type="checkbox" checked="checked" disabled="disabled" />';
- $str .= ' '.html_image('spacer.gif', 20, 20, array());
+ $str .= ' '.html_image('spacer.gif', 20, 20);
}
echo '<td align="center">'.$str.'</td>'."\n";
}
Modified: trunk/src/www/tracker/include/ArtifactHtml.class.php
===================================================================
--- trunk/src/www/tracker/include/ArtifactHtml.class.php 2010-09-28 16:22:21 UTC (rev 10758)
+++ trunk/src/www/tracker/include/ArtifactHtml.class.php 2010-09-28 16:22:27 UTC (rev 10759)
@@ -41,11 +41,7 @@
if ($editable === true) {
$title_arr[] = '<div style="width:100%;">' .
'<div style="float:left">' . _('Detailed description') . '</div>' .
- '<div style="float:right">' . html_image('ic/forum_edit.gif','37','15',array('title'=>"Click to edit", 'alt'=>"Click to edit", 'onclick'=>"switch2edit(this, 'show', 'edit')", 'border'=>"0")) . '</div>' .
-/*
- html_image('ic/forum_edit.gif','37','15',array(title=>"Click to edit" alt=>"Click to edit" onclick=>"switch2edit(this, 'show', 'edit')", border=>"0"))
- */
-
+ '<div style="float:right">' . html_image('ic/forum_edit.gif','37','15',array('title'=>"Click to edit", 'alt'=>"Click to edit", 'onclick'=>"switch2edit(this, 'show', 'edit')")) . '</div>' .
'</div>';
}
else {
More information about the Fusionforge-commits
mailing list