# HG changeset patch
# User Christophe Lincoln $d
-Users : $users
-Wiki : $docs ($wikisize)
-Cache : $cachesize
-Mercurial : $hg
+Wiki docs : $docs ($wikisize)
+Cache size : $cachesize
+Mercurial : $hg
+User accounts : $users
+Server uptime : $(uptime | cut -d " " -f 4 | sed s"/:/h /" | sed s"/,/min/")
Admin users
EOT
# Get the list of administrators
- for u in $(ls $PEOPLE)
+ fgrep -l "ADMIN_USER=" $PEOPLE/*/account.conf | while read file;
do
- user=${u}
- if admin_user; then
- echo "$u"
- fi
+ . ${file}
+ echo "$USER"
+ unset NAME USER
done
- echo '
+
$(gettext "Name") | +$(gettext "Description") | +$(gettext "Action") | + EOT for p in $(ls -1 $plugins) do . $plugins/$p/$p.conf - echo "$PLUGIN - $SHORT_DESC" + cat << EOT +
$PLUGIN | +$SHORT_DESC | +remove | +