Added more dynamic behavior to the new plugin area. Added a funding yml file.

This commit is contained in:
2019-07-17 01:15:42 +02:00
parent eae07504fa
commit 8d2af8365b
31 changed files with 573 additions and 32 deletions

View File

@ -127,4 +127,23 @@ jQuery('#adminForm').on('change', '#jform_extension_type',function (e)
});
<?php
$app = JFactory::getApplication();
?>
function JRouter(link) {
<?php
if ($app->isSite())
{
echo 'var url = "'.JURI::root().'";';
}
else
{
echo 'var url = "";';
}
?>
return url+link;
}
</script>