Fix navifation
This commit is contained in:
parent
b44717e706
commit
894f16c5ee
@ -49,7 +49,7 @@ $website=GETPOST('website', 'alpha');
|
||||
$page=GETPOST('page', 'alpha');
|
||||
$pageid=GETPOST('pageid', 'int');
|
||||
$pageref=GETPOST('pageref', 'aZ09');
|
||||
$action=GETPOST('action','alpha');
|
||||
$action=GETPOST('action','aZ09');
|
||||
$confirm=GETPOST('confirm','alpha');
|
||||
$cancel=GETPOST('cancel','alpha');
|
||||
|
||||
@ -1562,9 +1562,9 @@ if (count($object->records) > 0)
|
||||
}
|
||||
else dol_print_error($db);
|
||||
|
||||
if ($pagepreviousid) print '<a href="'.$_SERVER['PHP_SELF'].'?website='.$object->id.'&pageid='.$pagepreviousid.'&action='.$action.'">'.img_previous($langs->trans("PreviousContainer")).'</a>';
|
||||
if ($pagepreviousid) print '<a href="'.$_SERVER['PHP_SELF'].'?website='.urlencode($object->ref).'&pageid='.$pagepreviousid.'&action='.$action.'">'.img_previous($langs->trans("PreviousContainer")).'</a>';
|
||||
else print '<span class="opacitymedium">'.img_previous($langs->trans("PreviousContainer")).'</span>';
|
||||
if ($pagenextid) print '<a href="'.$_SERVER['PHP_SELF'].'?website='.$object->id.'&pageid='.$pagenextid.'&action='.$action.'">'.img_next($langs->trans("NextContainer")).'</a>';
|
||||
if ($pagenextid) print '<a href="'.$_SERVER['PHP_SELF'].'?website='.urlencode($object->ref).'&pageid='.$pagenextid.'&action='.$action.'">'.img_next($langs->trans("NextContainer")).'</a>';
|
||||
else print '<span class="opacitymedium">'.img_next($langs->trans("NextContainer")).'</span>';
|
||||
|
||||
$websitepage = new WebSitePage($db);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user