]> git.mxchange.org Git - friendica.git/commitdiff
...
authorMike Macgirvin <mike@macgirvin.com>
Sat, 10 Jul 2010 10:26:21 +0000 (03:26 -0700)
committerMike Macgirvin <mike@macgirvin.com>
Sat, 10 Jul 2010 10:26:21 +0000 (03:26 -0700)
boot.php
mod/directory.php
view/style.css
wip/todo

index 6607c737eb7b28d3701d060afa8891a8d66e3b71..9dce8689e597c7f2d940ac60c7e939eec02d19e2 100644 (file)
--- a/boot.php
+++ b/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) ? '&nbsp;'.$i : $i);
                        else
                                $o .= "<span class=\"pager_n\"><a href=\"$url"."&page=$i\">".(($i < 10) ? '&nbsp;'.$i : $i)."</a>";
index 2dd4b15d98b650b5604bd4cb7681bd7bf3f95590..4499f0414f0cb6bc66d9d9ab82b821a035b8d049 100644 (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');
index 3105c5f777c85f12a633fd2d702af5308b2c99c5..df5bde32fa2a3f965d47fa9e06da0b29911f521b 100644 (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;
 }
index e32f6939738d6cdd4489ca7fdba6640a0953056e..e78569d0baa669e1a36f9dc12f53a54047ed6466 100644 (file)
--- a/wip/todo
+++ b/wip/todo
@@ -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