diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-07-10 03:26:21 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-07-10 03:26:21 -0700 |
commit | 970a2d4f1ef03f696a5b321bf0d7034d9e8cfe3f (patch) | |
tree | aa6d8c430749e0e902099d6eca64b08660ed0441 | |
parent | a4850cb3d7886db727b4c98a98a94c51f008526f (diff) | |
download | volse-hubzilla-970a2d4f1ef03f696a5b321bf0d7034d9e8cfe3f.tar.gz volse-hubzilla-970a2d4f1ef03f696a5b321bf0d7034d9e8cfe3f.tar.bz2 volse-hubzilla-970a2d4f1ef03f696a5b321bf0d7034d9e8cfe3f.zip |
...
-rw-r--r-- | boot.php | 2 | ||||
-rw-r--r-- | mod/directory.php | 2 | ||||
-rw-r--r-- | view/style.css | 17 | ||||
-rw-r--r-- | wip/todo | 4 |
4 files changed, 16 insertions, 9 deletions
@@ -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>"; diff --git a/mod/directory.php b/mod/directory.php index 2dd4b15d9..4499f0414 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -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'); diff --git a/view/style.css b/view/style.css index 3105c5f77..df5bde32f 100644 --- a/view/style.css +++ b/view/style.css @@ -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; } @@ -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 |