mirror of
https://github.com/friendica/friendica
synced 2024-11-18 02:23:40 +00:00
...
This commit is contained in:
parent
a4850cb3d7
commit
970a2d4f1e
4 changed files with 16 additions and 9 deletions
2
boot.php
2
boot.php
|
@ -399,7 +399,7 @@ function paginate(&$a) {
|
||||||
}
|
}
|
||||||
|
|
||||||
for($i = $numstart; $i <= $numstop; $i++){
|
for($i = $numstart; $i <= $numstop; $i++){
|
||||||
if($i == $pagenum)
|
if($i == $a->pager['page'])
|
||||||
$o .= '<span class="pager_current">'.(($i < 10) ? ' '.$i : $i);
|
$o .= '<span class="pager_current">'.(($i < 10) ? ' '.$i : $i);
|
||||||
else
|
else
|
||||||
$o .= "<span class=\"pager_n\"><a href=\"$url"."&page=$i\">".(($i < 10) ? ' '.$i : $i)."</a>";
|
$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) {
|
function directory_content(&$a) {
|
||||||
dbg(2);
|
|
||||||
$search = ((x($_GET,'search')) ? notags(trim($_GET['search'])) : '');
|
$search = ((x($_GET,'search')) ? notags(trim($_GET['search'])) : '');
|
||||||
|
|
||||||
$tpl .= file_get_contents('view/directory_header.tpl');
|
$tpl .= file_get_contents('view/directory_header.tpl');
|
||||||
|
|
|
@ -513,12 +513,21 @@ input#dfrn-url {
|
||||||
.pager_prev,
|
.pager_prev,
|
||||||
.pager_next,
|
.pager_next,
|
||||||
.pager_n {
|
.pager_n {
|
||||||
border: 1px solid black;
|
border: 1px solid black;
|
||||||
background: #EEE;
|
background: #EEE;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.pager_first a,
|
||||||
|
.pager_last a,
|
||||||
|
.pager_prev a,
|
||||||
|
.pager_next a,
|
||||||
|
.pager_n a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
.pager_current {
|
.pager_current {
|
||||||
border: 1px solid black;
|
border: 1px solid black;
|
||||||
background: #E33;
|
background: #FFCCCC;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
}
|
}
|
||||||
|
|
4
wip/todo
4
wip/todo
|
@ -17,8 +17,6 @@ contact editor
|
||||||
reputation
|
reputation
|
||||||
|
|
||||||
|
|
||||||
directory page pager
|
|
||||||
|
|
||||||
profile advanced details submit, display
|
profile advanced details submit, display
|
||||||
|
|
||||||
publish to external directory
|
publish to external directory
|
||||||
|
@ -30,7 +28,7 @@ groups
|
||||||
|
|
||||||
permissions
|
permissions
|
||||||
|
|
||||||
pager
|
pager - items and photos
|
||||||
|
|
||||||
comment fetch
|
comment fetch
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue