1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-07 23:26:41 +02:00

Bugtracker #4532 - stop link navigator appearing twice

This commit is contained in:
e107steved
2008-10-07 19:25:58 +00:00
parent ff756e9eb7
commit de0d76fca1
2 changed files with 10 additions and 8 deletions

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.8 $ | $Revision: 1.9 $
| $Date: 2008-09-25 20:01:48 $ | $Date: 2008-10-07 19:25:58 $
| $Author: e107steved $ | $Author: e107steved $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@@ -533,8 +533,9 @@ function displayCategoryLinks($mode=''){
$text .= $link_table_start.$link_table_string.$link_table_end; $text .= $link_table_start.$link_table_string.$link_table_end;
} }
$nav = $tp->parseTemplate("{NAVIGATOR}", FALSE, $link_shortcodes); // $nav = $tp->parseTemplate("{NAVIGATOR}", FALSE, $link_shortcodes); Navigator now positioned in template
$ns->tablerender($link_table_caption, $nav.$text); // $ns->tablerender($link_table_caption, $nav.$text);
$ns->tablerender($link_table_caption, $text);
} }
} }
return; return;

View File

@@ -11,9 +11,9 @@
| 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_template.php,v $ | $Source: /cvs_backup/e107_0.8/e107_plugins/links_page/links_template.php,v $
| $Revision: 1.2 $ | $Revision: 1.3 $
| $Date: 2008-02-20 20:28:23 $ | $Date: 2008-10-07 19:25:58 $
| $Author: lisa_ $ | $Author: e107steved $
+----------------------------------------------------------------------------+ +----------------------------------------------------------------------------+
*/ */
@@ -150,9 +150,10 @@ $sc_style['LINK_BUTTON_LAN']['post'] = "</td>";
$sc_style['LINK_CAT_DESC']['pre'] = "<br /><span class='smalltext'><i>"; $sc_style['LINK_CAT_DESC']['pre'] = "<br /><span class='smalltext'><i>";
$sc_style['LINK_CAT_DESC']['post'] = "</i></span>"; $sc_style['LINK_CAT_DESC']['post'] = "</i></span>";
//$LINK_TABLE_CAPTION = LCLAN_ITEM_24."{NAVIGATOR}" ;
$LINK_TABLE_CAPTION = LCLAN_ITEM_24; $LINK_TABLE_CAPTION = LCLAN_ITEM_24;
$LINK_TABLE_START = " $LINK_TABLE_START = "{NAVIGATOR}
<div style='text-align:center'> <div style='text-align:center'>
<table class='fborder' style='".USER_WIDTH.";margin-bottom:20px;'> <table class='fborder' style='".USER_WIDTH.";margin-bottom:20px;'>
<tr> <tr>