forked from Wavyzz/dolibarr
rename var
This commit is contained in:
@@ -242,14 +242,14 @@ print "</tr>\n";
|
|||||||
|
|
||||||
if ($ret)
|
if ($ret)
|
||||||
{
|
{
|
||||||
foreach ($object->lines as $ressource)
|
foreach ($object->lines as $resource)
|
||||||
{
|
{
|
||||||
print '<tr class="oddeven">';
|
print '<tr class="oddeven">';
|
||||||
|
|
||||||
if (! empty($arrayfields['t.ref']['checked']))
|
if (! empty($arrayfields['t.ref']['checked']))
|
||||||
{
|
{
|
||||||
print '<td>';
|
print '<td>';
|
||||||
print $ressource->getNomUrl(5);
|
print $resource->getNomUrl(5);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if (! $i) $totalarray['nbfield']++;
|
if (! $i) $totalarray['nbfield']++;
|
||||||
}
|
}
|
||||||
@@ -257,20 +257,20 @@ if ($ret)
|
|||||||
if (! empty($arrayfields['ty.label']['checked']))
|
if (! empty($arrayfields['ty.label']['checked']))
|
||||||
{
|
{
|
||||||
print '<td>';
|
print '<td>';
|
||||||
print $ressource->type_label;
|
print $resource->type_label;
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if (! $i) $totalarray['nbfield']++;
|
if (! $i) $totalarray['nbfield']++;
|
||||||
}
|
}
|
||||||
// Extra fields
|
// Extra fields
|
||||||
$obj = (Object) $ressource->array_options;
|
$obj = (Object) $resource->array_options;
|
||||||
include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_print_fields.tpl.php';
|
include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_print_fields.tpl.php';
|
||||||
|
|
||||||
print '<td align="center">';
|
print '<td align="center">';
|
||||||
print '<a href="./card.php?action=edit&id='.$ressource->id.'">';
|
print '<a href="./card.php?action=edit&id='.$resource->id.'">';
|
||||||
print img_edit();
|
print img_edit();
|
||||||
print '</a>';
|
print '</a>';
|
||||||
print ' ';
|
print ' ';
|
||||||
print '<a href="./card.php?action=delete&id='.$ressource->id.'">';
|
print '<a href="./card.php?action=delete&id='.$resource->id.'">';
|
||||||
print img_delete();
|
print img_delete();
|
||||||
print '</a>';
|
print '</a>';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|||||||
Reference in New Issue
Block a user