Skip to content

Commit 0877b50

Browse files
committed
Subtle aesthetic patch.
Changelog excerpt: - Improved the way that the (generated by ...) notice, displayed at the footer of HTML pages, is rendered.
1 parent 6de70b5 commit 0877b50

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

Changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@
33
[2020.07.20; Maikuolan] First stable release for the phpMussel v3 uploads handler ("phpMussel Web").
44

55
__*Why "v3.0.0" instead of "v1.0.0?"*__ Prior to phpMussel v3, the "phpMussel Core", "phpMussel CLI-mode", "phpMussel Front-End", and "phpMussel Uploads Handler" ("phpMussel Web") were all bundled together as a single repository (phpMussel/phpMussel). Since phpMussel v3, these each all have their own, separate repositories. I've opted to start releases at this repository (phpMussel/Web) at *v3.0.0*, in order to avoid confusion with previous versions of the "phpMussel uploads handler" which exist outside this repository.
6+
7+
### v3.0.1
8+
9+
[2020.07.31; Maikuolan]: Improved the way that the (generated by ...) notice, displayed at the footer of HTML pages, is rendered.

src/Web.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* License: GNU/GPLv2
99
* @see LICENSE.txt
1010
*
11-
* This file: Upload handler (last modified: 2020.07.20).
11+
* This file: Upload handler (last modified: 2020.07.31).
1212
*/
1313

1414
namespace phpMussel\Web;
@@ -279,8 +279,11 @@ public function scan()
279279
$TemplateData = [
280280
'magnification' => $this->Loader->Configuration['web']['magnification'],
281281
'Attache' => $this->Attache,
282+
'GeneratedBy' => sprintf(
283+
$this->Loader->ClientL10N->getString('generated_by'),
284+
'<div id="phpmusselversion" dir="ltr">' . $this->Loader->ScriptIdent . '</div>'
285+
),
282286
'detected' => $Detections,
283-
'phpmusselversion' => $this->Loader->ScriptIdent,
284287
'favicon' => base64_encode($this->Loader->getFavicon()),
285288
'xmlLang' => $this->Loader->Configuration['core']['lang'],
286289
'Text Direction' => $this->Loader->L10N->Data['Text Direction']

0 commit comments

Comments
 (0)