mirror of
https://gitlab.com/mojo42/Jirafeau.git
synced 2025-01-17 12:58:20 +01:00
[FEATURE] Advertise javascript license for LibreJS
closes #172 Signed-off-by: Jerome Jutteau <mojo@couak.net>
This commit is contained in:
parent
1b5fa29701
commit
35f7adea8c
@ -270,6 +270,7 @@ else {
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" lang="Javascript">
|
||||
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt GPL-v3-or-Later
|
||||
document.getElementById('error_pop').style.display = 'none';
|
||||
document.getElementById('uploading').style.display = 'none';
|
||||
document.getElementById('upload_finished').style.display = 'none';
|
||||
@ -284,5 +285,6 @@ else {
|
||||
addCopyListener('preview_link_button', 'preview_link');
|
||||
addCopyListener('direct_link_button', 'direct_link');
|
||||
addCopyListener('delete_link_button', 'delete_link');
|
||||
// @license-end
|
||||
</script>
|
||||
<?php require(JIRAFEAU_ROOT . 'lib/template/footer.php'); ?>
|
||||
|
@ -19,13 +19,13 @@
|
||||
*/
|
||||
|
||||
header('Content-Type: text/javascript');
|
||||
|
||||
define('JIRAFEAU_ROOT', dirname(__FILE__) . '/../');
|
||||
|
||||
require(JIRAFEAU_ROOT . 'lib/settings.php');
|
||||
require(JIRAFEAU_ROOT . 'lib/functions.php');
|
||||
require(JIRAFEAU_ROOT . 'lib/lang.php');
|
||||
?>
|
||||
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt GPL-v3-or-Later
|
||||
var web_root = "<?php echo $cfg['web_root']; ?>";
|
||||
|
||||
var lang_array = <?php echo json_lang_generator(null); ?>;
|
||||
@ -746,3 +746,4 @@ function addCopyListener(button_id, link_id) {
|
||||
.addEventListener("click", function() {
|
||||
copyLinkToClipboard(link_id);});
|
||||
}
|
||||
// @license-end
|
||||
|
Loading…
x
Reference in New Issue
Block a user