Add title to bb_observer tags to further clarify a bit what's going on
This commit is contained in:
@@ -437,7 +437,7 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) {
|
|||||||
|
|
||||||
// replace [observer.baseurl]
|
// replace [observer.baseurl]
|
||||||
if ($observer) {
|
if ($observer) {
|
||||||
$s1 = '<span class="bb_observer">';
|
$s1 = '<span class="bb_observer" title="' . t('Different viewers will see this text differently') . '">';
|
||||||
$s2 = '</span>';
|
$s2 = '</span>';
|
||||||
$obsBaseURL = $observer['xchan_connurl'];
|
$obsBaseURL = $observer['xchan_connurl'];
|
||||||
$obsBaseURL = preg_replace("/\/poco\/.*$/", '', $obsBaseURL);
|
$obsBaseURL = preg_replace("/\/poco\/.*$/", '', $obsBaseURL);
|
||||||
|
|||||||
Reference in New Issue
Block a user