Fix use iframe to embed content
This commit is contained in:
parent
e2a575e547
commit
3c8aa38bf7
@ -76,7 +76,7 @@ if (! empty($keyforcontent))
|
|||||||
}
|
}
|
||||||
elseif (preg_match('/EXTERNAL_SITE_URL_/', $keyforcontent))
|
elseif (preg_match('/EXTERNAL_SITE_URL_/', $keyforcontent))
|
||||||
{
|
{
|
||||||
print "
|
/*print "
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Dolibarr frame for external web site</title>
|
<title>Dolibarr frame for external web site</title>
|
||||||
@ -106,7 +106,8 @@ if (! empty($keyforcontent))
|
|||||||
</noframes>
|
</noframes>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
";
|
";*/
|
||||||
|
print '<iframe src="'.$conf->global->$keyforcontent.'"></iframe>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user