mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
bugfix #3538 : links in menu now open correctly
This commit is contained in:
@@ -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/link_class.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/links_page/link_class.php,v $
|
||||||
| $Revision: 1.1.1.1 $
|
| $Revision: 1.2 $
|
||||||
| $Date: 2006-12-02 04:35:22 $
|
| $Date: 2007-01-15 10:42:14 $
|
||||||
| $Author: mcfly_e107 $
|
| $Author: lisa_ $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -209,9 +209,7 @@ class linkclass {
|
|||||||
|
|
||||||
function parse_link_append($rowl){
|
function parse_link_append($rowl){
|
||||||
|
|
||||||
global $tp;
|
global $tp, $linkspage_pref;
|
||||||
|
|
||||||
global $linkspage_pref, $rowl;
|
|
||||||
if($linkspage_pref['link_open_all'] && $linkspage_pref['link_open_all'] == "5"){
|
if($linkspage_pref['link_open_all'] && $linkspage_pref['link_open_all'] == "5"){
|
||||||
$link_open_type = $rowl['link_open'];
|
$link_open_type = $rowl['link_open'];
|
||||||
}else{
|
}else{
|
||||||
|
@@ -136,7 +136,7 @@ if(isset($linkspage_pref["link_menu_recent"]) && $linkspage_pref["link_menu_rece
|
|||||||
$text .= "<br />".$cap."<br />";
|
$text .= "<br />".$cap."<br />";
|
||||||
while($row = $sql -> db_Fetch()){
|
while($row = $sql -> db_Fetch()){
|
||||||
|
|
||||||
$append = $lc -> parse_link_append($row['link_open'], $row['link_id']);
|
$append = $lc -> parse_link_append($row);
|
||||||
|
|
||||||
$heading = $append.$tp->toHTML($row['link_name'],TRUE,"")."</a>";
|
$heading = $append.$tp->toHTML($row['link_name'],TRUE,"")."</a>";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user