Update last modified date in AboutController and about.js; enhance version display logic in about.js for better readability
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
Description : Informasi Aplikasi
|
Description : Informasi Aplikasi
|
||||||
Created By : Siau Pheng ([email protected]).
|
Created By : Siau Pheng ([email protected]).
|
||||||
Created Date : November 23th, 2011.
|
Created Date : November 23th, 2011.
|
||||||
Last Modified : August 13th, 2026.
|
Last Modified : November 2nd, 2026.
|
||||||
|
|
||||||
(c) 3FONIA Software; WWW.3FONIA.COM.
|
(c) 3FONIA Software; WWW.3FONIA.COM.
|
||||||
|
|
||||||
@@ -107,9 +107,9 @@ class AboutController {
|
|||||||
}, $packages);
|
}, $packages);
|
||||||
usort($packages, fn($a, $b): int => $a->name <=> $b->name);
|
usort($packages, fn($a, $b): int => $a->name <=> $b->name);
|
||||||
}
|
}
|
||||||
$text = '';
|
$text = ''; $last = array_key_last((array) $packages);
|
||||||
foreach ($packages as $item) {
|
foreach ($packages as $key => $item) {
|
||||||
$text .= '- ' .$item->name. ' Version ' .$item->version. '<br>';
|
$text .= $item->name. ' v' .$item->version. ($key === $last ? '' : '<i class="bi-gear px-1"></i>');
|
||||||
}
|
}
|
||||||
$this->app->json([ 'html' => $text ]);
|
$this->app->json([ 'html' => $text ]);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
Description : Informasi Aplikasi
|
Description : Informasi Aplikasi
|
||||||
Created By : Siau Pheng ([email protected]).
|
Created By : Siau Pheng ([email protected]).
|
||||||
Created Date : November 23th, 2011.
|
Created Date : November 23th, 2011.
|
||||||
Last Modified : August 13th, 2026.
|
Last Modified : November 2nd, 2026.
|
||||||
|
|
||||||
(c) 3FONIA Software; WWW.3FONIA.COM.
|
(c) 3FONIA Software; WWW.3FONIA.COM.
|
||||||
|
|
||||||
@@ -15,7 +15,15 @@ var AboutJS = {
|
|||||||
KODE: '',
|
KODE: '',
|
||||||
|
|
||||||
index() {
|
index() {
|
||||||
$('#win'+this.KODE).find('#divBuildInfo').html('<p>- jQuery Version '+$().jquery+' <br>- Bootstrap Version '+$.fn.tooltip.Constructor.VERSION+' <br>- FoniaJS Version '+FoniaJS.version+'</p>');
|
let _html = [];
|
||||||
|
if (typeof jQuery !== undefined) _html.push('jQuery v'+$().jquery);
|
||||||
|
if (typeof bootstrap !== undefined) _html.push('Bootstrap v'+$.fn.tooltip.Constructor.VERSION);
|
||||||
|
if (typeof DataTable !== undefined) _html.push('DataTable v'+DataTable.version);
|
||||||
|
if (typeof Chart !== undefined) _html.push('Chart.js v'+Chart.version);
|
||||||
|
if (typeof qz !== undefined) _html.push('QZ Connector v'+qz.version);
|
||||||
|
if (typeof FoniaJS !== undefined) _html.push('FoniaJS v'+FoniaJS.version);
|
||||||
|
$('#win'+this.KODE).find('#divBuildInfo').html(`<p>${_html.join('<i class="bi-nut px-1"></i>')}</p>`);
|
||||||
|
|
||||||
$('#butDBCek').click(() => this.db_check());
|
$('#butDBCek').click(() => this.db_check());
|
||||||
$('#butDBOpti').click(() => this.db_opti());
|
$('#butDBOpti').click(() => this.db_opti());
|
||||||
$('#butUpdateCek').click(() => this.update_check());
|
$('#butUpdateCek').click(() => this.update_check());
|
||||||
|
|||||||
Reference in New Issue
Block a user