mirror of
https://github.com/e107inc/e107.git
synced 2025-08-22 22:25:31 +02:00
Issue #6 - Removed URLs from LANs
This commit is contained in:
@@ -48,7 +48,14 @@ class online_shortcodes
|
||||
|
||||
function sc_online_tracking_disabled()
|
||||
{
|
||||
return e107::getParser()->toHTML(LAN_ONLINE_TRACKING_MESSAGE,TRUE);
|
||||
$url = e_ADMIN."users.php?mode=main&action=prefs";
|
||||
|
||||
$srch = array("[","]");
|
||||
$repl = array("<a href='".$url."'>", "</a>");
|
||||
|
||||
$message = str_replace($srch,$repl, LAN_ONLINE_TRACKING_MESSAGE);
|
||||
return e107::getParser()->toHTML($message, true);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user