[geeklog-cvs] Geeklog-1.x/public_html/links index.php,1.39,1.40
Dirk Haun
dhaun at qs1489.pair.com
Sun Jul 13 11:03:54 EDT 2008
Update of /cvsroot/geeklog/Geeklog-1.x/public_html/links
In directory qs1489.pair.com:/tmp/cvs-serv53940/public_html/links
Modified Files:
index.php
Log Message:
Fixed passing the category on multi-page link lists
Index: index.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/links/index.php,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** index.php 1 Jul 2008 19:52:59 -0000 1.39
--- index.php 13 Jul 2008 15:03:52 -0000 1.40
***************
*** 314,325 ****
}
if ($pages > 0) {
! if (($_LI_CONF['linkcols'] > 0) && isset($currentcategory)) {
! $catlink = '?category=' . urlencode ($currentcategory);
} else {
$catlink = '';
}
! $linklist->set_var ('page_navigation',
! COM_printPageNavigation ($_CONF['site_url']
! . '/links/index.php' . $catlink, $page, $pages));
} else {
$linklist->set_var ('page_navigation', '');
--- 314,325 ----
}
if ($pages > 0) {
! if (($_LI_CONF['linkcols'] > 0) && !empty($currentcid)) {
! $catlink = '?category=' . urlencode($currentcid);
} else {
$catlink = '';
}
! $linklist->set_var('page_navigation',
! COM_printPageNavigation($_CONF['site_url']
! . '/links/index.php' . $catlink, $page, $pages));
} else {
$linklist->set_var ('page_navigation', '');
More information about the geeklog-cvs
mailing list