diff options
Diffstat (limited to 'public/app/views/js/credits.php')
| -rw-r--r-- | public/app/views/js/credits.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/public/app/views/js/credits.php b/public/app/views/js/credits.php new file mode 100644 index 0000000..ca0f15c --- /dev/null +++ b/public/app/views/js/credits.php @@ -0,0 +1,10 @@ +<script> +// create image-credits div +let ic_div = document.createElement('div'); +ic_div.innerHTML = '<a href="<?=THEME['url']?>" target="_blank" title="Attribution for the lovely background image"><?=THEME['label']?></a>'; +ic_div.className = 'image-credits'; + +// append image-credits div to body +document.querySelector('body').appendChild(ic_div); + +</script>
\ No newline at end of file |
