From: Patrick Canterino Date: Mon, 15 Jul 2024 19:18:48 +0000 (+0200) Subject: Define new constant JIRAFEAU_WEBSITE with the project's website X-Git-Tag: 4.6.1~26 X-Git-Url: https://git.p6c8.net/jirafeau_project.git/commitdiff_plain/4aa503f3fb44503b2f6fbe6abdfeaf71411e7e55?ds=sidebyside Define new constant JIRAFEAU_WEBSITE with the project's website Made use of this constant where possible --- diff --git a/lib/functions.php b/lib/functions.php index b87f6c3..b3a84ac 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -879,7 +879,7 @@ function jirafeau_fileperms($path) function jirafeau_admin_bug_report($cfg) { $out = "
" . t('REPORTING_AN_ISSUE') . ""; - $out .= "If you have a problem related to Jirafeau, please open an issue, explain your problem in english and copy-paste the following content:

"; + $out .= "If you have a problem related to Jirafeau, please open an issue, explain your problem in english and copy-paste the following content:

"; $out .= "# Jirafeau
"; $out .= "- version: " . JIRAFEAU_VERSION . "
"; diff --git a/lib/settings.php b/lib/settings.php index 22a2a5a..2cf7d0f 100644 --- a/lib/settings.php +++ b/lib/settings.php @@ -43,6 +43,8 @@ if ($cfg['debug'] === true) { define('JIRAFEAU_PACKAGE', 'Jirafeau'); define('JIRAFEAU_VERSION', '4.6.0'); +define('JIRAFEAU_WEBSITE', 'https://gitlab.com/jirafeau/Jirafeau'); + /* Directories. */ define('VAR_FILES', $cfg['var_root'] . 'files/'); define('VAR_LINKS', $cfg['var_root'] . 'links/'); diff --git a/lib/template/footer.php b/lib/template/footer.php index e0856a8..efe238f 100644 --- a/lib/template/footer.php +++ b/lib/template/footer.php @@ -3,7 +3,7 @@ ' . t('JI_PROJECT') . '' . + ' ' . t('JI_PROJECT') . '' . ' (AGPL-3.0)'; ?> diff --git a/script.php b/script.php index be29f3d..f32ab20 100644 --- a/script.php +++ b/script.php @@ -44,7 +44,7 @@ if ($_SERVER['REQUEST_METHOD'] == "GET" && count($_GET) == 0) {

Scripting interface

This interface permits to script your uploads and downloads.

-

See source code of this interface to get available calls :)

+

See source code of this interface to get available calls :)

You may download a preconfigured Bash Script to easily send to and get files from the API via command line.