some fixes
This commit is contained in:
parent
66300ccd71
commit
08fe66906c
3 changed files with 40 additions and 58 deletions
|
@ -32,18 +32,7 @@ function comments($typer, $idr, $disable = false)
|
|||
$qss['page'] = $page - 1;
|
||||
$qs_prev = http_build_query($qss);
|
||||
$qss['page'] = $page;
|
||||
|
||||
$qss['mode'] = 'all';
|
||||
$qs_1 = http_build_query($qss);
|
||||
|
||||
$qss['mode'] = 'followers';
|
||||
$qs_2 = http_build_query($qss);
|
||||
?>
|
||||
|
||||
<div>
|
||||
<a class="form-button" href="?<?php echo $qs_1 ?>">Everyone</a>
|
||||
<a class="form-button" href="?<?php echo $qs_2 ?>">Following</a>
|
||||
</div>
|
||||
<div>
|
||||
<?php if ($page > 0) { ?>
|
||||
<a class="form-button" href="?<?php echo $qs_prev ?>">Previous</a>
|
||||
|
|
Reference in a new issue