Browse Source

...

pull/1/head
Mike Macgirvin 11 years ago
parent
commit
970a2d4f1e
4 changed files with 16 additions and 9 deletions
  1. +1
    -1
      boot.php
  2. +1
    -1
      mod/directory.php
  3. +13
    -4
      view/style.css
  4. +1
    -3
      wip/todo

+ 1
- 1
boot.php View File

@ -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) ? '&nbsp;'.$i : $i);
else
$o .= "<span class=\"pager_n\"><a href=\"$url"."&page=$i\">".(($i < 10) ? '&nbsp;'.$i : $i)."</a>";


+ 1
- 1
mod/directory.php View File

@ -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');


+ 13
- 4
view/style.css View File

@ -513,12 +513,21 @@ input#dfrn-url {
.pager_prev,
.pager_next,
.pager_n {
border: 1px solid black;
background: #EEE;
padding: 4px;
border: 1px solid black;
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;
}

+ 1
- 3
wip/todo View File

@ -17,8 +17,6 @@ contact editor
reputation
directory page pager
profile advanced details submit, display
publish to external directory
@ -30,7 +28,7 @@ groups
permissions
pager
pager - items and photos
comment fetch


Loading…
Cancel
Save