From fd1244a31bb5dfa8a0c8f754311468b6e3417f26 Mon Sep 17 00:00:00 2001 From: e107steved Date: Thu, 25 Sep 2008 20:01:48 +0000 Subject: [PATCH] Notice removal --- e107_plugins/links_page/links.php | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/e107_plugins/links_page/links.php b/e107_plugins/links_page/links.php index 5d333442d..5714537dc 100644 --- a/e107_plugins/links_page/links.php +++ b/e107_plugins/links_page/links.php @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_plugins/links_page/links.php,v $ -| $Revision: 1.7 $ -| $Date: 2008-02-24 00:04:19 $ -| $Author: secretr $ +| $Revision: 1.8 $ +| $Date: 2008-09-25 20:01:48 $ +| $Author: e107steved $ +----------------------------------------------------------------------------+ */ require_once('../../class2.php'); @@ -491,7 +491,8 @@ function displayCategoryLinks($mode=''){ $arr[$rowl['link_category_id']][] = $rowl; } } - if($mode){ + if($mode) + { $link_category_total = $link_total; $link_table_start = $tp -> parseTemplate($LINK_TABLE_START, FALSE, $link_shortcodes); $link_table_end = $tp -> parseTemplate($LINK_TABLE_END, FALSE, $link_shortcodes); @@ -501,15 +502,21 @@ function displayCategoryLinks($mode=''){ $caption .= " (".$link_total."".(ADMIN ? "/".$link_total."" : "").") "; $ns->tablerender($caption, $text); - if(is_numeric($mode)){ + if(is_numeric($mode)) + { $lc->ShowNextPrev($from, $number, $link_total); } - }else{ - foreach($arr as $key => $value){ + } + else + { + $text = ''; + foreach($arr as $key => $value) + { $link_table_string = ""; $linkbutton_count = 0; $i=0; - for($i=0;$i