Skip to content

Commit

Permalink
Fix title
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jan 4, 2018
1 parent 90e9b3d commit 5400bee
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions htdocs/blockedlog/admin/blockedlog_list.php
Expand Up @@ -156,7 +156,16 @@

$form=new Form($db);

llxHeader('',$langs->trans("BlockedLogSetup"));
if (GETPOST('withtab','alpha'))
{
$title=$langs->trans("ModuleSetup").' '.$langs->trans('BlockedLog');
}
else
{
$title=$langs->trans("BrowseBlockedLog");
}

llxHeader('',$langs->trans("BrowseBlockedLog"));

$blocks = $block_static->getLog('all', 0, GETPOST('all','alpha') ? 0 : 50, $sortfield, $sortorder, $search_fk_user, $search_start, $search_end, $search_ref, $search_amount);
if (! is_array($blocks))
Expand All @@ -171,7 +180,7 @@
$linkback='<a href="'.($backtopage?$backtopage:DOL_URL_ROOT.'/admin/modules.php').'">'.$langs->trans("BackToModuleList").'</a>';
}

print load_fiche_titre($langs->trans("ModuleSetup").' '.$langs->trans('BlockedLog'),$linkback);
print load_fiche_titre($title, $linkback);

if (GETPOST('withtab','alpha'))
{
Expand Down

0 comments on commit 5400bee

Please sign in to comment.