1 | <?php |
||||
2 | |||||
3 | // Get version information |
||||
4 | $code_version = elgg_get_version(); |
||||
5 | $release = elgg_get_version(true); |
||||
6 | |||||
7 | $db_version = elgg_get_config('version', null); |
||||
8 | |||||
9 | ?> |
||||
10 | <table class="elgg-table-alt"> |
||||
11 | <tr> |
||||
12 | <td><b><?php echo elgg_echo('admin:statistics:label:version:release'); ?></b></td> |
||||
13 | <td><?php echo $release; ?></td> |
||||
1 ignored issue
–
show
Bug
introduced
by
Loading history...
|
|||||
14 | </tr> |
||||
15 | <tr> |
||||
16 | <td><b><?php echo elgg_echo('admin:statistics:label:version:version'); ?></b></td> |
||||
17 | <td><?php echo $db_version; ?></td> |
||||
18 | </tr> |
||||
19 | <tr> |
||||
20 | <td><b><?php echo elgg_echo('admin:statistics:label:version:code'); ?></b></td> |
||||
21 | <td><?php echo $code_version; ?></td> |
||||
1 ignored issue
–
show
Are you sure
$code_version of type false can be used in echo ?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
Loading history...
|
|||||
22 | </tr> |
||||
23 | </table> |