mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Notice removal
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/linkwords/linkwords.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/linkwords/linkwords.php,v $
|
||||||
| $Revision: 1.7 $
|
| $Revision: 1.8 $
|
||||||
| $Date: 2007-03-04 21:55:15 $
|
| $Date: 2007-04-18 21:08:27 $
|
||||||
| $Author: mrpete $
|
| $Author: e107steved $
|
||||||
|
|
|
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@@ -41,6 +41,8 @@ class e_linkwords
|
|||||||
$check_url = e_SELF.(e_QUERY ? "?".e_QUERY : '');
|
$check_url = e_SELF.(e_QUERY ? "?".e_QUERY : '');
|
||||||
$this->block_list = explode("|",substr($pref['lw_page_visibility'],2)); // Knock off the 'show/hide' flag
|
$this->block_list = explode("|",substr($pref['lw_page_visibility'],2)); // Knock off the 'show/hide' flag
|
||||||
foreach ($this->block_list as $p)
|
foreach ($this->block_list as $p)
|
||||||
|
{
|
||||||
|
if ($p=trim($p))
|
||||||
{
|
{
|
||||||
if(substr($p, -1) == '!')
|
if(substr($p, -1) == '!')
|
||||||
{
|
{
|
||||||
@@ -49,7 +51,8 @@ class e_linkwords
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if(strlen($p) && strpos($check_url, $p) !== FALSE) return;
|
if(strpos($check_url, $p) !== FALSE) return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user