1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 21:57:51 +02:00

Bugtracker #4585 - two link navigators displayed if single category listed

This commit is contained in:
e107steved
2008-11-16 17:28:45 +00:00
parent a29867cd99
commit 33d6e29123

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org). | GNU General Public License (http://gnu.org).
| |
| $Source: /cvs_backup/e107_0.8/e107_plugins/links_page/links.php,v $ | $Source: /cvs_backup/e107_0.8/e107_plugins/links_page/links.php,v $
| $Revision: 1.9 $ | $Revision: 1.10 $
| $Date: 2008-10-07 19:25:58 $ | $Date: 2008-11-16 17:28:45 $
| $Author: e107steved $ | $Author: e107steved $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@@ -138,13 +138,15 @@ if(isset($qs[0]) && $qs[0] == "cat" && !isset($qs[1]) ){
displayCategory(); displayCategory();
} }
//show all links in all categories //show all links in all categories
if( ((!isset($qs[0]) || $qsorder) && !$linkspage_pref['link_page_categories']) || (isset($qs[0]) && $qs[0] == "all") ){ if( ((!isset($qs[0]) || $qsorder) && !$linkspage_pref['link_page_categories']) || (isset($qs[0]) && $qs[0] == "all") )
{
// displayNavigator(''); // displayNavigator('');
displayCategoryLinks(); displayCategoryLinks();
} }
//show all links in one categories //show all links in one category
if(isset($qs[0]) && $qs[0] == "cat" && isset($qs[1]) && is_numeric($qs[1])){ if(isset($qs[0]) && $qs[0] == "cat" && isset($qs[1]) && is_numeric($qs[1]))
echo displayNavigator(''); {
// echo displayNavigator('');
displayCategoryLinks($qs[1]); displayCategoryLinks($qs[1]);
} }
//view top rated //view top rated