bbcode element of where you are on a site. perhaps this is less than generally useful but I plan to use it in a demo video where there is no other way to accomplish this
This commit is contained in:
		| @@ -373,7 +373,7 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) { | ||||
| 		} | ||||
|     } | ||||
|  | ||||
| 	$Text = str_replace(array('[baseurl]','[sitename]'),array(z_root(),get_config('system','sitename')),$Text); | ||||
| 	$Text = str_replace(array('[baseurl]','[sitename]','[sitepath]'),array(z_root(),get_config('system','sitename'),$_SESSION['return_url']),$Text); | ||||
|  | ||||
| 	 | ||||
| 	// Replace any html brackets with HTML Entities to prevent executing HTML or script | ||||
|   | ||||
		Reference in New Issue
	
	Block a user