Files
2025-07-18 16:20:14 +07:00

20 lines
698 B
PHP

<?php
function HookRemote_assistAllHomeafterwelcometext()
{
# Load HTML from the ResourceSpace site, passing the base URL. The base URL allows the ResourceSpace website to feed appropriate options based
# on whether the installation is a registered trial system, user installation, etc.
global $baseurl;
?>
<script>
jQuery(document).ready(function()
{
if (jQuery('remote_assist').children().length==0)
{
jQuery('#remote_assist').load('https://www.resourcespace.com/remote_assist_plugin.php?baseurl=<?php echo base64_encode($baseurl) ?>');
}
});
</script>
<div id="remote_assist"></div>
<?php
}