mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Include Media-Manager title in bbcode mode.
This commit is contained in:
@@ -107,7 +107,7 @@ class bbcode_shortcodes extends e_shortcode
|
|||||||
{
|
{
|
||||||
list($tag,$tmp) = explode("--",$this->var['tagid']); // works with $frm->bbarea to detect textarea from first half of tag.
|
list($tag,$tmp) = explode("--",$this->var['tagid']); // works with $frm->bbarea to detect textarea from first half of tag.
|
||||||
}
|
}
|
||||||
$text = "<a class='e-dialog' id='{$id}' href='".e_ADMIN."image.php?mode=main&action=dialog&for=".$this->var['template']."&tagid=".$tag."&iframe=1&bbcode=img' >";
|
$text = "<a class='e-dialog' title='Media Manager : ".$this->var['template']."' id='{$id}' href='".e_ADMIN."image.php?mode=main&action=dialog&for=".$this->var['template']."&tagid=".$tag."&iframe=1&bbcode=img' >";
|
||||||
$text .= "<img class='bbcode_buttons e-pointer' src='".e_IMAGE_ABS."bbcode/preimage.png' title='".LANHELP_45."' alt='' />";
|
$text .= "<img class='bbcode_buttons e-pointer' src='".e_IMAGE_ABS."bbcode/preimage.png' title='".LANHELP_45."' alt='' />";
|
||||||
$text .= "</a>\n";
|
$text .= "</a>\n";
|
||||||
return $text;
|
return $text;
|
||||||
|
Reference in New Issue
Block a user