Skip to content

Commit f45a1b3

Browse files
committed
Display version in footer
1 parent 0a113cf commit f45a1b3

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

webapp/DocumentRoot/ui/index.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,16 @@
132132
<div class="row">
133133
<div class="col-12 col-md">
134134
<div class="my-2 text-center text-secondary">
135-
SBOanalytics by SBOSOFT.
135+
SBOanalytics by
136+
<a href="https://www.sbosoft.net/" target="_blank" rel="noopener">SBOSOFT</a>.
137+
<?php
138+
if(file_exists('../version.txt')){
139+
$versionStr = file_get_contents('../version.txt');
140+
echo ' Version: ';
141+
echo SBO_HtmlEncode($versionStr);
142+
}
143+
?>
144+
<br>
136145
See
137146
<a href="https://github.com/SBOsoft/SBOanalytics" title="SBOanalytics (frontend) at github"><i class="bi bi-github"></i> SBOanalytics</a>
138147
and

0 commit comments

Comments
 (0)