Elgg
Version 1.9
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
admin
statistics
overview
basic.php
Go to the documentation of this file.
1
<?php
2
// Work out number of users
3
$users_stats
=
get_number_users
();
4
$total_users
=
get_number_users
(
true
);
5
6
// Get version information
7
$version
=
elgg_get_version
();
8
$release
=
elgg_get_version
(
true
);
9
?>
10
<
table
class
=
"elgg-table-alt"
>
11
<
tr
class
=
"odd"
>
12
<
td
><
b
><?php
echo
elgg_echo
(
'admin:statistics:label:version'
); ?> :</
b
></
td
>
13
<
td
><?php
echo
elgg_echo
(
'admin:statistics:label:version:release'
); ?> - <?php
echo
$release
; ?>, <?php
echo
elgg_echo
(
'admin:statistics:label:version:version'
); ?> - <?php
echo
$version
; ?></
td
>
14
</
tr
>
15
<
tr
class
=
"even"
>
16
<
td
><
b
><?php
echo
elgg_echo
(
'admin:statistics:label:numusers'
); ?> :</
b
></
td
>
17
<
td
><?php
echo
$users_stats
; ?> <?php
echo
elgg_echo
(
'active'
); ?> / <?php
echo
$total_users
; ?> <?php
echo
elgg_echo
(
'total'
) ?></
td
>
18
</
tr
>
19
</
table
>
$users_stats
$users_stats
Definition:
basic.php:3
$release
$release
Definition:
basic.php:8
$version
$version
Definition:
basic.php:7
elgg_echo
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition:
languages.php:21
b
b
Definition:
admin.php:56
echo
elgg echo
Translates a string.
Definition:
languages.js:43
td
td
Definition:
admin.php:63
elgg_get_version
elgg_get_version($human_readable=false)
Get the current Elgg version information.
Definition:
elgglib.php:1126
$total_users
$total_users
Definition:
basic.php:4
tr
elgg table alt tr
Definition:
admin.php:412
get_number_users
get_number_users($show_deactivated=false)
Return the number of users registered in the system.
Definition:
statistics.php:71
table
table
Definition:
admin.php:59
Generated on Fri Dec 13 2024 00:00:41 for Elgg by
1.8.11