Skip to content

Commit

Permalink
Add MAIN_VIEW_LINE_NUMBER for members list
Browse files Browse the repository at this point in the history
  • Loading branch information
grandoc committed Feb 11, 2016
1 parent 0d7f67a commit a430b59
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions htdocs/adherents/list.php
Expand Up @@ -227,6 +227,10 @@

print '<table class="tagtable liste'.($moreforfilter?" listwithfilterbefore":"").'">';
print '<tr class="liste_titre">';
if (! empty($conf->global->MAIN_VIEW_LINE_NUMBER))
{
print '<td width="5" align="center">&nbsp;</td>';
}
print_liste_field_titre($langs->trans("Ref"),$_SERVER["PHP_SELF"],"d.rowid",$param,"","",$sortfield,$sortorder);
print_liste_field_titre($langs->trans("Name")." / ".$langs->trans("Company"),$_SERVER["PHP_SELF"],"d.lastname",$param,"","",$sortfield,$sortorder);
print_liste_field_titre($langs->trans("Login"),$_SERVER["PHP_SELF"],"d.login",$param,"","",$sortfield,$sortorder);
Expand All @@ -245,6 +249,8 @@

// Line for filters fields
print '<tr class="liste_titre">';

print '<td class="liste_titre">&nbsp;</td>';

print '<td class="liste_titre" align="left">';
print '<input class="flat" type="text" name="search_ref" value="'.$search_ref.'" size="4"></td>';
Expand Down Expand Up @@ -303,6 +309,11 @@

$var=!$var;
print "<tr ".$bc[$var].">";

if (! empty($conf->global->MAIN_VIEW_LINE_NUMBER))
{
print '<td align="center">'.($i+1).'</td>';
}

// Ref
print "<td>";
Expand Down

0 comments on commit a430b59

Please sign in to comment.