Merge pull request #8944 from bafbes/abb7008

New: Option to see line numbers in modules page
This commit is contained in:
Laurent Destailleur 2018-06-29 20:05:19 +02:00 committed by GitHub
commit fba9caab5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -637,6 +637,7 @@ if ($mode == 'common')
}
print '<tr class="oddeven">'."\n";
if (!empty($conf->global->MAIN_MODULES_SHOW_LINENUMBERS)) print '<td width="20px">'.++$linenum.'</td>';
// Picto + Name of module
print ' <td width="200px">';