Update last modified date in AboutController and about.js; enhance version display logic in about.js for better readability

This commit is contained in:
2026-11-02 15:23:36 +07:00
parent dcd13bb9df
commit a5fd32ba79
2 changed files with 14 additions and 6 deletions
+4 -4
View File
@@ -6,7 +6,7 @@
Description : Informasi Aplikasi
Created By : Siau Pheng ([email protected]).
Created Date : November 23th, 2011.
Last Modified : August 13th, 2026.
Last Modified : November 2nd, 2026.
(c) 3FONIA Software; WWW.3FONIA.COM.
@@ -107,9 +107,9 @@ class AboutController {
}, $packages);
usort($packages, fn($a, $b): int => $a->name <=> $b->name);
}
$text = '';
foreach ($packages as $item) {
$text .= '- ' .$item->name. ' Version ' .$item->version. '<br>';
$text = ''; $last = array_key_last((array) $packages);
foreach ($packages as $key => $item) {
$text .= $item->name. ' v' .$item->version. ($key === $last ? '' : '<i class="bi-gear px-1"></i>');
}
$this->app->json([ 'html' => $text ]);
}