mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Bugtracker #2827, #3576, #3577 - stop linkwords appearing in places they shouldn't (code now has to explicitly enable them in various areas), match complete word/phrase only (no partials), fully case-insensitive match and display case exactly as found, don't process on admin pages
This commit is contained in:
@@ -163,7 +163,7 @@ SC_END
|
||||
|
||||
SC_BEGIN LINK_MAIN_DESC
|
||||
global $LINK_MAIN_DESC, $rowl, $linkspage_pref, $tp;
|
||||
return (isset($linkspage_pref['link_cat_desc']) && $linkspage_pref['link_cat_desc'] ? $tp->toHTML($rowl['link_category_description'], TRUE) : "");
|
||||
return (isset($linkspage_pref['link_cat_desc']) && $linkspage_pref['link_cat_desc'] ? $tp->toHTML($rowl['link_category_description'], TRUE,'hook=description') : "");
|
||||
SC_END
|
||||
|
||||
SC_BEGIN LINK_MAIN_NUMBER
|
||||
@@ -308,7 +308,7 @@ SC_END
|
||||
|
||||
SC_BEGIN LINK_DESC
|
||||
global $LINK_DESC, $linkspage_pref, $tp, $rowl;
|
||||
return (isset($linkspage_pref['link_desc']) && $linkspage_pref['link_desc'] ? $tp->toHTML($rowl['link_description'], TRUE) : "");
|
||||
return (isset($linkspage_pref['link_desc']) && $linkspage_pref['link_desc'] ? $tp->toHTML($rowl['link_description'], TRUE,'hook=content') : "");
|
||||
SC_END
|
||||
|
||||
SC_BEGIN LINK_RATING
|
||||
|
Reference in New Issue
Block a user