...
This commit is contained in:
parent
a4850cb3d7
commit
970a2d4f1e
2
boot.php
2
boot.php
|
@ -399,7 +399,7 @@ function paginate(&$a) {
|
|||
}
|
||||
|
||||
for($i = $numstart; $i <= $numstop; $i++){
|
||||
if($i == $pagenum)
|
||||
if($i == $a->pager['page'])
|
||||
$o .= '<span class="pager_current">'.(($i < 10) ? ' '.$i : $i);
|
||||
else
|
||||
$o .= "<span class=\"pager_n\"><a href=\"$url"."&page=$i\">".(($i < 10) ? ' '.$i : $i)."</a>";
|
||||
|
|
|
@ -4,7 +4,7 @@ function directory_init(&$a) {
|
|||
}
|
||||
|
||||
function directory_content(&$a) {
|
||||
dbg(2);
|
||||
|
||||
$search = ((x($_GET,'search')) ? notags(trim($_GET['search'])) : '');
|
||||
|
||||
$tpl .= file_get_contents('view/directory_header.tpl');
|
||||
|
|
|
@ -517,8 +517,17 @@ input#dfrn-url {
|
|||
background: #EEE;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.pager_first a,
|
||||
.pager_last a,
|
||||
.pager_prev a,
|
||||
.pager_next a,
|
||||
.pager_n a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.pager_current {
|
||||
border: 1px solid black;
|
||||
background: #E33;
|
||||
background: #FFCCCC;
|
||||
padding: 4px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue