/web/acc/phpsysinfo/distros.ini |
---|
0,0 → 1,77 |
; linux-distros.ini - Defines known linux distros for phpSysInfo. |
; http://phpsysinfo.sourceforge.net/ |
; $Id: distros.ini,v 1.8 2007/03/16 17:06:00 precision Exp $ |
; |
[Debian] |
Name = "Debian" |
Image = "Debian.png" |
Files = "/etc/debian_release;/etc/debian_version" |
[SUSE LINUX] |
Image = "Suse.png" |
Files = "/etc/SuSE-release;/etc/UnitedLinux-release" |
[MandrivaLinux] |
Image = "Mandrake.png" |
Files = "/etc/mandriva-release" |
[Mandrake] |
Image = "Mandrake.png" |
Files = "/etc/mandrake-release" |
[Gentoo] |
Image = "Gentoo.png" |
Files = "/etc/gentoo-release" |
[RedHat] |
Image = "Redhat.png" |
Files = "/etc/redhat-release;/etc/redhat_version" |
[Fedora] |
Image = "Fedora.png" |
Files = "/etc/fedora-release" |
[FedoraCore] |
Image = "Fedora.png" |
Files = "/etc/fedora-release" |
[Slackware] |
Image = "Slackware.png" |
Files = "/etc/slackware-release;/etc/slackware-version" |
[Trustix] |
Image = "Trustix.gif" |
Files = "/etc/trustix-release;/etc/trustix-version" |
[FreeEOS] |
Image = "free-eos.png" |
Files = "/etc/eos-version" |
[Arch] |
Image = "Arch.gif" |
Files = "/etc/arch-release" |
[Cobalt] |
Image = "Cobalt.png" |
Files = "/etc/cobalt-release" |
[LinuxFromScratch] |
Image = "lfs.png" |
Files = "/etc/lfs-release" |
[Rubix] |
Image = "Rubix.png" |
Files = "/etc/rubix-version" |
[Ubuntu] |
Image = "Ubuntu.gif" |
Files = "/etc/lsb-release" |
[PLD] |
Image = "PLD.gif" |
Files = "/etc/pld-release" |
[CentOS] |
Image = "CentOS.png" |
Files = "/etc/redhat-release;/etc/redhat_version" |
/web/acc/phpsysinfo/ChangeLog |
---|
0,0 → 1,4401 |
2007-03-16 17:07 precision Uriah Welcome (precision at users.sf.net) |
* README: (c) update |
2007-03-16 17:06 precision Uriah Welcome (precision at users.sf.net) |
* distros.ini, images/CentOS.png: adding centos as a distro |
2007-03-15 08:22 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/lang/fr.php: Bug - [ 1680505 ] FR locale wrong time |
display code |
2007-03-07 20:21 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.WINNT.inc.php: Bug - [ 1674741 ] show_vhostname |
not working on Windows |
2007-03-02 14:05 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* distros.ini: Bug - [ 1671915 ] Distro name on Fedora 6 does not |
get recognized |
2007-02-25 20:50 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: Sparc64 cache for UltraSPARC IIe |
CPU's |
2007-02-25 20:28 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* ChangeLog: release 2.5.3-rc2 |
2007-02-20 19:27 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* README: specify minimum required php version |
2007-02-20 19:20 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/common_functions.php: Bug - [ 1661960 ] 2.5.3-rc1 |
2007-02-19 19:21 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* tools/: version.tar.gz, versions.sh: script to determine the |
minimum required php version, uses the PEAR CompatInfo package |
2007-02-18 19:11 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* phpsysinfo.dtd, includes/lang/ar_utf8.php, includes/lang/bg.php, |
includes/lang/big5.php, includes/lang/br.php, |
includes/lang/ca.php, includes/lang/cn.php, includes/lang/cs.php, |
includes/lang/ct.php, includes/lang/da.php, includes/lang/de.php, |
includes/lang/en.php, includes/lang/es.php, includes/lang/et.php, |
includes/lang/eu.php, includes/lang/fi.php, includes/lang/fr.php, |
includes/lang/gr.php, includes/lang/he.php, includes/lang/hu.php, |
includes/lang/id.php, includes/lang/is.php, includes/lang/it.php, |
includes/lang/jp.php, includes/lang/ko.php, includes/lang/lt.php, |
includes/lang/lv.php, includes/lang/nl.php, includes/lang/no.php, |
includes/lang/pa_utf8.php, includes/lang/pl.php, |
includes/lang/pt-br.php, includes/lang/pt.php, |
includes/lang/ro.php, includes/lang/ru.php, includes/lang/sk.php, |
includes/lang/sr.php, includes/lang/sv.php, includes/lang/tr.php, |
includes/lang/tw.php, includes/mb/class.healthd.inc.php, |
includes/mb/class.lmsensors.inc.php, |
includes/mb/class.mbm5.inc.php, includes/mb/class.mbmon.inc.php, |
includes/xml/mbinfo.php: Patch by khali - [ 1662373 ] Do not |
display fan div values |
2007-02-18 19:06 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* images/Slackware.png: Patch by khali - [ 1662374 ] Nicer |
slackware icon |
2007-02-18 19:02 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* config.php.new: Patch by khali - [ 1662367 ] Update the |
lm-sensors URL |
2007-02-18 18:59 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* config.php.new, includes/os/class.HP-UX.inc.php, |
includes/os/class.Linux.inc.php, includes/os/class.SunOS.inc.php, |
includes/xml/vitals.php: Patch by khali - [ 1662364 ] Display the |
virtual host name and address |
2007-02-16 21:34 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* ChangeLog (tags: REL-2-5-3-RC2): ChangeLog update |
2007-02-16 21:32 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* README, index.php (utags: REL-2-5-3-RC2): release 2.5.3-rc2 |
2007-02-14 18:00 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* phpsysinfo.dtd (tags: REL-2-5-3-RC2): be valid |
2007-02-11 15:57 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/class.error.inc.php, includes/system_header.php, |
includes/xml/vitals.php, templates/aq/box.tpl, |
templates/black/box.tpl, templates/metal/box.tpl (utags: |
REL-2-5-3-RC2): html fixes |
2007-02-08 20:16 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php, includes/system_footer.php (tags: REL-2-5-3-RC2), |
includes/xml/filesystems.php (tags: REL-2-5-3-RC2), |
includes/xml/hddtemp.php (tags: REL-2-5-3-RC2), |
includes/xml/mbinfo.php (tags: REL-2-5-3-RC2), |
includes/xml/memory.php (tags: REL-2-5-3-RC2), |
includes/xml/network.php (tags: REL-2-5-3-RC2), |
includes/xml/vitals.php: wml fixes to be valid |
2007-02-04 10:55 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* ChangeLog (tags: REL-2-5-3-RC1): ChangeLog update |
2007-02-04 10:53 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* README, index.php (utags: REL-2-5-3-RC1): release 2.5.3-rc1 |
2007-02-01 17:37 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.parseProgs.inc.php (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1): [ 1649430 ] Divide by zero error on automount |
mount points |
2007-01-28 09:25 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/mb/class.mbm5.inc.php (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1): recognize also "," as seperator |
2007-01-25 20:21 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1): no error if file not exist |
2007-01-21 13:17 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/mb/class.hddtemp.inc.php (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1): no error if devicefiles can't be determined |
2007-01-21 13:03 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/mb/class.hddtemp.inc.php: kernel 2.4 support |
2007-01-21 12:39 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/common_functions.php (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1): no stream_get_contents in php4 |
2007-01-21 11:13 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php, includes/mb/class.hddtemp.inc.php, |
includes/xml/hardware.php (tags: REL-2-5-3-RC2, REL-2-5-3-RC1), |
includes/xml/hddtemp.php (tags: REL-2-5-3-RC1): new way to get |
the devices for hddtemp, only 2.6 kernels at the moment, 2.4 |
follow [ 1464604 ] SCSI hard drives |
2007-01-21 08:54 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: only split into two fields |
2007-01-21 08:52 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* distros.ini (tags: REL-2-5-3-RC2, REL-2-5-3-RC1): newer SuSE |
Linux detection |
2007-01-17 22:25 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/common_functions.php: [ 1565936 ] Output from new 'df' |
binary not parsed correctly. |
2007-01-17 21:30 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/mb/class.lmsensors.inc.php (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1): [ 1551667 ] Multiple header include error when |
using lmsensors |
2006-12-31 10:01 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/: lang/ar_utf8.php (tags: REL-2-5-3-RC2, REL-2-5-3-RC1), |
lang/bg.php (tags: REL-2-5-3-RC2, REL-2-5-3-RC1), lang/big5.php |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1), lang/br.php (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1), lang/ca.php (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1), lang/cn.php (tags: REL-2-5-3-RC2, REL-2-5-3-RC1), |
lang/cs.php (tags: REL-2-5-3-RC2, REL-2-5-3-RC1), lang/ct.php |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1), lang/da.php (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1), lang/de.php (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1), lang/en.php (tags: REL-2-5-3-RC2, REL-2-5-3-RC1), |
lang/es.php (tags: REL-2-5-3-RC2, REL-2-5-3-RC1), lang/et.php |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1), lang/eu.php (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1), lang/fi.php (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1), lang/fr.php (tags: REL-2-5-3-RC2, REL-2-5-3-RC1), |
lang/gr.php (tags: REL-2-5-3-RC2, REL-2-5-3-RC1), lang/he.php |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1), lang/hu.php (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1), lang/id.php (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1), lang/is.php (tags: REL-2-5-3-RC2, REL-2-5-3-RC1), |
lang/it.php (tags: REL-2-5-3-RC2, REL-2-5-3-RC1), lang/jp.php |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1), lang/ko.php (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1), lang/lt.php (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1), lang/lv.php (tags: REL-2-5-3-RC2, REL-2-5-3-RC1), |
lang/nl.php (tags: REL-2-5-3-RC2, REL-2-5-3-RC1), lang/no.php |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1), lang/pa_utf8.php (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1), lang/pl.php (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1), lang/pt-br.php (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1), lang/pt.php (tags: REL-2-5-3-RC2, REL-2-5-3-RC1), |
lang/ro.php (tags: REL-2-5-3-RC2, REL-2-5-3-RC1), lang/ru.php |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1), lang/sk.php (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1), lang/sr.php (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1), lang/sv.php (tags: REL-2-5-3-RC2, REL-2-5-3-RC1), |
lang/tr.php (tags: REL-2-5-3-RC2, REL-2-5-3-RC1), lang/tw.php |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1), xml/hddtemp.php, |
xml/mbinfo.php (tags: REL-2-5-3-RC1): [ 1624147 ] wrong degree |
sign in temperatures |
2006-12-31 09:57 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: [ 1623408 ] error if |
/proc/scsi/scsi does not exist for Linux |
2006-12-31 09:45 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: missing var declaration |
2006-12-18 15:08 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* distros.ini, images/Ubuntu.gif (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1), includes/os/class.Linux.inc.php: "[ 1605229 ] |
*FIX* Ubuntu does not get identified properly" |
2006-12-18 14:54 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: "[ 1598986 ] NSLU2 fixes (Xscale |
cpuinfo parser and ide/pci unneeded)" |
2006-12-13 19:16 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* ChangeLog, README, index.php: release 2.5.2 |
2006-11-26 11:05 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* config.php.new (tags: REL-2-5-3-RC2, REL-2-5-3-RC1), |
includes/common_functions.php, |
includes/os/class.parseProgs.inc.php: feature request "[ 1588557 |
] Hiding of certain file system types" |
2006-11-26 10:15 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/system_footer.php (tags: REL-2-5-3-RC1): var fixed |
closes bug "[ 1557229 ] Fix: language selection includes template |
names" |
2006-08-26 11:27 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/: common_functions.php, mb/class.hddtemp.inc.php, |
os/class.Linux.inc.php, os/class.parseProgs.inc.php, |
xml/filesystems.php (tags: REL-2-5-3-RC1): some fixes if no file |
can be read or no program can be executed |
2006-08-26 10:19 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/mbinfo.php: missing temperature call for temperature |
limit |
2006-08-26 10:15 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.parseProgs.inc.php: fix for '[ 1527673 ] fix: |
avoid negative value when space used up.' |
2006-07-23 07:37 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: missing error check in pci |
function |
2006-07-09 18:55 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* README: hint for submitting bugs |
2006-07-09 18:50 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* config.php.new, includes/os/class.parseProgs.inc.php: fixes "[ |
1519472 ] hide mounts not working on freebsd 6.0 and possible |
others" |
2006-07-04 08:24 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.parseProgs.inc.php: code style and fix for "[ |
1516160 ] Problems between version 2.5.1 and 2.5.2_rc3 on free |
bsd" |
2006-07-03 08:18 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/class.error.inc.php (tags: REL-2-5-3-RC1): |
multiline errors are now correctly displayed |
2006-06-25 11:59 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/system_footer.php: missing space |
2006-06-25 11:58 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/vitals.php (tags: REL-2-5-3-RC1): missing var |
changes |
2006-06-24 16:00 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/hardware.php: typo |
2006-06-21 15:27 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* ChangeLog (tags: REL-2-5-2-RC3): Changlog update |
2006-06-21 15:26 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* tools/GenerateCL.sh (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3): tools update |
2006-06-21 15:14 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* tools/: GenerateCL.sh, README (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3), debug.php: tools update |
2006-06-21 15:10 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* tools/MakeCVS.sh: [no log message] |
2006-06-16 10:30 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php (tags: REL-2-5-2-RC3): return |
value is "ERROR" no longer null |
2006-06-16 10:27 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/hardware.php (tags: REL-2-5-2-RC3): missing var |
change |
2006-06-16 09:02 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/: filesystems.php (tags: REL-2-5-2-RC3), |
hardware.php, hddtemp.php (tags: REL-2-5-2-RC3), mbinfo.php |
(tags: REL-2-5-2-RC3), memory.php (tags: REL-2-5-3-RC1, |
REL-2-5-2-RC3), network.php (tags: REL-2-5-3-RC1, REL-2-5-2-RC3), |
vitals.php (tags: REL-2-5-2-RC3): codestyle: header and tabs |
2006-06-16 09:00 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php (tags: REL-2-5-2-RC3): shorten mbinfo xml function |
2006-06-16 08:59 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* phpsysinfo.dtd (tags: REL-2-5-3-RC1, REL-2-5-2-RC3): update for |
no swap |
2006-06-16 08:58 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/common_functions.php (tags: REL-2-5-2-RC3): format |
function for MHz |
2006-06-16 07:02 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: return value is "ERROR" no |
longer null |
2006-06-15 22:24 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.WINNT.inc.php (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3): ok today the bug "[ 1448895 ] |
Wrong network tx/rx format" appeared on my machine so that i can |
see what it caused, i think it's now fixed in a dirty way, for |
detail look in the comment in the network function |
2006-06-15 18:42 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/class.error.inc.php (tags: REL-2-5-2-RC3), |
includes/common_functions.php, includes/indicator.php (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), |
includes/system_footer.php (tags: REL-2-5-2-RC3), |
includes/system_header.php (tags: REL-2-5-3-RC1, REL-2-5-2-RC3), |
tools/header (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3): |
missing $ |
2006-06-15 18:35 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* tools/header: sample header |
2006-06-15 18:34 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/: class.error.inc.php, common_functions.php, |
indicator.php, system_footer.php, system_header.php: codestyle: |
header and tabs |
2006-06-14 16:36 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Darwin.inc.php (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3): another cpu entry |
2006-06-14 08:37 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/common_functions.php: wrong place for return |
2006-06-14 08:32 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/common_functions.php: return ERROR at the right places |
this finally closes "[ 1448129 ] Mac OS X Jaguar regressions with |
2.5" hopefully |
2006-06-13 18:31 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.BSD.common.inc.php (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3): quick hack for not reading |
boot.msg on Darwin systems |
2006-06-13 18:22 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Darwin.inc.php: 10 values are needed |
2006-06-13 18:16 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Darwin.inc.php: init devswap in array |
2006-06-13 18:09 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/common_functions.php: return error if programm failes to |
execute |
2006-06-13 18:04 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Darwin.inc.php: fix some udef offsets |
2006-06-13 17:02 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: undef var fix |
2006-06-13 16:58 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Darwin.inc.php: use standard filesystem |
function fixes "[ 1448431 ] Double % on disk space" |
2006-06-11 19:37 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* README (tags: REL-2-5-2-RC3): 80 chars width add some notes for |
mbm5 remove security notice, fixed long time ago |
2006-06-11 19:34 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/common_functions.php: tabs for better reading show php |
notices only if showerrors is true replace some more chars in xml |
(german umlauts) |
2006-06-11 17:58 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/mb/class.mbm5.inc.php (tags: REL-2-5-2-RC3): shorten the |
code and read the values only onse, still need to add logic if |
there are more values stored in the log-file, now all has fixed |
values |
2006-06-11 11:09 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.WINNT.inc.php: avoid message if no drivetype is |
set |
2006-06-11 10:09 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php: we need another rc befor release |
2006-06-11 09:57 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/: class.HP-UX.inc.php (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3), class.WINNT.inc.php: forgot to |
change vars |
2006-06-09 17:17 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/: class.error.inc.php, os/class.Darwin.inc.php: add |
warnings in an extra function |
2006-06-05 20:18 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* distros.ini (tags: REL-2-5-2-RC3): add PLD distro |
2006-06-05 20:16 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* images/PLD.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3): add PLD image |
2006-06-05 13:14 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/: os/class.BSD.common.inc.php, os/class.Darwin.inc.php, |
os/class.HP-UX.inc.php, os/class.Linux.inc.php, |
os/class.SunOS.inc.php (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3), os/class.WINNT.inc.php, xml/memory.php: support |
for having no swap devices fixes hopefully "[ 1500265 ] Errors |
(div by 0 & hdr modify)" |
2006-06-05 12:24 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* phpsysinfo.dtd, includes/os/class.Linux.inc.php, |
includes/xml/hardware.php: included FR "[ 1472013 ] Extended |
Sensors" |
2006-06-05 11:48 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* config.php.new (tags: REL-2-5-2-RC3), index.php, |
includes/common_functions.php, includes/lang/ar_utf8.php (tags: |
REL-2-5-2-RC3), includes/lang/bg.php (tags: REL-2-5-2-RC3), |
includes/lang/big5.php (tags: REL-2-5-2-RC3), |
includes/lang/br.php (tags: REL-2-5-2-RC3), includes/lang/ca.php |
(tags: REL-2-5-2-RC3), includes/lang/cn.php (tags: |
REL-2-5-2-RC3), includes/lang/cs.php (tags: REL-2-5-2-RC3), |
includes/lang/ct.php (tags: REL-2-5-2-RC3), includes/lang/da.php |
(tags: REL-2-5-2-RC3), includes/lang/de.php (tags: |
REL-2-5-2-RC3), includes/lang/en.php (tags: REL-2-5-2-RC3), |
includes/lang/es.php (tags: REL-2-5-2-RC3), includes/lang/et.php |
(tags: REL-2-5-2-RC3), includes/lang/eu.php (tags: |
REL-2-5-2-RC3), includes/lang/fi.php (tags: REL-2-5-2-RC3), |
includes/lang/fr.php (tags: REL-2-5-2-RC3), includes/lang/gr.php |
(tags: REL-2-5-2-RC3), includes/lang/he.php (tags: |
REL-2-5-2-RC3), includes/lang/hu.php (tags: REL-2-5-2-RC3), |
includes/lang/id.php (tags: REL-2-5-2-RC3), includes/lang/is.php |
(tags: REL-2-5-2-RC3), includes/lang/it.php (tags: |
REL-2-5-2-RC3), includes/lang/jp.php (tags: REL-2-5-2-RC3), |
includes/lang/ko.php (tags: REL-2-5-2-RC3), includes/lang/lt.php |
(tags: REL-2-5-2-RC3), includes/lang/lv.php (tags: |
REL-2-5-2-RC3), includes/lang/nl.php (tags: REL-2-5-2-RC3), |
includes/lang/no.php (tags: REL-2-5-2-RC3), |
includes/lang/pa_utf8.php (tags: REL-2-5-2-RC3), |
includes/lang/pl.php (tags: REL-2-5-2-RC3), |
includes/lang/pt-br.php (tags: REL-2-5-2-RC3), |
includes/lang/pt.php (tags: REL-2-5-2-RC3), includes/lang/ro.php |
(tags: REL-2-5-2-RC3), includes/lang/ru.php (tags: |
REL-2-5-2-RC3), includes/lang/sk.php (tags: REL-2-5-2-RC3), |
includes/lang/sr.php (tags: REL-2-5-2-RC3), includes/lang/sv.php |
(tags: REL-2-5-2-RC3), includes/lang/tr.php (tags: |
REL-2-5-2-RC3), includes/lang/tw.php (tags: REL-2-5-2-RC3), |
includes/xml/hddtemp.php, includes/xml/mbinfo.php: fixes "[ |
1500615 ] Temperature display in Fahrenheit (vs. Celcius)" |
configurable through an option in config.php |
2006-06-04 16:55 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.WINNT.inc.php: fixes "[ 1497748 ] uptime |
displays wrong in windows environments" |
2006-06-04 16:38 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/filesystems.php: fixes "[ 1494030 ] Show Mount Point |
Error" |
2006-05-20 17:01 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/mb/class.hwsensors.inc.php (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3): fixed "[ 1491291 ] Undefined |
offset errors with class.hwsensors.inc.php" |
2006-05-20 16:45 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* tools/langs.php (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3): simple script for showing missing language |
variables in language files |
2006-05-20 16:41 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/lang/: br.php, ca.php, cn.php, cs.php, ct.php, da.php, |
de.php, es.php, et.php, fi.php, fr.php, hu.php, is.php, it.php, |
jp.php, ko.php, lt.php, nl.php, no.php, pa_utf8.php, pl.php, |
ro.php, sk.php, sr.php, sv.php, tw.php: added missing |
translation-variables |
2006-05-03 16:53 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/lang/fr.php: fixes "[ 1481143 ] Undefined index: |
cpuspeed in fr language" |
2006-04-23 15:10 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* ChangeLog: update ChangeLog |
2006-04-23 15:09 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* README: phpSysInfo 2.5.2-rc2 |
2006-04-23 15:08 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* tools/: GenerateCL.sh, GenerateChangeLog.sh, MakeRelease.sh |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3): update some |
tools |
2006-04-22 18:01 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* phpsysinfo.dtd: Mhz -> Busspeed |
2006-04-22 16:47 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.WINNT.inc.php: wrong usage of an array as |
string |
2006-04-22 16:11 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.parseProgs.inc.php (tags: REL-2-5-2-RC3): use |
last percent in a row for inodes |
2006-04-22 15:55 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.parseProgs.inc.php: if there was only one space |
between the numbers everything fail |
2006-04-22 14:35 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* config.php.new, phpsysinfo.dtd, |
includes/os/class.BSD.common.inc.php, |
includes/os/class.Linux.inc.php, |
includes/os/class.parseProgs.inc.php, |
includes/xml/filesystems.php: rewritten the filesystem parser |
includes now also feature request "[ 672548 ] Add a check for |
inodes" |
2006-04-18 17:46 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.OpenBSD.inc.php (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3): call constructor |
2006-04-18 16:57 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/: class.BSD.common.inc.php, class.NetBSD.inc.php |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3): use |
parse_filesystem function |
2006-04-18 16:22 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/: class.BSD.common.inc.php, class.FreeBSD.inc.php |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3): use |
filesystem parser and removed duplicated code |
2006-04-18 16:03 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/: class.BSD.common.inc.php, class.Linux.inc.php, |
class.parseProgs.inc.php: include filesystem parser in parser |
class and rename this class |
2006-04-17 15:44 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: remove lspci code, include |
parser class |
2006-04-17 15:24 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php, includes/os/class.BSD.common.inc.php: i hate logic, |
update version |
2006-04-17 14:55 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/: class.BSD.common.inc.php, class.parseProgs.inc.php: |
add pciconf to parser class |
2006-04-17 14:09 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.OpenBSD.inc.php: no need for extra pci function |
2006-04-17 13:33 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.NetBSD.inc.php: show ide devices and capacity |
2006-04-17 13:12 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/: class.BSD.common.inc.php, class.FreeBSD.inc.php: |
pass by reference fix |
2006-04-17 13:10 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/: class.BSD.common.inc.php, class.NetBSD.inc.php, |
class.parseProgs.inc.php: corrected cpu regexp, try lspci for pci |
devices, extra class for parsing command output, because should |
be nearly the same across the machines |
2006-04-17 13:03 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/common_functions.php: i should read function definition |
better |
2006-04-17 11:40 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* images/NetBSD.png (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3): updated logo |
2006-04-15 22:05 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.BSD.common.inc.php: respect different outputs |
from mount |
2006-04-15 21:42 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/: class.BSD.common.inc.php, class.Darwin.inc.php, |
class.FreeBSD.inc.php, class.NetBSD.inc.php, |
class.OpenBSD.inc.php: use dynamic regexp for cpu percent |
2006-04-14 18:12 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/: class.BSD.common.inc.php, class.FreeBSD.inc.php: |
extend the memory informaion like on linux based systems, i hope |
these values are the correct one |
2006-04-14 16:53 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.BSD.common.inc.php: swap devices now available |
for BSD |
2006-04-14 16:35 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.BSD.common.inc.php: fixes bug "[ 1444332 ] |
probs with php4 / Freebsd 6" |
2006-04-14 16:29 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/common_functions.php: |
undef var fix |
2006-04-14 13:57 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: change order in ide detection |
code |
2006-04-14 13:11 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/: common_functions.php, os/class.Linux.inc.php: fixes |
bug "[ 1455963 ] use lsscsi first, then parse /proc/scsi/scsi on |
Linux" also lsusb is now tried first to get usb devices and one |
small fix for undefined var in cpu detection code |
2006-03-21 17:14 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.WINNT.inc.php: missing "" |
2006-03-19 08:53 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* config.php.new, index.php: add option for disable error output if |
errors are exist |
2006-03-19 08:38 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: readd -P for df |
2006-03-18 19:53 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/indicator.php: [no log message] |
2006-03-18 09:42 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/: common_functions.php, indicator.php: fixes "[ 1049828 |
] create_bargraph() with gradient" to enable the gradient |
bargraph you need to change the function names in |
common_functions.php (create_bargraph => create_bargraph_old AND |
create_bargraph_grad => create_bargraph), also you need gd |
support for php |
2006-03-12 13:11 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* sample/: df1.txt, mount1.txt (utags: REL-2-5-2-RC3, |
REL-2-5-3-RC1, REL-2-5-3-RC2): [no log message] |
2006-03-12 13:09 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: devices not correctly shown, |
fixes "[ 1441204 ] more then 10 Filesystems" |
2006-03-10 21:57 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/lang/de.php: better translation |
2006-03-10 21:53 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* templates/bulix/form.tpl (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3): make bulix theme look like others |
2006-03-08 17:54 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* config.php.new, includes/common_functions.php: fixes "[ 1444899 ] |
cannot call external program in unusual path" new variable in |
config.php to include additional paths where to search for |
programs |
2006-03-08 17:16 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/lang/de.php: update language file |
2006-03-04 10:17 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* README: plattform specific issue for windows systems with iis |
added |
2006-03-04 10:03 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: silence error for capacity |
reporting |
2006-02-27 21:01 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/class.error.inc.php: [no log message] |
2006-02-27 17:33 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* ChangeLog, README: 2.5.2-rc1 release |
2006-02-27 17:15 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/class.error.inc.php: table head and foot got lost |
2006-02-27 17:14 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php: avoid abort when config.php doesn't exist |
2006-02-13 21:00 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* distros.ini: typo "[ 1430463 ] distro LFS wrong icon filename" |
2006-02-11 17:55 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/: class.Darwin.inc.php, class.SunOS.inc.php: instead |
of using echo to print the message of incompletness use the WARN |
error message, doesn't break xml output |
2006-02-11 17:53 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/class.error.inc.php: print special error message if |
command is "WARN" |
2006-02-11 17:52 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* templates/: aq/box.tpl, black/box.tpl, metal/box.tpl (utags: |
REL-2-5-2-RC3, REL-2-5-3-RC1): title and content shouldn't be on |
the same line |
2006-02-11 17:31 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php, includes/common_functions.php, |
includes/os/class.BSD.common.inc.php, |
includes/os/class.HP-UX.inc.php, includes/os/class.Linux.inc.php: |
remove fileoperation from class files, now we have two functions |
which do that, they also now support the new error reporting |
style reorder commands in index.php, e.g. we check first if we |
support os and than for needed modules and so on comment out |
phpgroupware code |
2006-02-11 14:15 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php, includes/class.error.inc.php, |
includes/common_functions.php: first step in simplier error |
detection and output |
2006-02-11 12:53 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Darwin.inc.php: change physmem to memsize like |
mentioned at bug "[ 1068499 ] amount of memory is wrong value." |
2006-02-11 12:48 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Darwin.inc.php: proper detection for dual g4 |
and g5 |
2006-02-11 12:39 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: add detction code for IXP42x |
Processor - "[ 1414266 ] CPU Info for NSLU2 (Intel IXP420) |
266/133MHz" |
2006-02-11 11:20 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/lang/fr.php: updated translation "[ 1428270 ] french |
translation" |
2006-02-07 17:08 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/: class.HP-UX.inc.php, class.Linux.inc.php: add |
missing fclose() |
2006-02-07 16:55 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/lang/et.php: Updated Estonian language file with patch |
from [ 1425887 ] |
2006-01-30 19:38 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.WINNT.inc.php: Uptime fix (has ignored gmt |
offset) win 2000 pro can't show logged in users, perhaps |
everytime returning 1 instead of N.A. SCSI devices weren't |
displayed, wrong comparison |
2006-01-30 18:01 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.WINNT.inc.php: show users for Win2000 other way |
will not work on a Pro machine |
2006-01-25 19:26 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/mb/class.lmsensors.inc.php (tags: REL-2-5-2-RC3): fixes |
bug "[ 1413788 ] too big graphs", maximum value for temps we |
can't figure out set to 75 |
2006-01-21 09:30 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php, includes/system_footer.php: show time page takes to |
generate |
2006-01-20 21:18 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/mb/class.hddtemp.inc.php (tags: REL-2-5-2-RC3): don't |
put devices with ERR in xml, happens when disconnect a device |
2006-01-20 19:12 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/: os/class.BSD.common.inc.php, os/class.Linux.inc.php, |
os/class.SunOS.inc.php, xml/filesystems.php: don't put % in the |
xml |
2006-01-15 19:03 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.WINNT.inc.php: php 5 fix, and ip_addr fix |
2006-01-15 17:17 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/hardware.php: remove duplicated lines |
2006-01-14 22:41 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/: common_functions.php, xml/hardware.php: don't show |
duplicated lines in pci device listing |
2006-01-14 18:49 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/common_functions.php: undefined variable fix |
2006-01-14 18:40 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.WINNT.inc.php: we now use another way for |
getting the required informations with wmi |
2006-01-08 12:25 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: remove addr from pci info, when |
running lspci |
2006-01-08 12:16 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/hardware.php: nicer output |
2006-01-08 12:02 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* images/Solaris.png, includes/os/class.SunOS.inc.php: fixes bug "[ |
1396143 ] (CVS) Incorrect distroicon function in solaris", for |
details look at the description in bug report |
2006-01-08 11:57 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/common_functions.php: fixes bug "[ 1396121 ] (CVS) |
untrimmed output of execute program" and also the empty line in |
the pci device section |
2006-01-02 18:48 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/common_functions.php: this works |
2006-01-01 15:38 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php, includes/common_functions.php: replace some special |
chars like (R) and (C) in xml to be valid, fixes "[ 1385450 ] |
XPath error on USB device" |
2005-12-31 17:25 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php, includes/common_functions.php, |
includes/system_footer.php, includes/lang/ar_utf8.php, |
includes/lang/bg.php, includes/lang/big5.php, |
includes/lang/br.php, includes/lang/ca.php, includes/lang/cn.php, |
includes/lang/cs.php, includes/lang/ct.php, includes/lang/da.php, |
includes/lang/de.php, includes/lang/en.php, includes/lang/es.php, |
includes/lang/et.php, includes/lang/eu.php, includes/lang/fi.php, |
includes/lang/fr.php, includes/lang/gr.php, includes/lang/he.php, |
includes/lang/hu.php, includes/lang/id.php, includes/lang/is.php, |
includes/lang/it.php, includes/lang/jp.php, includes/lang/ko.php, |
includes/lang/lt.php, includes/lang/lv.php, includes/lang/nl.php, |
includes/lang/no.php, includes/lang/pl.php, |
includes/lang/pt-br.php, includes/lang/pt.php, |
includes/lang/ro.php, includes/lang/ru.php, includes/lang/sk.php, |
includes/lang/sr.php, includes/lang/sv.php, includes/lang/tr.php, |
includes/lang/tw.php, includes/xml/filesystems.php, |
includes/xml/hddtemp.php, includes/xml/mbinfo.php, |
includes/xml/memory.php, includes/xml/network.php, |
includes/xml/vitals.php: include support for wml - may be not |
complete, but it's working here closes feature request "[ 678924 |
] WAP info" |
2005-12-31 11:23 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php, includes/common_functions.php, templates/aq/form.tpl |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), |
templates/black/form.tpl (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3), templates/blue/form.tpl (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3), templates/bulix/form.tpl, |
templates/classic/form.tpl (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3), templates/kde/form.tpl (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3), templates/metal/form.tpl (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), |
templates/orange/form.tpl (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3), templates/typo3/form.tpl (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3), templates/windows_classic/form.tpl |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), |
templates/wintendoxp/form.tpl (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3): show an error box if a program can |
be executed, but only prints an error, e.g. permissionn denied or |
something like this |
2005-12-31 09:59 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* distros.ini: arch must be arch and not gentoo, how did this |
happen |
2005-12-22 16:54 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.SunOS.inc.php: remove bogomips |
2005-12-22 16:46 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* images/Solaris.png, includes/os/class.SunOS.inc.php: another |
image for Solaris memory fix both from bug report "[ 1387529 ] |
Memory info wrong for Solaris" |
2005-12-21 08:01 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* images/SunOS.png (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3), includes/os/class.SunOS.inc.php: Icon for SunOS |
from "robshep" |
2005-12-21 07:58 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.SunOS.inc.php: patch for load on Solaris from |
"robshep" |
2005-12-16 05:12 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: remove debugging code |
2005-12-16 05:11 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/: class.BSD.common.inc.php, class.Linux.inc.php: mask |
$ sign in mounts |
2005-12-15 08:35 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* ChangeLog, README, index.php: 2.5.1 release |
2005-12-10 15:58 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php: little spped up the creation |
2005-12-10 15:54 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php, includes/common_functions.php, |
includes/system_header.php, includes/xml/filesystems.php, |
includes/xml/hardware.php, includes/xml/hddtemp.php, |
includes/xml/mbinfo.php, includes/xml/memory.php, |
includes/xml/network.php, includes/xml/vitals.php, |
templates/aq/box.tpl, templates/black/box.tpl, |
templates/blue/box.tpl (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3), templates/bulix/box.tpl (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3), templates/classic/box.tpl (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), |
templates/kde/box.tpl (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3), templates/metal/box.tpl, templates/orange/box.tpl |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), |
templates/typo3/box.tpl (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3), templates/windows_classic/box.tpl (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), |
templates/wintendoxp/box.tpl (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3): huge update for supporting rtl-languages should |
close: "[ 1364219 ] Fix for bug 1039460 ?" "[ 1039460 ] |
chareset=utf-8 dir=rtl breaks templates" |
2005-12-10 13:09 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* templates/: aq/box.tpl, black/box.tpl, kde/box.tpl, |
metal/box.tpl, windows_classic/box.tpl, wintendoxp/box.tpl: html |
code fixes to be HTML 4.01 Transitional compatible, verified at |
validator.w3.org |
2005-12-10 12:30 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/system_footer.php: fixes bug "[ 1377012 ] Correcting a |
html "error"." |
2005-12-10 09:08 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/mb/class.mbm5.inc.php: fixes "[ 1377470 ] error in file |
"\includes\mb\class.mbm5.inc.php on line 27"" |
2005-12-09 19:30 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.BSD.common.inc.php: |
add ability to read pci devices from "pciconf -lv", if this |
doesn't work we fall back to old way |
2005-12-08 20:18 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.BSD.common.inc.php: |
loadbar now works also with BSD systems fixes bug "[ 1376395 ] |
$loadbar not working" |
2005-12-08 19:59 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.BSD.common.inc.php: |
command must be df -k and not df -kP for BSD systems |
2005-12-08 19:54 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php: |
we need the pcre extension |
2005-12-07 16:04 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/filesystems.php: overall size was wrong calculated |
for WINNT systems, here we must use the MountPoint for allready |
counted Partitions |
2005-12-07 15:47 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.WINNT.inc.php: mhz must be cpuspeed in array |
and busspeed has it's own position in the array |
2005-12-07 15:36 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.WINNT.inc.php: read hostname from wmi |
2005-12-07 15:07 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/common_functions.php: fixes bug "[ 1375301 ] fstype is |
CDFS under Windows not iso9660" |
2005-12-07 15:02 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/lang/: ar_utf8.php, bg.php, big5.php, br.php, ca.php, |
cn.php, cs.php, ct.php, da.php, de.php, en.php, es.php, et.php, |
eu.php, fi.php, fr.php, gr.php, he.php, hu.php, id.php, is.php, |
it.php, ko.php, lv.php, nl.php, no.php, pa_utf8.php, pt-br.php, |
pt.php, ro.php, ru.php, sk.php, sr.php, sv.php, tr.php, tw.php: |
fix bug "[ 1375274 ] strftime under windows has no %r %R" |
2005-12-07 05:09 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.SunOS.inc.php: fixed bug "[ 1374759 ] Netword |
info wrong for Solaris" with patch included in bug report |
2005-12-06 16:04 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* ChangeLog, README, index.php: 2.5 release |
2005-12-06 15:58 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: fixed bug "[ 1082407 ] IDE HDDs |
Capacity reports "0" on FC3", but i can not believe that sys has |
the ide and proc not |
2005-12-06 15:49 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php: check if file exist before include |
2005-12-06 05:00 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php: security fix |
2005-12-03 11:12 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.BSD.common.inc.php: wrong regex |
2005-12-02 22:19 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.BSD.common.inc.php: fixes bug "[ 1369246 ] |
Extra slash on "Mount"" it's now the same filesystem() code linke |
on Linux class |
2005-12-02 14:14 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.WINNT.inc.php: fix not showing cpu usage (wrong |
position in array) add value for cpu bargraph |
2005-12-02 14:03 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/: os/class.Linux.inc.php, xml/vitals.php: load averages |
change |
2005-12-02 13:57 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php: undefined variable |
2005-11-30 05:14 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* config.php.new: fix for bug "[ 1369688 ] little issue in the |
configuration file for hddtemp" changed style of comments |
2005-11-28 19:04 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* ChangeLog: Changelog update for 2.5-RC2 |
2005-11-28 15:52 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.OpenBSD.inc.php: missing dot causes error, |
fixes bug "[ 1368270 ] Error in OpenBSD 3.7" |
2005-11-27 20:39 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* sample/lmsensors5.txt (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3): another "nice" output |
2005-11-27 20:38 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/mb/class.lmsensors.inc.php: corrected regex |
2005-11-27 20:19 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/vitals.php: set maximum value for cpu bargraph |
2005-11-27 20:17 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: rewrite, because of bug "[ |
1367290 ] mount point show 11515% usage." |
2005-11-27 17:30 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php, includes/xml/filesystems.php, |
includes/xml/hardware.php, includes/xml/hddtemp.php, |
includes/xml/mbinfo.php, includes/xml/memory.php, |
includes/xml/network.php, includes/xml/vitals.php: htmlentities |
causes some strange xml-errors, htmlentities are good enough for |
our xml |
2005-11-27 17:17 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* sample/lmsensors4.txt (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3): another test output |
2005-11-27 13:18 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/mb/class.lmsensors.inc.php: we need these lines, the got |
lost at last commit |
2005-11-26 21:44 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/: common_functions.php, xml/filesystems.php, |
xml/hddtemp.php, xml/mbinfo.php, xml/memory.php: restructure the |
bargraph output |
2005-11-26 21:41 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/mb/class.lmsensors.inc.php: remove ununsed var $alarm |
fix for chipsets that have not the full vars we need, e.g. |
"fscpos-i2c-0-73" |
2005-11-26 15:35 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php: reflect version change, and we need a second rc, too |
many changes since last rc |
2005-11-26 15:19 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/hddtemp.php: write headline if no sensor_program is |
available |
2005-11-26 13:20 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/: filesystems.php, hardware.php, memory.php, |
network.php, vitals.php: tables should be 100% to get a nice |
output |
2005-11-26 13:20 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/common_functions.php: a no breaking space is required, |
else sometimes byte sizewraps to a new line and this looks bad |
2005-11-26 13:01 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/class.Template.inc.php (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3): Template class update version 1.6 |
from egroupware from folder ./setup/inc/class.Template.inc.php |
2005-11-26 11:39 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php: changed output for temperatures with help from Timo |
van Roermund |
2005-11-26 10:45 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php: unused value $percent |
2005-11-25 21:55 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/mbinfo.php: missing <tr> |
2005-11-25 21:27 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/common_functions.php: yellow only for above 75% and not |
20 |
2005-11-24 18:51 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/hardware.php: no extra encoding needed |
2005-11-24 17:10 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/: filesystems.php, hardware.php, memory.php, |
vitals.php: missing changes for last commit at XPath |
2005-11-24 17:05 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* phpsysinfo.dtd, includes/system_header.php, |
includes/xml/filesystems.php, includes/xml/hardware.php, |
includes/xml/memory.php: DTD update to reflect the latest changes |
and privious missing declarations, need some more tweeking |
2005-11-23 17:09 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/lang/ar_utf8.php: missing $text['gen_time'] |
2005-11-23 17:08 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/lang/ar_utf8.php: missing $text['locale'] |
2005-11-23 17:03 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: undefined variable |
2005-11-23 16:58 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/system_header.php: undefined variable |
2005-11-23 16:54 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/: hardware.php, vitals.php: undefined variable |
2005-11-23 05:05 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php: wrong varname |
2005-11-22 16:15 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/vitals.php: typo |
2005-11-22 16:14 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* config.php.new: missing entry and description in config.php.new |
for last commit |
2005-11-22 16:08 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php, includes/common_functions.php, |
includes/system_footer.php, includes/system_header.php, |
includes/os/class.Linux.inc.php, includes/xml/vitals.php, |
templates/aq/box.tpl, templates/black/box.tpl, |
templates/kde/box.tpl, templates/metal/box.tpl, |
templates/windows_classic/box.tpl: fix for including page in |
other scripts and nothing will work any longer (extra config |
value $webpath) |
2005-11-22 15:08 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/: mb/class.mbmon.inc.php (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3), xml/mbinfo.php: fix for "[ 1195024 |
] Ignore not connected temperature sensors" |
2005-11-22 14:59 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: error message for all FC |
systems, where we can't read /proc/net/dev, because of SELinux |
2005-11-22 14:30 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* distros.ini, images/Cobalt.gif, images/Cobalt.png (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), images/Darwin.gif, |
images/Darwin.png (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3), images/Debian.gif, images/Debian.png (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), images/Fedora.gif, |
images/Fedora.png (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3), images/FreeBSD.gif, images/FreeBSD.png (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), images/Gentoo.gif, |
images/Gentoo.png (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3), images/Mandrake.gif, images/Mandrake.png (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), images/NetBSD.gif, |
images/NetBSD.png, images/OpenBSD.gif, images/OpenBSD.png (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), images/Redhat.gif, |
images/Redhat.png (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3), images/Rubix.png (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3), images/Slackware.gif, |
images/Slackware.png (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3), images/Suse.gif, images/Suse.png (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), |
images/free-eos.gif, images/free-eos.png (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3), images/lfs.gif, images/lfs.png |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), |
images/unknown.png (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3), includes/os/class.Darwin.inc.php, |
includes/os/class.FreeBSD.inc.php, |
includes/os/class.HP-UX.inc.php, includes/os/class.Linux.inc.php, |
includes/os/class.NetBSD.inc.php, |
includes/os/class.OpenBSD.inc.php, |
includes/os/class.SunOS.inc.php: included patch "[ 1363677 ] |
Linux Distro INI Definitions file" for simpler distro-icon |
management, also convert some icons to png format |
2005-11-21 15:39 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php: set the default template, if the one which is stored |
in the cookie no longer exists |
2005-11-20 13:49 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* ChangeLog, tools/GenerateCL.sh, tools/cvs2cl.pl (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3): big changelog |
update |
2005-11-20 13:21 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/vitals.php: round cpuload |
2005-11-20 12:54 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* config.php.new, includes/os/class.BSD.common.inc.php, |
includes/os/class.HP-UX.inc.php, includes/os/class.Linux.inc.php, |
includes/os/class.SunOS.inc.php, includes/os/class.WINNT.inc.php, |
includes/xml/vitals.php: included feature request "[ 1252617 ] |
CPU Time/usage" |
2005-11-20 11:29 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/lang/pa_utf8.php: new translation from feature request |
"[ 1214326 ] New Translation adding" |
2005-11-20 11:27 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/hardware.php: another xml-destroyer bug, if GB or kb |
is translated |
2005-11-20 11:14 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/common_functions.php, |
templates/windows_classic/images/yellowbar_left.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), |
templates/windows_classic/images/yellowbar_middle.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), |
templates/windows_classic/images/yellowbar_right.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3): feature request "[ |
620192 ] Color indicators in graph" |
bars will show in a third color if there are images present like |
"yellowbar_*.gif" values can be changed in common_functions.php |
at which these colors should appear default: red > 90%, yellow > |
75%, else green |
2005-11-20 10:43 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* images/lfs.gif, includes/os/class.Linux.inc.php: add detection |
for Linux-from-Scratch |
2005-11-20 10:13 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.WINNT.inc.php: more network informations, |
included patch "[ 1234690 ] More network information on |
WindowsXP" |
2005-11-20 09:56 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* config.php.new, index.php, includes/mb/class.hddtemp.inc.php, |
includes/xml/hddtemp.php: read hddtemp values from deamon or |
execute hddtemp (fixed with help of Timo van Roermund) |
2005-11-19 23:41 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: simplify sparc cache detection |
code, also check before open a file exists |
2005-11-19 23:33 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: simplify usb detection |
2005-11-19 23:23 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/hardware.php: undefined var fix exclude SBUS |
information, we have no output for this |
2005-11-19 23:21 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/filesystems.php: unneeded calculation of hdd sums in |
xml function undefined var fix |
2005-11-19 23:09 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: there was a serious error in the |
detection code, if sizes are seperated by one only space, hope |
this fixes it |
2005-11-19 21:59 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: extra distribution information |
added (specially for Debian, which got lost) |
2005-11-19 21:43 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/: hddtemp.php, mbinfo.php: made bars smaller (same |
factor like memory bars), perhaps set in config file |
2005-11-19 21:39 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/hardware.php: remove space after capacity text |
2005-11-19 18:36 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* config.php.new, index.php, includes/mb/class.hddtemp.inc.php, |
includes/xml/hardware.php, includes/xml/hddtemp.php, |
includes/xml/mbinfo.php: added support for hddtemp this closes "[ |
1035068 ] hddtemp support" |
2005-11-19 17:11 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php: security fixes from debian |
2005-11-19 16:00 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.BSD.common.inc.php: included patch from "[ |
1334110 ] Support for harddisks above 'ad9' on (Free)BSD" |
2005-11-19 15:56 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* config.php.new, includes/common_functions.php, |
includes/os/class.BSD.common.inc.php, |
includes/os/class.Darwin.inc.php, |
includes/os/class.HP-UX.inc.php, includes/os/class.Linux.inc.php, |
includes/os/class.SunOS.inc.php, includes/os/class.WINNT.inc.php: |
support for hiding specific mounts patch from here "[ 1214480 ] |
Support for hiding specific mounts" and closes also "[ 979229 ] |
Support for hiding specific mounts" |
2005-11-19 15:11 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/filesystems.php: don't count mountpoints twice or |
more fixes "[ 1123357 ] the totals size for hd" |
2005-11-19 14:42 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/: os/class.Linux.inc.php, xml/memory.php: if more than 1 |
swapdevice, show the divices in output with the stats of each own |
fixes "[ 964630 ] 2 swap partition problem" |
2005-11-19 14:08 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/: system_header.php, lang/ar_utf8.php, lang/bg.php, |
lang/big5.php, lang/br.php, lang/ca.php, lang/cn.php, |
lang/cs.php, lang/ct.php, lang/da.php, lang/de.php, lang/en.php, |
lang/es.php, lang/et.php, lang/eu.php, lang/fi.php, lang/fr.php, |
lang/gr.php, lang/he.php, lang/hu.php, lang/id.php, lang/is.php, |
lang/it.php, lang/jp.php, lang/ko.php, lang/lt.php, lang/lv.php, |
lang/nl.php, lang/no.php, lang/pl.php, lang/pt-br.php, |
lang/pt.php, lang/ro.php, lang/ru.php, lang/sk.php, lang/sr.php, |
lang/sv.php, lang/tr.php, lang/tw.php, os/class.Linux.inc.php, |
xml/memory.php: split memory information (this time only for |
linux) this closes: "[ 1297967 ] memory usage includes cache... |
bad idea?" "[ 1065909 ] split memory usage information" "[ |
1220004 ] Ignore cached memory" "[ 616434 ] More Memory Values" |
and now $text['locale'] is used for setting LC_ALL instead of |
LC_TIME (numbers have now correct dots and commas) |
2005-11-19 12:32 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/common_functions.php, |
templates/kde/images/nobar_left.gif (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3), |
templates/windows_classic/images/nobar_left.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), |
templates/windows_classic/images/nobar_middle.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), |
templates/windows_classic/images/nobar_right.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), |
templates/wintendoxp/images/nobar_left.gif (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3), |
templates/wintendoxp/images/nobar_middle.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), |
templates/wintendoxp/images/nobar_right.gif (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3): included patch from "[ 1017212 ] |
create bar" if there are files called "nobar_*.gif" in the |
templates dir, a full bar is shown |
2005-11-18 18:05 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: don't show the devices |
serialnumber |
2005-11-18 17:52 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* config.php.new, includes/os/class.Linux.inc.php, |
includes/xml/filesystems.php: included feature suggested here "[ |
1070565 ] Bind mount management; some cosmetics" and also by |
gentoo if showing bind-mounts they dont't increase the overall |
size, if disable these mounts not shown controlled by an option |
in config.php |
2005-11-18 17:16 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/: filesystems.php, hardware.php, mbinfo.php, |
memory.php, network.php, vitals.php: now all strings are encoded |
in the xml ("[ 1075222 ] XML "&" problems"), not everywhere |
necassary, but now it should be safe |
2005-11-18 16:59 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: include the patch from gentoo |
for sparc |
2005-11-18 16:55 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/hardware.php: fixes bug "[ 1072981 ] XML Parsing |
error", if there are some characters in the device name which |
breaks xml |
2005-11-18 16:50 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/: os/class.BSD.common.inc.php, os/class.Linux.inc.php, |
xml/filesystems.php: this fixes bugs: "[ 619173 ] broken |
filesystem() code" "[ 1001681 ] can't handle whitespaces" also |
convert specialchars in devicename and mountpoint to be html |
conform |
2005-11-18 15:46 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/xml/hardware.php: never, really never store language |
specific words in an xml document (if there is no CDATA section) |
2005-11-18 15:11 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php: security fix for phpgroupware |
2005-11-17 19:55 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php, includes/os/class.Darwin.inc.php, |
includes/os/class.FreeBSD.inc.php, |
includes/os/class.NetBSD.inc.php, |
includes/os/class.OpenBSD.inc.php: all require() changed to |
require_once() and they include now the APP_ROOT, for using |
phpsysinfo in other web-apps |
2005-11-17 16:56 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/mb/class.lmsensors.inc.php: following bugs should be |
fixed now: "[ 1357257 ] lmsensors & phpsysinfo bugs" "[ 1241520 ] |
Temperature, Voltage Empty" "[ 1109524 ] lmsensores Bug" included |
fix for "[ 1277145 ] Fan Speed w/out divisor does not show" and |
finally fix for some E_NOTICE massages |
2005-11-16 21:47 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/lang/nl.php: updated translation from patch "[ 1104472 ] |
Dutch language patch" |
2005-11-16 21:42 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/lang/fr.php: updated translation from "[ 1220000 ] |
French language patch", hope this is all correct translated |
2005-11-16 21:28 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/os/class.Linux.inc.php: included patch "[ 1198070 ] SuSE |
Enterprise Server not detected" also change distribution |
detection (first check if a file exist before read it, one icon |
can also have more than one associated file) |
2005-11-16 17:39 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* index.php, includes/system_footer.php, |
includes/system_header.php, includes/os/class.Darwin.inc.php, |
includes/os/class.FreeBSD.inc.php, |
includes/os/class.NetBSD.inc.php, |
includes/os/class.OpenBSD.inc.php: security fixes, mentioned in |
bug "[ 1168383 ] phpSysInfo 2.3 Multiple vulnerabilities" |
2005-11-16 17:26 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/XPath.class.php (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3): update to latest version, which fixes |
array_merge() warnings |
2005-11-16 16:32 bigmichi1 Michael Cramer (bigmichi1 at users.sf.net) |
* includes/lang/ru.php: applied patch "[ 1234692 ] Russian lang |
typo/mistake fix" |
2005-11-11 21:13 precision Uriah Welcome (precision at users.sf.net) |
* index.php: This is a quick fix for the $lng issue reintroduced in |
Version 2.4. The bugfix for CVE-2005-3347 has reopened |
CVE-2003-0536, but since we expect a very short string (directory |
name), we can actually do basename and strip off any non-filename |
characters. Also, CVE-2005-3348 was not fixed with |
register_globals On, since $charset could be overwritten. Fix by |
christopher.kunz@hardened-php.net */ |
2005-11-10 17:47 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog: 2.4 changelog update |
2005-11-10 17:39 precision Uriah Welcome (precision at users.sf.net) |
* README, index.php: misc updates, releasing 2.4 |
2005-11-10 17:31 precision Uriah Welcome (precision at users.sf.net) |
* includes/lang/sr.php: adding serbian translation |
2005-08-19 19:02 precision Uriah Welcome (precision at users.sf.net) |
* includes/XPath.class.php: updating to the latest version of |
XPath.class.php |
2004-10-30 08:09 webbie (webbie at ipfw dot org) |
* includes/mb/: class.healthd.inc.php (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3), class.hwsensors.inc.php, |
class.lmsensors.inc.php, class.mbm5.inc.php, class.mbmon.inc.php: |
Saving the results of the output to a class level variable, we |
only need to run the mbmon binary once. |
2004-10-30 07:14 webbie (webbie at ipfw dot org) |
* includes/mb/class.mbmon.inc.php: Saving the results of the output |
to a class level variable, we only need to run the mbmon binary |
once. ( Gorilla <gorilla_ at users.sf.net> ) |
2004-10-29 06:49 webbie (webbie at ipfw dot org) |
* ChangeLog, includes/xml/filesystems.php: hide mount point in XML |
when $show_mount_point is false |
2004-10-13 08:13 webbie (webbie at ipfw dot org) |
* ChangeLog, includes/os/class.BSD.common.inc.php, |
includes/os/class.HP-UX.inc.php, includes/os/class.Linux.inc.php, |
includes/os/class.SunOS.inc.php, includes/os/class.WINNT.inc.php, |
includes/xml/vitals.php: sysinfo classes return the Uptime in |
seconds. ( Edwin Meester <millenniumv3 at users.sf.net> ) |
2004-10-06 05:51 webbie (webbie at ipfw dot org) |
* includes/lang/lt.php: proper Lithuanian translation update |
2004-10-06 05:45 webbie (webbie at ipfw dot org) |
* index.php, includes/common_functions.php: Removed GD dependency |
( Edwin Meester <millenniumv3 at users.sf.net> ) |
2004-10-05 00:39 webbie (webbie at ipfw dot org) |
* index.php: remove debug statement |
2004-10-04 03:16 webbie (webbie at ipfw dot org) |
* index.php: comestic fix again |
2004-10-04 03:15 webbie (webbie at ipfw dot org) |
* index.php: comestic fix |
2004-10-04 03:13 webbie (webbie at ipfw dot org) |
* index.php: bug fix, wrong _GET language variable |
2004-10-03 07:13 webbie (webbie at ipfw dot org) |
* includes/: mb/class.mbm5.inc.php, system_footer.php: comestic fix |
2004-10-03 07:12 webbie (webbie at ipfw dot org) |
* includes/mb/class.mbm5.inc.php: A class for MBM5 wich parses the |
csv logs for Fan Speed, Voltages and Temperatures. see the Note |
for making things work. ( Edwin Meester <millenniumv3 at |
users.sf.net> ) |
2004-10-03 05:05 webbie (webbie at ipfw dot org) |
* includes/lang/lt.php: comestic update ( Rimas Kudelis <er-ku |
at users.sf.net> ) |
2004-10-03 04:25 webbie (webbie at ipfw dot org) |
* index.php, includes/system_footer.php: do not use |
register_long_arrays ( Edwin Meester <millenniumv3 at |
sf.users.net> ) |
2004-10-03 04:14 webbie (webbie at ipfw dot org) |
* includes/mb/class.lmsensors.inc.php: Dirty fix for misinterpreted |
output of sensors, where info could come on next line when the |
label is too long. ( Martijn Stolk <netrippert at users.sf.net> |
) |
2004-10-03 04:07 webbie (webbie at ipfw dot org) |
* ChangeLog, config.php.new: A class for MBM5 wich parses the csv |
logs for Fan Speed, Voltages and Temperatures. see the Note for |
making things work. ( Edwin Meester <millenniumv3 at |
users.sf.net> ) |
2004-09-01 18:00 webbie (webbie at ipfw dot org) |
* includes/lang/fr.php: cosmectic fix |
2004-08-31 17:50 webbie (webbie at ipfw dot org) |
* templates/: aq/index.html, aq/images/index.html, |
black/index.html, black/images/index.html, blue/index.html, |
blue/images/index.html, bulix/index.html, |
bulix/images/index.html, classic/index.html, |
classic/images/index.html, kde/index.html, kde/images/index.html, |
metal/index.html, metal/images/index.html, orange/index.html, |
orange/images/index.html, typo3/index.html, |
typo3/images/index.html, windows_classic/index.html, |
windows_classic/images/index.html, wintendoxp/index.html, |
wintendoxp/images/index.html (utags: REL-2-5-2-RC3, |
REL-2-5-3-RC1, REL-2-5-3-RC2): prevent index listing |
2004-08-30 16:05 webbie (webbie at ipfw dot org) |
* templates/windows_classic/images/: bottom.gif, |
bottom_left_corner.gif, bottom_right_corner.gif, left.gif, |
middle.gif, min_max.gif, right.gif, top.gif, |
upper_left_corner.gif, upper_right_corner.gif (utags: |
REL-2-5-2-RC3, REL-2-5-3-RC1, REL-2-5-3-RC2): Changed the colors |
and Icon. ( Edwin Meester <millenniumv3 at users.sf.net> ) |
2004-08-30 15:51 webbie (webbie at ipfw dot org) |
* includes/lang/: ar_utf8.php, bg.php, big5.php, br.php, ca.php, |
cn.php, cs.php, ct.php, da.php, de.php, en.php, es.php, et.php, |
eu.php, fi.php, fr.php, gr.php, he.php, hu.php, id.php, is.php, |
it.php, jp.php, ko.php, lt.php, lv.php, nl.php, no.php, pl.php, |
pt-br.php, pt.php, ro.php, ru.php, sk.php, sv.php, tr.php, |
tw.php: missing USB tag ( Edwin Meester <millenniumv3 at |
users.sf.net> ) |
2004-08-30 15:28 webbie (webbie at ipfw dot org) |
* includes/os/class.WINNT.inc.php: Fatal error: Call to undefined |
method variant::Next() in |
F:\Http\localhost\test\phpsysinfo\includes\os\class.WINNT.inc |
.php on line 104 ( Edwin Meester <millenniumv3 at users.sf.net> ) |
2004-08-25 19:37 webbie (webbie at ipfw dot org) |
* ChangeLog: update Changelog |
2004-08-25 19:33 webbie (webbie at ipfw dot org) |
* includes/lang/nl.php: - Updated CPUSpeed en BUSSpeed Labels - |
changed "Buffergrootte" to "Cache grootte" cause Cache is used by |
most of Dutch PC Shops... ( Edwin Meester <millenniumv3 at |
users.sf.net> ) |
2004-08-25 03:04 webbie (webbie at ipfw dot org) |
* includes/: system_footer.php, lang/ar_utf8.php, lang/bg.php, |
lang/big5.php, lang/br.php, lang/ca.php, lang/cn.php, |
lang/cs.php, lang/ct.php, lang/da.php, lang/de.php, lang/en.php, |
lang/es.php, lang/et.php, lang/eu.php, lang/fi.php, lang/fr.php, |
lang/gr.php, lang/he.php, lang/hu.php, lang/id.php, lang/is.php, |
lang/it.php, lang/jp.php, lang/ko.php, lang/lt.php, lang/lv.php, |
lang/nl.php, lang/no.php, lang/pl.php, lang/pt-br.php, |
lang/pt.php, lang/ro.php, lang/ru.php, lang/sk.php, lang/sv.php, |
lang/tr.php, lang/tw.php, os/class.Darwin.inc.php, |
xml/hardware.php: add BUS Speed to the hardware section ( |
macftphttp.serverbox.org <macftphttp at users.sf.net> ) ( Edwin |
Meester <millenniumv3 at users.sf.net> ) |
2004-08-25 02:34 webbie (webbie at ipfw dot org) |
* includes/: lang/ar_utf8.php, lang/bg.php, lang/big5.php, |
lang/br.php, lang/ca.php, lang/cn.php, lang/cs.php, lang/ct.php, |
lang/da.php, lang/de.php, lang/en.php, lang/es.php, lang/et.php, |
lang/eu.php, lang/fi.php, lang/fr.php, lang/gr.php, lang/he.php, |
lang/hu.php, lang/id.php, lang/is.php, lang/it.php, lang/jp.php, |
lang/ko.php, lang/lt.php, lang/lv.php, lang/nl.php, lang/no.php, |
lang/pl.php, lang/pt-br.php, lang/pt.php, lang/ro.php, |
lang/ru.php, lang/sk.php, lang/sv.php, lang/tr.php, lang/tw.php, |
os/class.BSD.common.inc.php, os/class.Darwin.inc.php, |
os/class.HP-UX.inc.php, os/class.Linux.inc.php, |
os/class.SunOS.inc.php, os/class.WINNT.inc.php, xml/hardware.php: |
show CPU speed as X.XX Ghz or XXX Mhz if less than 1 Ghz. ( |
macftphttp.serverbox.org <macftphttp at users.sf.net> ) ( Edwin |
Meester <millenniumv3 at users.sf.net> ) |
2004-08-24 23:57 webbie (webbie at ipfw dot org) |
* templates/windows_classic/: box.tpl, form.tpl, |
windows_classic.css (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3), images/bar_left.gif (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3), images/bar_middle.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), |
images/bar_right.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3), images/bottom.gif, images/bottom_left_corner.gif, |
images/bottom_right_corner.gif, images/left.gif, |
images/middle.gif, images/min_max.gif, images/redbar_left.gif |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), |
images/redbar_middle.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3), images/redbar_right.gif (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3), images/right.gif, |
images/spacer.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3), images/top.gif, images/upper_left_corner.gif, |
images/upper_right_corner.gif: new windows_classic template ( |
Edwin Meester <millenniumv3 at users.sf.net> ) |
2004-08-24 23:18 webbie (webbie at ipfw dot org) |
* includes/lang/fr.php: update french localization ( Xavier |
Spirlet <exess at skynet.be> ) |
2004-08-24 23:06 webbie (webbie at ipfw dot org) |
* templates/: aq/form.tpl, black/form.tpl, blue/form.tpl, |
bulix/form.tpl, kde/form.tpl, metal/form.tpl, orange/form.tpl, |
typo3/form.tpl, wintendoxp/form.tpl: remove hysteresis from |
temperature section |
2004-08-24 22:58 webbie (webbie at ipfw dot org) |
* includes/xml/mbinfo.php, templates/classic/form.tpl: [no log |
message] |
2004-08-23 23:02 webbie (webbie at ipfw dot org) |
* includes/lang/nl.php: - Fixed the Dutch Local windows and Linux. |
(Guess al other files have to be patched also (for windows |
support) |
- translated labels from version 2.2 and 2.3 |
( Edwin Meester <millenniumv3 at users.sf.net> ) |
2004-08-23 22:56 webbie (webbie at ipfw dot org) |
* includes/os/class.Linux.inc.php, images/Cobalt.gif: add sun |
cobalt detection ( Jerry Bauer <kb at diskfailure.nl> ) |
2004-08-19 14:48 webbie (webbie at ipfw dot org) |
* config.php.new: update comments |
2004-08-19 14:32 webbie (webbie at ipfw dot org) |
* includes/lang/is.php: update Icelandic translation (Throstur |
Svanbergsson <throstur at users.sf.net> ) |
2004-08-19 14:26 webbie (webbie at ipfw dot org) |
* index.php: disable notice if cookie is not set |
2004-08-14 22:18 webbie (webbie at ipfw dot org) |
* index.php: bump version to 2.4-cvs |
2004-08-14 11:22 webbie (webbie at ipfw dot org) |
* ChangeLog, index.php (utags: REL-2-3): phpsysinfo version 2.3 |
release! |
2004-08-13 23:02 webbie (webbie at ipfw dot org) |
* includes/system_footer.php (tags: REL-2-3): template picklist |
should only pickup directory name and language picklist should |
only pickup language file with .php extension |
2004-08-13 16:17 webbie (webbie at ipfw dot org) |
* tools/MakeCVS.sh (tags: REL-2-3): exclude sample directory |
2004-08-12 00:07 webbie (webbie at ipfw dot org) |
* includes/system_footer.php: comestic bug fix |
2004-08-11 11:55 webbie (webbie at ipfw dot org) |
* includes/system_footer.php: format code using phpCodeBeautifier |
2004-08-11 07:34 webbie (webbie at ipfw dot org) |
* config.php.new (tags: REL-2-3), includes/system_footer.php: add |
option to hide/display langauge and template picklist |
2004-08-11 07:23 webbie (webbie at ipfw dot org) |
* config.php.new, index.php: default template and language config |
option (requested by many peoples) |
2004-08-11 06:57 webbie (webbie at ipfw dot org) |
* tools/MakeCVS.sh: exclude tools directory |
2004-08-11 06:55 webbie (webbie at ipfw dot org) |
* images/Arch.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3), includes/os/class.Linux.inc.php (utags: REL-2-3): |
Add Arch Linux detection ( Simo L <neotuli at users.sf.net> ) |
2004-07-18 03:27 webbie (webbie at ipfw dot org) |
* images/index.html (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3), includes/index.html (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3), includes/lang/index.html (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), |
includes/mb/index.html (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3), includes/os/index.html (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3), includes/xml/index.html (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), sample/index.html |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3), |
templates/index.html (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3), templates/kde/form.tpl, |
templates/wintendoxp/form.tpl, tools/index.html (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3) (utags: REL-2-3): |
prevent index listing |
2004-07-18 00:34 webbie (webbie at ipfw dot org) |
* tools/debug.php (tags: REL-2-3): for debugging |
2004-07-16 22:06 webbie (webbie at ipfw dot org) |
* templates/classic/form.tpl (tags: REL-2-3): remove hysteresis |
from temperature section |
2004-07-16 22:06 webbie (webbie at ipfw dot org) |
* templates/: aq/form.tpl (tags: REL-2-3), black/form.tpl (tags: |
REL-2-3), blue/form.tpl (tags: REL-2-3), bulix/form.tpl (tags: |
REL-2-3), kde/form.tpl, metal/form.tpl (tags: REL-2-3), |
orange/form.tpl (tags: REL-2-3), typo3/form.tpl (tags: REL-2-3), |
wintendoxp/form.tpl: add temperature section to bulix and fixing |
table tag problem in form.tpl ( Frederik Schueler <fschueler |
at users.sf.net> ) |
2004-07-14 06:34 webbie (webbie at ipfw dot org) |
* README (tags: REL-2-3): phpsysinfo does work on PHP5.x |
2004-07-12 01:39 webbie (webbie at ipfw dot org) |
* includes/lang/: ar_utf8.php, jp.php (utags: REL-2-3): fixing |
language template for ar_utf8 and jp ( Frederik Schueler |
<fschueler at users.sf.net> ) |
2004-07-05 17:55 webbie (webbie at ipfw dot org) |
* README, config.php.new: better hardware sensor installation |
instructions |
2004-07-03 01:28 webbie (webbie at ipfw dot org) |
* includes/xml/mbinfo.php (tags: REL-2-3): remove hysteresis from |
temperature section |
2004-07-02 02:33 webbie (webbie at ipfw dot org) |
* includes/os/class.OpenBSD.inc.php (tags: REL-2-3): remove WIP |
message |
2004-07-02 02:32 webbie (webbie at ipfw dot org) |
* includes/os/: class.BSD.common.inc.php (tags: REL-2-3), |
class.OpenBSD.inc.php, class.WINNT.inc.php (tags: REL-2-3): |
Proper fix OpenBSD pci logic |
2004-06-29 01:29 webbie (webbie at ipfw dot org) |
* includes/os/class.WINNT.inc.php: add ending ?> |
2004-06-29 01:26 webbie (webbie at ipfw dot org) |
* includes/os/class.WINNT.inc.php: Now supports v2.2 of phpSysInfo. |
( Carl C. Longnecker <longneck at users.sf.net> ) |
2004-06-28 20:51 webbie (webbie at ipfw dot org) |
* includes/: common_functions.php (tags: REL-2-3), |
os/class.WINNT.inc.php: add WinNT support ( Carl C. Longnecker |
<longneck at users.sf.net> ) |
2004-06-27 00:31 webbie (webbie at ipfw dot org) |
* ChangeLog, tools/GenerateCL.sh (tags: REL-2-3): regenerate |
ChangeLog |
2004-06-27 00:24 webbie (webbie at ipfw dot org) |
* index.php: template and lng cookies now work with register global |
on and off |
2004-06-26 23:46 webbie (webbie at ipfw dot org) |
* includes/: os/class.BSD.common.inc.php, os/class.Darwin.inc.php |
(tags: REL-2-3), os/class.FreeBSD.inc.php (tags: REL-2-3), |
os/class.HP-UX.inc.php (tags: REL-2-3), os/class.Linux.inc.php, |
os/class.NetBSD.inc.php (tags: REL-2-3), |
os/class.OpenBSD.inc.php, xml/hardware.php (tags: REL-2-3): Add |
scsi hdd capacity information |
2004-06-26 01:50 webbie (webbie at ipfw dot org) |
* includes/os/class.SunOS.inc.php (tags: REL-2-3): remove |
compat_array_keys and add usb function boby |
2004-06-26 01:27 webbie (webbie at ipfw dot org) |
* includes/mb/class.hwsensors.inc.php (tags: REL-2-3): compatible |
with OpenBSD 3.5 ( psyc <scotchme@users.sf.net> ) |
2004-06-26 01:18 webbie (webbie at ipfw dot org) |
* includes/os/class.BSD.common.inc.php: make it compatible with |
OpenBSD 3.4 |
2004-06-26 00:24 webbie (webbie at ipfw dot org) |
* includes/XPath.class.php (tags: REL-2-3): make phpsysinfo works |
with php5 see http://bugs.php.net/bug.php?id=27815 |
2004-06-21 19:14 precision Uriah Welcome (precision at users.sf.net) |
* images/Trustix.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3): Adding trustix detection |
2004-06-21 19:14 precision Uriah Welcome (precision at users.sf.net) |
* includes/os/class.Linux.inc.php: adding trustix detection from |
Gervasio Varela <gervarela at teleline.es> |
2004-06-21 19:09 precision Uriah Welcome (precision at users.sf.net) |
* templates/typo3/: box.tpl (tags: REL-2-3), form.tpl, typo3.css |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3), |
images/bar_left.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3), images/bar_middle.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3), |
images/bar_right.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3), images/redbar_left.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3), |
images/redbar_middle.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3), images/redbar_right.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3), |
images/trans.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3): adding typo3 template from Mauric Rene |
Oberlaender <admin at mronet.at> |
2004-06-12 23:02 webbie (webbie at ipfw dot org) |
* includes/mb/class.lmsensors.inc.php (tags: REL-2-3): This |
validates that the limit is actually greater than the hysteresis |
value (which is should be). |
2004-06-09 16:22 webbie (webbie at ipfw dot org) |
* ChangeLog, index.php, phpsysinfo.dtd (tags: REL-2-3): diable |
magic quotes during runtime |
2004-05-27 06:06 webbie (webbie at ipfw dot org) |
* tools/GenerateCL.sh: simplify sed command a little bit |
2004-05-25 18:11 webbie (webbie at ipfw dot org) |
* tools/README (tags: REL-2-3): Add GenerateCL.sh description |
2004-05-25 16:42 webbie (webbie at ipfw dot org) |
* ChangeLog: Haven't generate this for a long time |
2004-05-25 16:29 webbie (webbie at ipfw dot org) |
* tools/GenerateCL.sh: Script to generate ChangeLog from CVS |
2004-05-23 02:35 webbie (webbie at ipfw dot org) |
* includes/system_footer.php: doesn't need to check for 'xml' |
2004-05-23 01:47 webbie (webbie at ipfw dot org) |
* sample/mount1.txt (tags: REL-2-3): add sample mount output |
2004-05-22 22:13 webbie (webbie at ipfw dot org) |
* config.php.new, includes/system_footer.php, |
includes/mb/class.mbmon.inc.php (tags: REL-2-3): Add mbmon |
support ( Zoltan Frombach <zoltan at frombach.com> ) |
2004-05-15 21:24 webbie (webbie at ipfw dot org) |
* index.php: bump version to 2.3-cvs |
2004-05-15 07:27 webbie (webbie at ipfw dot org) |
* index.php (tags: REL-2-2): bump version to 2.2 |
2004-05-07 01:05 webbie (webbie at ipfw dot org) |
* images/free-eos.gif (tags: REL-2-3), |
includes/os/class.Linux.inc.php, tools/MakeCVS.sh (utags: |
REL-2-2): Add Free EOS distro detection |
2004-05-07 00:51 webbie (webbie at ipfw dot org) |
* includes/os/class.Darwin.inc.php (tags: REL-2-2): use Darwin icon |
instead of xp icon, peoples are very upset =) |
2004-05-07 00:49 webbie (webbie at ipfw dot org) |
* images/Darwin.gif (tags: REL-2-3, REL-2-2): Darwin icon ( |
Stefan Olofssone < stefan at swab.se> ) |
2004-05-05 22:09 webbie (webbie at ipfw dot org) |
* includes/mb/class.lmsensors.inc.php (tags: REL-2-2): redo some |
regex, hopefully it fixes some weird temperature parsing problem |
2004-05-05 21:50 webbie (webbie at ipfw dot org) |
* sample/: lmsensors1.txt, lmsensors2.txt, lmsensors3.txt (utags: |
REL-2-2, REL-2-3, REL-2-5-2-RC3, REL-2-5-3-RC1, REL-2-5-3-RC2): |
add sample lmsensors output |
2004-05-02 18:45 webbie (webbie at ipfw dot org) |
* images/Suse.gif (tags: REL-2-3, REL-2-2), |
includes/os/class.Linux.inc.php: add SuSE distro detection ( |
Ben van Essen <flark at users.sf.net> ) |
2004-05-02 01:44 webbie (webbie at ipfw dot org) |
* tools/MakeCVS.sh: ignore sample directory |
2004-05-02 01:41 webbie (webbie at ipfw dot org) |
* index.php: remove magic quote statement, it is unnecessary |
2004-05-01 08:48 webbie (webbie at ipfw dot org) |
* index.php, includes/system_footer.php (tags: REL-2-2): coding |
style fixup |
2004-05-01 08:31 webbie (webbie at ipfw dot org) |
* includes/system_footer.php: fix minor glitches in the |
system_footer.php <macftphttp at users.sourceforge.net> |
2004-04-30 08:29 webbie (webbie at ipfw dot org) |
* index.php (tags: REL-2-2-RC1): bump version to 2.2-rc1, getting |
ready for the final release |
2004-04-30 06:04 webbie (webbie at ipfw dot org) |
* includes/os/class.Darwin.inc.php (tags: REL-2-2-RC1): Fix Xpath |
error in XPath.class.php (David Schlosnagle <schlosna at |
users.sourceforge.net>) |
2004-04-30 05:42 webbie (webbie at ipfw dot org) |
* index.php: 1. add xml module check 2. turn of magic quote |
2004-04-28 07:14 webbie (webbie at ipfw dot org) |
* phpsysinfo.dtd (tags: REL-2-2, REL-2-2-RC1): Add Distroicon |
element |
2004-04-28 07:12 webbie (webbie at ipfw dot org) |
* includes/lang/: ar_utf8.php, bg.php (tags: REL-2-3), big5.php |
(tags: REL-2-3), br.php (tags: REL-2-3), ca.php (tags: REL-2-3), |
cn.php (tags: REL-2-3), cs.php (tags: REL-2-3), ct.php (tags: |
REL-2-3), da.php (tags: REL-2-3), de.php (tags: REL-2-3), en.php |
(tags: REL-2-3), es.php (tags: REL-2-3), et.php (tags: REL-2-3), |
eu.php (tags: REL-2-3), fi.php (tags: REL-2-3), fr.php (tags: |
REL-2-3), gr.php (tags: REL-2-3), he.php (tags: REL-2-3), hu.php |
(tags: REL-2-3), id.php (tags: REL-2-3), is.php (tags: REL-2-3), |
it.php (tags: REL-2-3), jp.php, ko.php (tags: REL-2-3), lt.php |
(tags: REL-2-3), lv.php (tags: REL-2-3), nl.php (tags: REL-2-3), |
no.php (tags: REL-2-3), pl.php (tags: REL-2-3), pt-br.php (tags: |
REL-2-3), pt.php (tags: REL-2-3), ro.php (tags: REL-2-3), ru.php |
(tags: REL-2-3), sk.php (tags: REL-2-3), sv.php (tags: REL-2-3), |
tr.php (tags: REL-2-3), tw.php (tags: REL-2-3) (utags: REL-2-2, |
REL-2-2-RC1): fix label case |
2004-04-28 06:46 webbie (webbie at ipfw dot org) |
* includes/mb/class.lmsensors.inc.php (tags: REL-2-2-RC1): minor |
regex string fix |
2004-04-25 05:46 webbie (webbie at ipfw dot org) |
* config.php.new, includes/mb/class.hwsensors.inc.php (utags: |
REL-2-2, REL-2-2-RC1): add OpenBSD hw.sensors support |
2004-04-25 01:05 webbie (webbie at ipfw dot org) |
* ChangeLog (tags: REL-2-2, REL-2-2-RC1): Screwed up Changelog by |
accident |
2004-04-25 00:39 webbie (webbie at ipfw dot org) |
* includes/XPath.class.php (tags: REL-2-2, REL-2-2-RC1): update |
XPath.class.php to v3.4 |
2004-04-24 22:52 webbie (webbie at ipfw dot org) |
* includes/os/class.Linux.inc.php (tags: REL-2-2-RC1): Bug fix in |
distroicon function |
2004-04-24 22:36 webbie (webbie at ipfw dot org) |
* includes/: os/class.Darwin.inc.php, os/class.FreeBSD.inc.php |
(tags: REL-2-2, REL-2-2-RC1), os/class.HP-UX.inc.php (tags: |
REL-2-2, REL-2-2-RC1), os/class.Linux.inc.php, |
os/class.NetBSD.inc.php (tags: REL-2-2, REL-2-2-RC1), |
os/class.OpenBSD.inc.php (tags: REL-2-2, REL-2-2-RC1), |
os/class.SunOS.inc.php (tags: REL-2-2, REL-2-2-RC1), |
xml/vitals.php (tags: REL-2-3, REL-2-2, REL-2-2-RC1): Redo the |
distro icon logic, the old way is ugly |
2004-04-24 05:53 webbie (webbie at ipfw dot org) |
* images/Slackware.gif (tags: REL-2-3, REL-2-2, REL-2-2-RC1), |
includes/os/class.Linux.inc.php, includes/xml/vitals.php: Add |
Slackware detection ( Paul Cairney <pcairney at |
users.sourceforge.net> ) |
2004-04-06 00:46 webbie (webbie at ipfw dot org) |
* images/: Debian.gif, Fedora.gif (utags: REL-2-2, REL-2-2-RC1, |
REL-2-3): Beretta thinks these icons are better |
2004-04-06 00:26 webbie (webbie at ipfw dot org) |
* images/Fedora.gif, images/RedHat.gif, images/Redhat.gif (tags: |
REL-2-3, REL-2-2, REL-2-2-RC1), includes/os/class.Linux.inc.php, |
includes/xml/vitals.php: add Fedora distro and thank you Beretta |
for all the distro icons |
2004-03-31 21:20 webbie (webbie at ipfw dot org) |
* templates/aq/images/: bar_left.gif, bar_middle.gif, |
bar_right.gif, coininfd.gif, coininfg.gif, coinsupd.gif, |
coinsupg.gif, d.gif, fond.gif, g.gif, inf.gif, redbar_left.gif, |
redbar_middle.gif, redbar_right.gif, sup.gif (utags: REL-2-2, |
REL-2-2-RC1, REL-2-3, REL-2-5-2-RC3, REL-2-5-3-RC1, |
REL-2-5-3-RC2): overwrote aq theme by mistake |
2004-03-31 21:08 webbie (webbie at ipfw dot org) |
* templates/bulix/bulix.css (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1): cosmetic fix |
2004-03-31 21:03 webbie (webbie at ipfw dot org) |
* templates/aq/images/: background.gif, icons.gif: overworte aq |
theme by mistake |
2004-03-31 10:25 webbie (webbie at ipfw dot org) |
* includes/xml/vitals.php: missing closing bracket |
2004-03-31 10:21 webbie (webbie at ipfw dot org) |
* ChangeLog, images/Debian.gif, images/FreeBSD.gif (tags: REL-2-3, |
REL-2-2, REL-2-2-RC1), images/Gentoo.gif (tags: REL-2-3, REL-2-2, |
REL-2-2-RC1), images/Mandrake.gif (tags: REL-2-3, REL-2-2, |
REL-2-2-RC1), images/NetBSD.gif (tags: REL-2-3, REL-2-2, |
REL-2-2-RC1), images/OpenBSD.gif (tags: REL-2-3, REL-2-2, |
REL-2-2-RC1), images/RedHat.gif, images/xp.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, |
REL-2-2-RC1), includes/xml/vitals.php: Add distro icon logic |
2004-03-14 05:59 webbie (webbie at ipfw dot org) |
* includes/os/class.Linux.inc.php: doesn't need 4k buffer to read |
distro string |
2004-03-14 05:56 webbie (webbie at ipfw dot org) |
* includes/os/class.Linux.inc.php: Add Gentoo Distro detection ( |
Mark Gillespie <mgillespie @ users.sf.net> ) |
2004-03-14 05:21 webbie (webbie at ipfw dot org) |
* includes/mb/: class.healthd.inc.php (tags: REL-2-3, REL-2-2, |
REL-2-2-RC1), class.lmsensors.inc.php: fix missing ?> tag |
2004-03-14 05:16 webbie (webbie at ipfw dot org) |
* includes/: XPath.class.php, class.Template.inc.php (tags: |
REL-2-3, REL-2-2, REL-2-2-RC1), os/class.BSD.common.inc.php |
(tags: REL-2-2, REL-2-2-RC1), os/class.Darwin.inc.php, |
os/class.FreeBSD.inc.php, os/class.HP-UX.inc.php, |
os/class.Linux.inc.php, os/class.NetBSD.inc.php, |
os/class.OpenBSD.inc.php, os/class.SunOS.inc.php: fix missing |
ending ?> tag |
2004-03-14 05:05 webbie (webbie at ipfw dot org) |
* index.php: better error message if config.php is missing |
2004-03-13 04:52 webbie (webbie at ipfw dot org) |
* templates/wintendoxp/images/: aq_background.gif, background.gif, |
bar_left.gif, bar_middle.gif, bar_right.gif, coininfd.gif, |
coininfg.gif, coinsupd.gif, coinsupg.gif, d.gif, fond.gif, g.gif, |
icons.gif, inf.gif, redbar_left.gif, redbar_middle.gif, |
redbar_right.gif, space15_15.gif, sup.gif (utags: REL-2-2, |
REL-2-2-RC1, REL-2-3, REL-2-5-2-RC3, REL-2-5-3-RC1, |
REL-2-5-3-RC2): Rip wintendoxp theme from aspSysInfo |
2004-03-13 00:27 webbie (webbie at ipfw dot org) |
* templates/: aq/images/background.gif, aq/images/icons.gif, |
wintendoxp/box.tpl (tags: REL-2-3, REL-2-2, REL-2-2-RC1), |
wintendoxp/form.tpl (tags: REL-2-2, REL-2-2-RC1), |
wintendoxp/wintendoxp.css (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1): Rip wintendoxp |
theme from aspSysInfo |
2004-03-13 00:04 webbie (webbie at ipfw dot org) |
* phpsysinfo.dtd, includes/lang/ar_utf8.php, includes/lang/bg.php, |
includes/lang/big5.php, includes/lang/br.php, |
includes/lang/ca.php, includes/lang/cn.php, includes/lang/cs.php, |
includes/lang/ct.php, includes/lang/da.php, includes/lang/de.php, |
includes/lang/en.php, includes/lang/es.php, includes/lang/et.php, |
includes/lang/eu.php, includes/lang/fi.php, includes/lang/fr.php, |
includes/lang/gr.php, includes/lang/he.php, includes/lang/hu.php, |
includes/lang/id.php, includes/lang/is.php, includes/lang/it.php, |
includes/lang/jp.php, includes/lang/ko.php, includes/lang/lt.php, |
includes/lang/lv.php, includes/lang/nl.php, includes/lang/no.php, |
includes/lang/pl.php, includes/lang/pt-br.php, |
includes/lang/pt.php, includes/lang/ro.php, includes/lang/ru.php, |
includes/lang/sk.php, includes/lang/sv.php, includes/lang/tr.php, |
includes/lang/tw.php, includes/os/class.Darwin.inc.php, |
includes/os/class.FreeBSD.inc.php, |
includes/os/class.HP-UX.inc.php, includes/os/class.Linux.inc.php, |
includes/os/class.NetBSD.inc.php, |
includes/os/class.OpenBSD.inc.php, |
includes/os/class.SunOS.inc.php, includes/xml/vitals.php: Add |
distro name as per Beretta's request |
2004-03-12 22:55 webbie (webbie at ipfw dot org) |
* templates/kde/: box.tpl (tags: REL-2-3), form.tpl, kde.css (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3), |
images/background.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3), images/bar_left.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3), |
images/bar_middle.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3), images/bar_right.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3), |
images/coininfd.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3), images/coininfg.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3), |
images/coinsupd.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3), images/coinsupg.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3), |
images/d.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, |
REL-2-3), images/fond.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3), images/g.gif (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3), images/icons.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3), |
images/inf.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3), images/nobar_middle.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3), |
images/nobar_right.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3), images/redbar_left.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3), |
images/redbar_middle.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3), images/redbar_right.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3), |
images/space15_15.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3), images/sup.gif (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3), images/title_left.gif |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3), |
images/title_mid.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3), images/title_right.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3) (utags: |
REL-2-2, REL-2-2-RC1): Rip kde theme from aspSysInfo |
2004-03-12 22:51 webbie (webbie at ipfw dot org) |
* templates/aq/images/: bar_left.gif, bar_middle.gif, |
bar_right.gif, coininfd.gif, coininfg.gif, coinsupd.gif, |
coinsupg.gif, d.gif, fond.gif, g.gif, inf.gif, redbar_left.gif, |
redbar_middle.gif, redbar_right.gif, sup.gif: Rip wintendoxp and |
kde theme from aspSysInfo |
2004-03-12 09:24 webbie (webbie at ipfw dot org) |
* templates/: aq/box.tpl, black/box.tpl, metal/box.tpl (utags: |
REL-2-2, REL-2-2-RC1, REL-2-3): remove image alt="none" tag |
2004-03-12 07:01 webbie (webbie at ipfw dot org) |
* includes/lang/lt.php: Add sensors section |
2004-03-12 07:00 webbie (webbie at ipfw dot org) |
* includes/lang/lt.php: New lithuanian (lt) translation ( Rimas |
Kudelis ) |
2003-12-14 01:27 webbie (webbie at ipfw dot org) |
* tools/README (tags: REL-2-2, REL-2-2-RC1): add MakeCVS.sh |
description |
2003-12-13 06:51 webbie (webbie at ipfw dot org) |
* tools/MakeCVS.sh (tags: REL-2-2-RC1): script to make tarball |
based on the local cvs image |
2003-11-27 06:19 webbie (webbie at ipfw dot org) |
* includes/xml/filesystems.php (tags: REL-2-3, REL-2-2, |
REL-2-2-RC1): show mount point option fix |
2003-11-26 20:10 webbie (webbie at ipfw dot org) |
* config.php, config.php.new: rename config.php to config.php.new |
to avoid cvs overwrite user config file |
2003-11-26 20:07 webbie (webbie at ipfw dot org) |
* includes/xml/filesystems.php: proper fix for show_mount_point |
feature |
2003-11-26 19:57 webbie (webbie at ipfw dot org) |
* config.php, includes/xml/filesystems.php: new option |
show_mount_point, set it to false to hide mount point |
2003-11-26 19:41 webbie (webbie at ipfw dot org) |
* includes/xml/: filesystems.php, memory.php (tags: REL-2-3, |
REL-2-2, REL-2-2-RC1), network.php (tags: REL-2-3, REL-2-2, |
REL-2-2-RC1): comestic fix to the bulix template |
2003-11-26 19:19 webbie (webbie at ipfw dot org) |
* includes/system_footer.php (tags: REL-2-2-RC1): for some reasons, |
xml folder shows up under template and lang directory. We need to |
hide it |
2003-11-26 02:20 webbie (webbie at ipfw dot org) |
* includes/: system_footer.php, os/class.BSD.common.inc.php, |
os/class.Darwin.inc.php, os/class.HP-UX.inc.php, |
os/class.Linux.inc.php, os/class.NetBSD.inc.php, |
os/class.OpenBSD.inc.php: sort PCI, IDE and SCSI output by |
alphabetical order |
2003-11-25 19:57 webbie (webbie at ipfw dot org) |
* includes/system_footer.php: sort template and language dropdown |
list in alphabetical order |
2003-11-08 23:56 precision Uriah Welcome (precision at users.sf.net) |
* index.php: minor formatting cleanups |
2003-11-08 23:56 precision Uriah Welcome (precision at users.sf.net) |
* includes/system_footer.php: adding XML option to the templates |
menu |
2003-11-08 23:49 precision Uriah Welcome (precision at users.sf.net) |
* includes/: system_header.php (tags: REL-2-3, REL-2-2, |
REL-2-2-RC1), lang/ja.php (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1), lang/jp.php: |
adding Japanese language translations from Yuuki 'SOI' Umeno |
<soip at users.sf.net> |
2003-11-08 23:43 precision Uriah Welcome (precision at users.sf.net) |
* templates/bulix/: box.tpl (tags: REL-2-3, REL-2-2, REL-2-2-RC1), |
bulix.css, form.tpl (tags: REL-2-2, REL-2-2-RC1), |
images/bar_left.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1), |
images/bar_middle.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1), |
images/bar_right.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1), |
images/left_bar.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1), |
images/middle_bar.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1), |
images/redbar_left.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1), |
images/redbar_middle.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1), |
images/redbar_right.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1), |
images/right_bar.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1), images/trans.gif |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, |
REL-2-2, REL-2-2-RC1): Adding new theme bulix from Maxime |
Petazzoni <maxime.petazzoni at nova-mag.org> |
2003-11-08 23:38 precision Uriah Welcome (precision at users.sf.net) |
* includes/lang/ar_utf8.php: Adding Arabic translation <nizar at |
srcget.com> |
2003-11-03 03:07 webbie (webbie at ipfw dot org) |
* includes/os/class.Linux.inc.php: new memory function which works |
with all kernel versions (Frederik Schueler <fschueler at |
gmx.net>) |
2003-10-15 03:24 webbie (webbie at ipfw dot org) |
* includes/os/: class.BSD.common.inc.php, class.HP-UX.inc.php, |
class.SunOS.inc.php: Add groundwork for SBUS device list ( |
David Johnson <dj1471 at users.sf.net> ) |
2003-10-15 03:17 webbie (webbie at ipfw dot org) |
* phpsysinfo.dtd, includes/os/class.Linux.inc.php, |
includes/xml/hardware.php (tags: REL-2-2, REL-2-2-RC1): Add |
groundwork for SBUS device list ( David Johnson <dj1471 at |
users.sf.net> ) |
2003-10-15 03:02 webbie (webbie at ipfw dot org) |
* index.php: outputs the "text/xml" content type when using the xml |
template. ( Tim Carey-Smith <timcs at users.sf.net> ) |
2003-10-15 02:52 webbie (webbie at ipfw dot org) |
* includes/os/class.Linux.inc.php: SPARC CPU info fix ( David |
Johnson <dj1471 at users.sf.net> ) |
2003-10-15 02:47 webbie (webbie at ipfw dot org) |
* includes/os/class.Linux.inc.php: linux 2.5 or above memory |
display bug fix ( Marcelo de Paula Bezerra <mosca at |
users.sf.net> ) and ( Frederik Schüler <fschueler at gmx.net> ) |
2003-10-14 18:28 webbie (webbie at ipfw dot org) |
* includes/lang/hu.php: missing a < |
2003-09-04 03:51 webbie (webbie at ipfw dot org) |
* includes/lang/de.php: German locale update contributed by |
Alexander Wild <alexwild at gmx.de> |
2003-08-04 21:31 precision Uriah Welcome (precision at users.sf.net) |
* includes/system_header.php: editor cleanups |
2003-08-04 21:28 precision Uriah Welcome (precision at users.sf.net) |
* includes/mb/class.lmsensors.inc.php: trim() the results to the |
XML output is clean Some minor editor cleanups |
2003-08-04 21:28 precision Uriah Welcome (precision at users.sf.net) |
* includes/lang/en.php: Uppercasing Div and Histeresis to match |
everything else |
2003-07-22 00:38 webbie (webbie at ipfw dot org) |
* includes/: mb/class.healthd.inc.php, mb/class.lmsensors.inc.php, |
os/class.BSD.common.inc.php, os/class.Darwin.inc.php, |
os/class.FreeBSD.inc.php, os/class.HP-UX.inc.php, |
os/class.Linux.inc.php, os/class.NetBSD.inc.php, |
os/class.OpenBSD.inc.php, os/class.SunOS.inc.php: code format |
cleanup using phpCodeBeautifier |
2003-07-22 00:31 webbie (webbie at ipfw dot org) |
* config.php, index.php, includes/class.Template.inc.php, |
includes/common_functions.php (tags: REL-2-2, REL-2-2-RC1), |
includes/system_footer.php, includes/system_header.php: code |
format cleanup using phpCodeBeautifier |
2003-06-17 03:04 webbie (webbie at ipfw dot org) |
* includes/system_header.php: Add hostname to the title for easy |
bookmarking ( Maxim Solomatin <makc666 at newmail.ru> ) |
2003-06-09 16:26 webbie (webbie at ipfw dot org) |
* includes/mb/class.lmsensors.inc.php: lmsensor regex fix ( SOD |
<sod at gmx.at> ) |
2003-05-11 23:23 webbie (webbie at ipfw dot org) |
* includes/lang/cn.php: cosmetic langauge fix |
2003-04-26 21:13 webbie (webbie at ipfw dot org) |
* README (tags: REL-2-2, REL-2-2-RC1): wrong again, I am on drug |
today |
2003-04-26 21:11 webbie (webbie at ipfw dot org) |
* README: oops.. wrong link |
2003-04-26 20:59 webbie (webbie at ipfw dot org) |
* README: Make a note that this |
http://www.securityfocus.com/archive/1/319713/2003-04-23/2003-04-29/2 |
problem is fixed |
2003-04-20 07:23 webbie (webbie at ipfw dot org) |
* config.php: missing closing ?> |
2003-04-03 23:30 precision Uriah Welcome (precision at users.sf.net) |
* tools/README: just a quick note about these tools |
2003-04-03 23:29 precision Uriah Welcome (precision at users.sf.net) |
* README: mee too |
2003-03-31 21:26 precision Uriah Welcome (precision at users.sf.net) |
* index.php, includes/mb/class.healthd.inc.php, |
includes/mb/class.lmsensors.inc.php, tools/GenerateChangeLog.sh |
(tags: REL-2-3, REL-2-2, REL-2-2-RC1): minor formatting |
cleanups.. removing some whitespace Fix the ChangeLog generator |
to fill in Webbie's email properly |
2003-03-31 21:22 precision Uriah Welcome (precision at users.sf.net) |
* includes/lang/pt-br.php: Adding Portuguese-Brazil translation |
(Marcílio Maia <marcilio at edn.org.br>) |
2003-02-23 09:04 webbie (webbie at ipfw dot org) |
* includes/os/class.BSD.common.inc.php: fix swap space double count |
problem |
2003-02-16 04:04 webbie (webbie at ipfw dot org) |
* includes/: lang/big5.php, lang/pl.php, lang/tw.php, |
xml/hardware.php: various language files update |
2003-02-16 03:34 webbie (webbie at ipfw dot org) |
* includes/xml/hardware.php: Hide SCSI, USB section if it doesn't |
exist instead of showing as 'none' ( Cichy <cichy @ |
users.sf.net> ) |
2003-02-10 00:20 webbie (webbie at ipfw dot org) |
* includes/system_footer.php: use the method from php.net in the |
opendir loop |
2003-02-09 23:50 webbie (webbie at ipfw dot org) |
* includes/os/class.FreeBSD.inc.php: Fix network section. It should |
works for both FreeBSD 4.x and 5.x now |
2003-02-06 04:39 precision Uriah Welcome (precision at users.sf.net) |
* templates/classic/classic.css (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1): |
small CSS fix for Opera 7 (Michael Herger <mherger at jo-sac.ch>) |
2003-02-06 04:36 precision Uriah Welcome (precision at users.sf.net) |
* includes/lang/lv.php: adding Latvian translation (Elvis Kvalbergs |
<elvis at burti.lv>) |
2003-01-25 08:04 webbie (webbie at ipfw dot org) |
* config.php, index.php, includes/system_footer.php, |
includes/lang/bg.php, includes/lang/big5.php, |
includes/lang/br.php, includes/lang/ca.php, includes/lang/cn.php, |
includes/lang/cs.php, includes/lang/ct.php, includes/lang/da.php, |
includes/lang/de.php, includes/lang/en.php, includes/lang/es.php, |
includes/lang/et.php, includes/lang/eu.php, includes/lang/fi.php, |
includes/lang/fr.php, includes/lang/gr.php, includes/lang/he.php, |
includes/lang/hu.php, includes/lang/id.php, includes/lang/is.php, |
includes/lang/it.php, includes/lang/ko.php, includes/lang/lt.php, |
includes/lang/nl.php, includes/lang/no.php, includes/lang/pt.php, |
includes/lang/ro.php, includes/lang/ru.php, includes/lang/sk.php, |
includes/lang/sv.php, includes/lang/tr.php, includes/lang/tw.php, |
includes/os/class.BSD.common.inc.php: cosmetic change to the |
footer |
2003-01-21 01:06 webbie (webbie at ipfw dot org) |
* includes/: system_footer.php, system_header.php, lang/bg.php, |
lang/big5.php, lang/br.php, lang/ca.php, lang/cn.php, |
lang/cs.php, lang/ct.php, lang/da.php, lang/de.php, lang/en.php, |
lang/es.php, lang/et.php, lang/eu.php, lang/fi.php, lang/fr.php, |
lang/gr.php, lang/he.php, lang/hu.php, lang/id.php, lang/is.php, |
lang/it.php, lang/ko.php, lang/lt.php, lang/nl.php, lang/no.php, |
lang/pl.php, lang/pt.php, lang/ro.php, lang/ru.php, lang/sk.php, |
lang/sv.php, lang/tr.php, lang/tw.php: display footer in locale |
<Cichy> |
2003-01-19 02:18 webbie (webbie at ipfw dot org) |
* index.php: Bug #670222: DoS fix ( Wolter Kamphuis <wkamphuis at |
users.sf.net> ) |
2003-01-10 16:50 webbie (webbie at ipfw dot org) |
* includes/os/class.Linux.inc.php: Minor patch for detecting CPU |
info under Linux/sparc64. This patch enables phpSysInfo to |
retrieve number of CPU's, CPU MHz, and CPU bogomips on sparc64 |
platforms running Linux. (Jason Mann <jemann at sf.net>) |
2003-01-05 05:16 webbie (webbie at ipfw dot org) |
* index.php, includes/xml/mbinfo.php (tags: REL-2-2, REL-2-2-RC1): |
make the temperature bar wider by using scale_factor = 4 and hide |
the fan section if all fans RPM are zero. Suggestions made by |
cichy ( Artur Cichocki ) |
2003-01-05 04:38 webbie (webbie at ipfw dot org) |
* includes/mb/class.lmsensors.inc.php: ereg pattern fix: lm_sensors |
sometimes return temperature without histeresis |
2003-01-04 14:15 webbie (webbie at ipfw dot org) |
* includes/xml/mbinfo.php: comestic change: round histeresis to one |
decimal place |
2003-01-04 14:08 webbie (webbie at ipfw dot org) |
* index.php, includes/lang/bg.php, includes/lang/big5.php, |
includes/lang/br.php, includes/lang/ca.php, includes/lang/cn.php, |
includes/lang/cs.php, includes/lang/ct.php, includes/lang/da.php, |
includes/lang/de.php, includes/lang/en.php, includes/lang/es.php, |
includes/lang/et.php, includes/lang/eu.php, includes/lang/fi.php, |
includes/lang/fr.php, includes/lang/gr.php, includes/lang/he.php, |
includes/lang/hu.php, includes/lang/id.php, includes/lang/is.php, |
includes/lang/it.php, includes/lang/ko.php, includes/lang/lt.php, |
includes/lang/nl.php, includes/lang/no.php, includes/lang/pl.php, |
includes/lang/pt.php, includes/lang/ro.php, includes/lang/ru.php, |
includes/lang/sk.php, includes/lang/sv.php, includes/lang/tr.php, |
includes/lang/tw.php, includes/mb/class.healthd.inc.php, |
includes/mb/class.lmsensors.inc.php, includes/xml/mbinfo.php, |
templates/aq/form.tpl (tags: REL-2-2, REL-2-2-RC1), |
templates/black/form.tpl (tags: REL-2-2, REL-2-2-RC1), |
templates/blue/form.tpl (tags: REL-2-2, REL-2-2-RC1), |
templates/classic/form.tpl (tags: REL-2-2, REL-2-2-RC1), |
templates/metal/form.tpl (tags: REL-2-2, REL-2-2-RC1), |
templates/orange/form.tpl (tags: REL-2-2, REL-2-2-RC1): Initial |
import of the motherboard monitor program module. It supports |
healthd and lm_sensors now. |
Credits go to NSPIRIT for his lm_sensors module and Cichy |
[cichyart@wp.pl] for his enhancements on lm_sensors module. |
2003-01-02 06:18 webbie (webbie at ipfw dot org) |
* includes/os/class.BSD.common.inc.php: cosmetic change, remove |
comma in the uptime output |
2003-01-02 06:12 webbie (webbie at ipfw dot org) |
* includes/os/class.HP-UX.inc.php: uptime and load average stat now |
working |
2002-12-31 01:51 webbie (webbie at ipfw dot org) |
* includes/: os/class.BSD.common.inc.php, os/class.Darwin.inc.php, |
os/class.FreeBSD.inc.php, os/class.HP-UX.inc.php, |
os/class.Linux.inc.php, os/class.NetBSD.inc.php, |
os/class.OpenBSD.inc.php, os/class.SunOS.inc.php, |
xml/filesystems.php, xml/hardware.php, xml/network.php: |
Performance tuning, optimized the FOR loop (webbie <webbie at |
ipfw.org>) |
2002-12-31 00:20 webbie (webbie at ipfw dot org) |
* includes/system_footer.php: Added space after "Created by" |
(webbie <webbie at ipfw.org>) |
2002-12-19 22:53 precision Uriah Welcome (precision at users.sf.net) |
* includes/lang/fr.php: small translation fix |
2002-12-17 19:23 precision Uriah Welcome (precision at users.sf.net) |
* includes/os/class.Linux.inc.php: get cache size on PPC (Derrik |
Pates <dpates at dsdk12.net>) |
2002-12-14 00:03 precision Uriah Welcome (precision at users.sf.net) |
* includes/os/class.SunOS.inc.php: kstat() conversions to |
$this->kstat() removed kstatclass() seems to be unused |
2002-12-14 00:01 precision Uriah Welcome (precision at users.sf.net) |
* includes/os/class.SunOS.inc.php: adding alpha SunOS support |
(Gunther Schreiner <schreiner at users.sf.net>) |
2002-12-13 23:47 precision Uriah Welcome (precision at users.sf.net) |
* index.php: fix for translation autodetection and php $_SERVER |
stuff (Andreas Heil <aheil at users.sf.net>) |
2002-12-13 23:44 precision Uriah Welcome (precision at users.sf.net) |
* includes/os/class.OpenBSD.inc.php: trying array_unique() again, |
maybe this time it'll be consistant |
2002-12-13 23:36 precision Uriah Welcome (precision at users.sf.net) |
* includes/os/class.Darwin.inc.php: get proper uptime information |
from Jaguar (Mike <lashampoo at users.sf.net>) |
2002-12-13 23:34 precision Uriah Welcome (precision at users.sf.net) |
* includes/os/class.BSD.common.inc.php: properly stringify uptime |
information on BSD from Mike <lashampoo at users.sf.net> |
2002-12-13 23:28 precision Uriah Welcome (precision at users.sf.net) |
* includes/lang/gr.php: Adding Greek translation from Maria Kaitsa |
<idefix at ee.teiath.gr> |
2002-11-01 21:53 precision Uriah Welcome (precision at users.sf.net) |
* includes/lang/pt.php: added Portugese translation (Bernardo de |
Seabra <zznet at wake-on-lan.cjb.net>) |
2002-10-25 18:58 precision Uriah Welcome (precision at users.sf.net) |
* index.php, includes/os/class.Darwin.inc.php, |
includes/os/class.Linux.inc.php, includes/xml/filesystems.php, |
includes/xml/hardware.php, includes/xml/vitals.php: small |
formatting cleanups |
2002-10-25 18:54 precision Uriah Welcome (precision at users.sf.net) |
* includes/lang/: bg.php, big5.php, en.php, et.php, fr.php, hu.php, |
id.php, ko.php, pl.php, ro.php, ru.php, tr.php, tw.php: small |
formatting cleanups |
2002-10-25 18:45 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog: haven't regenerated this in a while |
2002-10-25 18:40 precision Uriah Welcome (precision at users.sf.net) |
* includes/os/class.Darwin.inc.php: 1 liner for uptime fix (Matthew |
Boehm <dr_mac at mail.utexas.edu>) |
2002-10-25 18:39 precision Uriah Welcome (precision at users.sf.net) |
* includes/lang/cn.php: Adding Simplified Chinese translation |
(<dantifer at tsinghua.org.cn>) |
2002-10-17 00:38 precision Uriah Welcome (precision at users.sf.net) |
* includes/: system_footer.php, system_header.php: Move the |
timestamp outta the <title> and onto the main page (Jeff Prom |
<Jeff.Prom at us.ing.com>) |
2002-10-17 00:37 precision Uriah Welcome (precision at users.sf.net) |
* includes/os/class.NetBSD.inc.php: NetBSD swap information Fix for |
>=1.6 (Cliff Albert <cliff at oisec.net>) |
2002-10-17 00:34 precision Uriah Welcome (precision at users.sf.net) |
* includes/lang/da.php: misspelling (Esben Skov Pedersen <phreak at |
geek.linux.dk>) |
2002-10-17 00:32 precision Uriah Welcome (precision at users.sf.net) |
* includes/os/class.Linux.inc.php: Use lspci on linux if it exists |
idea by (Mike Beck <mikebeck @ users.sf.net>), reimplementation |
by me |
2002-10-10 00:12 precision Uriah Welcome (precision at users.sf.net) |
* includes/XPath.class.php: updated XPath to latest stable version |
2002-09-28 07:53 precision Uriah Welcome (precision at users.sf.net) |
* includes/os/class.HP-UX.inc.php: initial (alpha quality) HP-UX |
support (Webbie <webbie at ipfw.org>) |
2002-09-10 05:41 precision Uriah Welcome (precision at users.sf.net) |
* index.php, includes/system_header.php: Fix for new PHP (4.2.3) |
(Webbie <webbie at ipfw.org>) |
2002-09-01 17:54 precision Uriah Welcome (precision at users.sf.net) |
* includes/lang/no.php: updates from Stig-?rjan Smelror <kekepower |
at susperianews.cjb.net> |
2002-08-21 00:30 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog: [no log message] |
2002-08-20 23:55 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, phpsysinfo.dtd, includes/lang/big5.php, |
includes/lang/br.php, includes/lang/ca.php, includes/lang/cs.php, |
includes/lang/ct.php, includes/lang/da.php, includes/lang/de.php, |
includes/lang/en.php, includes/lang/es.php, includes/lang/et.php, |
includes/lang/eu.php, includes/lang/fi.php, includes/lang/fr.php, |
includes/lang/he.php, includes/lang/hu.php, includes/lang/id.php, |
includes/lang/is.php, includes/lang/it.php, |
includes/os/class.BSD.common.inc.php, |
includes/os/class.Linux.inc.php, includes/xml/hardware.php: USB |
detection (Max J. Werner <max at home-werner.de>) Add dummy usb() |
method to BSD common class as a place holder (me) Update the DTD |
to reflect the new USB section (me) |
2002-08-20 23:35 precision Uriah Welcome (precision at users.sf.net) |
* includes/os/class.BSD.common.inc.php: don't display kernfs on |
bsd, since it's always 100% (Jarkko Santala <jake at iki.fi)) |
2002-08-20 23:33 precision Uriah Welcome (precision at users.sf.net) |
* includes/os/class.BSD.common.inc.php: More Verbose BSD kernel |
information (Alan E <alane at geeksrus.net>) |
2002-08-05 02:48 precision Uriah Welcome (precision at users.sf.net) |
* includes/xml/vitals.php: fix the bug where it wouldn't display |
the load average > 2 |
2002-07-02 00:03 precision Uriah Welcome (precision at users.sf.net) |
* includes/lang/ru.php: Adding Russian translation from Voldar |
<voldar at stability.ru> |
2002-06-28 17:01 precision Uriah Welcome (precision at users.sf.net) |
* includes/os/class.Linux.inc.php: small alpha update |
2002-06-28 15:27 precision Uriah Welcome (precision at users.sf.net) |
* includes/lang/big5.php: added 2 new entires to the big5 |
translation Webbie <webbie at ipfw.org> |
2002-06-24 17:20 precision Uriah Welcome (precision at users.sf.net) |
* includes/lang/sv.php: Updated Swedish translation from Jonas Tull |
<jetthe at home.se> |
2002-06-18 01:41 precision Uriah Welcome (precision at users.sf.net) |
* includes/lang/: ko.php, kr.php: moving kr.php -> ko.php and |
updating the charset. It appears that ko is the proper |
abreviation and there is a 'new' charset. |
2002-06-17 19:03 precision Uriah Welcome (precision at users.sf.net) |
* includes/lang/bg.php: Added Bulgarian translation from Kaloyan |
Naumov <loop at nme.com> |
2002-06-05 22:15 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, tools/GenerateChangeLog.sh, tools/MakeRelease.sh |
(tags: REL-2-3, REL-2-2, REL-2-2-RC1): added tools/ added simple |
shell script to create the ChangeLog added simple shell script to |
clean the CVS tree for a release |
2002-06-05 21:50 precision Uriah Welcome (precision at users.sf.net) |
* README, index.php: bumped version number to 2.2-cvs |
2002-06-05 21:36 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog (tags: REL-2-1): updated |
2002-06-05 21:16 precision Uriah Welcome (precision at users.sf.net) |
* README (tags: REL-2-1): small formatting changes. Added a known |
problems section. |
2002-06-05 21:12 precision Uriah Welcome (precision at users.sf.net) |
* includes/os/class.Linux.inc.php (tags: REL-2-1): Changed memory |
reporting to include buffers and disk cache in 'used' memory. I |
get too many emails from people who don't understand this concept |
and wonder why it's different from 'top' or 'free'. |
2002-06-01 06:48 precision Uriah Welcome (precision at users.sf.net) |
* index.php (tags: REL-2-1): small cleanups.. |
2002-06-01 06:34 precision Uriah Welcome (precision at users.sf.net) |
* index.php, includes/common_functions.php (tags: REL-2-1), |
includes/os/class.Linux.inc.php: removed php3 compat functions, |
since XPath requires php4 so do we now, no use having the compat |
functions. |
2002-06-01 06:24 precision Uriah Welcome (precision at users.sf.net) |
* index.php: Had to move language outside the conditional, the os |
classes use them some places.. |
2002-05-31 22:40 precision Uriah Welcome (precision at users.sf.net) |
* index.php: moved more stuff inside the XML conditional, we don't |
need templates or languages for XML |
2002-05-31 21:45 precision Uriah Welcome (precision at users.sf.net) |
* README, index.php, phpsysinfo.dtd (tags: REL-2-1), |
includes/common_functions.php, includes/system_footer.php (tags: |
REL-2-1), includes/system_header.php (tags: REL-2-1): Added some |
generation information that might be useful to the XML template |
Added a global $VERSION Added a small HTML/XML comment showing |
our URL |
2002-05-31 20:09 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, index.php, includes/system_footer.php: added 'random' |
template support. closes feature request #562164 |
2002-05-31 19:40 precision Uriah Welcome (precision at users.sf.net) |
* index.php, includes/common_functions.php, |
includes/system_footer.php, includes/system_header.php, |
includes/os/class.BSD.common.inc.php (tags: REL-2-1), |
includes/os/class.Darwin.inc.php (tags: REL-2-1), |
includes/os/class.FreeBSD.inc.php (tags: REL-2-1), |
includes/os/class.Linux.inc.php, includes/os/class.NetBSD.inc.php |
(tags: REL-2-1), includes/os/class.OpenBSD.inc.php (tags: |
REL-2-1): Code Cleanups Remove network_connections() from |
class.Linux since we never used it |
2002-05-31 19:00 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog: [no log message] |
2002-05-31 18:59 precision Uriah Welcome (precision at users.sf.net) |
* includes/lang/eu.php (tags: REL-2-1): adding the Basque Language |
(eu.php). Andoni <andonisz at ibercom.com> |
2002-05-30 05:21 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog: Changed format to what rcs2log generates.. |
2002-05-30 05:11 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog: tabs to spaces |
2002-05-30 05:09 precision Uriah Welcome (precision at users.sf.net) |
* index.php, phpsysinfo.dtd: don't need the URL in the dtd link all |
the CPU information should be optional |
2002-05-30 05:03 precision Uriah Welcome (precision at users.sf.net) |
* README: email address updates |
2002-05-30 05:02 precision Uriah Welcome (precision at users.sf.net) |
* README: formatting cleanups |
2002-05-30 05:00 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, INSTALL, README: Removed INSTALL, merged any useful |
information into README |
2002-05-30 00:13 precision Uriah Welcome (precision at users.sf.net) |
* phpsysinfo.dtd: forgot we need mulitples for <device> |
2002-05-30 00:12 precision Uriah Welcome (precision at users.sf.net) |
* includes/xml/network.php (tags: REL-2-1): <device> -> <NetDevice> |
2002-05-30 00:08 precision Uriah Welcome (precision at users.sf.net) |
* index.php: small cleanups |
2002-05-29 23:52 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, index.php: added DTD support, we can validate now.. |
2002-05-29 23:45 precision Uriah Welcome (precision at users.sf.net) |
* phpsysinfo.dtd: adding XML DTD (We can Validate now!) |
2002-05-29 22:04 precision Uriah Welcome (precision at users.sf.net) |
* includes/os/class.Linux.inc.php: [no log message] |
2002-05-29 22:01 precision Uriah Welcome (precision at users.sf.net) |
* includes/os/class.Linux.inc.php: small fix for bogomips on sparc |
linux |
2002-05-28 18:49 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/XPath.class.php (tags: REL-2-1): updated |
xpath class |
2002-05-20 18:09 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/lang/cs.php (tags: REL-2-1): updated |
translation |
2002-05-08 20:17 precision Uriah Welcome (precision at users.sf.net) |
* index.php: don't set a cookie if we're using the xml template.. |
2002-05-03 18:58 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, index.php: store the template as a cookie |
2002-05-03 18:56 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog: orange template |
2002-05-03 18:55 precision Uriah Welcome (precision at users.sf.net) |
* templates/orange/: box.tpl (tags: REL-2-3, REL-2-2, REL-2-2-RC1), |
form.tpl, orange.css (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1), |
images/bar_left.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1), |
images/bar_middle.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1), |
images/bar_right.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1), |
images/redbar_left.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1), |
images/redbar_middle.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1), |
images/redbar_right.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1), images/trans.gif |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, |
REL-2-2, REL-2-2-RC1) (utags: REL-2-1): added the orange template |
2002-04-16 17:36 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/os/class.BSD.common.inc.php: obsd memory |
updates |
2002-04-16 17:31 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/lang/tr.php (tags: REL-2-1), |
includes/os/class.Linux.inc.php: alpha cpu updates added turkish |
translation |
2002-04-12 17:19 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/os/class.Linux.inc.php: better 2.2 alpha |
support |
2002-04-12 16:35 precision Uriah Welcome (precision at users.sf.net) |
* includes/lang/es.php (tags: REL-2-1): updated spanish translation |
2002-04-09 17:14 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/lang/es.php: updates spanish translation |
2002-04-08 19:12 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog: hewbrew |
2002-04-08 19:12 precision Uriah Welcome (precision at users.sf.net) |
* includes/: system_header.php, lang/he.php (tags: REL-2-1): Hebrew |
language & text alignment |
2002-04-04 19:10 precision Uriah Welcome (precision at users.sf.net) |
* includes/os/class.Darwin.inc.php: small regex to remove |
<classIOPCIDevice> since XPath doens't like it. |
2002-04-04 18:54 precision Uriah Welcome (precision at users.sf.net) |
* includes/xml/filesystems.php (tags: REL-2-1): small fix for |
filesystem percentage.. |
2002-04-04 17:56 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/lang/hu.php (tags: REL-2-1): added .hu |
translation |
2002-04-02 19:22 precision Uriah Welcome (precision at users.sf.net) |
* includes/os/class.BSD.common.inc.php: don't display linux /procfs |
compat.. |
2002-04-02 19:21 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog: don't display linux compatibility procfs |
2002-04-02 19:17 precision Uriah Welcome (precision at users.sf.net) |
* includes/os/: class.Darwin.inc.php, class.NetBSD.inc.php: updated |
class files! |
2002-04-02 19:16 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog: added new os class files |
2002-03-21 19:59 precision Uriah Welcome (precision at users.sf.net) |
* includes/lang/en.php (tags: REL-2-1): typo |
2002-03-05 22:55 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/os/class.BSD.common.inc.php: patch for bsd |
ide |
2002-03-04 19:55 precision Uriah Welcome (precision at users.sf.net) |
* includes/os/class.OpenBSD.inc.php: small cpu regexp fix |
2002-02-25 21:53 precision Uriah Welcome (precision at users.sf.net) |
* index.php: added xml encoding type and moved a if clause so not |
to produce a php error. |
2002-02-25 21:15 precision Uriah Welcome (precision at users.sf.net) |
* includes/common_functions.php: added fix in format_bytesize() we |
shouldn't put  's into XML |
2002-02-25 19:59 precision Uriah Welcome (precision at users.sf.net) |
* includes/: common_functions.php, xml/filesystems.php, |
xml/hardware.php (tags: REL-2-1), xml/memory.php (tags: REL-2-1), |
xml/network.php, xml/vitals.php (tags: REL-2-1): minor cleanups |
2002-02-25 19:47 precision Uriah Welcome (precision at users.sf.net) |
* includes/XPath.class.php: removed the deprecated stuff since we |
don't use it |
2002-02-22 21:15 precision Uriah Welcome (precision at users.sf.net) |
* includes/xml/hardware.php: oops forgot ide() needs $text; |
2002-02-22 21:12 precision Uriah Welcome (precision at users.sf.net) |
* index.php: [no log message] |
2002-02-22 21:05 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, index.php: type fix, fix ?template=xml |
2002-02-22 21:03 precision Uriah Welcome (precision at users.sf.net) |
* templates/xml/: box.tpl, form.tpl: unneeded |
2002-02-22 20:10 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, index.php, includes/XPath.class.php, |
includes/xml/filesystems.php, includes/xml/hardware.php, |
includes/xml/memory.php, includes/xml/network.php, |
includes/xml/vitals.php: removed all the include/tables/*, added |
functionality into xml classes. |
2002-02-19 04:44 precision Uriah Welcome (precision at users.sf.net) |
* index.php, includes/xml/filesystems.php, |
includes/xml/hardware.php, includes/xml/memory.php, |
includes/xml/network.php, includes/xml/vitals.php: changed the |
xml funtions to retunr the data instead of directly doing the |
template work. I hope to remove the stuff in include/tables/* |
and just have the xml stuff w/ some small xml->html wrappers. |
2002-02-18 20:10 precision Uriah Welcome (precision at users.sf.net) |
* includes/: common_functions.php, xml/network.php, xml/vitals.php: |
removed  's for xml and added a trim() |
2002-02-18 19:55 precision Uriah Welcome (precision at users.sf.net) |
* index.php: oops.. no images for XML |
2002-02-18 19:53 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, index.php, includes/xml/filesystems.php, |
includes/xml/hardware.php, includes/xml/memory.php, |
includes/xml/network.php, includes/xml/vitals.php, |
templates/xml/box.tpl, templates/xml/form.tpl: Added initial XML |
implementation |
2002-02-18 05:50 precision Uriah Welcome (precision at users.sf.net) |
* includes/system_footer.php: changed version to 2.1-cvs |
2002-02-18 05:39 precision Uriah Welcome (precision at users.sf.net) |
* INSTALL: added a note about safe_mode |
2002-02-07 06:32 precision Uriah Welcome (precision at users.sf.net) |
* README (tags: REL-2-0): foo |
2002-02-04 01:27 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/os/class.BSD.common.inc.php (utags: REL-2-0): |
uniq the pci, ide, and scsi arrays |
2002-01-17 00:55 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, templates/metal/images/redbar_left.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, |
REL-2-2-RC1, REL-2-1, REL-2-0), |
templates/metal/images/redbar_middle.gif (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, |
REL-2-1, REL-2-0), templates/metal/images/redbar_right.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, |
REL-2-2-RC1, REL-2-1, REL-2-0): cosmetic cleanups from webbie (webbie at ipfw dot org) |
2002-01-15 09:00 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/os/class.BSD.common.inc.php: more fbsd memory |
fixes |
2002-01-15 08:54 precision Uriah Welcome (precision at users.sf.net) |
* includes/os/class.BSD.common.inc.php: [no log message] |
2002-01-14 03:55 precision Uriah Welcome (precision at users.sf.net) |
* includes/os/class.OpenBSD.inc.php (tags: REL-2-0): only show |
network interfaces that have recieved packets |
2002-01-14 03:51 precision Uriah Welcome (precision at users.sf.net) |
* includes/os/class.FreeBSD.inc.php (tags: REL-2-0): quick hack to |
only show interfaces that have sent packets |
2002-01-11 01:25 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/lang/it.php (tags: REL-2-1, REL-2-0): updated |
it.php |
2002-01-09 21:44 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/common_functions.php (tags: REL-2-0): added |
iso9660 patch |
2002-01-09 21:37 precision Uriah Welcome (precision at users.sf.net) |
* includes/: class.Template.inc.php (tags: REL-2-1), |
system_header.php (utags: REL-2-0): HTML cleanups forgot a couple |
$f_body_close's which was causing invalid HTML |
2002-01-04 17:42 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, templates/aq/aq.css (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, |
REL-2-1, REL-2-0), templates/blue/blue.css (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, |
REL-2-1, REL-2-0), templates/classic/classic.css (tags: REL-2-1, |
REL-2-0), templates/metal/metal.css (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, |
REL-2-1, REL-2-0): more CSS fixes from Webbie |
2002-01-01 00:36 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, INSTALL (tags: REL-2-0): misc little updates.. |
2002-01-01 00:24 precision Uriah Welcome (precision at users.sf.net) |
* index.php (tags: REL-2-0), includes/table_filesystems.php, |
includes/table_hardware.php, includes/table_memory.php, |
includes/table_network.php, includes/table_vitals.php: moved |
table includes into their own directory |
2002-01-01 00:12 precision Uriah Welcome (precision at users.sf.net) |
* index.php, includes/table_filesystems.php, |
includes/table_network.php: added the font tags properly.. since |
I removed color_scheme |
2001-12-31 23:59 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, index.php, includes/color_scheme.php: removed |
color_scheme.php |
2001-12-31 23:54 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, index.php, includes/class.BSD.common.inc.php, |
includes/class.Darwin.inc.php, includes/class.FreeBSD.inc.php, |
includes/class.Linux.inc.php, includes/class.NetBSD.inc.php, |
includes/class.OpenBSD.inc.php, |
includes/os/class.BSD.common.inc.php, |
includes/os/class.Darwin.inc.php (tags: REL-2-0), |
includes/os/class.FreeBSD.inc.php, |
includes/os/class.Linux.inc.php (tags: REL-2-0), |
includes/os/class.NetBSD.inc.php (tags: REL-2-0), |
includes/os/class.OpenBSD.inc.php: moved all the os based |
includes into include/os/ |
2001-12-31 23:47 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, index.php, includes/system_header.php, |
templates/aq/aq.css, templates/aq/form.tpl (tags: REL-2-1, |
REL-2-0), templates/black/black.css (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, |
REL-2-1, REL-2-0), templates/black/form.tpl (tags: REL-2-1, |
REL-2-0), templates/blue/blue.css, templates/blue/box.tpl (tags: |
REL-2-3, REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0), |
templates/classic/box.tpl (tags: REL-2-3, REL-2-2, REL-2-2-RC1, |
REL-2-1, REL-2-0), templates/classic/classic.css, |
templates/classic/form.tpl (tags: REL-2-1, REL-2-0), |
templates/metal/form.tpl (tags: REL-2-1, REL-2-0), |
templates/metal/metal.css: Added CSS patch from Webbie |
2001-12-29 09:03 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog: [no log message] |
2001-12-29 08:55 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/lang/id.php (tags: REL-2-1, REL-2-0): updated |
id.php |
2001-12-17 18:22 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, index.php: added small patch from webbie (webbie at ipfw dot org) |
2001-12-14 04:34 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/system_header.php, templates/black/black.css: |
default css stuff |
2001-12-13 21:16 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/lang/ca.php (tags: REL-2-1, REL-2-0): added |
ca language |
2001-12-09 09:18 precision Uriah Welcome (precision at users.sf.net) |
* README: added note about freebsd removing /var/run/dmesg.boot. |
Clean'd up a little |
2001-12-09 09:12 precision Uriah Welcome (precision at users.sf.net) |
* includes/class.BSD.common.inc.php: added bsd pci() patch from |
Alan Eldridge |
2001-12-04 00:37 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/class.Darwin.inc.php: added initial Darwin |
support |
2001-12-04 00:00 precision Uriah Welcome (precision at users.sf.net) |
* includes/class.BSD.common.inc.php: fixed for patch :) |
2001-12-03 23:55 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/class.BSD.common.inc.php: fixed bsd memory |
size reporting.. |
2001-11-23 06:26 precision Uriah Welcome (precision at users.sf.net) |
* index.php, includes/class.BSD.common.inc.php, |
includes/class.FreeBSD.inc.php, includes/class.Linux.inc.php, |
includes/class.OpenBSD.inc.php, includes/common_functions.php, |
includes/system_header.php, includes/table_network.php, |
includes/table_vitals.php: white space removal, cleanups |
2001-11-17 20:13 precision Uriah Welcome (precision at users.sf.net) |
* includes/class.BSD.common.inc.php: mhz bug on freebsd |
2001-11-15 17:35 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/lang/kr.php (tags: REL-2-1, REL-2-0): updated |
korean translation |
2001-11-15 05:11 precision Uriah Welcome (precision at users.sf.net) |
* includes/: class.BSD.common.inc.php, class.FreeBSD.inc.php, |
class.OpenBSD.inc.php: coverting tabs.. |
2001-11-13 23:03 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/class.OpenBSD.inc.php: fixed pci/ide |
reporting |
2001-11-13 21:27 precision Uriah Welcome (precision at users.sf.net) |
* includes/: class.NetBSD.inc.php, class.OpenBSD.inc.php: bsd |
fixes. |
2001-11-13 20:29 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/class.NetBSD.inc.php: Added NetBSD support |
2001-11-13 20:26 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/class.BSD.common.inc.php, |
includes/class.FreeBSD.inc.php, includes/class.OpenBSD.inc.php: |
removed $this->sysctl_sep, made $this->grab_key() handle it |
nicely |
2001-11-13 17:48 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/lang/sk.php (tags: REL-2-1, REL-2-0): updated |
slovak translation (stenzel <stenzel at inmail.sk>) |
2001-11-13 01:16 precision Uriah Welcome (precision at users.sf.net) |
* INSTALL, README: notes updates about bsd. |
2001-11-13 00:56 precision Uriah Welcome (precision at users.sf.net) |
* includes/: class.BSD.common.inc.php, class.Linux.inc.php: adding |
comments |
2001-11-13 00:45 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/class.BSD.common.inc.php, |
includes/class.FreeBSD.inc.php, includes/class.OpenBSD.inc.php: |
BSD Updates |
2001-11-13 00:41 precision Uriah Welcome (precision at users.sf.net) |
* includes/class.FreeBSD.inc.php: moving cpu_info() and scsi_info() |
back into BSD.common |
2001-11-13 00:39 precision Uriah Welcome (precision at users.sf.net) |
* includes/: class.BSD.common.inc.php, class.OpenBSD.inc.php: |
genericizing the regexps |
2001-11-12 22:41 precision Uriah Welcome (precision at users.sf.net) |
* includes/class.BSD.common.inc.php: stupid vi.. ignoring my |
options.. tab to space.. |
2001-11-12 22:39 precision Uriah Welcome (precision at users.sf.net) |
* includes/: class.BSD.common.inc.php, class.FreeBSD.inc.php: very |
minor cleanups |
2001-11-12 22:36 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/class.BSD.common.inc.php, |
includes/class.FreeBSD.inc.php, includes/class.OpenBSD.inc.php: |
changed read_dmesg() to return $this->dmesg |
2001-11-12 22:31 precision Uriah Welcome (precision at users.sf.net) |
* index.php: tabs -> spaces cleansup |
2001-11-12 22:31 precision Uriah Welcome (precision at users.sf.net) |
* includes/: class.BSD.common.inc.php, class.OpenBSD.inc.php, |
common_functions.php: tabs -> spaces cleanups |
2001-11-12 22:28 precision Uriah Welcome (precision at users.sf.net) |
* includes/class.FreeBSD.inc.php: remove grab_key() from freebsd |
classfile |
2001-11-12 22:23 precision Uriah Welcome (precision at users.sf.net) |
* includes/: class.BSD.common.inc.php, class.OpenBSD.inc.php: |
forgot to cvs add.. |
2001-11-12 21:54 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/class.FreeBSD.inc.php: added OpenBSD support |
(Scott Lipcon <slipcon at mercea.net>) added |
class.BSD.common.inc.php (me) genericized class.FreeBSD.inc.php |
to use new common class (me) genericized class.OpenBSD.inc.php to |
use new common class (me) |
2001-11-12 20:32 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/lang/sk.php: added slovak translation.. |
2001-11-11 08:55 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/class.FreeBSD.inc.php: fixed filesystem |
output ti display even if proc isn't the last filesystem (Alan |
Eldridge) |
2001-11-11 06:58 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, README, includes/system_footer.php (tags: REL-2-0): |
tag'd rel-1-9 updated for the 2.0 devel cycle |
2001-11-11 06:21 precision Uriah Welcome (precision at users.sf.net) |
* includes/class.FreeBSD.inc.php (tags: rel-1-9): small cleanups.. |
remove the note about FreeBSD support being unstable.. |
2001-11-07 19:15 precision Uriah Welcome (precision at users.sf.net) |
* includes/lang/: se.php, sv.php (tags: REL-2-1, REL-2-0, rel-1-9): |
se.php -> sv.php |
2001-11-07 17:56 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, index.php (utags: rel-1-9): fix bug w/ templates when |
register_globals is off |
2001-11-06 00:45 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog: [no log message] |
2001-11-05 22:44 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/lang/id.php (tags: rel-1-9): added Indonesian |
translation |
2001-11-04 19:54 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/class.FreeBSD.inc.php: added 2 patches from |
Alan E |
2001-10-25 19:59 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/lang/ct.php (tags: REL-2-1, REL-2-0, |
rel-1-9), includes/lang/se.php: added catalan tranlstion updated |
swedish translation |
2001-10-15 14:14 jengo Joseph Engo (jengo at users.sf.net) |
* includes/class.FreeBSD.inc.php: Fix for network information not |
being displayed. Refear to |
http://sourceforge.net/forum/message.php?msg_id=248743 |
2001-10-15 02:28 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/class.FreeBSD.inc.php: Updated Webbie's patch |
so that we only read /var/run/dmesg.boot once |
2001-10-15 01:32 precision Uriah Welcome (precision at users.sf.net) |
* includes/class.FreeBSD.inc.php: skip the proc filesystem |
2001-10-15 01:18 precision Uriah Welcome (precision at users.sf.net) |
* includes/class.FreeBSD.inc.php: remove cruft from old linux class |
2001-10-15 01:15 precision Uriah Welcome (precision at users.sf.net) |
* includes/table_hardware.php (tags: rel-1-9): Only print hardware |
we have.. |
2001-10-15 01:05 precision Uriah Welcome (precision at users.sf.net) |
* includes/class.FreeBSD.inc.php: sort the pci array |
2001-10-14 21:20 precision Uriah Welcome (precision at users.sf.net) |
* includes/class.FreeBSD.inc.php: stupid |
2001-10-14 21:18 precision Uriah Welcome (precision at users.sf.net) |
* includes/class.FreeBSD.inc.php: changing $this->getkey() to use |
execute_program() |
2001-10-14 18:42 neostrider Joseph King (neostrider at users.sf.net) |
* includes/class.FreeBSD.inc.php: |
Correction to Memory Usage free reporting. |
2001-10-14 18:39 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog: patch from webbie (webbie at ipfw dot org) |
2001-10-14 18:29 precision Uriah Welcome (precision at users.sf.net) |
* includes/class.FreeBSD.inc.php: Added patch from Webbie |
2001-10-10 23:46 precision Uriah Welcome (precision at users.sf.net) |
* includes/class.FreeBSD.inc.php: memory detection |
2001-10-07 19:05 precision Uriah Welcome (precision at users.sf.net) |
* index.php: formatting |
2001-10-07 08:35 precision Uriah Welcome (precision at users.sf.net) |
* INSTALL (tags: rel-1-9): added not about freebsd support |
2001-10-07 08:21 precision Uriah Welcome (precision at users.sf.net) |
* includes/common_functions.php (tags: rel-1-9): comment about pipe |
checking.. |
2001-10-07 08:18 precision Uriah Welcome (precision at users.sf.net) |
* includes/class.Linux.inc.php (tags: rel-1-9): oops.. removed a |
test case.. |
2001-10-07 08:18 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/class.FreeBSD.inc.php, |
includes/class.Linux.inc.php, includes/common_functions.php: pipe |
away execute_program() |
2001-10-07 07:57 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/common_functions.php: seperated |
execute_program() into 2 functions.. find_program() and |
execute_program() now just to add pipe checking and path |
checking.. |
2001-10-07 07:42 precision Uriah Welcome (precision at users.sf.net) |
* includes/system_footer.php (tags: rel-1-9): oops |
2001-10-07 07:42 precision Uriah Welcome (precision at users.sf.net) |
* README (tags: rel-1-9), includes/system_footer.php: updating |
version number to 1.9 |
2001-10-07 07:41 precision Uriah Welcome (precision at users.sf.net) |
* index.php: very minor cleanup consistancy |
2001-10-07 07:24 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/class.FreeBSD.inc.php, |
includes/common_functions.php: adding freebsd patch from webbie (webbie at ipfw dot org) |
code formats and cleanups changed from ``'s to execute_program() |
2001-10-07 06:55 precision Uriah Welcome (precision at users.sf.net) |
* templates/: aq/box.tpl, black/box.tpl, metal/box.tpl (utags: |
REL-2-0, REL-2-1, rel-1-9): adding 'alt' tags |
2001-10-07 06:47 precision Uriah Welcome (precision at users.sf.net) |
* includes/common_functions.php: removed / nothing special.. |
2001-10-06 19:59 precision Uriah Welcome (precision at users.sf.net) |
* includes/class.FreeBSD.inc.php: formatting. |
2001-10-06 19:57 precision Uriah Welcome (precision at users.sf.net) |
* includes/class.Linux.inc.php: formatting |
2001-10-06 19:52 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog: [no log message] |
2001-10-06 19:50 precision Uriah Welcome (precision at users.sf.net) |
* includes/class.Linux.inc.php: sys_chostname() -> chostname() |
2001-10-04 21:20 precision Uriah Welcome (precision at users.sf.net) |
* includes/table_hardware.php: formatting |
2001-10-04 21:15 precision Uriah Welcome (precision at users.sf.net) |
* includes/class.FreeBSD.inc.php: formatting update |
2001-10-03 17:46 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog: misspelt Weissmann |
2001-09-21 21:24 precision Uriah Welcome (precision at users.sf.net) |
* includes/color_scheme.php (tags: rel-1-9): $textcolor -> |
$fontcolor.. oops |
2001-09-19 18:01 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/lang/big5.php (tags: REL-2-1, REL-2-0, |
rel-1-9): adding big5 translation |
2001-09-17 17:56 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, index.php: added browser language detection |
2001-09-17 17:49 precision Uriah Welcome (precision at users.sf.net) |
* templates/black/: box.tpl, form.tpl (tags: rel-1-9), |
images/aq_background.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0, |
rel-1-9), images/bar_left.gif (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, |
REL-2-1, REL-2-0, rel-1-9), images/bar_middle.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, |
REL-2-2-RC1, REL-2-1, REL-2-0, rel-1-9), images/bar_right.gif |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, |
REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0, rel-1-9), |
images/coininfd.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0, |
rel-1-9), images/coininfg.gif (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, |
REL-2-1, REL-2-0, rel-1-9), images/coinsupd.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, |
REL-2-2-RC1, REL-2-1, REL-2-0, rel-1-9), images/coinsupg.gif |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, |
REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0, rel-1-9), images/d.gif |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, |
REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0, rel-1-9), images/fond.gif |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, |
REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0, rel-1-9), images/g.gif |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, |
REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0, rel-1-9), images/inf.gif |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, |
REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0, rel-1-9), |
images/redbar_left.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0, |
rel-1-9), images/redbar_middle.gif (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, |
REL-2-1, REL-2-0, rel-1-9), images/redbar_right.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, |
REL-2-2-RC1, REL-2-1, REL-2-0, rel-1-9), images/space15_15.gif |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, |
REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0, rel-1-9), images/sup.gif |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, |
REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0, rel-1-9): adding black |
template |
2001-09-13 00:24 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/lang/br.php (tags: REL-2-1, REL-2-0, |
rel-1-9): updaing br translation |
2001-09-04 17:20 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/lang/pl.php (tags: REL-2-1, REL-2-0, |
rel-1-9): added polish translation |
2001-08-20 17:26 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/lang/tw.php (tags: REL-2-1, REL-2-0, |
rel-1-9): added Traditional-Chinese translation.. |
2001-08-20 17:22 precision Uriah Welcome (precision at users.sf.net) |
* templates/metal/: box.tpl, form.tpl (tags: rel-1-9), |
images/bar_left.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0, |
rel-1-9), images/bar_middle.gif (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, |
REL-2-1, REL-2-0, rel-1-9), images/bar_right.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, |
REL-2-2-RC1, REL-2-1, REL-2-0, rel-1-9), images/coininfd.gif |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, |
REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0, rel-1-9), |
images/coininfg.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0, |
rel-1-9), images/coinsupd.gif (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, |
REL-2-1, REL-2-0, rel-1-9), images/coinsupg.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, |
REL-2-2-RC1, REL-2-1, REL-2-0, rel-1-9), images/d.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, |
REL-2-2-RC1, REL-2-1, REL-2-0, rel-1-9), images/fond.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, |
REL-2-2-RC1, REL-2-1, REL-2-0, rel-1-9), images/g.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, |
REL-2-2-RC1, REL-2-1, REL-2-0, rel-1-9), images/inf.gif (tags: |
REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, |
REL-2-2-RC1, REL-2-1, REL-2-0, rel-1-9), |
images/metal_background.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0, |
rel-1-9), images/redbar_left.gif (tags: rel-1-9), |
images/redbar_middle.gif (tags: rel-1-9), images/redbar_right.gif |
(tags: rel-1-9), images/space15_15.gif (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, |
REL-2-1, REL-2-0, rel-1-9), images/sup.gif (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, |
REL-2-1, REL-2-0, rel-1-9): adding metal theme.. |
2001-08-09 22:28 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/lang/nl.php (tags: REL-2-1, REL-2-0, |
rel-1-9): updated Dutch translation (Vincent van Adrighem |
<vincent at dirck.mine.nu>) |
2001-08-06 18:52 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog: adding info about german update |
2001-08-06 18:50 precision Uriah Welcome (precision at users.sf.net) |
* includes/lang/de.php (tags: REL-2-1, REL-2-0, rel-1-9): updated |
de.php patch # 447446 |
2001-08-05 08:56 jengo Joseph Engo (jengo at users.sf.net) |
* includes/class.FreeBSD.inc.php: Added the new FreeBSD class |
2001-08-03 18:45 precision Uriah Welcome (precision at users.sf.net) |
* includes/common_functions.php: more formatting.. |
2001-08-03 18:45 precision Uriah Welcome (precision at users.sf.net) |
* includes/class.Linux.inc.php: fixing jengo's formatting |
2001-08-03 18:41 precision Uriah Welcome (precision at users.sf.net) |
* index.php: fixing jengo's formatting |
2001-08-02 23:16 jengo Joseph Engo (jengo at users.sf.net) |
* includes/common_functions.php: I forgot to add this file in |
durring my initial commit |
2001-08-02 23:15 jengo Joseph Engo (jengo at users.sf.net) |
* index.php, includes/class.Linux.inc.php: Changed some code format |
2001-08-02 22:41 jengo Joseph Engo (jengo at users.sf.net) |
* index.php, includes/class.Linux.inc.php, |
includes/system_functions.php, includes/table_filesystems.php |
(tags: rel-1-9), includes/table_hardware.php, |
includes/table_memory.php (tags: rel-1-9), |
includes/table_network.php (tags: rel-1-9), |
includes/table_vitals.php (tags: rel-1-9), |
templates/classic/images/bar_left.gif (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, |
REL-2-1, REL-2-0, rel-1-9), |
templates/classic/images/bar_middle.gif (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, |
REL-2-1, REL-2-0, rel-1-9), |
templates/classic/images/bar_right.gif (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, |
REL-2-1, REL-2-0, rel-1-9), |
templates/classic/images/redbar_left.gif (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, |
REL-2-1, REL-2-0, rel-1-9), |
templates/classic/images/redbar_middle.gif (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, |
REL-2-1, REL-2-0, rel-1-9), |
templates/classic/images/redbar_right.gif (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, |
REL-2-1, REL-2-0, rel-1-9): - Started working on abstracting the |
system functions to support multiable OS's - Added code to detect |
to size of the bar graph image so it looks nice - Started added |
sections to allow easy installation under phpGroupWare |
2001-07-05 23:09 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, index.php: added fix incase register_globals is off |
2001-07-05 23:01 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, index.php, includes/system_header.php (tags: rel-1-9): |
added timestamp to the <TITLE></TITLE> |
2001-07-05 22:54 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/system_functions.php, includes/lang/nl.php, |
includes/lang/ro.php (tags: REL-2-1, REL-2-0, rel-1-9): updated |
ro and nl tranlations removed display of filesystems that are |
mounted with '-o bind' |
2001-06-29 21:03 precision Uriah Welcome (precision at users.sf.net) |
* index.php: oops.. shouldn't have commited this quite yet |
2001-06-29 20:57 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/lang/fi.php (tags: REL-2-1, REL-2-0, |
rel-1-9): added finnish language |
2001-06-29 17:14 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/lang/is.php (tags: REL-2-1, REL-2-0, |
rel-1-9): added is.php |
2001-06-25 12:35 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/lang/kr.php (tags: rel-1-9), |
includes/lang/ro.php: added 2 translations.. |
2001-06-02 03:35 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/lang/et.php (tags: REL-2-1, REL-2-0, |
rel-1-9): updated et translation |
2001-06-02 03:33 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, index.php, includes/table_hardware.php: added |
format_bytesize() call to capacity.. |
2001-05-31 17:23 precision Uriah Welcome (precision at users.sf.net) |
* index.php, includes/system_footer.php: fixing sf bug # 428980 |
2001-05-31 17:15 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, index.php, includes/system_functions.php, |
includes/lang/da.php (tags: REL-2-1, REL-2-0, rel-1-9), |
includes/lang/en.php (tags: REL-2-0, rel-1-9), |
includes/lang/fr.php (tags: REL-2-1, REL-2-0, rel-1-9), |
includes/lang/nl.php: translation updates |
2001-05-31 04:43 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, README, index.php, includes/system_footer.php: small |
cleanup and imcremented the version to 1.8. |
2001-05-31 04:13 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog: unspamified the email addresses.. |
2001-05-30 18:29 precision Uriah Welcome (precision at users.sf.net) |
* INSTALL, includes/system_footer.php: oops.. michael's patch |
reverted the version |
2001-05-30 18:27 precision Uriah Welcome (precision at users.sf.net) |
* index.php: oops.. forgot a $lang->$lng conversion |
2001-05-30 18:25 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog: added extra notes about Michael's patches |
2001-05-30 18:24 precision Uriah Welcome (precision at users.sf.net) |
* includes/system_functions.php: tabs -> spaces |
2001-05-30 18:22 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, index.php, includes/system_footer.php, |
includes/system_functions.php, includes/system_header.php, |
includes/lang/br.php, includes/lang/cs.php (tags: REL-2-0, |
rel-1-9), includes/lang/da.php, includes/lang/de.php, |
includes/lang/en.php, includes/lang/es.php (tags: REL-2-0, |
rel-1-9), includes/lang/et.php, includes/lang/fr.php, |
includes/lang/it.php (tags: rel-1-9), includes/lang/lt.php (tags: |
REL-2-1, REL-2-0, rel-1-9), includes/lang/nl.php, |
includes/lang/no.php (tags: REL-2-1, REL-2-0, rel-1-9), |
includes/lang/se.php: added patches from Michal Cihar |
2001-05-30 18:07 precision Uriah Welcome (precision at users.sf.net) |
* templates/classic/form.tpl (tags: rel-1-9): added a <br> |
2001-05-30 18:07 precision Uriah Welcome (precision at users.sf.net) |
* templates/blue/: box.tpl, form.tpl (tags: REL-2-1, REL-2-0), |
images/bar_left.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0), |
images/bar_middle.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0), |
images/bar_right.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0), |
images/redbar_left.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0), |
images/redbar_middle.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0), |
images/redbar_right.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0), |
images/trans.gif (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, |
REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0) |
(utags: rel-1-9): adding the 'blue' template (Michal Cihar |
<cihar@email.cz>) |
2001-05-29 22:08 precision Uriah Welcome (precision at users.sf.net) |
* README, includes/system_footer.php: incremented version to 1.7 |
2001-05-29 22:03 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/system_header.php: added css code |
2001-05-29 21:55 precision Uriah Welcome (precision at users.sf.net) |
* includes/lang/no.php: updated no.php |
2001-05-29 21:52 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog: note about the fs fix |
2001-05-29 21:41 precision Uriah Welcome (precision at users.sf.net) |
* includes/system_functions.php: oops.. someones patch had a bug |
2001-05-29 03:07 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/system_functions.php: fixed percentage free |
reports in sys_fsinfo() |
2001-05-29 01:56 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog: typo |
2001-05-29 01:56 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog: added note about HTML validator |
2001-05-29 01:54 precision Uriah Welcome (precision at users.sf.net) |
* includes/system_footer.php, includes/system_functions.php, |
templates/classic/box.tpl (tags: rel-1-9), |
templates/classic/form.tpl: HTML fixes. classic template is now |
HTML 4.01 compliant and passes the validator |
2001-05-29 01:31 precision Uriah Welcome (precision at users.sf.net) |
* index.php, includes/system_footer.php, |
includes/system_functions.php, includes/table_filesystems.php, |
includes/table_hardware.php, includes/table_memory.php, |
includes/table_network.php, includes/table_vitals.php: formatting |
& cleanups |
2001-05-29 01:08 precision Uriah Welcome (precision at users.sf.net) |
* index.php, includes/system_functions.php: cleanups |
2001-05-29 00:55 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, index.php, includes/table_filesystems.php, |
includes/table_hardware.php, includes/table_memory.php, |
includes/table_network.php, includes/table_vitals.php: more |
cleanups, removed extra color_scheme includes.. |
2001-05-29 00:51 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, index.php, includes/color_scheme.php, |
includes/system_footer.php, includes/system_functions.php, |
includes/system_header.php, includes/table_filesystems.php, |
includes/table_hardware.php, includes/table_memory.php, |
includes/table_network.php, includes/table_vitals.php: code |
formatting, changed tabs to spaces include()'s to |
require_once()'s |
2001-05-28 10:31 precision Uriah Welcome (precision at users.sf.net) |
* README: added note about language selector |
2001-05-28 10:21 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog: added note about language selector |
2001-05-28 10:20 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, INSTALL, index.php, includes/system_footer.php, |
includes/system_functions.php, includes/system_header.php: added |
language selector |
2001-05-28 08:55 precision Uriah Welcome (precision at users.sf.net) |
* includes/system_functions.php: removed old line.. I also cleans |
up sys_users() |
2001-05-28 08:54 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog: added execute_program() note.. |
2001-05-28 08:53 precision Uriah Welcome (precision at users.sf.net) |
* includes/system_functions.php: added execute_program(). Pass it |
a command and args it looks threw a internal path and executes |
whichever binary is first.. |
2001-05-28 07:43 precision Uriah Welcome (precision at users.sf.net) |
* includes/system_footer.php: formatting |
2001-05-28 07:42 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, README, index.php, includes/system_footer.php, |
includes/system_functions.php, includes/table_network.php: |
incremented version to 1.6, added template changer form (me & |
Jesse jesse@krylotek.com), misc code cleanups (me) |
2001-05-27 23:28 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/lang/br.php, templates/aq/images/bar_left.gif |
(tags: REL-2-1, REL-2-0, rel-1-9), |
templates/aq/images/bar_middle.gif (tags: REL-2-1, REL-2-0, |
rel-1-9), templates/aq/images/bar_right.gif (tags: REL-2-1, |
REL-2-0, rel-1-9): added blue bars for aq, added brazilian |
translation |
2001-05-24 21:21 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/system_functions.php, |
includes/system_header.php, includes/table_filesystems.php, |
includes/table_memory.php, includes/table_network.php: added HTML |
core validation |
2001-05-21 23:34 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/lang/da.php, includes/lang/nl.php: added new |
translations |
2001-05-18 21:03 precision Uriah Welcome (precision at users.sf.net) |
* README: final notes before packaging.. |
2001-05-18 20:57 precision Uriah Welcome (precision at users.sf.net) |
* ChangeLog, includes/system_footer.php: changed version to 1.5 |
2001-05-18 20:54 precision Uriah Welcome (precision at users.sf.net) |
* README, includes/system_functions.php: fixed my email address and |
changed the warning threshhold on the bar graphs to 90% |
2001-05-18 20:46 precision Uriah Welcome (precision at users.sf.net) |
* COPYING, ChangeLog, INSTALL, README, index.php, |
includes/class.Template.inc.php, includes/color_scheme.php, |
includes/system_footer.php, includes/system_functions.php, |
includes/system_header.php, includes/table_filesystems.php, |
includes/table_hardware.php, includes/table_memory.php, |
includes/table_network.php, includes/table_vitals.php, |
includes/lang/da.php, includes/lang/de.php, includes/lang/en.php, |
includes/lang/es.php, includes/lang/et.php, includes/lang/fr.php, |
includes/lang/it.php, includes/lang/lt.php, includes/lang/no.php, |
includes/lang/se.php, templates/aq/box.tpl, |
templates/aq/form.tpl, templates/aq/images/aq_background.gif, |
templates/aq/images/bar_left.gif, |
templates/aq/images/bar_middle.gif, |
templates/aq/images/bar_right.gif, |
templates/aq/images/coininfd.gif, |
templates/aq/images/coininfg.gif, |
templates/aq/images/coinsupd.gif, |
templates/aq/images/coinsupg.gif, templates/aq/images/d.gif, |
templates/aq/images/fond.gif, templates/aq/images/g.gif, |
templates/aq/images/inf.gif, templates/aq/images/redbar_left.gif, |
templates/aq/images/redbar_middle.gif, |
templates/aq/images/redbar_right.gif, |
templates/aq/images/space15_15.gif, templates/aq/images/sup.gif, |
templates/classic/box.tpl, templates/classic/form.tpl, |
templates/classic/images/bar_left.gif, |
templates/classic/images/bar_middle.gif, |
templates/classic/images/bar_right.gif, |
templates/classic/images/redbar_left.gif, |
templates/classic/images/redbar_middle.gif, |
templates/classic/images/redbar_right.gif, |
templates/classic/images/trans.gif: Initial revision |
2001-05-18 20:46 precision Uriah Welcome (precision at users.sf.net) |
* COPYING (tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, |
REL-2-3, REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0, rel-1-9), |
ChangeLog, INSTALL, README, index.php, |
includes/class.Template.inc.php (tags: rel-1-9), |
includes/color_scheme.php, includes/system_footer.php, |
includes/system_functions.php, includes/system_header.php, |
includes/table_filesystems.php, includes/table_hardware.php, |
includes/table_memory.php, includes/table_network.php, |
includes/table_vitals.php, includes/lang/da.php, |
includes/lang/de.php, includes/lang/en.php, includes/lang/es.php, |
includes/lang/et.php, includes/lang/fr.php, includes/lang/it.php, |
includes/lang/lt.php, includes/lang/no.php, includes/lang/se.php, |
templates/aq/box.tpl, templates/aq/form.tpl (tags: rel-1-9), |
templates/aq/images/aq_background.gif (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, |
REL-2-1, REL-2-0, rel-1-9), templates/aq/images/bar_left.gif, |
templates/aq/images/bar_middle.gif, |
templates/aq/images/bar_right.gif, |
templates/aq/images/coininfd.gif (tags: REL-2-1, REL-2-0, |
rel-1-9), templates/aq/images/coininfg.gif (tags: REL-2-1, |
REL-2-0, rel-1-9), templates/aq/images/coinsupd.gif (tags: |
REL-2-1, REL-2-0, rel-1-9), templates/aq/images/coinsupg.gif |
(tags: REL-2-1, REL-2-0, rel-1-9), templates/aq/images/d.gif |
(tags: REL-2-1, REL-2-0, rel-1-9), templates/aq/images/fond.gif |
(tags: REL-2-1, REL-2-0, rel-1-9), templates/aq/images/g.gif |
(tags: REL-2-1, REL-2-0, rel-1-9), templates/aq/images/inf.gif |
(tags: REL-2-1, REL-2-0, rel-1-9), |
templates/aq/images/redbar_left.gif (tags: REL-2-1, REL-2-0, |
rel-1-9), templates/aq/images/redbar_middle.gif (tags: REL-2-1, |
REL-2-0, rel-1-9), templates/aq/images/redbar_right.gif (tags: |
REL-2-1, REL-2-0, rel-1-9), templates/aq/images/space15_15.gif |
(tags: REL-2-5-3-RC2, REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, |
REL-2-2, REL-2-2-RC1, REL-2-1, REL-2-0, rel-1-9), |
templates/aq/images/sup.gif (tags: REL-2-1, REL-2-0, rel-1-9), |
templates/classic/box.tpl, templates/classic/form.tpl, |
templates/classic/images/bar_left.gif, |
templates/classic/images/bar_middle.gif, |
templates/classic/images/bar_right.gif, |
templates/classic/images/redbar_left.gif, |
templates/classic/images/redbar_middle.gif, |
templates/classic/images/redbar_right.gif, |
templates/classic/images/trans.gif (tags: REL-2-5-3-RC2, |
REL-2-5-3-RC1, REL-2-5-2-RC3, REL-2-3, REL-2-2, REL-2-2-RC1, |
REL-2-1, REL-2-0, rel-1-9) (utags: start): initial checkin of 1.3 |
code |
/web/acc/phpsysinfo/copying |
---|
0,0 → 1,339 |
GNU GENERAL PUBLIC LICENSE |
Version 2, June 1991 |
Copyright (C) 1989, 1991 Free Software Foundation, Inc., |
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
Everyone is permitted to copy and distribute verbatim copies |
of this license document, but changing it is not allowed. |
Preamble |
The licenses for most software are designed to take away your |
freedom to share and change it. By contrast, the GNU General Public |
License is intended to guarantee your freedom to share and change free |
software--to make sure the software is free for all its users. This |
General Public License applies to most of the Free Software |
Foundation's software and to any other program whose authors commit to |
using it. (Some other Free Software Foundation software is covered by |
the GNU Lesser General Public License instead.) You can apply it to |
your programs, too. |
When we speak of free software, we are referring to freedom, not |
price. Our General Public Licenses are designed to make sure that you |
have the freedom to distribute copies of free software (and charge for |
this service if you wish), that you receive source code or can get it |
if you want it, that you can change the software or use pieces of it |
in new free programs; and that you know you can do these things. |
To protect your rights, we need to make restrictions that forbid |
anyone to deny you these rights or to ask you to surrender the rights. |
These restrictions translate to certain responsibilities for you if you |
distribute copies of the software, or if you modify it. |
For example, if you distribute copies of such a program, whether |
gratis or for a fee, you must give the recipients all the rights that |
you have. You must make sure that they, too, receive or can get the |
source code. And you must show them these terms so they know their |
rights. |
We protect your rights with two steps: (1) copyright the software, and |
(2) offer you this license which gives you legal permission to copy, |
distribute and/or modify the software. |
Also, for each author's protection and ours, we want to make certain |
that everyone understands that there is no warranty for this free |
software. If the software is modified by someone else and passed on, we |
want its recipients to know that what they have is not the original, so |
that any problems introduced by others will not reflect on the original |
authors' reputations. |
Finally, any free program is threatened constantly by software |
patents. We wish to avoid the danger that redistributors of a free |
program will individually obtain patent licenses, in effect making the |
program proprietary. To prevent this, we have made it clear that any |
patent must be licensed for everyone's free use or not licensed at all. |
The precise terms and conditions for copying, distribution and |
modification follow. |
GNU GENERAL PUBLIC LICENSE |
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
0. This License applies to any program or other work which contains |
a notice placed by the copyright holder saying it may be distributed |
under the terms of this General Public License. The "Program", below, |
refers to any such program or work, and a "work based on the Program" |
means either the Program or any derivative work under copyright law: |
that is to say, a work containing the Program or a portion of it, |
either verbatim or with modifications and/or translated into another |
language. (Hereinafter, translation is included without limitation in |
the term "modification".) Each licensee is addressed as "you". |
Activities other than copying, distribution and modification are not |
covered by this License; they are outside its scope. The act of |
running the Program is not restricted, and the output from the Program |
is covered only if its contents constitute a work based on the |
Program (independent of having been made by running the Program). |
Whether that is true depends on what the Program does. |
1. You may copy and distribute verbatim copies of the Program's |
source code as you receive it, in any medium, provided that you |
conspicuously and appropriately publish on each copy an appropriate |
copyright notice and disclaimer of warranty; keep intact all the |
notices that refer to this License and to the absence of any warranty; |
and give any other recipients of the Program a copy of this License |
along with the Program. |
You may charge a fee for the physical act of transferring a copy, and |
you may at your option offer warranty protection in exchange for a fee. |
2. You may modify your copy or copies of the Program or any portion |
of it, thus forming a work based on the Program, and copy and |
distribute such modifications or work under the terms of Section 1 |
above, provided that you also meet all of these conditions: |
a) You must cause the modified files to carry prominent notices |
stating that you changed the files and the date of any change. |
b) You must cause any work that you distribute or publish, that in |
whole or in part contains or is derived from the Program or any |
part thereof, to be licensed as a whole at no charge to all third |
parties under the terms of this License. |
c) If the modified program normally reads commands interactively |
when run, you must cause it, when started running for such |
interactive use in the most ordinary way, to print or display an |
announcement including an appropriate copyright notice and a |
notice that there is no warranty (or else, saying that you provide |
a warranty) and that users may redistribute the program under |
these conditions, and telling the user how to view a copy of this |
License. (Exception: if the Program itself is interactive but |
does not normally print such an announcement, your work based on |
the Program is not required to print an announcement.) |
These requirements apply to the modified work as a whole. If |
identifiable sections of that work are not derived from the Program, |
and can be reasonably considered independent and separate works in |
themselves, then this License, and its terms, do not apply to those |
sections when you distribute them as separate works. But when you |
distribute the same sections as part of a whole which is a work based |
on the Program, the distribution of the whole must be on the terms of |
this License, whose permissions for other licensees extend to the |
entire whole, and thus to each and every part regardless of who wrote it. |
Thus, it is not the intent of this section to claim rights or contest |
your rights to work written entirely by you; rather, the intent is to |
exercise the right to control the distribution of derivative or |
collective works based on the Program. |
In addition, mere aggregation of another work not based on the Program |
with the Program (or with a work based on the Program) on a volume of |
a storage or distribution medium does not bring the other work under |
the scope of this License. |
3. You may copy and distribute the Program (or a work based on it, |
under Section 2) in object code or executable form under the terms of |
Sections 1 and 2 above provided that you also do one of the following: |
a) Accompany it with the complete corresponding machine-readable |
source code, which must be distributed under the terms of Sections |
1 and 2 above on a medium customarily used for software interchange; or, |
b) Accompany it with a written offer, valid for at least three |
years, to give any third party, for a charge no more than your |
cost of physically performing source distribution, a complete |
machine-readable copy of the corresponding source code, to be |
distributed under the terms of Sections 1 and 2 above on a medium |
customarily used for software interchange; or, |
c) Accompany it with the information you received as to the offer |
to distribute corresponding source code. (This alternative is |
allowed only for noncommercial distribution and only if you |
received the program in object code or executable form with such |
an offer, in accord with Subsection b above.) |
The source code for a work means the preferred form of the work for |
making modifications to it. For an executable work, complete source |
code means all the source code for all modules it contains, plus any |
associated interface definition files, plus the scripts used to |
control compilation and installation of the executable. However, as a |
special exception, the source code distributed need not include |
anything that is normally distributed (in either source or binary |
form) with the major components (compiler, kernel, and so on) of the |
operating system on which the executable runs, unless that component |
itself accompanies the executable. |
If distribution of executable or object code is made by offering |
access to copy from a designated place, then offering equivalent |
access to copy the source code from the same place counts as |
distribution of the source code, even though third parties are not |
compelled to copy the source along with the object code. |
4. You may not copy, modify, sublicense, or distribute the Program |
except as expressly provided under this License. Any attempt |
otherwise to copy, modify, sublicense or distribute the Program is |
void, and will automatically terminate your rights under this License. |
However, parties who have received copies, or rights, from you under |
this License will not have their licenses terminated so long as such |
parties remain in full compliance. |
5. You are not required to accept this License, since you have not |
signed it. However, nothing else grants you permission to modify or |
distribute the Program or its derivative works. These actions are |
prohibited by law if you do not accept this License. Therefore, by |
modifying or distributing the Program (or any work based on the |
Program), you indicate your acceptance of this License to do so, and |
all its terms and conditions for copying, distributing or modifying |
the Program or works based on it. |
6. Each time you redistribute the Program (or any work based on the |
Program), the recipient automatically receives a license from the |
original licensor to copy, distribute or modify the Program subject to |
these terms and conditions. You may not impose any further |
restrictions on the recipients' exercise of the rights granted herein. |
You are not responsible for enforcing compliance by third parties to |
this License. |
7. If, as a consequence of a court judgment or allegation of patent |
infringement or for any other reason (not limited to patent issues), |
conditions are imposed on you (whether by court order, agreement or |
otherwise) that contradict the conditions of this License, they do not |
excuse you from the conditions of this License. If you cannot |
distribute so as to satisfy simultaneously your obligations under this |
License and any other pertinent obligations, then as a consequence you |
may not distribute the Program at all. For example, if a patent |
license would not permit royalty-free redistribution of the Program by |
all those who receive copies directly or indirectly through you, then |
the only way you could satisfy both it and this License would be to |
refrain entirely from distribution of the Program. |
If any portion of this section is held invalid or unenforceable under |
any particular circumstance, the balance of the section is intended to |
apply and the section as a whole is intended to apply in other |
circumstances. |
It is not the purpose of this section to induce you to infringe any |
patents or other property right claims or to contest validity of any |
such claims; this section has the sole purpose of protecting the |
integrity of the free software distribution system, which is |
implemented by public license practices. Many people have made |
generous contributions to the wide range of software distributed |
through that system in reliance on consistent application of that |
system; it is up to the author/donor to decide if he or she is willing |
to distribute software through any other system and a licensee cannot |
impose that choice. |
This section is intended to make thoroughly clear what is believed to |
be a consequence of the rest of this License. |
8. If the distribution and/or use of the Program is restricted in |
certain countries either by patents or by copyrighted interfaces, the |
original copyright holder who places the Program under this License |
may add an explicit geographical distribution limitation excluding |
those countries, so that distribution is permitted only in or among |
countries not thus excluded. In such case, this License incorporates |
the limitation as if written in the body of this License. |
9. The Free Software Foundation may publish revised and/or new versions |
of the General Public License from time to time. Such new versions will |
be similar in spirit to the present version, but may differ in detail to |
address new problems or concerns. |
Each version is given a distinguishing version number. If the Program |
specifies a version number of this License which applies to it and "any |
later version", you have the option of following the terms and conditions |
either of that version or of any later version published by the Free |
Software Foundation. If the Program does not specify a version number of |
this License, you may choose any version ever published by the Free Software |
Foundation. |
10. If you wish to incorporate parts of the Program into other free |
programs whose distribution conditions are different, write to the author |
to ask for permission. For software which is copyrighted by the Free |
Software Foundation, write to the Free Software Foundation; we sometimes |
make exceptions for this. Our decision will be guided by the two goals |
of preserving the free status of all derivatives of our free software and |
of promoting the sharing and reuse of software generally. |
NO WARRANTY |
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY |
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN |
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES |
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED |
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS |
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE |
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, |
REPAIR OR CORRECTION. |
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING |
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR |
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, |
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING |
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED |
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY |
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER |
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE |
POSSIBILITY OF SUCH DAMAGES. |
END OF TERMS AND CONDITIONS |
How to Apply These Terms to Your New Programs |
If you develop a new program, and you want it to be of the greatest |
possible use to the public, the best way to achieve this is to make it |
free software which everyone can redistribute and change under these terms. |
To do so, attach the following notices to the program. It is safest |
to attach them to the start of each source file to most effectively |
convey the exclusion of warranty; and each file should have at least |
the "copyright" line and a pointer to where the full notice is found. |
<one line to give the program's name and a brief idea of what it does.> |
Copyright (C) <year> <name of author> |
This program is free software; you can redistribute it and/or modify |
it under the terms of the GNU General Public License as published by |
the Free Software Foundation; either version 2 of the License, or |
(at your option) any later version. |
This program is distributed in the hope that it will be useful, |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
GNU General Public License for more details. |
You should have received a copy of the GNU General Public License along |
with this program; if not, write to the Free Software Foundation, Inc., |
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
Also add information on how to contact you by electronic and paper mail. |
If the program is interactive, make it output a short notice like this |
when it starts in an interactive mode: |
Gnomovision version 69, Copyright (C) year name of author |
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. |
This is free software, and you are welcome to redistribute it |
under certain conditions; type `show c' for details. |
The hypothetical commands `show w' and `show c' should show the appropriate |
parts of the General Public License. Of course, the commands you use may |
be called something other than `show w' and `show c'; they could even be |
mouse-clicks or menu items--whatever suits your program. |
You should also get your employer (if you work as a programmer) or your |
school, if any, to sign a "copyright disclaimer" for the program, if |
necessary. Here is a sample; alter the names: |
Yoyodyne, Inc., hereby disclaims all copyright interest in the program |
`Gnomovision' (which makes passes at compilers) written by James Hacker. |
<signature of Ty Coon>, 1 April 1989 |
Ty Coon, President of Vice |
This General Public License does not permit incorporating your program into |
proprietary programs. If your program is a subroutine library, you may |
consider it more useful to permit linking proprietary applications with the |
library. If this is what you want to do, use the GNU Lesser General |
Public License instead of this License. |
/web/acc/phpsysinfo/config.php |
---|
0,0 → 1,112 |
<?php |
// phpSysInfo - A PHP System Information Script |
// http://phpsysinfo.sourceforge.net/ |
// This program is free software; you can redistribute it and/or |
// modify it under the terms of the GNU General Public License |
// as published by the Free Software Foundation; either version 2 |
// of the License, or (at your option) any later version. |
// This program is distributed in the hope that it will be useful, |
// but WITHOUT ANY WARRANTY; without even the implied warranty of |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// GNU General Public License for more details. |
// You should have received a copy of the GNU General Public License |
// along with this program; if not, write to the Free Software |
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
// $Id: config.php.new,v 1.23 2007/02/18 19:02:59 bigmichi1 Exp $ |
// if $webpath set to an value it will be possible to include phpsysinfo with a simple include() statement in other scripts |
// but the structure in the phpsysinfo directory can't be changed |
// $webpath specifies the absolute path when you browse to the phpsysinfo page |
// e.g.: your domain www.yourdomain.com |
// you put the phpsysinfo directory at /phpsysinfo in the webroot |
// then normally you browse there with www.yourdomain.com/phpsysinfo |
// now you want to include the index.php from phpsysinfo in a script, locatet at / |
// then you need to set $webpath to /phpsysinfo/ |
// if you put the phpsysinfo folder at /tools/phpsysinfo $webpath will be /tools/phpsysinfo/ |
// you don't need to change it, if you don't include it in other pages |
// so default will be fine for everyone |
$webpath = ""; |
// define the default lng and template here |
$default_lng='browser'; |
$default_template='alcasar'; |
// hide language and template picklist |
// false = display picklist |
// true = do not display picklist |
$hide_picklist = true; |
// display the virtual host name and address |
// default is canonical host name and address |
$show_vhostname = false; |
// define the motherboard monitoring program here |
// we support four programs so far |
// 1. lmsensors http://www.lm-sensors.org/ |
// 2. healthd http://healthd.thehousleys.net/ |
// 3. hwsensors http://www.openbsd.org/ |
// 4. mbmon http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/download.html |
// 5. mbm5 http://mbm.livewiredev.com/ |
// $sensor_program = "lmsensors"; |
// $sensor_program = "healthd"; |
// $sensor_program = "hwsensors"; |
// $sensor_program = "mbmon"; |
// $sensor_program = "mbm5"; |
$sensor_program = ""; |
// show mount point |
// true = show mount point |
// false = do not show mount point |
$show_mount_point = true; |
// show bind |
// true = display filesystems mounted with the bind options under Linux |
// false = hide them |
$show_bind = true; |
// show inode usage |
// true = display used inodes in percent |
// false = hide them |
$show_inodes = false; |
// Hide mount(s). Example: |
// $hide_mounts = array( '/home', '/dev' ); |
$hide_mounts = array(); |
// Hide filesystem typess. Example: |
// $hide_fstypes = array( 'tmpfs', 'usbfs' ); |
$hide_fstypes = array(); |
// if the hddtemp program is available we can read the temperature, if hdd is smart capable |
// !!ATTENTION!! hddtemp might be a security issue |
// $hddtemp_avail = "tcp"; // read data from hddtemp deamon (localhost:7634) |
// $hddtemp_avail = "suid"; // read data from hddtemp programm (must be set suid) |
// show a graph for current cpuload |
// true = displayed, but it's a performance hit (because we have to wait to get a value, 1 second) |
// false = will not be displayed |
$loadbar = true; |
// additional paths where to look for installed programs |
// e.g. $addpaths = array('/opt/bin', '/opt/sbin'); |
$addpaths = array(); |
// display error messages at the top of the page |
// $showerrors = true; // show the errors |
// $showerrors = false; // don't show the errors |
$showerrors = true; |
// format in which temperature is displayed |
// $temperatureformat = "c"; // shown in celsius |
// $temperatureformat = "f"; // shown in fahrenheit |
// $temperatureformat = "c-f"; // both shown first celsius and fahrenheit in braces |
// $temperatureformat = "f-c"; // both shown first fahrenheit and celsius in braces |
$temperatureformat = "c-f"; |
?> |
/web/acc/phpsysinfo/phpsysinfo.dtd |
---|
0,0 → 1,91 |
<!-- |
phpSysInfo - A PHP System Information Script |
http://phpsysinfo.sourceforge.net/ |
$Id: phpsysinfo.dtd,v 1.16 2007/02/18 19:11:30 bigmichi1 Exp $ |
--> |
<!ELEMENT phpsysinfo (Generation, Vitals, Network, Portail, Hardware, Memory, Swap, Swapdevices, FileSystem, MBinfo*, HDDTemp*)> |
<!ELEMENT Generation EMPTY> |
<!ATTLIST Generation version CDATA "2.3"> |
<!ATTLIST Generation timestamp CDATA "000000000"> |
<!ELEMENT Vitals (Hostname, IPAddr, Kernel, Distro, Distroicon, Uptime, Users, LoadAvg, CPULoad*)> |
<!ELEMENT Hostname (#PCDATA)> |
<!ELEMENT IPAddr (#PCDATA)> |
<!ELEMENT Kernel (#PCDATA)> |
<!ELEMENT Distro (#PCDATA)> |
<!ELEMENT Distroicon (#PCDATA)> |
<!ELEMENT Uptime (#PCDATA)> |
<!ELEMENT Users (#PCDATA)> |
<!ELEMENT LoadAvg (#PCDATA)> |
<!ELEMENT CPULoad (#PCDATA)> |
<!ELEMENT Network (NetDevice*)> |
<!ELEMENT NetDevice (Name, RxBytes, TxBytes, Errors, Drops)> |
<!ELEMENT Name (#PCDATA)> |
<!ELEMENT RxBytes (#PCDATA)> |
<!ELEMENT TxBytes (#PCDATA)> |
<!ELEMENT Errors (#PCDATA)> |
<!ELEMENT Drops (#PCDATA)> |
<!ELEMENT Portail (Utilisateur, Groupe*)> |
<!ELEMENT Utilisateur (#PCDATA)> |
<!ELEMENT Groupe (#PCDATA)> |
<!ELEMENT Hardware (CPU*, PCI*, IDE*, SCSI*, USB*, SBUS*)> |
<!ELEMENT CPU (Number*, Model*, Cputemp*, Cpuspeed*, Busspeed*, Cache*, Bogomips*)> |
<!ELEMENT Number (#PCDATA)> |
<!ELEMENT Model (#PCDATA)> |
<!ELEMENT Cputemp (#PCDATA)> |
<!ELEMENT Busspeed (#PCDATA)> |
<!ELEMENT Cpuspeed (#PCDATA)> |
<!ELEMENT Cache (#PCDATA)> |
<!ELEMENT Bogomips (#PCDATA)> |
<!ELEMENT PCI (Device*)> |
<!ELEMENT Device (Name, Capacity*)> |
<!ELEMENT Capacity (#PCDATA)> |
<!ELEMENT IDE (Device*)> |
<!ELEMENT SCSI (Device*)> |
<!ELEMENT USB (Device*)> |
<!ELEMENT SBUS (Device*)> |
<!ELEMENT Memory (Free, Used, Total, Percent, App*, AppPercent*, Buffers*, BuffersPercent*, Cached*, CachedPercent*)> |
<!ELEMENT Free (#PCDATA)> |
<!ELEMENT Used (#PCDATA)> |
<!ELEMENT Total (#PCDATA)> |
<!ELEMENT Percent (#PCDATA)> |
<!ELEMENT App (#PCDATA)> |
<!ELEMENT AppPercent (#PCDATA)> |
<!ELEMENT Buffers (#PCDATA)> |
<!ELEMENT BuffersPercent (#PCDATA)> |
<!ELEMENT Cached (#PCDATA)> |
<!ELEMENT CachedPercent (#PCDATA)> |
<!ELEMENT Swap (Free*, Used*, Total*, Percent*)> |
<!ELEMENT Swapdevices (Mount*)> |
<!ELEMENT FileSystem (Mount*)> |
<!ELEMENT Mount (MountPointID, MountPoint*, Type, Device, Percent, Free, Used, Size, Options*, Inodes*)> |
<!ELEMENT MountPointID (#PCDATA)> |
<!ELEMENT MountPoint (#PCDATA)> |
<!ELEMENT Type (#PCDATA)> |
<!ELEMENT Size (#PCDATA)> |
<!ELEMENT Options (#PCDATA)> |
<!ELEMENT Inodes (#PCDATA)> |
<!ELEMENT MBinfo (Temperature*, Fans*, Voltage*)> |
<!ELEMENT Temperature (Item*)> |
<!ELEMENT Item (Label, Value, Limit*, Min*, Max*, Model*)> |
<!ELEMENT Label (#PCDATA)> |
<!ELEMENT Value (#PCDATA)> |
<!ELEMENT Limit (#PCDATA)> |
<!ELEMENT Min (#PCDATA)> |
<!ELEMENT Max (#PCDATA)> |
<!ELEMENT Fans (Item*)> |
<!ELEMENT Voltage (Item*)> |
<!ELEMENT HDDTemp (Item*)> |
/web/acc/phpsysinfo/index.php |
---|
0,0 → 1,331 |
<?php |
// phpSysInfo - A PHP System Information Script |
// http://phpsysinfo.sourceforge.net/ |
// This program is free software; you can redistribute it and/or |
// modify it under the terms of the GNU General Public License |
// as published by the Free Software Foundation; either version 2 |
// of the License, or (at your option) any later version. |
// This program is distributed in the hope that it will be useful, |
// but WITHOUT ANY WARRANTY; without even the implied warranty of |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// GNU General Public License for more details. |
// You should have received a copy of the GNU General Public License |
// along with this program; if not, write to the Free Software |
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
// $Id: index.php,v 1.122.4.1 2007/08/19 09:21:57 xqus Exp $ |
// phpsysinfo release version number |
$VERSION = "2.5.4"; |
$startTime = array_sum( explode( " ", microtime() ) ); |
define('APP_ROOT', dirname(__FILE__)); |
define('IN_PHPSYSINFO', true); |
ini_set('magic_quotes_runtime', 'off'); |
ini_set('register_globals', 'off'); |
// ini_set('display_errors','on'); |
require_once(APP_ROOT . '/includes/class.error.inc.php'); |
$error = new Error; |
// Figure out which OS where running on, and detect support |
if ( file_exists( APP_ROOT . '/includes/os/class.' . PHP_OS . '.inc.php' ) ) { |
} else { |
$error->addError('include(class.' . PHP_OS . '.php.inc)' , PHP_OS . ' is not currently supported', __LINE__, __FILE__ ); |
} |
if (!extension_loaded('xml')) { |
$error->addError('extension_loaded(xml)', 'phpsysinfo requires the xml module for php to work', __LINE__, __FILE__); |
} |
if (!extension_loaded('pcre')) { |
$error->addError('extension_loaded(pcre)', 'phpsysinfo requires the pcre module for php to work', __LINE__, __FILE__); |
} |
if (!file_exists(APP_ROOT . '/config.php')) { |
$error->addError('file_exists(config.php)', 'config.php does not exist in the phpsysinfo directory.', __LINE__, __FILE__); |
} else { |
require_once(APP_ROOT . '/config.php'); // get the config file |
} |
if ( !empty( $sensor_program ) ) { |
$sensor_program = basename( $sensor_program ); |
if( !file_exists( APP_ROOT . '/includes/mb/class.' . $sensor_program . '.inc.php' ) ) { |
$error->addError('include(class.' . htmlspecialchars($sensor_program, ENT_QUOTES) . '.inc.php)', 'specified sensor programm is not supported', __LINE__, __FILE__ ); |
} |
} |
if ( !empty( $hddtemp_avail ) && $hddtemp_avail != "tcp" && $hddtemp_avail != "suid" ) { |
$error->addError('include(class.hddtemp.inc.php)', 'bad configuration in config.php for $hddtemp_avail', __LINE__, __FILE__ ); |
} |
if( $error->ErrorsExist() ) { |
echo $error->ErrorsAsHTML(); |
exit; |
} |
require_once(APP_ROOT . '/includes/common_functions.php'); // Set of common functions used through out the app |
// commented for security |
// Check to see if where running inside of phpGroupWare |
//if (file_exists("../header.inc.php") && isset($_REQUEST['sessionid']) && $_REQUEST['sessionid'] && $_REQUEST['kp3'] && $_REQUEST['domain']) { |
// define('PHPGROUPWARE', 1); |
// $phpgw_info['flags'] = array('currentapp' => 'phpsysinfo-dev'); |
// include('../header.inc.php'); |
//} else { |
// define('PHPGROUPWARE', 0); |
//} |
// DEFINE TEMPLATE_SET |
if (isset($_POST['template'])) { |
$template = $_POST['template']; |
} elseif (isset($_GET['template'])) { |
$template = $_GET['template']; |
} elseif (isset($_COOKIE['template'])) { |
$template = $_COOKIE['template']; |
} else { |
$template = $default_template; |
} |
// check to see if we have a random |
if ($template == 'random') { |
$buf = gdc( APP_ROOT . "/templates/" ); |
$template = $buf[array_rand($buf, 1)]; |
} |
if ($template != 'xml' && $template != 'wml') { |
// figure out if the template exists |
$template = basename($template); |
if (!file_exists(APP_ROOT . "/templates/" . $template)) { |
// use default if not exists. |
$template = $default_template; |
} |
// Store the current template name in a cookie, set expire date to 30 days later |
// if template is xml then skip |
// setcookie("template", $template, (time() + 60 * 60 * 24 * 30)); |
// $_COOKIE['template'] = $template; //update COOKIE Var |
} |
// get our current language |
// default to english, but this is negotiable. |
if ($template == "wml") { |
$lng = "en"; |
} elseif (isset($_POST['lng'])) { |
$lng = $_POST['lng']; |
} elseif (isset($_GET['lng'])) { |
$lng = $_GET['lng']; |
} elseif (isset($_COOKIE['lng'])) { |
$lng = $_COOKIE['lng']; |
} else { |
$lng = $default_lng; |
} |
if ($lng == 'browser') { |
// see if the browser knows the right languange. |
if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { |
$plng = explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']); |
if (count($plng) > 0) { |
while (list($k, $v) = each($plng)) { |
$k = explode(';', $v, 1); |
$k = explode('-', $k[0]); |
if (file_exists(APP_ROOT . '/includes/lang/' . $k[0] . '.php')) { |
$lng = $k[0]; |
break; |
} |
} |
} |
} |
} |
//Add for Alcasar : 'fr' or 'en' only because some variables aren't defined in other languages |
if($lng != 'fr') $lng = "en"; |
$lng = basename($lng); |
if (file_exists(APP_ROOT . '/includes/lang/' . $lng . '.php')) { |
//$charset = 'iso-8859-1'; |
$charset = 'utf-8'; //modif fait pour integration alcasar |
require_once(APP_ROOT . '/includes/lang/' . $lng . '.php'); // get our language include |
// Store the current language selection in a cookie, set expire date to 30 days later |
// setcookie("lng", $lng, (time() + 60 * 60 * 24 * 30)); |
// $_COOKIE['lng'] = $lng; //update COOKIE Var |
} else { |
$error->addError('include(' . $lng . ')', 'we do not support this language', __LINE__, __FILE__ ); |
$lng = $default_lng; |
} |
// include the files and create the instances |
define('TEMPLATE_SET', $template); |
require_once( APP_ROOT . '/includes/os/class.' . PHP_OS . '.inc.php' ); |
$sysinfo = new sysinfo; |
if( !empty( $sensor_program ) ) { |
require_once(APP_ROOT . '/includes/mb/class.' . $sensor_program . '.inc.php'); |
$mbinfo = new mbinfo; |
} |
if ( !empty($hddtemp_avail ) ) { |
require_once(APP_ROOT . '/includes/mb/class.hddtemp.inc.php'); |
} |
require_once(APP_ROOT . '/includes/xml/vitals.php'); |
require_once(APP_ROOT . '/includes/xml/network.php'); |
require_once(APP_ROOT . '/includes/xml/hardware.php'); |
require_once(APP_ROOT . '/includes/xml/portail.php'); |
//require_once(APP_ROOT . '/includes/xml/utilisateur.php'); |
require_once(APP_ROOT . '/includes/xml/memory.php'); |
require_once(APP_ROOT . '/includes/xml/filesystems.php'); |
require_once(APP_ROOT . '/includes/xml/mbinfo.php'); |
require_once(APP_ROOT . '/includes/xml/hddtemp.php'); |
// build the xml |
$xml = "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n"; |
$xml .= "<!DOCTYPE phpsysinfo SYSTEM \"phpsysinfo.dtd\">\n\n"; |
$xml .= created_by(); |
$xml .= "<phpsysinfo>\n"; |
$xml .= " <Generation version=\"$VERSION\" timestamp=\"" . time() . "\"/>\n"; |
$xml .= xml_vitals(); |
$xml .= xml_network(); |
$xml .= xml_hardware(); |
$xml .= xml_portail(); |
$xml .= xml_memory(); |
$xml .= xml_filesystems(); |
if ( !empty( $sensor_program ) ) { |
$xml .= xml_mbinfo(); |
} |
if ( !empty($hddtemp_avail ) ) { |
$hddtemp = new hddtemp; |
$xml .= xml_hddtemp(); |
} |
$xml .= "</phpsysinfo>"; |
replace_specialchars($xml); |
// output |
if (TEMPLATE_SET == 'xml') { |
// just printout the XML and exit |
header("Content-Type: text/xml\n\n"); |
print $xml; |
} elseif (TEMPLATE_SET == 'wml') { |
require_once(APP_ROOT . '/includes/XPath.class.php'); |
$XPath = new XPath(); |
$XPath->importFromString($xml); |
header("Content-type: text/vnd.wap.wml; charset=iso-8859-1"); |
header(""); |
header("Cache-Control: no-cache, must-revalidate"); |
header("Pragma: no-cache"); |
echo "<?xml version='1.0' encoding='iso-8859-1'?>\n"; |
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\" >\n"; |
echo "<wml>\n"; |
echo "<card id=\"start\" title=\"phpSysInfo - Menu\">\n"; |
echo "<p><a href=\"#vitals\">" . $text['vitals'] . "</a></p>\n"; |
echo "<p><a href=\"#network\">" . $text['netusage'] . "</a></p>\n"; |
echo "<p><a href=\"#memory\">" . $text['memusage'] . "</a></p>\n"; |
echo "<p><a href=\"#filesystem\">" . $text['fs'] . "</a></p>\n"; |
if (!empty($sensor_program) || (isset($hddtemp_avail) && $hddtemp_avail)) { |
echo "<p><a href=\"#temp\">" . $text['temperature'] . "</a></p>\n"; |
} |
if (!empty($sensor_program)) { |
echo "<p><a href=\"#fans\">" . $text['fans'] . "</a></p>\n"; |
echo "<p><a href=\"#volt\">" . $text['voltage'] . "</a></p>\n"; |
} |
echo "</card>\n"; |
echo wml_vitals(); |
echo wml_network(); |
echo wml_memory(); |
echo wml_filesystem(); |
$temp = ""; |
if (!empty($sensor_program)) { |
echo wml_mbfans(); |
echo wml_mbvoltage(); |
$temp .= wml_mbtemp(); |
} |
if (isset($hddtemp_avail) && $hddtemp_avail) |
if ($XPath->match("/phpsysinfo/HDDTemp/Item")) |
$temp .= wml_hddtemp(); |
if(strlen($temp) > 0) |
echo "<card id=\"temp\" title=\"" . $text['temperature'] . "\">\n" . $temp . "</card>\n"; |
echo "</wml>\n"; |
} else { |
$image_height = get_gif_image_height(APP_ROOT . '/templates/' . TEMPLATE_SET . '/images/bar_middle.gif'); |
define('BAR_HEIGHT', $image_height); |
// if (PHPGROUPWARE != 1) { |
require_once(APP_ROOT . '/includes/class.Template.inc.php'); // template library |
// } |
// fire up the template engine |
$tpl = new Template(APP_ROOT . '/templates/' . TEMPLATE_SET); |
$tpl->set_file(array('form' => 'form.tpl')); |
// print out a box of information |
function makebox ($title, $content) |
{ |
if (empty($content)) { |
return ""; |
} else { |
global $webpath; |
$textdir = direction(); |
$t = new Template(APP_ROOT . '/templates/' . TEMPLATE_SET); |
$t->set_file(array('box' => 'box.tpl')); |
$t->set_var('title', $title); |
$t->set_var('content', $content); |
$t->set_var('webpath', $webpath); |
$t->set_var('text_dir', $textdir['direction']); |
return $t->parse('out', 'box'); |
} |
} |
// Fire off the XPath class |
require_once(APP_ROOT . '/includes/XPath.class.php'); |
$XPath = new XPath(); |
$XPath->importFromString($xml); |
// let the page begin. |
require_once(APP_ROOT . '/includes/system_header.php'); |
$tpl->set_var('title', $text['title'] . ': ' . $XPath->getData('/phpsysinfo/Vitals/Hostname') . ' (' . $XPath->getData('/phpsysinfo/Vitals/IPAddr') . ')'); |
$tpl->set_var('vitals', makebox($text['vitals'], html_vitals())); |
// rajout pour integrer les utilisateurs du portail captif |
$tpl->set_var('portail', makebox($text['portail'], html_portail())); |
// $tpl->set_var('utilisateur', makebox($text['portail'], html_utilisateur())); |
$tpl->set_var('memory', makebox($text['memusage'], html_memory())); |
$tpl->set_var('filesystems', makebox($text['fs'], html_filesystems())); |
$tpl->set_var('network', makebox($text['netusage'], html_network())); |
$tpl->set_var('hardware', makebox($text['hardware'], html_hardware())); |
// Timo van Roermund: change the condition for showing the temperature, voltage and fans section |
$html_temp = ""; |
if (!empty($sensor_program)) { |
if ($XPath->match("/phpsysinfo/MBinfo/Temperature/Item")) { |
$html_temp = html_mbtemp(); |
} |
if ($XPath->match("/phpsysinfo/MBinfo/Fans/Item")) { |
$tpl->set_var('mbfans', makebox($text['fans'], html_mbfans())); |
} else { |
$tpl->set_var('mbfans', ''); |
}; |
if ($XPath->match("/phpsysinfo/MBinfo/Voltage/Item")) { |
$tpl->set_var('mbvoltage', makebox($text['voltage'], html_mbvoltage())); |
} else { |
$tpl->set_var('mbvoltage', ''); |
}; |
} |
if (isset($hddtemp_avail) && $hddtemp_avail) { |
if ($XPath->match("/phpsysinfo/HDDTemp/Item")) { |
$html_temp .= html_hddtemp(); |
}; |
} |
if (strlen($html_temp) > 0) { |
$tpl->set_var('mbtemp', makebox($text['temperature'], "\n<table width=\"100%\">\n" . $html_temp . "</table>\n")); |
} |
if ( $error->ErrorsExist() && isset($showerrors) && $showerrors ) { |
$tpl->set_var('errors', makebox("ERRORS", $error->ErrorsAsHTML() )); |
} |
// parse our the template |
$tpl->pfp('out', 'form'); |
// finally our print our footer |
// if (PHPGROUPWARE == 1) { |
// $phpgw->common->phpgw_footer(); |
// } else { |
// require_once(APP_ROOT . '/includes/system_footer.php'); |
// } |
} |
?> |
/web/acc/phpsysinfo/readme |
---|
0,0 → 1,102 |
phpSysInfo 2.5.3 - http://phpsysinfo.sourceforge.net/ |
Copyright (c), 1999-2007, Uriah Welcome (precision@users.sf.net) |
Copyright (c), 1999-2007, Matthew Snelham (infinite@users.sf.net) |
Copyright (c), 1999-2007, Michael Cramer (bigmichi1@users.sf.net) |
CURRENT TESTED PLATFORMS |
------------------------ |
- Linux 2.2+ |
- FreeBSD 4.x |
- OpenBSD 2.8+ |
- NetBSD |
- Darwin/OSX |
- Win2000 / Win2003 /WinXP |
- > PHP 4.0.6 and 5.x |
If your platform is not here try checking out the mailing list archives or |
the message boards on SourceForge. |
PHP 5.2 is known to be broken with phpSysInfo. There is allready a bug report |
on the php site. ( see http://bugs.php.net/bug.php?id=39737 ) |
INSTALLATION AND CONFIGURATION |
------------------------------ |
Just decompress and untar the source (which you should have done by now, |
if you're reading this...), into your webserver's document root. |
There is a configuration file called config.php.new. If this a brand new |
installation, you should copy this file to config.php and edit it. |
- make sure your 'php.ini' file's include_path entry contains "." |
- make sure your 'php.ini' has safe_mode set to 'off'. |
Please keep in the mind that because phpSysInfo requires access to many |
files in /proc and other system binary you **MUST DISABLE** php's |
safe_mode. Please see the PHP documentation for information on how you |
can do this. |
If you use the apc pecl extension with apc.optimization="1" then |
phpSysInfo will break in the XPath.class. Turn this option off, and it |
will work with apc. |
That's it. Restart your webserver (if you changed php.ini), and viola |
KNOWN PROBLEMS |
-------------- |
- phpSysInfo is not compatible with SELinux Systems |
- small bug under FreeBSD with memory reporting |
PLATFORM SPECIFIC ISSUES |
------------------------ |
- FreeBSD |
There is currently a bug in FreeBSD that if you boot your system up |
and drop to single user mode and then again back to multiuser the |
system removes /var/run/dmesg.boot. This will cause phpsysinfo to |
fail. A bug has already been reported to the FreeBSD team. (PS, this |
may exist in other *BSDs also) |
!!! We need feedback if these issue is still alive !!! |
- Windows with IIS |
On Windows systems we get our informations through the WMI interface. |
If you run phpsysinfo on the IIS webserver, phpsysinfo will not connect |
to the WMI interface for security reasons. At this point you MUST set |
an authentication mechanism for the directory in the IIS admin |
interface for the directory where phpsysinfo is installed. Then you |
will be asked for an user and a password when opening the page. At this |
point it is necassary to log in with an user that will be able to |
connect to the WMI interface. If you use the wrong user and/or password |
you might get an "ACCESS DENIED ERROR". |
SENSOR RELATET INFORMATIONS |
--------------------------- |
- MBM5 |
Make sure you set MBM5 Interval Logging to csv and to the data |
directory of PHPSysInfo. The file must be called MBM5. Also make sure |
MBM5 doesn't add symbols to the values. Did is a Quick MBM5 log parser, |
need more csv logs to make it better. |
WHAT TO DO IF IT DOESN'T WORK |
----------------------------- |
First make sure you've read this file completely, especially the |
"INSTALLATION AND CONFIGURATION" section. If it still doesn't work then |
you can: |
Submit a bug on SourceForge. (preferred) |
(http://sourceforge.net/projects/phpsysinfo/) |
Ask for help in the forum |
(http://sourceforge.net/projects/phpsysinfo/) |
!! If you submit a bug or request some help, if something doesn't work, |
please check that you have set in config.php '$showerrors = true' !!! |
OTHER NOTES |
----------- |
If you have an great ideas or wanna help out, just drop by the project |
page at SourceForge (http://sourceforge.net/projects/phpsysinfo/) |
LICENSING |
--------- |
This program and all associated files are released under the GNU Public |
License, see COPYING for details. |
$Id: README,v 1.38 2007/03/18 11:08:32 bigmichi1 Exp $ |
/web/acc/filtering.php |
---|
0,0 → 1,15 |
<? |
$select[0]="$l_domains_filter"; |
$select[1]=$l_network; |
$select[2]="Exceptions"; |
$fich[0]="admin/dns_filter.php"; |
$fich[1]="admin/net_filter.php"; |
$fich[2]="admin/filter_exceptions.php"; |
$j=0; |
$nb=count($select); |
while ($j != $nb) |
{ |
echo "<TR><TD valign=\"middle\" align=\"left\"> <img src=\"/images/right2.gif\" height=10 width=10 border=no nosave><a href=\"$fich[$j]\" target=\"REXY2\"><font color=\"black\">$select[$j]</font></a></TD></TR>"; |
$j++; |
} |
?> |
/web/acc/system.php |
---|
0,0 → 1,15 |
<? |
$select[0]=$l_activity; |
$select[1]=$l_network; |
$select[2]=$l_ldap; |
$fich[0]="admin/activity.php"; |
$fich[1]="admin/network.php"; |
$fich[2]="admin/ldap.php"; |
$j=0; |
$nb=count($select); |
while ($j != $nb) |
{ |
echo "<TR><TD valign=\"middle\" align=\"left\"> <img src=\"/images/right2.gif\" height=10 width=10 border=no nosave><a href=\"$fich[$j]\" target=\"REXY2\"><font color=\"black\">$select[$j]</font></a></TD></TR>"; |
$j++; |
} |
?> |
/web/acc/manager/htdocs/user_info.php |
---|
0,0 → 1,124 |
<?php |
require('/etc/freeradius-web/config.php'); |
?> |
<html> |
<head> |
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config[general_charset]?>"> |
<title>Page d'information personnelle</title> |
<link rel="stylesheet" href="/css/style.css"> |
</head> |
<body> |
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0"> |
<tr><th>Gestion des usagers</th></tr> |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" |
height="2"></td></tr> |
</TABLE> |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=1> |
<tr bgcolor="#666666"><td> |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=2> |
<tr><td valign="middle" align="left"> |
<center> |
<table border=0 width=550 cellpadding=0 cellspacing=0> |
<tr valign=top> |
<!--<td align=center><img src="images/title2.gif"></td>--> |
</tr> |
</table> |
<table border=0 width=400 cellpadding=0 cellspacing=2> |
<?php |
include("../html/user_toolbar.html.php"); |
?> |
</table> |
<?php |
if ($change == 1){ |
if (is_file("../lib/$config[general_lib_type]/user_info.php")) |
include("../lib/$config[general_lib_type]/user_info.php"); |
if (is_file("../lib/$config[general_lib_type]/change_info.php")) |
include("../lib/$config[general_lib_type]/change_info.php"); |
} |
if (is_file("../lib/$config[general_lib_type]/user_info.php")) |
include("../lib/$config[general_lib_type]/user_info.php"); |
?> |
<br> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=200> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th> |
<font color="white">Page d'information personnelle de <?php echo "$login ($cn)"?></font> |
</th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<form method=post> |
<input type=hidden name=login value="<?php echo $login?>"> |
<input type=hidden name=change value="0"> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<?php |
echo <<<EOM |
<tr> |
<td align=right bgcolor="#d0ddb0"> |
Nom complet (NOM Prénom) |
</td><td> |
<input type=text name="Fcn" value="$cn" size=35> |
</td> |
</tr> |
<tr> |
<td align=right bgcolor="#d0ddb0"> |
</td><td> |
<input type=text name="Fmail" value="$mail" size=35> |
</td> |
</tr> |
<tr> |
<td align=right bgcolor="#d0ddb0"> |
Service |
</td><td> |
<input type=text name="Fou" value="$ou" size=35> |
</td> |
</tr> |
<tr> |
<td align=right bgcolor="#d0ddb0"> |
Téléphone personnel |
</td><td> |
<input type=text name="Fhomephone" value="$homephone" size=35> |
</td> |
</tr> |
<tr> |
<td align=right bgcolor="#d0ddb0"> |
Téléphone bureau |
</td><td> |
<input type=text name="Ftelephonenumber" value="$telephonenumber" size=35> |
</td> |
</tr> |
<tr> |
<td align=right bgcolor="#d0ddb0"> |
Téléphone mobile |
</td><td> |
<input type=text name="Fmobile" value="$mobile" size=35> |
</td> |
</tr> |
EOM; |
?> |
</table> |
<br> |
<input type=submit class=button value="Modifier" OnClick="this.form.change.value=1"> |
</form> |
</td></tr> |
</table> |
</tr> |
</table> |
</TD></TR> |
</TABLE> |
</td></tr> |
</TABLE> |
</body> |
</html> |
/web/acc/manager/htdocs/accounting.php |
---|
0,0 → 1,298 |
<?php |
require('/etc/freeradius-web/config.php'); |
require('../lib/functions.php'); |
require('../lib/sql/functions.php'); |
require('../lib/acctshow.php'); |
if (is_file("../lib/sql/drivers/$config[sql_type]/functions.php")) |
include_once("../lib/sql/drivers/$config[sql_type]/functions.php"); |
else{ |
echo <<<EOM |
<html> |
<head> |
<title>Générateur de rapports de comptes</title> |
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]"> |
<link rel="stylesheet" href="/css/style.css"> |
</head> |
<body> |
<center> |
<b>Could not include SQL library functions. Aborting</b> |
</body> |
</html> |
EOM; |
exit(); |
} |
$operators=array( '=','<', '>', '<=', '>=', 'regexp', 'like' ); |
if ($config[sql_type] == 'pg'){ |
$operators=array( '=','<', '>', '<=', '>=', '~', 'like', '~*', '~~*', '<<=' ); |
} |
$link = @da_sql_pconnect ($config) or die('cannot connect to sql databse'); |
$fields = @da_sql_list_fields($config[sql_accounting_table],$link,$config); |
$no_fields = @da_sql_num_fields($fields,$config); |
unset($items); |
for($i=0;$i<$no_fields;$i++){ |
$key = strtolower(@da_sql_field_name($fields,$i,$config)); |
$val = $sql_attrs[$key][desc]; |
if ($val == '') |
continue; |
$show = $sql_attrs[$key][show]; |
$selected[$key] = ($show == 'yes') ? 'selected' : ''; |
$items[$key] = "$val"; |
} |
asort($items); |
class Qi { |
var $name; |
var $item; |
var $_item; |
var $operator; |
var $type; |
var $typestr; |
var $value; |
function Qi($name,$item,$operator) { |
$this->name=$name; |
$this->item=$item; |
$this->operator=$operator; |
} |
function show() { global $operators; |
global $items; |
$nam = $this->item; |
echo <<<EOM |
<tr><td align=left> |
<i>$items[$nam]</i> |
<input type=hidden name="item_of_$this->name" value="$this->item"> |
</td><td align=left> |
<select name=operator_of_$this->name> |
EOM; |
foreach($operators as $operator){ |
if($this->operator == $operator) |
$selected=" selected "; |
else |
$selected=''; |
print("<option value=\"$operator\" $selected>$operator</option>\n"); |
} |
echo <<<EOM |
</select> |
</td><td align=left> |
<input name="value_of_$this->name" type=text value="$this->value"> |
</td><td align=left> |
<input type=hidden name="delete_$this->name" value=0> |
<input type=submit class=button size=5 value=del onclick="this.form.delete_$this->name.value=1"> |
</td></tr> |
EOM; |
} |
function get($designator) { global ${"item_of_$designator"}; |
global ${"value_of_$designator"}; |
global ${"operator_of_$designator"}; |
if(${"item_of_$designator"}){ |
$this->value= ${"value_of_$designator"}; |
$this->operator=${"operator_of_$designator"}; |
$this->item=${"item_of_$designator"}; |
} |
} |
function query(){ |
global $operators; |
global $items; |
return $items[$this->item]." $this->operator '$this->value'"; |
} |
} |
?> |
<html> |
<head> |
<title>Journal des connexions</title> |
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config[general_charset]?>"> |
<link rel="stylesheet" href="/css/style.css"> |
</head> |
<body> |
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0"> |
<tr><th>Journal des connexions</th></tr> |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" |
height="2"></td></tr> |
</TABLE> |
<?php |
if(!$queryflag) { |
echo <<<EOM |
<form method=post> |
<table border=0 width=740 cellpadding=1 cellspacing=1> |
<tr> |
<td> |
<b>Afficher les attributs suivants :</b><br> |
<select name="accounting_show_attrs[]" size=5 multiple> |
EOM; |
foreach($items as $key => $val) |
echo <<<EOM |
<option $selected[$key] value="$key">$val</option> |
EOM; |
echo <<<EOM |
</select> |
<br><br> |
<b>Classé par :</b><br> |
<select name="order_by"> |
EOM; |
foreach($items as $key => $val) |
if ($val == 'username') |
echo <<<EOM |
<option selected value="$key">$val</option> |
EOM; |
else |
echo <<<EOM |
<option value="$key">$val</option> |
EOM; |
echo <<<EOM |
</select> |
<br><br> |
<b>Nbr. Max. de résultats retournés :</b><br> |
<input name=maxresults value=$config[sql_row_limit] size=5> |
</td> |
<td valign=top> |
<input type=hidden name=add value=0> |
<table border=0 width=340 cellpadding=1 cellspacing=1> |
<tr><td> |
<b>Critère de sélection :</b> |
</td></tr> |
<tr><td> |
<select name=item_name onchange="this.form.add.value=1;this.form.submit()"> |
<option>--Attribute--</option> |
EOM; |
foreach($items as $key => $val) |
print("<option value=\"$key\">$val</option>"); |
echo <<<EOM |
</select> |
</td></tr> |
EOM; |
$number=1; |
$offset=0; |
while (${"item_of_w$number"}) { |
if(${"delete_w$number"}==1) {$offset=1;$number++;} |
else { |
$designator=$number-$offset; |
${"w$designator"} = new Qi("w$designator","",""); |
${"w$designator"}->get("w$number"); |
${"w$designator"}->show(); |
$number++; |
} |
} |
if($add==1) { |
${"w$number"} = new Qi("w$number","$item_name","$operators[0]"); |
${"w$number"}->show(); |
} |
echo <<<EOM |
</table> |
</td> |
<tr> |
<td> |
<input type=hidden name=queryflag value=0> |
<br><input type=submit class=button onclick="this.form.queryflag.value=1"> |
</td> |
</tr> |
</table> |
</form> |
</body> |
</html> |
EOM; |
} |
if ($queryflag == 1){ |
$i = 1; |
while (${"item_of_w$i"}){ |
$op_found = 0; |
foreach ($operators as $operator){ |
if (${"operator_of_w$i"} == $operator){ |
$op_found = 1; |
break; |
} |
} |
if (!$op_found) |
die("L'opération demandé n'est pas valide. Sortie anormale."); |
${"item_of_w$i"} = preg_replace('/\s/','',${"item_of_w$i"}); |
${"value_of_w$i"} = da_sql_escape_string(${"value_of_w$i"}); |
$where .= ($i == 1) ? ' WHERE ' . ${"item_of_w$i"} . ' ' . ${"operator_of_w$i"} . " '" . ${"value_of_w$i"} . "'" : |
' AND ' . ${"item_of_w$i"} . ' ' . ${"operator_of_w$i"} . " '" . ${"value_of_w$i"} . "'" ; |
$i++; |
} |
$order = ($order_by != '') ? "$order_by" : 'username'; |
if (preg_match("/[\s;]/",$order)) |
die("ORDER BY pattern is illegal. Exiting abnornally."); |
if (!is_numeric($maxresults)) |
die("Max Results is not in numeric form. Exiting abnormally."); |
unset($query_view); |
foreach ($accounting_show_attrs as $val) |
$query_view .= $val . ','; |
$query_view = ereg_replace(',$','',$query_view); |
unset($sql_extra_query); |
if ($config[sql_accounting_extra_query] != '') |
$sql_extra_query = xlat($config[sql_accounting_extra_query],$login,$config); |
$sql_extra_query = da_sql_escape_string($sql_extra_query); |
$query="SELECT " . da_sql_limit($maxresults,0,$config) . " $query_view FROM $config[sql_accounting_table] |
$where $sql_extra_query " . da_sql_limit($maxresults,1,$config) . |
" ORDER BY $order " . da_sql_limit($maxresults,2,$config) . ";"; |
echo <<<EOM |
<table border="0" width="100%" cellpadding="1" cellspacing="1"> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<p> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<tr bgcolor="#d0ddb0"> |
</tr> |
EOM; |
foreach($accounting_show_attrs as $val){ |
$desc = $sql_attrs[$val][desc]; |
echo "<th>$desc</th>\n"; |
} |
echo "</tr>\n"; |
$search = @da_sql_query($link,$config,$query); |
if ($search){ |
while( $row = @da_sql_fetch_array($search,$config) ){ |
$num++; |
echo "<tr align=center>\n"; |
foreach($accounting_show_attrs as $val){ |
$info = $row[$val]; |
if ($info == '') |
$info = '-'; |
$info = $sql_attrs[$val][func]($info); |
if ($val == 'username'){ |
$Info = urlencode($info); |
$info = "<a href=\"user_admin.php?login=$Info\" title=\"Edit user $info\">$info<a/>"; |
} |
echo <<<EOM |
<td>$info</td> |
EOM; |
} |
echo "</tr>\n"; |
} |
} |
else |
echo "<b>Database query failed: " . da_sql_error($link,$config) . "</b><br>\n"; |
echo <<<EOM |
</table> |
</td></tr> |
</table> |
</td></tr> |
</table> |
</body> |
</html> |
EOM; |
} |
?> |
/web/acc/manager/htdocs/user_stats.php |
---|
0,0 → 1,234 |
<?php |
require('/etc/freeradius-web/config.php'); |
require('../lib/functions.php'); |
require('../lib/sql/nas_list.php'); |
require_once('../lib/xlat.php'); |
?> |
<html> |
<?php |
if (is_file("../lib/sql/drivers/$config[sql_type]/functions.php")) |
include_once("../lib/sql/drivers/$config[sql_type]/functions.php"); |
else{ |
echo <<<EOM |
<title>Statistiques utilisateurs</title> |
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]"> |
<link rel="stylesheet" href="style.css"> |
</head> |
<body> |
<center> |
<b>Could not include SQL library functions. Aborting</b> |
</body> |
</html> |
EOM; |
exit(); |
} |
if ($start == '' && $stop == ''){ |
$now = time(); |
$stop = date($config[sql_date_format],$now); |
$now -= 604800; |
$start = date($config[sql_date_format],$now); |
} |
$start = da_sql_escape_string($start); |
$stop = da_sql_escape_string($stop); |
$pagesize = ($pagesize) ? $pagesize : 10; |
if (!is_numeric($pagesize) && $pagesize != 'all') |
$pagezise = 10; |
if ($pagesize > 100) |
$pagesize = 100; |
$limit = ($pagesize == 'all') ? '100' : "$pagesize"; |
$selected[$pagesize] = 'selected'; |
$order = ($order) ? $order : $config[general_accounting_info_order]; |
if ($order != 'desc' && $order != 'asc') |
$order = 'desc'; |
if ($sortby != '') |
$order_attr = ($sortby == 'num') ? 'connnum' : 'conntotduration'; |
else |
$order_attr = 'connnum'; |
if ($server != '' && $server != 'all'){ |
$server = da_sql_escape_string($server); |
$server_str = "AND nasipaddress = '$server'"; |
} |
$login_str = ($login) ? "AND username = '$login' " : ''; |
$selected[$order] = 'selected'; |
$selected[$sortby] = 'selected'; |
$sql_extra_query = ''; |
if ($config[sql_accounting_extra_query] != ''){ |
$sql_extra_query = xlat($config[sql_accounting_extra_query],$login,$config); |
$sql_extra_query = da_sql_escape_string($sql_extra_query); |
} |
unset($da_name_cache); |
if (isset($_SESSION['da_name_cache'])) |
$da_name_cache = $_SESSION['da_name_cache']; |
?> |
<head> |
<title>Statistiques utilisateurs</title> |
<link rel="stylesheet" href="style.css"> |
</head> |
<body> |
<center> |
<table border=0 width=550 cellpadding=0 cellspacing=0> |
<tr valign=top> |
<!--<td align=center><img src="images/title2.gif"></td>--> |
</tr> |
</table> |
<table border=0 width=400 cellpadding=0 cellspacing=2> |
</table> |
<br> |
<table border=0 width=840 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=65%></td> |
<td bgcolor="black" width=35%> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th> |
<font color="white">Statistiques utilisateurs</font> |
</th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<?php |
echo <<<EOM |
De <b>$start</b> à <b>$stop</b> |
EOM; |
?> |
<p> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<tr bgcolor="#d0ddb0"> |
<th>#</th><th>Identifiant</th><th>Date</th><th>Serveur</th><th>Nombres de connections</th><th>Durée des connections</th><th>Upload</th><th>Download</th> |
</tr> |
<?php |
$link = @da_sql_pconnect($config); |
if ($link){ |
$search = @da_sql_query($link,$config, |
"SELECT " . da_sql_limit($limit,0,$config) . " * FROM $config[sql_total_accounting_table] |
WHERE acctdate >= '$start' AND acctdate <= '$stop' $server_str $login_str $sql_extra_query " . da_sql_limit($limit,1,$config) |
. " ORDER BY $order_attr $order " . da_sql_limit($limit,2,$config) . " ;"); |
if ($search){ |
while( $row = @da_sql_fetch_array($search,$config) ){ |
$num++; |
$acct_login = $row[username]; |
if ($acct_login == '') |
$acct_login = '-'; |
else{ |
$Acct_login = urlencode($acct_login); |
$acct_login = "<a href=\"user_admin.php?login=$Acct_login\" title=\"Editer l'utilisateur $acct_login\">$acct_login</a>"; |
} |
$acct_time = $row[conntotduration]; |
$acct_time = time2str($acct_time); |
$acct_conn_num = $row[connnum]; |
$acct_date = $row[acctdate]; |
$acct_upload = $row[inputoctets]; |
$acct_download = $row[outputoctets]; |
$acct_upload = bytes2str($acct_upload); |
$acct_download = bytes2str($acct_download); |
$acct_server = $da_name_cache[$row[nasipaddress]]; |
if (!isset($acct_server)){ |
$acct_server = @gethostbyaddr($row[nasipaddress]); |
if (!isset($da_name_cache) && $config[general_use_session] == 'yes'){ |
$da_name_cache[$row[nasipaddress]] = $acct_server; |
session_register('da_name_cache'); |
} |
else |
$da_name_cache[$row[nasipaddress]] = $acct_server; |
} |
if ($acct_server == '') |
$acct_server = '-'; |
echo <<<EOM |
<tr align=center bgcolor="white"> |
<td>$num</td> |
<td>$acct_login</td> |
<td>$acct_date</td> |
<td>$acct_server</td> |
<td>$acct_conn_num</td> |
<td>$acct_time</td> |
<td>$acct_upload</td> |
<td>$acct_download</td> |
</tr> |
EOM; |
} |
} |
} |
echo <<<EOM |
</table> |
<tr><td> |
<hr> |
<tr><td align="left"> |
<form action="user_stats.php" method="post" name="master"> |
<table border=0> |
<tr valign="bottom"> |
<td><small><b>date début</td><td><small><b>date fin</td><td><small><b>nbr./page</td><td><small><b>trié par</td><td><small><b>classé par ordre </td> |
<tr valign="middle"><td> |
<input type="hidden" name="show" value="0"> |
<input type="text" name="start" size="11" value="$start"></td> |
<td><input type="text" name="stop" size="11" value="$stop"></td> |
<td><select name="pagesize"> |
<option $selected[5] value="5" >05 |
<option $selected[10] value="10">10 |
<option $selected[15] value="15">15 |
<option $selected[20] value="20">20 |
<option $selected[40] value="40">40 |
<option $selected[80] value="80">80 |
<option $selected[all] value="all">tous |
</select> |
</td> |
<td> |
<select name="sortby"> |
<option $selected[num] value="num">Nombre de connexions |
<option $selected[time] value="time">Durée des connexions |
</select> |
</td> |
<td><select name="order"> |
<option $selected[asc] value="asc">croissant |
<option $selected[desc] value="desc">décroissant |
</select> |
</td> |
EOM; |
?> |
<td><input type="submit" class=button value="show"></td></tr> |
<tr><td> |
<b>Sur le serveur d'accès :</b> |
</td> |
<td><b>Utilisateur</b></td></tr> |
<tr><td> |
<select name="server"> |
<?php |
foreach ($nas_list as $nas){ |
$name = $nas[name]; |
if ($nas[ip] == '') |
continue; |
$servers[$name] = $nas[ip]; |
} |
ksort($servers); |
foreach ($servers as $name => $ip){ |
if ($server == $ip) |
echo "<option selected value=\"$ip\">$name\n"; |
else |
echo "<option value=\"$ip\">$name\n"; |
} |
if ($server == '' || $server == 'all') |
echo "<option selected value=\"all\">tous\n"; |
else |
echo "<option value=\"all\">tous\n"; |
?> |
</select> |
</td> |
<td><input type="text" name="login" size="11" value="<?php echo $login ?>"></td> |
</tr> |
</table></td></tr></form> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/web/acc/manager/htdocs/clear_opensessions.php |
---|
0,0 → 1,193 |
<?php |
require('/etc/freeradius-web/config.php'); |
require_once('../lib/xlat.php'); |
if (is_file("../lib/sql/drivers/$config[sql_type]/functions.php")) |
include_once("../lib/sql/drivers/$config[sql_type]/functions.php"); |
else{ |
echo <<<EOM |
<title>Fermeture des sessions ouvertes pour l'utilisateur $login</title> |
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]"> |
<link rel="stylesheet" href="style.css"> |
</head> |
<body> |
<center> |
<b>Could not include SQL library functions. Aborting</b> |
</body> |
</html> |
EOM; |
exit(); |
} |
echo <<<EOM |
<html> |
<head> |
<title>Fermeture des sessions ouvertes pour l'usager : $login</title> |
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]"> |
<link rel="stylesheet" href="/css/style.css"> |
</head> |
<body> |
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0"> |
<tr><th>Gestion des usagers</th></tr> |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" |
height="2"></td></tr> |
</TABLE> |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=1> |
<tr bgcolor="#666666"><td> |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=2> |
<tr><td valign="middle" align="left"> |
<center> |
<table border=0 width=550 cellpadding=0 cellspacing=0> |
<tr valign=top> |
<!--<td align=center><img src="images/title2.gif"></td>--> |
</tr> |
</table> |
<table border=0 width=400 cellpadding=0 cellspacing=2> |
EOM; |
include("../html/user_toolbar.html.php"); |
$open_sessions = 0; |
$sql_extra_query = ''; |
if ($config[sql_accounting_extra_query] != ''){ |
$sql_extra_query = xlat($config[sql_accounting_extra_query],$login,$config); |
$sql_extra_query = da_sql_escape_string($sql_extra_query); |
} |
print <<<EOM |
</table> |
<br> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=200> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th> |
<font color="white">Fermeture des sessions ouvertes pour l'usager : $login</font> |
</th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
EOM; |
if ($drop_conns == 1){ |
$method = 'snmp'; |
$nastype = 'cisco'; |
if ($config[general_sessionclear_method] != '') |
$method = $config[general_sessionclear_method]; |
if ($config[general_nas_type] != '') |
$nastype = $config[general_nas_type]; |
if ($config[general_ld_library_path] != '') |
putenv("LD_LIBRARY_PATH=$config[general_ld_library_path]"); |
$nas_by_ip = array(); |
$meth_by_ip = array(); |
$nastype_by_ip = array(); |
foreach ($nas_list as $nas){ |
if ($nas[ip] != ''){ |
$ip = $nas[ip]; |
$nas_by_ip[$ip] = $nas[community]; |
$meth_by_ip[$ip] = $nas[sessionclear_method]; |
$nastype_by_ip[$ip] = $nas[nas_type]; |
} |
} |
$link = @da_sql_pconnect($config); |
if ($link){ |
$search = @da_sql_query($link,$config, |
"SELECT nasipaddress,acctsessionid FROM $config[sql_accounting_table] |
WHERE username = '$login' AND acctstoptime IS NULL;"); |
if ($search){ |
while($row = @da_sql_fetch_array($search,$config)){ |
$sessionid = $row[acctsessionid]; |
$sessionid = hexdec($sessionid); |
$nas = $row[nasipaddress]; |
$port = $row[nasportid]; |
$meth = $meth_by_ip[$nas]; |
$nastype = ($nastype_by_ip[$nas] != '') ? $nastype_by_ip[$nas] : $nastype; |
$comm = $nas_by_ip[$nas]; |
if ($meth == '') |
$meth = $method; |
if ($meth == 'snmp' && $comm != '') |
exec("$config[general_sessionclear_bin] $nas snmp $nastype $login $sessionid $comm"); |
if ($meth == 'telnet') |
exec("$config[general_sessionclear_bin] $nas telnet $nastype $login $sessionid $port"); |
} |
} |
else |
echo "<b>Database query failed: " . da_sql_error($link,$config) . "</b><br>\n"; |
} |
else |
echo "<b>Could not connect to SQL database</b><br>\n"; |
} |
if ($clear_sessions == 1) |
{ |
exec ("sudo /usr/local/sbin/alcasar-logout.sh $login"); |
$sql_servers = array(); |
if ($config[sql_extra_servers] != '') |
$sql_servers = explode(' ',$config[sql_extra_servers]); |
$quer = '= 0'; |
if ($config[sql_type] == 'pg') |
$quer = 'IS NULL'; |
$sql_servers[] = $config[sql_server]; |
foreach ($sql_servers as $server) |
{ |
$link = @da_sql_host_connect($server,$config); |
if ($link) |
{ |
$res = @da_sql_query($link,$config, |
"DELETE FROM $config[sql_accounting_table] |
WHERE username='$login' AND acctstoptime $quer $sql_extra_query;"); |
if ($res) |
echo "<b>La comptabilité des sessions pour cet usager a été arrétée</b><br>\n"; |
else |
echo "<b>Error deleting open sessions for user" . da_sql_error($link,$config) . "</b><br>\n"; |
} |
else |
echo "<b>Could not connect to SQL database</b><br>\n"; |
} |
} |
$link = @da_sql_pconnect($config); |
if ($link){ |
$search = @da_sql_query($link,$config, |
"SELECT COUNT(*) AS counter FROM $config[sql_accounting_table] |
WHERE username = '$login' AND acctstoptime IS NULL $sql_extra_query;"); |
if ($search){ |
if ($row = @da_sql_fetch_array($search,$config)) |
$open_sessions = $row[counter]; |
} |
else |
echo "<b>Database query failed: " . da_sql_error($link,$config) . "</b><br>\n"; |
} |
else |
echo "<b>Could not connect to SQL database</b><br>\n"; |
?> |
<form method=post> |
<input type=hidden name=login value=<?php print $login ?>> |
<input type=hidden name=clear_sessions value="0"> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<tr> |
<td align=center> |
<? |
if ($open_sessions == 0) |
{ |
echo "L'usager $login n'a pas de session ouverte"; |
} |
else { |
echo "L'usager $login a <i>$open_sessions</i> session(s) ouverte(s)<br><br>"; |
echo "Êtes-vous certain de vouloir "; |
if ($open_sessions == 1) { echo "la"; } else {echo "les"; } |
echo " fermer ? "; |
echo "<input type=submit class=button value=\"Oui, Fermer\" OnClick=\"this.form.clear_sessions.value=1\">"; |
} |
?> |
</form> |
</td></tr></table> |
<!--<input type=submit class=button value="Oui, poubelliser les connexions" OnClick="this.form.drop_conns.value=1">--> |
</td></tr></table> |
</TD></TR></TABLE> |
</body> |
</html> |
/web/acc/manager/htdocs/stats.php |
---|
0,0 → 1,186 |
<?php |
require('/etc/freeradius-web/config.php'); |
require('../lib/sql/nas_list.php'); |
require_once('../lib/xlat.php'); |
?> |
<html> |
<head> |
<title>Analyse des comptes</title> |
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config[general_charset]?>"> |
<link rel="stylesheet" href="style.css"> |
</head> |
<body> |
<center> |
<?php |
require_once('../lib/functions.php'); |
if (is_file("../lib/sql/drivers/$config[sql_type]/functions.php")) |
include_once("../lib/sql/drivers/$config[sql_type]/functions.php"); |
else{ |
echo <<<EOM |
<b>Could not include SQL library functions. Aborting</b> |
</body> |
</html> |
EOM; |
exit(); |
} |
$stats_num = array(); |
$date = strftime('%A, %e %B %Y, %T %Z'); |
$now = time(); |
if ($before == '') |
$before = date($config[sql_date_format], $now + 86400); |
$after = ($after != '') ? "$after" : date($config[sql_date_format], $now - 604800 ); |
$after_time = date2time($after); |
$before_time = date2time($before); |
$days[0] = $after; |
$counter = $after_time + 86400; |
$i = 1; |
while($counter < $before_time){ |
$days[$i++] = date($config[sql_date_format],$counter); |
$counter += 86400; |
} |
$days[$i] = $before; |
$num_days = $i; |
$column1 = ($column1 != '') ? "$column1" : 'sessions'; |
$column2 = ($column2 != '') ? "$column2" : 'usage'; |
$column3 = ($column3 != '') ? "$column3" : 'download'; |
$column[1] = "$column1"; |
$column[2] = "$column2"; |
$column[3] = "$column3"; |
$selected1["$column1"] = 'selected'; |
$selected2["$column2"] = 'selected'; |
$selected3["$column3"] = 'selected'; |
$message['sessions'] = 'sessions'; |
$message['usage'] = 'total usage time'; |
$message['usage'] = 'temps d\'utilisation total '; |
$message['upload'] = 'uploads'; |
$message['download'] = 'downloads'; |
if ($config[general_stats_use_totacct] == 'yes'){ |
$sql_val['sessions'] = 'connnum'; |
$sql_val['usage'] = 'conntotduration'; |
$sql_val['upload'] = 'inputoctets'; |
$sql_val['download'] = 'outputoctets'; |
} |
else{ |
$sql_val['usage'] = 'acctsessiontime'; |
$sql_val['upload'] = 'acctinputoctets'; |
$sql_val['download'] = 'acctoutputoctets'; |
} |
$fun['sessions'] = nothing; |
$fun['usage'] = time2strclock; |
$fun['upload'] = bytes2str; |
$fun['download'] = bytes2str; |
$sql_val['user'] = ($login == '') ? "WHERE username LIKE '%'" : "WHERE username = '$login'"; |
for ($j = 1; $j <= 3; $j++){ |
$tmp = "{$sql_val[$column[$j]]}"; |
$res[$j] = ($tmp == "") ? "COUNT(radacctid) AS res_$j" : "sum($tmp) AS res_$j"; |
} |
$i = 1; |
$servers[all] = 'all'; |
foreach ($nas_list as $nas){ |
$name = $nas[name]; |
if ($nas[ip] == '') |
continue; |
$servers[$name] = $nas[ip]; |
$i++; |
} |
ksort($servers); |
if ($server != 'all' && $server != ''){ |
$server = da_sql_escape_string($server); |
$s = "AND nasipaddress = '$server'"; |
} |
$sql_extra_query = ''; |
if ($config[sql_accounting_extra_query] != '') |
$sql_extra_query = xlat($config[sql_accounting_extra_query],$login,$config); |
$link = @da_sql_pconnect($config); |
if ($link){ |
for ($i = $num_days;$i > -1; $i--){ |
$day = "$days[$i]"; |
if ($config[general_stats_use_totacct] == 'yes') |
$search = @da_sql_query($link,$config, |
"SELECT $res[1],$res[2],$res[3] FROM $config[sql_total_accounting_table] |
$sql_val[user] AND acctdate = '$day' $s $sql_extra_query;"); |
else |
$search = @da_sql_query($link,$config, |
"SELECT $res[1],$res[2],$res[3] FROM $config[sql_accounting_table] |
$sql_val[user] AND acctstoptime >= '$day 00:00:00' |
AND acctstoptime <= '$day 23:59:59' $s $sql_extra_query;"); |
if ($search){ |
$row = @da_sql_fetch_array($search,$config); |
$data[$day][1] = $row[res_1]; |
$data[sum][1] += $row[res_1]; |
$stats_num[1] = ($data[$day][1]) ? $stats_num[1] + 1 : $stats_num[1]; |
$data[$day][2] = $row[res_2]; |
$data[sum][2] += $row[res_2]; |
$stats_num[2] = ($data[$day][2]) ? $stats_num[2] + 1 : $stats_num[2]; |
$data[$day][3] = $row[res_3]; |
$data[sum][3] += $row[res_3]; |
$stats_num[3] = ($data[$day][3]) ? $stats_num[3] + 1 : $stats_num[3]; |
} |
else |
echo "<b>Database query failed: " . da_sql_error($link,$config) . "</b><br>\n"; |
} |
} |
else |
echo "<b>Could not connect to SQL database</b><br>\n"; |
$stats_num[1] = ($stats_num[1]) ? $stats_num[1] : 1; |
$stats_num[2] = ($stats_num[2]) ? $stats_num[2] : 1; |
$stats_num[3] = ($stats_num[3]) ? $stats_num[3] : 1; |
$data['avg'][1] = ceil($data['sum'][1] / $stats_num[1]); |
$data['avg'][2] = ceil($data['sum'][2] / $stats_num[2]); |
$data['avg'][3] = ceil($data['sum'][3] / $stats_num[3]); |
$data['avg'][1] = $fun[$column[1]]($data['avg'][1]); |
$data['avg'][2] = $fun[$column[2]]($data['avg'][2]); |
$data['avg'][3] = $fun[$column[3]]($data['avg'][3]); |
$data['sum'][1] = $fun[$column[1]]($data['sum'][1]); |
$data['sum'][2] = $fun[$column[2]]($data['sum'][2]); |
$data['sum'][3] = $fun[$column[3]]($data['sum'][3]); |
for ($i = 0; $i <= $num_days; $i++){ |
$day = "$days[$i]"; |
$max[1] = ($max[1] > $data[$day][1] ) ? $max[1] : $data[$day][1]; |
$max[2] = ($max[2] > $data[$day][2] ) ? $max[2] : $data[$day][2]; |
$max[3] = ($max[3] > $data[$day][3] ) ? $max[3] : $data[$day][3]; |
} |
for ($i = 0; $i <= $num_days; $i++){ |
$day = "$days[$i]"; |
for ($j = 1; $j <= 3; $j++){ |
$tmp = $data[$day][$j]; |
if (!$max[$j]) |
$p = $w = $c = 0; |
else{ |
$p = floor(100 * ($tmp / $max[$j])); |
$w = floor(70 * ($tmp / $max[$j])); |
$c = hexdec('f0e9e2') - (258 * $p); |
$c = dechex($c); |
} |
if (!$w) |
$w++; |
$perc[$day][$j] = $p . "%"; |
$width[$day][$j] = $w; |
$color[$day][$j] = $c; |
} |
$data[$day][1] = $fun[$column[1]]($data[$day][1]); |
$data[$day][2] = $fun[$column[2]]($data[$day][2]); |
$data[$day][3] = $fun[$column[3]]($data[$day][3]); |
} |
$data[max][1] = $fun[$column[1]]($max[1]); |
$data[max][2] = $fun[$column[2]]($max[2]); |
$data[max][3] = $fun[$column[3]]($max[3]); |
require('../html/stats.html.php'); |
?> |
/web/acc/manager/htdocs/failed_logins.php |
---|
0,0 → 1,236 |
<?php |
require('/etc/freeradius-web/config.php'); |
require('../lib/attrshow.php'); |
require('../lib/sql/nas_list.php'); |
require_once('../lib/xlat.php'); |
?> |
<html> |
<?php |
if (is_file("../lib/sql/drivers/$config[sql_type]/functions.php")) |
include_once("../lib/sql/drivers/$config[sql_type]/functions.php"); |
else{ |
echo <<<EOM |
<title>Failed logins</title> |
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]"> |
<link rel="stylesheet" href="style.css"> |
</head> |
<body> |
<center> |
<b>Could not include SQL library functions. Aborting</b> |
</body> |
</html> |
EOM; |
exit(); |
} |
$now = time(); |
if (!isset($last)) |
$last = ($config[general_most_recent_fl]) ? $config[general_most_recent_fl] : 5; |
if (!is_numeric($last)) |
$last = 5; |
$start = $now - ($last*60); |
$now_str = date($config[sql_full_date_format],$now); |
$prev_str = date($config[sql_full_date_format],$start); |
$now_str = da_sql_escape_string($now_str); |
$prev_str = da_sql_escape_string($prev_str); |
$pagesize = ($pagesize) ? $pagesize : 10; |
if (!is_numeric($pagesize) && $pagesize != 'all') |
$pagesize = 10; |
$limit = ($pagesize == 'all') ? '' : "$pagesize"; |
$selected[$pagesize] = 'selected'; |
$order = ($order != '') ? $order : $config[general_accounting_info_order]; |
if ($order != 'desc' && $order != 'asc') |
$order = 'desc'; |
$selected[$order] = 'selected'; |
if ($callerid != ''){ |
$callerid = da_sql_escape_string($callerid); |
$callerid_str = "AND callingstationid = '$callerid'"; |
} |
if ($server != '' && $server != 'all'){ |
$server = da_sql_escape_string($server); |
$server_str = "AND nasipaddress = '$server'"; |
} |
unset($da_name_cache); |
if (isset($_SESSION['da_name_cache'])) |
$da_name_cache = $_SESSION['da_name_cache']; |
?> |
<head> |
<title>Authentifications manquées</title> |
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config[general_charset]?>"> |
<link rel="stylesheet" href="style.css"> |
</head> |
<body> |
<center> |
<table border=0 width=550 cellpadding=0 cellspacing=0> |
<tr valign=top> |
<!--<td align=center><img src="images/title2.gif"></td>--> |
</tr> |
</table> |
<table border=0 width=400 cellpadding=0 cellspacing=2> |
</table> |
<br> |
<table border=0 width=840 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=65%></td> |
<td bgcolor="black" width=35%> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th> |
<font color="white">Authentificatins manquées</font> |
</th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<?php |
echo <<<EOM |
<b>$prev_str</b> up to <b>$now_str</b> |
EOM; |
?> |
<p> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<tr bgcolor="#d0ddb0"> |
<th>#</th><th>login</th> |
<?php |
if ($acct_attrs['fl'][2] != '') echo "<th>" . $acct_attrs['fl'][2] . "</th>\n"; |
if ($acct_attrs['fl'][7] != '') echo "<th>" . $acct_attrs['fl'][7] . "</th>\n"; |
if ($acct_attrs['fl'][8] != '') echo "<th>" . $acct_attrs['fl'][8] . "</th>\n"; |
if ($acct_attrs['fl'][9] != '') echo "<th>" . $acct_attrs['fl'][9] . "</th>\n"; |
unset($sql_extra_query); |
if ($config[sql_accounting_extra_query] != ''){ |
$sql_extra_query = xlat($config[sql_accounting_extra_query],$login,$config); |
$sql_extra_query = da_sql_escape_string($sql_extra_query); |
} |
?> |
</tr> |
<?php |
$link = @da_sql_pconnect($config); |
if ($link){ |
$search = @da_sql_query($link,$config, |
"SELECT " . da_sql_limit($limit,0,$config) . " acctstoptime,username,nasipaddress,nasportid,acctterminatecause,callingstationid |
FROM $config[sql_accounting_table] |
WHERE acctstoptime <= '$now_str' AND acctstoptime >= '$prev_str' |
AND (acctterminatecause LIKE 'Login-Incorrect%' OR |
acctterminatecause LIKE 'Invalid-User%' OR |
acctterminatecause LIKE 'Multiple-Logins%') $callerid_str $server_str $sql_extra_query " . da_sql_limit($limit,1,$config) . |
" ORDER BY acctstoptime $order " . da_sql_limit($limit,2,$config) . " ;"); |
if ($search){ |
while( $row = @da_sql_fetch_array($search,$config) ){ |
$num++; |
$acct_login = $row[username]; |
if ($acct_login == '') |
$acct_login = '-'; |
else |
$acct_login = "<a href=\"user_admin.php?login=$acct_login\" title=\"Editer l'utilisateur $acct_login\">$acct_login</a>"; |
$acct_time = $row[acctstoptime]; |
$acct_server = $row[nasipaddress]; |
if ($acct_server != ''){ |
$acct_server = $da_name_cache[$acct_server]; |
if (!isset($acct_server)){ |
$acct_server = $row[nasipaddress]; |
$acct_server = @gethostbyaddr($acct_server); |
if (!isset($da_name_cache) && $config[general_use_session] == 'yes'){ |
$da_name_cache[$row[nasipaddress]] = $acct_server; |
session_register('da_name_cache'); |
} |
else |
$da_name_cache[$row[nasipaddress]] = $acct_server; |
} |
} |
else |
$acct_server = '-'; |
$acct_server = "$acct_server:$row[nasportid]"; |
$acct_terminate_cause = "$row[acctterminatecause]"; |
if ($acct_terminate_cause == '') |
$acct_terminate_cause = '-'; |
$acct_callerid = "$row[callingstationid]"; |
if ($acct_callerid == '') |
$acct_callerid = '-'; |
echo <<<EOM |
<tr align=center bgcolor="white"> |
<td>$num</td> |
<td>$acct_login</td> |
EOM; |
if ($acct_attrs['fl'][2] != '') echo "<td>$acct_time</td>\n"; |
if ($acct_attrs['fl'][2] != '') echo "<td>$acct_server</td>\n"; |
if ($acct_attrs['fl'][2] != '') echo "<td>$acct_terminate_cause</td>\n"; |
if ($acct_attrs['fl'][2] != '') echo "<td>$acct_callerid</td>\n"; |
echo "</tr>\n"; |
} |
} |
else |
echo "<b>Database query failed: " . da_sql_error($link,$config) . "</b><br>\n"; |
} |
else |
echo "<b>Could not connect to SQL database</b><br>\n"; |
echo <<<EOM |
</table> |
<tr><td> |
<hr> |
<tr><td align="left"> |
<form action="failed_logins.php" method="get" name="master"> |
<table border=0> |
<tr valign="bottom"> |
<td><small><b>time back (mins)</td><td><small><b>pagesize</td><td><small><b>caller id</td><td><b>order</td> |
<tr valign="middle"><td> |
<input type="text" name="last" size="11" value="$last"></td> |
<td><select name="pagesize"> |
<option $selected[5] value="5" >05 |
<option $selected[10] value="10">10 |
<option $selected[15] value="15">15 |
<option $selected[20] value="20">20 |
<option $selected[40] value="40">40 |
<option $selected[80] value="80">80 |
<option $selected[all] value="all">all |
</select> |
</td> |
<td> |
<input type="text" name="callerid" size="11" value="$callerid"></td> |
<td><select name="order"> |
<option $selected[asc] value="asc">older first |
<option $selected[desc] value="desc">recent first |
</select> |
</td> |
EOM; |
?> |
<td><input type="submit" class=button value="show"></td></tr> |
<tr><td> |
<b>Sur le serveur d'acc&eagrave; :</b> |
</td></tr><tr><td> |
<select name="server"> |
<?php |
foreach ($nas_list as $nas){ |
$name = $nas[name]; |
if ($nas[ip] == '') |
continue; |
$servers[$name] = $nas[ip]; |
} |
ksort($servers); |
foreach ($servers as $name => $ip){ |
if ($server == $ip) |
echo "<option selected value=\"$ip\">$name\n"; |
else |
echo "<option value=\"$ip\">$name\n"; |
} |
if ($server == '' || $server == 'all') |
echo "<option selected value=\"all\">all\n"; |
else |
echo "<option value=\"all\">all\n"; |
?> |
</select> |
</td></tr> |
</table></td></tr></form> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/web/acc/manager/htdocs/user_delete.php |
---|
0,0 → 1,131 |
<?php |
require('/etc/freeradius-web/config.php'); |
if ($type != 'group') |
if (is_file("../lib/$config[general_lib_type]/user_info.php")) |
include("../lib/$config[general_lib_type]/user_info.php"); |
else |
if (is_file("../lib/$config[general_lib_type]/group_info.php")) |
include("../lib/$config[general_lib_type]/group_info.php"); |
$whatis = ($user_type == 'group') ? 'le groupe' : 'l\'usager'; |
$whatisL = ($user_type == 'group') ? 'de groupe' : 'd\'usager'; |
echo <<<EOM |
<html> |
<head> |
EOM; |
if ($user_type != 'group'){ |
echo "<title>delete user $login ($cn)</title>\n"; |
$util = "usagers";} |
else{ |
echo "<title>delete group $login</title>\n"; |
$util = "groupes";} |
echo <<<EOM |
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]"> |
<link rel="stylesheet" href="/css/style.css"> |
</head> |
<body> |
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0"> |
<tr><th>Gestion des $util</th></tr> |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" |
height="2"></td></tr> |
</TABLE> |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=1> |
<tr bgcolor="#666666"><td> |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=2> |
<tr><td valign="middle" align="left"> |
<center> |
<table border=0 width=550 cellpadding=0 cellspacing=0> |
<tr valign=top> |
<!--<td align=center><img src="images/title2.gif"></td>--> |
</tr> |
</table> |
<table border=0 width=400 cellpadding=0 cellspacing=2> |
EOM; |
if ($user_type != 'group') |
include("../html/user_toolbar.html.php"); |
else |
include("../html/group_toolbar.html.php"); |
print <<<EOM |
</table> |
<br> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=200> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th> |
<font color="white">Suppression $whatisL</font> |
</th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
EOM; |
if ($delete_user == 1){ |
if ($user_type != 'group'){ |
if (is_file("../lib/$config[general_lib_type]/delete_user.php")) |
include("../lib/$config[general_lib_type]/delete_user.php"); |
} |
else{ |
if ($delete_users_of_group == 1){ |
unset($group_members); |
$tmp_group_name=$login; |
if (is_file("../lib/$config[general_lib_type]/group_info.php")){ |
include("../lib/$config[general_lib_type]/group_info.php"); |
} |
foreach ($group_members as $member){ |
$login=$member; |
if (is_file("../lib/$config[general_lib_type]/delete_user.php")) |
include("../lib/$config[general_lib_type]/delete_user.php"); |
} |
$login=$tmp_group_name; |
} |
if (is_file("../lib/$config[general_lib_type]/delete_group.php")) |
include("../lib/$config[general_lib_type]/delete_group.php"); |
} |
echo <<<EOM |
</td></tr> |
</table> |
</tr> |
</table> |
</body> |
</html> |
EOM; |
exit(); |
} |
?> |
<form method=post> |
<input type=hidden name=login value=<?php print $login ?>> |
<input type=hidden name=delete_user value="0"> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<tr> |
<td align=center> |
<?php |
if ($user_type == 'group'){ |
echo "Suppression automatique des membres du groupe : "; |
echo "<input type=checkbox name=delete_users_of_group value=\"1\">"; |
} |
echo "<br>"; |
echo "Etes-vous certain de vouloir supprimer $whatis $login ? "; |
?> |
<input type=submit class=button value="Oui supprimer" OnClick="this.form.delete_user.value=1"> |
</form> |
</td></tr></table></td></tr> |
</table> |
</tr> |
</table> |
</TD></TR> |
</TABLE> |
</td></tr> |
</TABLE> |
</body> |
</html> |
/web/acc/manager/htdocs/style.css |
---|
0,0 → 1,38 |
td {font-family:verdana,sans-serif;text-decoration:none;font-size:11px} |
th {font-family:verdana,sans-serif;text-decoration:none;font-size:11px} |
A {FONT-FAMILY: verdana,sans-serif; FONT-SIZE: 11px; TEXT-DECORATION: none} |
H1 {FONT-FAMILY: lucida,sans-serif; FONT-SIZE: 24px; TEXT-DECORATION: none} |
INPUT{ |
BACKGROUND-COLOR: #EEEEEE; |
BORDER-BOTTOM: #3333CC 1px solid; |
BORDER-LEFT: #3333CC 1px solid; |
BORDER-RIGHT: #3333CC 1px solid; |
BORDER-TOP: #3333CC 1px solid; |
COLOR: #000000; |
FONT-FAMILY: Verdana |
} |
INPUT.button{ |
BACKGROUND-COLOR: #999999; |
BORDER-BOTTOM: #3333CC 1px solid; |
BORDER-LEFT: #3333CC 1px solid; |
BORDER-RIGHT: #3333CC 1px solid; |
BORDER-TOP: #3333CC 1px solid; |
COLOR: #000000; |
FONT-FAMILY: Verdana |
} |
body |
{ |
BACKGROUND-COLOR: #EFEFEF; |
} |
a:link { |
color: #000000; |
} |
a:visited { |
color:#000000; |
} |
a:hover { |
color:#000000; |
} |
a:active { |
color:#000000; |
} |
/web/acc/manager/htdocs/group_admin.php |
---|
0,0 → 1,141 |
<?php |
require('/etc/freeradius-web/config.php'); |
if ($show == 1 && isset($del_members)){ |
header("Location: user_admin.php?login=$del_members[0]"); |
exit; |
} |
if ($config[general_lib_type] != 'sql'){ |
echo <<<EOM |
<title>Page de gestion des groupes</title> |
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]"> |
<link rel="stylesheet" href="style.css"> |
</head> |
<body> |
<center> |
<b>This page is only available if you are using sql as general library type</b> |
</body> |
</html> |
EOM; |
exit(); |
} |
unset($group_members); |
if (is_file("../lib/$config[general_lib_type]/group_info.php")){ |
include("../lib/$config[general_lib_type]/group_info.php"); |
if ($group_exists == 'no'){ |
echo <<<EOM |
<title>Page de gestion des groupes</title> |
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]"> |
<link rel="stylesheet" href="style.css"> |
</head> |
<body> |
<center> |
<form action="group_admin.php" method=get> |
<b>Le groupe </b> |
<input type="text" size=10 name="login" value="$login"> |
<b> n'existe pas</b><br> |
<input type=submit class=button value="Show Group"> |
</body> |
</html> |
EOM; |
exit(); |
} |
} |
?> |
<html> |
<head> |
<title>Page de gestion des groupes</title> |
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config[general_charset]?>"> |
<link rel="stylesheet" href="/css/style.css"> |
</head> |
<body> |
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0"> |
<tr><th>Gestion des groupes</th></tr> |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" |
height="2"></td></tr> |
</TABLE> |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=1> |
<tr bgcolor="#666666"><td> |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=2> |
<tr><td valign="middle" align="left"> |
<center> |
<table border=0 width=550 cellpadding=0 cellspacing=0> |
<tr valign=top> |
<!--<td align=center><img src="images/title2.gif"></td>--> |
</tr> |
</table> |
<table border=0 width=400 cellpadding=0 cellspacing=2> |
<?php |
include("../html/group_toolbar.html.php"); |
?> |
</table> |
<br> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=200> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th> |
<font color="white">Gestion du groupe <?php echo $login ?></font> |
</th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<?php |
if ($do_changes == 1){ |
if (is_file("../lib/$config[general_lib_type]/group_admin.php")) |
include("../lib/$config[general_lib_type]/group_admin.php"); |
if (is_file("../lib/$config[general_lib_type]/group_info.php")) |
include("../lib/$config[general_lib_type]/group_info.php"); |
} |
?> |
<form method=post> |
<input type=hidden name=login value=<?php echo $login ?>> |
<input type=hidden name=do_changes value=0> |
<input type=hidden name=show value=0> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<tr> |
<td align=right bgcolor="#d0ddb0"> |
<b>Membre(s) à effacer</b><br> (les membres sélectionnés seront effacés du groupe<br>utilisez 'shift' ou 'Ctrl' pour une sélection multiple) |
</td> |
<td> |
<select name=del_members[] multiple size=5> |
<?php |
foreach ($group_members as $member){ |
echo "<option value=\"$member\">$member\n"; |
} |
?> |
</select> |
</td> |
</tr> |
<tr> |
<td align=right bgcolor="#d0ddb0"> |
<b>Membre(s) à ajouter</b><br>(séparez les membres par un espace ou un 'retour chariot') |
</td> |
<td> |
<textarea name=new_members cols="15" wrap="PHYSICAL" rows=5></textarea> |
</td> |
</tr> |
</table> |
<br> |
<input type=submit class=button value="Effectuer les changements" OnClick="this.form.do_changes.value=1"> |
<br><br> |
<input type=submit class=button value="Gérer l'utilisateur sélectionné" OnClick="this.form.show.value=1"> |
</form> |
</td></tr> |
</table> |
</tr> |
</table> |
</TD></TR> |
</TABLE> |
</td></tr> |
</TABLE> |
</body> |
</html> |
/web/acc/manager/htdocs/group_new.php |
---|
0,0 → 1,252 |
<?php |
# Choice of language |
$Language = 'en'; |
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){ |
$Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']); |
$Language = strtolower(substr(chop($Langue[0]),0,2)); } |
if($Language == 'fr'){ |
$l_title = "Création d'un groupe"; |
$l_frame_top = "Gestion des groupes"; |
$l_frame = "Gestion des groupes"; |
$l_group_create = "Créer un groupe"; |
} |
else { |
$l_title = "Create a group"; |
$l_frame_top = "Groups admin"; |
$l_frame = "Groups admin"; |
$l_group_create = "Create a group"; |
} |
require('/etc/freeradius-web/config.php'); |
if ($show == 1){ |
header("Location: group_admin.php?login=$login"); |
exit; |
} |
if ($config[general_lib_type] != 'sql'){ |
echo <<<EOM |
<title>$l_title</title> |
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]"> |
<link rel="stylesheet" href="style.css"> |
</head> |
<body> |
<center> |
<b>This page is only available if you are using sql as general library type</b> |
</body> |
</html> |
EOM; |
exit(); |
} |
require('../lib/attrshow.php'); |
require('../lib/defaults.php'); |
require("../lib/$config[general_lib_type]/group_info.php"); |
if ($config[general_lib_type] == 'sql' && $config[sql_use_operators] == 'true'){ |
$colspan=2; |
$show_ops=1; |
}else{ |
$show_ops = 0; |
$colspan=1; |
} |
echo "<html><head><title>$l_title</title>"; |
?> |
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config[general_charset]?>"> |
<link rel="stylesheet" href="/css/style.css"> |
<script language="javascript" type="text/javascript"> |
function formControl(){ |
var myregex = /[\S]+/gi; //un ou plusieurs caractères non blanc" (tous les caractères sauf espace, retour chariot, tabulation, saut de ligne, saut de page). |
if (myregex.test(document.newgroup.login.value)){ |
document.newgroup.create.value=1; |
return true; |
} else { |
alert("Nom du groupe invalide.");//non internationnalisé |
return false; |
} |
} |
</script> |
</head> |
<body> |
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0"> |
<tr><th><? echo "$l_frame_top"; ?></th></tr> |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" |
height="2"></td></tr> |
</TABLE> |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=1> |
<tr bgcolor="#666666"><td> |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=2> |
<tr><td valign="middle" align="left"> |
<center> |
<table border=0 width=550 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=200> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th> |
<font color="white"><? echo "$l_group_create"; ?></font> |
</th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<?php |
if (is_file("../lib/$config[general_lib_type]/group_info.php")) |
include("../lib/$config[general_lib_type]/group_info.php"); |
if ($create == 1){ |
if ($group_exists != "no"){ |
echo <<<EOM |
<b>Le groupe <i>$login</i> existe déjà.</b> |
EOM; |
} |
else{ |
if (is_file("../lib/$config[general_lib_type]/create_group.php")) |
include("../lib/$config[general_lib_type]/create_group.php"); |
if (is_file("../lib/$config[general_lib_type]/group_info.php")) |
include("../lib/$config[general_lib_type]/group_info.php"); |
} |
} |
?> |
<form name="newgroup" method=post> |
<input type=hidden name=create value="0"> |
<input type=hidden name=show value="0"> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<?php |
echo <<<EOM |
<tr> |
<td align=right colspan=$colspan bgcolor="#d0ddb0"> |
Groupe(s) déjà créé(s) |
</td><td> |
EOM; |
if (!isset($existing_groups)) |
echo "<b>Aucun groupe déjà créé</b>\n"; |
else{ |
echo "<select name=\"existing_groups\">\n"; |
foreach ($existing_groups as $group => $count) |
echo "<option value=\"$group\">$group\n"; |
echo "</select>\n"; |
} |
echo <<<EOM |
</td> |
</tr> |
<tr> |
<td align=right colspan=$colspan bgcolor="#d0ddb0"> |
Nom du groupe |
</td><td> |
<input type=text name="login" value="$login" size=35> |
</td> |
</tr> |
<tr> |
<td align=right colspan=$colspan bgcolor="#d0ddb0"> |
Membres du groupe : séparés par un espace ou un 'retour chariot'. |
</td><td> |
<textarea name=members cols="15" wrap="PHYSICAL" rows=5></textarea> |
</td> |
</tr> |
EOM; |
foreach($show_attrs as $key => $desc){ |
$name = $attrmap["$key"]; |
if ($name == 'none') |
continue; |
$oper_name = $name . '_op'; |
$val = ($item_vals["$key"][0] != "") ? $item_vals["$key"][0] : $default_vals["$key"][0]; |
print <<<EOM |
<tr> |
<td align=right bgcolor="#d0ddb0"> |
$desc |
</td> |
EOM; |
if ($show_ops){ |
switch ($key) |
{ |
case 'Simultaneous-Use' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:="; |
break; |
case 'Login-Time' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:="; |
break; |
case 'Expiration' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:="; |
break; |
case 'Session-Timeout' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
case 'Max-Daily-Session' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:="; |
break; |
case 'Max-Weekly-Session' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:="; |
break; |
case 'Max-Monthly-Session' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:="; |
break; |
case 'ChilliSpot-Max-Input-Octets' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
case 'ChilliSpot-Max-Output-Octets' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
case 'ChilliSpot-Max-Total-Octets' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
case 'ChilliSpot-Bandwidth-Max-Up' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
case 'ChilliSpot-Bandwidth-Max-Down' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
case 'WISPr-Redirection-URL' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
default : |
print <<<EOM |
<td> |
<select name=$oper_name> |
<option $selected[$op_eq] value="=">= |
<option $selected[$op_set] value=":=">:= |
<option $selected[$op_add] value="+=">+= |
<option $selected[$op_eq2] value="==">== |
<option $selected[$op_ne] value="!=">!= |
<option $selected[$op_gt] value=">">> |
<option $selected[$op_ge] value=">=">>= |
<option $selected[$op_lt] value="<">< |
<option $selected[$op_le] value="<="><= |
<option $selected[$op_regeq] value="=~">=~ |
<option $selected[$op_regne] value="!~">!~ |
<option $selected[$op_exst] value="=*">=* |
<option $selected[$op_nexst] value="!*">!* |
</select> |
</td> |
EOM; |
break; |
} |
} |
print <<<EOM |
<td> |
<input type=text name="$name" value="$val" size=35> |
</td> |
</tr> |
EOM; |
} |
echo "</table><BR>"; |
if ($create == 1) |
echo "<input type=submit class=button value=\"Afficher le groupe\" OnClick=\"this.form.show.value=1\">"; |
else |
echo "<input type=submit class=button value=\"Créer\" OnClick=\"return formControl();\">"; |
?> |
<br><br> |
</form> |
</td></tr> |
</table> |
</tr> |
</table> |
</TD></TR> |
</TABLE> |
</td></tr> |
</TABLE> |
</body> |
</html> |
/web/acc/manager/htdocs/import_user.php |
---|
0,0 → 1,289 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
<HTML><!-- Written by Rexy, Romero P. & 3abTux --> |
<HEAD> |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
<TITLE>Users import</TITLE> |
<link rel="stylesheet" href="/css/style.css" type="text/css"> |
</HEAD> |
<body> |
<? |
# Choice of language |
$Language = 'en'; |
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){ |
$Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']); |
$Language = strtolower(substr(chop($Langue[0]),0,2)); } |
if($Language == 'fr'){ |
$l_title = "Import d'usagers"; |
$l_database_state = "État actuel de la base : nombre de groupes ="; |
$l_number_of_users = "Nombre d'usagers"; |
$l_text_import = "Importer à partir d'un fichier texte ('.txt')"; |
$l_text_import_help = "Ce fichier ne doit contenir que des noms d'usager écrit les uns sous les autres."; |
$l_file = "Fichier"; |
$l_users_service = "Définissez leur service (facultatif)"; |
$l_users_group = "Définissez leur groupe (conseillé)"; |
$l_send = "Envoyer"; |
$l_imported_files = "Fichiers des identifiants/mot_de_passe importés durant les dernières 24h :"; |
$l_db_import = "Importer à partir d'une sauvegarde de la base d'usagers (format SQL)"; |
$l_db_import_help = "Afin de pouvoir imputer les dernière traces de connexion, une sauvegarde de la base actuelle sera automatiquement réalisée."; |
$l_db_reset = "Remise à zéro de la base usagers"; |
} |
else { |
$l_title = "Users import"; |
$l_database_state ="State of the database : number of groups ="; |
$l_number_of_users = "Number of users"; |
$l_text_import = "Import from a text file ('.txt')"; |
$l_text_import_help = "In this file, you must write only the user login one below the other."; |
$l_file = "File"; |
$l_users_service = "Define their service (optional)"; |
$l_users_group = "Define their group (advisable)"; |
$l_send = "Send"; |
$l_imported_files = "Logins/passwords file imported during the last 24h :"; |
$l_db_import = "Import from a saved users database file (SQL format)"; |
$l_db_import_help = "In order to impute the last connections, the actual users database will be automaticly saved."; |
$l_db_reset = "Reset the users database"; |
} |
function getImportFileList(){ |
$importFile = array(); |
if ($handle = opendir('/tmp')) { |
while (false !== ($file = readdir($handle))) { |
if ($file != "." && $file != "..") { |
$ext = pathinfo($file ,PATHINFO_EXTENSION); |
$name = substr($file, 0, -(strlen($ext)+1)); //Retirer les lettres de l'extension ET le point |
if ($ext=="pwd"){ |
$importFile[] = $name; |
} |
} |
} |
closedir($handle); |
} |
return $importFile; |
} |
function creatlog ($login,$password,$service,$RS_out) |
{ |
/* génère un fichier en sortie avec les info de connexion en clair */ |
fputs($RS_out," --- Accès à Internet via ALCASAR --- "."\r\n\r\n"); |
fputs($RS_out,"Service : $service"."\r\n\r\n"); |
fputs($RS_out,"Nom de connexion : $login | Mot de passe : $password\r\n\r\n"); |
fputs($RS_out,"Pensez à changer votre mot de passe (lien sur la page d'authentification)"."\r\n\r\n"); |
fputs($RS_out,"--------------------------------------------------------------------------------"."\r\n\r\n"); |
} |
function GenPassword($nb_car="8") |
{ |
/* generation aléatoire du mot de passe */ |
$password = ""; |
$chaine = "aAzZeErRtTyYuUIopP152346897mMLkK"; |
$chaine .= "jJhHgGfFdDsSqQwWxXcCvVbBnN152346897"; |
while($nb_car != 0) |
{ |
$i = rand(0,71); |
$password .= $chaine[$i]; |
$nb_car --; |
} |
return $password ; |
} |
?> |
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0"> |
<tr><th><? echo "$l_title"; ?></th></tr> |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" height="2"></td></tr> |
</TABLE> |
<TABLE width="100%" border=1 cellspacing=0 cellpadding=1> |
<tr><td valign="middle" align="left"> |
<CENTER><H3> |
<?php |
echo "$l_database_state"; |
$LIBpath = "../lib/"; |
require('/etc/freeradius-web/config.php'); |
if (is_file($LIBpath."sql/drivers/$config[sql_type]/functions.php")) |
{ |
include_once($LIBpath."sql/drivers/$config[sql_type]/functions.php"); |
} |
else |
{ |
echo "<b>Could not include SQL library</b><br>\n"; |
exit(); |
} |
include_once($LIBpath.'functions.php'); |
if ($config[sql_use_operators] == 'true') |
{ |
include($LIBpath."operators.php"); |
$text = ',op'; |
$passwd_op = ",':='"; |
} |
$link = @da_sql_pconnect($config); |
$choix = $_POST ['choix']; |
if ($choix == "raz") |
{ |
exec ("sudo /usr/local/sbin/alcasar-mysql.sh -raz"); |
} |
# un fichier est importé |
if(isset($_FILES['import-users'])) |
{ |
unset($result); |
$service = $_POST['service']; |
$group = $_POST ['groupe']; |
$destination = '/tmp/import_file.txt'; |
list($name_file , $extension) = explode("." , $_FILES['import-users']['name']); |
$extension = strstr($_FILES['import-users']['name'], '.'); |
$tmpdate = date("Ymd-hms"); |
$file_out = "/tmp/$tmpdate-$name_file.pwd" ; |
if ($choix == "csv") |
//import d'un fichier txt |
{ |
if (($extension != '.csv') && ($extension != '.txt')) $result = 'Veuillez sélectionner un fichier de type csv ou txt !'; |
else |
{ |
exec ("sudo /usr/local/sbin/alcasar-mysql.sh -dump"); |
move_uploaded_file($_FILES['import-users']['tmp_name'], $destination); |
$RS_in = file ($destination); |
$da_abort=0; |
if ($link) |
{ |
if (is_file($LIBpath."crypt/$config[general_encryption_method].php")) |
{ |
include($LIBpath."crypt/$config[general_encryption_method].php"); |
$RS_out = fopen ("$file_out", "wb"); |
foreach ($RS_in as $no => $ligne) |
{ |
$tligne = split(" ",$ligne); |
$login = str_replace("%0D","",str_replace("%0A","",urlencode ($tligne[0]))); |
$password = GenPassword(); |
$passwd = da_encrypt($password); |
$passwd = da_sql_escape_string($passwd); |
/* insertion (login + password) dans la table "radcheck" (si l'usager existe --> changement de mot de passe) */ |
$res = @da_sql_query($link,$config,"INSERT INTO $config[sql_check_table] (attribute,value,username $text) VALUES ('$config[sql_password_attribute]','$passwd','$login' $passwd_op);"); |
if (!$res || !@da_sql_affected_rows($link,$res,$config)) |
{ |
echo "<b>Unable to add user $login: " . da_sql_error($link,$config) . "</b><br>\n"; |
$da_abort=1; |
} |
else |
{ |
creatlog ($login,$password,$service,$RS_out); |
/*echo $login." : ".$password." , ";*/ |
} |
/* insertion de l'usager dans la table "userinfo" */ |
if ($config[sql_use_user_info_table] == 'true' && !$da_abort) |
{ |
$res = @da_sql_query($link,$config, "SELECT username FROM $config[sql_user_info_table] WHERE username = '$login';"); |
if ($res) |
{ |
if (!@da_sql_num_rows($res,$config)) |
{ |
$res = @da_sql_query($link,$config,"INSERT INTO $config[sql_user_info_table] (username,department) VALUES ('$login','$service');"); |
if (!$res || !@da_sql_affected_rows($link,$res,$config)) |
echo "<b>Could not add user information in user info table: " . da_sql_error($link,$config) . "</b><br>\n"; |
} |
else |
echo "<b>User already exists in user info table.</b><br>\n"; |
} |
else |
echo "<b>Could not add user information in user info table: " . da_sql_error($link,$config) . "</b><br>\n"; |
if ($group != '') |
{ |
$group = da_sql_escape_string($group); |
$res = @da_sql_query($link,$config,"SELECT username FROM $config[sql_usergroup_table] WHERE username = '$login' AND groupname = '$group';"); |
if ($res) |
{ |
if (!@da_sql_num_rows($res,$config)) |
{ |
$res = @da_sql_query($link,$config,"INSERT INTO $config[sql_usergroup_table] (username,groupname) VALUES ('$login','$group');"); |
if (!$res || !@da_sql_affected_rows($link,$res,$config)) |
echo "<b>Could not add user to group $group. SQL Error</b><br>\n"; |
} # end if |
else |
echo "<b>User already is a member of group $group</b><br>\n"; |
} # end if |
else |
echo "<b>Could not add user to group $group: " . da_sql_error($link,$config) . "</b><br>\n"; |
} # end if ($group) |
} # end if ($config) |
} # end foreach |
fclose($RS_out); |
} |
} # end if (is_file ... |
} |
} |
else if ($choix == "bdd") |
//import d'une Bdd |
{ |
echo $extention; |
if ($extension != '.sql') $result = 'Veuillez sélectionner un fichier de type sql !'; |
else |
{ |
exec ("sudo /usr/local/sbin/alcasar-mysql.sh -dump"); |
move_uploaded_file($_FILES['import-users']['tmp_name'], $destination); |
exec ("sudo /usr/local/sbin/alcasar-mysql.sh -import $destination"); |
} |
} |
} |
if ($link) |
{ |
$res = @da_sql_query($link,$config,"SELECT GroupName FROM radusergroup GROUP BY GroupName"); |
if ($res) |
{ |
$nb_group = @da_sql_num_rows($res,$config); |
echo $nb_group; |
} |
} |
echo ", $l_number_of_users = "; |
if ($link) |
{ |
$res = @da_sql_query($link,$config,"SELECT UserName FROM userinfo"); |
if ($res) |
{ |
$nb_user = @da_sql_num_rows($res,$config); |
echo "$nb_user"; |
} |
} |
echo "</td></tr><tr><td>"; |
echo "<TABLE width=\"100%\" border=0 cellspacing=0 cellpadding=1>"; |
echo "<tr><td valign=\"middle\" align=\"left\" colspan=\"2\">"; |
echo "<CENTER><H3>$l_text_import</H3></CENTER></td></tr>"; |
echo "<tr><td valign=\"middle\" align=\"left\">"; |
echo "$l_text_import_help<br>"; |
echo "<tr><td valign=\"middle\" align=\"left\">"; |
echo "<br><FORM action='$_SERVER[PHP_SELF]' method=POST ENCTYPE=\"multipart/form-data\">"; |
echo "$l_file (.txt) : <input type=\"file\" name=\"import-users\"><br>"; |
echo "$l_users_service : <input type=\"input\" name=\"service\" value=\"\"><br>"; |
echo "$l_users_group : <input type=\"input\" name=\"groupe\" value=\"\"><br>"; |
echo "<input type='hidden' name='choix' value='csv'>"; |
if (($choix == "csv") && isset($result)) echo $result."<BR>"; |
echo "<input type=\"submit\" value=\"$l_send\">"; |
echo "</FORM></td>"; |
echo "<td>"; |
$ImportFileList = getImportFileList(); |
if (count($ImportFileList) > 0){ |
echo "$l_imported_files"; |
echo "<ul>"; |
foreach ( $ImportFileList as $ImportFile ) //on parcours le tableau |
{ |
echo "<li>".$ImportFile." ( <a href=\"import_file.php?file=$ImportFile\">txt</a> - <a href=\"import_file.php?file=$ImportFile&format=pdf\">pdf</a> )</li>"; |
} |
echo "</ul>"; |
} else { |
echo "<br>"; |
} |
echo "</td></tr></table>"; |
echo "<tr><td valign=\"middle\" align=\"left\">"; |
echo "<H3><CENTER>$l_db_import</CENTER></H3>"; |
echo "$l_db_import_help <br><br>"; |
echo "<FORM action='$_SERVER[PHP_SELF]' method=POST ENCTYPE=\"multipart/form-data\">"; |
echo "$l_file (.sql) : <input type=\"file\" name=\"import-users\"><br>"; |
echo "<input type='hidden' name='choix' value='bdd'>"; |
if (($choix == "bdd") && isset($result)) echo $result."<BR>"; |
echo "<input type=\"submit\" value=\"$l_send\">"; |
echo "</FORM>"; |
echo "</td></tr>"; |
echo "<tr><td valign=\"middle\" align=\"left\">"; |
echo "<H3><CENTER>$l_db_reset</CENTER></H3>"; |
echo "$l_db_import_help<br><br>"; |
echo "<FORM action='$_SERVER[PHP_SELF]' method=POST>"; |
echo "<input type='hidden' name='choix' value='raz'>"; |
echo "<input type=\"submit\" value=\"$l_send\">"; |
echo "</FORM>"; |
echo "</TD></TR></TABLE>"; |
?> |
</BODY> |
</HTML> |
<?php |
/web/acc/manager/htdocs/user_finger.php |
---|
0,0 → 1,236 |
<?php |
require('/etc/freeradius-web/config.php'); |
require('../lib/attrshow.php'); |
require('../lib/sql/nas_list.php'); |
if (!isset($usage_summary)){ |
echo <<<EOM |
<html> |
<head> |
<META HTTP-EQUIV="Refresh" CONTENT="50"> |
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]"> |
<title>Usagers connectées</title> |
<link rel="stylesheet" href="/css/style.css"> |
</head> |
EOM; |
} |
if ($config[general_decode_normal_attributes] == 'yes'){ |
if (is_file("../lib/lang/$config[general_prefered_lang]/utf8.php")) |
include_once("../lib/lang/$config[general_prefered_lang]/utf8.php"); |
else |
include_once('../lib/lang/default/utf8.php'); |
$k = init_decoder(); |
$decode_normal = 1; |
} |
require_once('../lib/functions.php'); |
require("../lib/$config[general_lib_type]/functions.php"); |
if (is_file("../lib/sql/drivers/$config[sql_type]/functions.php")) |
include_once("../lib/sql/drivers/$config[sql_type]/functions.php"); |
else{ |
echo <<<EOM |
<body> |
<center> |
<b>Could not include SQL library functions. Aborting</b> |
</body> |
</html> |
EOM; |
exit(); |
} |
setlocale (LC_ALL, 'fr_FR'); |
$date = strftime('%A, %e %B %Y, %T %Z'); |
$sql_extra_query = ''; |
if ($config[sql_accounting_extra_query] != ''){ |
$sql_extra_query = xlat($config[sql_accounting_extra_query],$login,$config); |
$sql_extra_query = da_sql_escape_string($sql_extra_query); |
} |
$link = @da_sql_pconnect($config); |
$link2 = connect2db($config); |
$tot_in = $tot_rem = 0; |
if ($link){ |
$h = 21; |
$servers_num = 0; |
if ($config[general_ld_library_path] != '') |
putenv("LD_LIBRARY_PATH=$config[general_ld_library_path]"); |
foreach($nas_list as $nas){ |
$j = 0; |
$num = 0; |
if ($server != ''){ |
if ($nas[name] == $server) |
$servers_num++; |
else |
continue; |
} |
else |
$servers_num++; |
if ($nas[ip] == '') |
continue; |
$name_data = $nas[ip]; |
$community_data = $nas[community]; |
$server_name[$servers_num] = $nas[name]; |
$server_model[$servers_num] = $nas[model]; |
$extra = ""; |
$finger_type = $config[general_finger_type]; |
if ($nas[finger_type] != '') |
$finger_type = $nas[finger_type]; |
if ($finger_type == 'snmp'){ |
$nas_type = ($nas[type] != '') ? $nas[type] : $config[general_nas_type]; |
if ($nas_type == '') |
$nas_type = 'cisco'; |
$users=exec("$config[general_snmpfinger_bin] $name_data $community_data $nas_type"); |
if (strlen($users)){ |
$extra = "AND username IN ($users)"; |
if ($config[general_strip_realms] == 'yes'){ |
if ($config[general_realm_format] == 'prefix') |
$match = "'[^']+" . $config[general_realm_delimiter]; |
else |
$match = $config[general_realm_delimiter] . "[^']+'"; |
$extra = preg_replace("/$match/","'",$extra); |
} |
} |
} |
$search = @da_sql_query($link,$config, |
"SELECT COUNT(*) AS onlineusers FROM $config[sql_accounting_table] WHERE |
acctstoptime IS NULL AND nasipaddress = '$name_data' $extra $sql_extra_query;"); |
if ($search){ |
if (($row = @da_sql_fetch_array($search,$config))) |
$num = $row[onlineusers]; |
} |
$search = @da_sql_query($link,$config, |
"SELECT DISTINCT username,acctstarttime,framedipaddress,callingstationid |
FROM $config[sql_accounting_table] WHERE |
acctstoptime IS NULL AND nasipaddress = '$name_data' $extra $sql_extra_query |
GROUP BY username,acctstarttime,framedipaddress,callingstationid |
ORDER BY acctstarttime;"); |
if ($search){ |
$now = time(); |
while($row = @da_sql_fetch_array($search,$config)){ |
$j++; |
$h += 21; |
$user = $row['username']; |
$finger_info[$servers_num][$j]['ip'] = $row['framedipaddress']; |
if ($finger_info[$servers_num][$j]['ip'] == '') |
$finger_info[$servers_num][$j]['ip'] = '-'; |
$session_time = $row['acctstarttime']; |
$session_time = date2timediv($session_time,$now); |
$finger_info[$servers_num][$j]['session_time'] = time2strclock($session_time); |
$finger_info[$servers_num][$j]['user'] = $user; |
$finger_info[$servers_num][$j]['callerid'] = $row['callingstationid']; |
if ($finger_info[$servers_num][$j]['callerid'] == '') |
$finger_info[$servers_num][$j]['callerid'] = '-'; |
if ($user_info["$user"] == ''){ |
$user_info["$user"] = get_user_info($link2,$user,$config,$decode_normal,$k); |
if ($user_info["$user"] == '' || $user_info["$user"] == ' ') |
$user_info["$user"] = 'Unknown User'; |
} |
} |
$height[$servers_num] = $h; |
} |
$server_counting[$servers_num] = $j; |
$server_loggedin[$servers_num] = $num; |
$server_rem[$servers_num] = ($config[$portnum]) ? ($config[$portnum] - $num) : 'unknown'; |
$tot_in += $num; |
if (is_numeric($server_rem[$servers_num])) |
$tot_rem += $server_rem[$servers_num]; |
} |
} |
else |
echo "<b>Could not connect to SQL database</b><br>\n"; |
if (isset($usage_summary)){ |
echo "Online: $tot_in Free: $tot_rem\n"; |
exit(); |
} |
?> |
<body> |
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0"> |
<tr><th>Gestion des usagers</th></tr> |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" |
height="2"></td></tr> |
</TABLE> |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=1> |
<tr bgcolor="#666666"><td> |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=2> |
<tr><td valign="middle" align="left"> |
<center> |
<table border=0 width=550 cellpadding=0 cellspacing=0> |
<tr valign=top> |
<!--<td align=center><img src="images/title2.gif"></td>--> |
</tr> |
</table> |
<br> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=200> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th> |
<font color="white">Usagers en ligne</font> |
</th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<?php |
echo <<<EOM |
<center><b>$date</b></center> |
EOM; |
for($j = 1; $j <= $servers_num; $j++){ |
echo <<<EOM |
<p> |
<table width=100% cellpadding=0 height=30><tr> |
<th align=left>$server_name[$j]</th><th align=right><font color="red">$server_loggedin[$j] usager(s) connecté(s)</font></th><th>$server_model[$j]</th> |
</tr> |
</table> |
<div height="$height[$j]" style="height:$height[$j]"> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<tr bgcolor="#d0ddb0"> |
<th>#</th><th>usager</th> |
EOM; |
if ($acct_attrs['uf'][4] != '') echo "<th>" . $acct_attrs[uf][4] . "</th>\n"; |
if ($acct_attrs['uf'][9] != '') echo "<th>" . $acct_attrs[uf][9] . "</th>\n"; |
echo <<<EOM |
<th>nom</th><th>durée</th> |
</tr> |
EOM; |
for( $k = 1; $k <= $server_counting[$j]; $k++){ |
$user = $finger_info[$j][$k][user]; |
if ($user == '') |
$user = ' '; |
$User = urlencode($user); |
$time = $finger_info[$j][$k][session_time]; |
$ip = $finger_info[$j][$k][ip]; |
$cid = $finger_info[$j][$k][callerid]; |
$inf = $user_info[$user]; |
echo <<<EOM |
<tr align=center> |
<td>$k</td><td><a href="user_admin.php?login=$User" title="Editer l'utilisateur $user">$user</a></td> |
EOM; |
if ($acct_attrs['uf'][4] != '') echo "<td>$ip</td>\n"; |
if ($acct_attrs['uf'][9] != '') echo "<td>$cid</td>\n"; |
echo <<<EOM |
<td>$inf</td><td>$time</td> |
</tr> |
EOM; |
} |
echo <<<EOM |
</table> |
</div> |
EOM; |
} |
?> |
</td></tr> |
</table> |
</td></tr> |
</table> |
</TD></TR> |
</TABLE> |
</td></tr> |
</TABLE><p> |
</html> |
/web/acc/manager/htdocs/import_file.php |
---|
0,0 → 1,83 |
<?php |
require('../../lib/fpdf16/fpdf.php'); |
class fichePDF extends FPDF { |
function Header() |
{ |
} |
function Footer() |
{ |
//Positionnement à 1,5 cm du bas |
$this->SetY(-15); |
//Arial italique 8 |
$this->SetFont('Arial','I',8); |
//Couleur du texte en gris |
$this->SetTextColor(128); |
//Numéro de page |
$this->Cell(0,10,'Page '.$this->PageNo(),0,0,'C'); |
} |
function lirefichier($fichier) |
{ |
$this->AddPage(); |
//Lecture des lignes du fichier |
$lines = file($fichier); |
$n = 1; |
foreach($lines as $line){ |
//Times 12 |
$this->SetFont('Times','',10); |
//Sortie du texte justifié |
$this->Cell(0,5,utf8_decode($line)); |
$this->Ln(); |
++$n; |
if ($n > (50)){ // on affiche 50 ligne par page soit 5 fiches usagers |
$this->AddPage(); |
$n = 1; |
} |
} |
} |
} |
function getImportFile($importFileName, $format = "txt"){ |
$importFile = "/tmp/$importFileName.pwd"; |
if(is_file($importFile)&&is_readable($importFile)){ |
if ($format=="txt"){ |
//telechargement |
$taille=filesize($importFile); |
header("Content-Type: application/x-download"); |
header("Content-Length: $taille"); |
header("Content-Disposition: attachment; filename=\"$importFileName.txt\""); |
header("Cache-Control: private, max-age=0, must-revalidate"); |
header("Pragma: public"); |
header("Content-Type: application/force-download; filename=\"$importFileName.txt\""); |
ini_set("zlib.output_compression","0"); |
readfile($importFile); |
exit(); |
}elseif ($format=="pdf"){ |
$pdf=new fichePDF(); |
$pdf->lirefichier($importFile); |
$pdf->Output($importFileName.".pdf","D"); |
}else{ |
getImportFile($importFileName,"txt"); |
} |
} else { |
return false; |
} |
} |
if (isset($_GET['file']) && $_GET['file']){ |
if (isset($_GET['format'])){ |
$format = $_GET['format']; |
} else { |
$format = "txt"; |
} |
if (getImportFile($_GET['file'], $format)){ |
//fichier en cour de téléchargement |
} else { |
echo "erreur 2 "; |
} |
} else { |
echo "erreur 1 "; |
} |
?> |
/web/acc/manager/htdocs/user_test.php |
---|
0,0 → 1,208 |
<?php |
require('/etc/freeradius-web/config.php'); |
if ($login == 'da_server_test'){ |
$login = $config[general_test_account_login]; |
$test_login=1; |
} |
echo <<<EOM |
<html> |
<head> |
<title>Test de l'utilisateur $login</title> |
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]"> |
<link rel="stylesheet" href="style.css"> |
</head> |
<body> |
<center> |
<table border=0 width=550 cellpadding=0 cellspacing=0> |
<tr valign=top> |
<!--<td align=center><img src="images/title2.gif"></td>--> |
</tr> |
</table> |
<table border=0 width=400 cellpadding=0 cellspacing=2> |
EOM; |
if (!$test_login) |
include("../html/user_toolbar.html.php"); |
print <<<EOM |
</table> |
<br> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=200> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th> |
EOM; |
if ($test_login){ |
print <<<EOM |
<font color="white">Page de Test du serveur Radius</font> |
EOM; |
}else{ |
print <<<EOM |
<font color="white">Page de Test de l'utilisateur $login</font> |
EOM; |
} |
?> |
</th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<?php |
if ($server == '' || !preg_match('/^[\w\.]+$/',$server)) |
$server = $config[general_radius_server]; |
if ($port == 0 || !is_numeric($port)) |
$port = $config[general_radius_server_port]; |
if ($auth_proto == '') |
$auth_proto = $config[general_radius_server_auth_proto]; |
$selected[$auth_proto] = 'selected'; |
if ($test_user == 1){ |
$tmp_file = tempnam("$config[general_tmp_dir]",'DA'); |
$req=file($config[general_auth_request_file]); |
if ($config[general_ld_library_path] != '') |
putenv("LD_LIBRARY_PATH=$config[general_ld_library_path]"); |
$comm = $config[general_radclient_bin] . " $server:$port" . ' auth ' . $config[general_radius_server_secret] |
. ' >' . $tmp_file; |
$fp = popen("$comm","w"); |
if ($fp){ |
foreach ($req as $val){ |
// Ignore comments |
if (ereg('^[[:space:]]*#',$val) || ereg('^[[:space:]]*$',$val)) |
continue; |
fwrite($fp,$val); |
} |
if ($test_login){ |
$test=1; |
fwrite($fp, "User-Name = \"$config[general_test_account_login]\"\n"); |
fwrite($fp, "User-Password = \"$config[general_test_account_password]\"\n"); |
pclose($fp); |
} |
else{ |
fwrite($fp, "User-Name = \"$login\"\n"); |
if ($auth_proto == 'chap') |
fwrite($fp, "CHAP-Password = \"$passwd\"\n"); |
else |
fwrite($fp, "User-Password = \"$passwd\"\n"); |
if (strlen($extra)) |
fwrite($fp,$extra); |
pclose($fp); |
} |
$reply = file($tmp_file); |
unlink($tmp_file); |
$msg = "<b>" . strftime('%A, %e %B %Y, %T %Z') . "</b><br>\n"; |
$msg .= "<b>Server: </b><i>$server:$port</i><br><br>\n"; |
if (ereg('code 2', $reply[0])) |
$msg .= "<b>L'authentification a <font color=green>réussie</font>"; |
else if (ereg('code 3',$reply[0])) |
$msg .= "<b>L'authentification a <font color=red>échouée</font>"; |
else if (ereg('no response from server', $reply[0])) |
$msg .= "<b><font color=red>Pas de réponse du serveur</font>"; |
else if (ereg('Connection refused',$reply[0])) |
$msg .= "<b><font color=red>La connection a été refusée</font>"; |
if ($test_login) |
$msg .= "</b><i> (test de l'utilisateur $login)</i><br>\n"; |
else |
$msg .= "</b><br>\n"; |
array_shift($reply); |
if (count($reply)){ |
$msg .= "<br><b>Réponse du serveur :</b><br>\n"; |
foreach ($reply as $val){ |
$msg .= "<i>$val</i><br>\n"; |
} |
} |
if ($test_login){ |
print <<<EOM |
$msg |
<br> |
</td></tr> |
</table> |
</tr> |
</table> |
</body> |
</html> |
EOM; |
exit(); |
} |
} |
} |
?> |
<form method=post> |
<input type=hidden name=login value=<?php print $login ?>> |
<input type=hidden name=test_user value="0"> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<tr> |
<td align=right bgcolor="#d0ddb0"> |
Mot de passe utilisateur |
</td> |
<td> |
<input type=password name=passwd value="<?php print $passwd ?>" size=25> |
</td> |
</tr> |
<tr> |
<td align=right bgcolor="#d0ddb0"> |
Serveur Radius |
</td> |
<td> |
<input type=text name=server value="<?php print $server ?>" size=25> |
</td> |
</tr> |
<tr> |
<td align=right bgcolor="#d0ddb0"> |
Port du serveur Radius |
</td> |
<td> |
<input type=text name=port value="<?php print $port ?>" size=25> |
</td> |
</tr> |
<tr> |
<td align=right bgcolor="#d0ddb0"> |
Attributs supplémentaires |
</td> |
<td> |
<textarea name="extra" cols="35" wrap="PHYSICAL" rows="4"><?php print $extra ?></textarea> |
</td> |
</tr> |
<tr> |
<td align=right bgcolor="#d0ddb0"> |
Protocole d'authentification |
</td> |
<td> |
<?php |
echo <<<EOM |
<select name="auth_proto" editable> |
<option $selected[pap] value="pap">PAP |
<option $selected[chap] value="chap">CHAP |
EOM |
?> |
</select> |
</td> |
</tr> |
</table> |
<br> |
<input type=submit class=button value="Lancement du Test" OnClick="this.form.test_user.value=1"> |
</form> |
<?php |
if ($test_user == 1){ |
echo <<<EOM |
<br> |
$msg |
EOM; |
} |
?> |
</td></tr> |
</table> |
</tr> |
</table> |
</body> |
</html> |
/web/acc/manager/htdocs/show_groups.php |
---|
0,0 → 1,124 |
<?php |
# Choice of language |
$Language = 'en'; |
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){ |
$Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']); |
$Language = strtolower(substr(chop($Langue[0]),0,2)); } |
if($Language == 'fr'){ |
$l_title = "Liste des groupes d'usagers"; |
$l_frame_top = "Gestion des groupes"; |
$l_frame = "Liste des groupes"; |
$l_group = "groupe"; |
$l_nb_users = "Nombre d'usagers"; |
$l_empty_list = "La liste des groupes est vide"; |
} |
else { |
$l_title = "Create a group"; |
$l_frame_top = "Groups admin"; |
$l_frame = "Groups list"; |
$l_group = "group"; |
$l_nb_users = "Number of users"; |
$l_empty_list = "The groups list is empty"; |
} |
require('/etc/freeradius-web/config.php'); |
?> |
<html> |
<?php |
if (is_file("../lib/sql/drivers/$config[sql_type]/functions.php")) |
include_once("../lib/sql/drivers/$config[sql_type]/functions.php"); |
else{ |
echo <<<EOM |
<title>$l_title</title> |
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]"> |
<link rel="stylesheet" href="/css/style.css"> |
</head> |
<body> |
<center> |
<b>Could not include SQL library functions. Aborting</b> |
</body> |
</html> |
EOM; |
exit(); |
} |
if ($config[general_lib_type] != 'sql'){ |
echo <<<EOM |
<title>$l_title</title> |
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]"> |
<link rel="stylesheet" href="style.css"> |
</head> |
<body> |
<center> |
<b>This page is only available if you are using sql as general library type</b> |
</body> |
</html> |
EOM; |
exit(); |
} |
?> |
<head> |
<title><?php echo "$l_title"; ?></title> |
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config[general_charset]?>"> |
<link rel="stylesheet" href="/css/style.css"> |
</head> |
<body> |
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0"> |
<tr><th><?php echo "$l_frame_top"; ?></th></tr> |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" |
height="2"></td></tr> |
</TABLE> |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=1> |
<tr bgcolor="#666666"><td> |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=2> |
<tr><td valign="middle" align="left"> |
<center> |
<table border=0 width=550 cellpadding=0 cellspacing=0> |
<tr valign=top> |
</tr> |
</table> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=55%></td> |
<td bgcolor="black" width=45%> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th> |
<font color="white"><?php echo "$l_frame"; ?></font> |
</th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<?php |
unset($login); |
$num = 0; |
include_once("../lib/$config[general_lib_type]/group_info.php"); |
if (isset($existing_groups)){ |
echo "<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor=\"#ffffe0\" valign=top>"; |
echo "<tr bgcolor=\"#d0ddb0\">"; |
echo "<th>#</th><th>$l_group </th><th>$l_nb_users</th></tr>"; |
foreach ($existing_groups as $group => $num_members){ |
$num++; |
$Group = urlencode($group); |
echo <<<EOM |
<tr align=center> |
<td>$num</td> |
<td><a href="group_admin.php?login=$Group" title="Editer le groupe $group">$group</a></td> |
<td>$num_members</td> |
</tr> |
EOM; |
} |
} |
else |
echo "<b>$l_empty_list</b>\n"; |
?> |
</table> |
</table> |
</tr> |
</table> |
</TD></TR> |
</TABLE> |
</td></tr> |
</TABLE> |
</body> |
</html> |
/web/acc/manager/htdocs/find.php |
---|
0,0 → 1,155 |
<?php |
require('/etc/freeradius-web/config.php'); |
if (isset($search_IN)) $selected[$search_IN] = 'selected'; |
if (isset ($radius_attr)) $selected[$radius_attr] = 'selected'; |
if (isset ($max_results)){ $max = ($max_results) ? $max_results : 40;} |
?> |
<html> |
<head> |
<title>Gestion des usager</title> |
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config['general_charset']?>"> |
<link rel="stylesheet" href="/css/style.css"> |
</head> |
<body> |
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0"> |
<tr><th>Gestion des usagers</th></tr> |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" |
height="2"></td></tr> |
</TABLE> |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=1> |
<tr bgcolor="#666666"><td> |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=2> |
<tr><td valign="middle" align="left"> |
<center> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=200> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th> |
<font color="white">Filtre de recherche</font> |
</th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<?php |
if (isset($find_user)){ |
if ($find_user == 1){ |
unset($found_users); |
if (is_file("../lib/$config[general_lib_type]/find.php")) |
include("../lib/$config[general_lib_type]/find.php"); |
if (isset($found_users)){ |
$num = 0; |
$msg .= <<<EOM |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<tr bgcolor="#d0ddb0"> |
<th>#</th><th>Usager</th><th>Actions</th> |
</tr> |
EOM; |
foreach ($found_users as $user){ |
if ($user == '') |
$user = '-'; |
$User = urlencode($user); |
$num++; |
$msg .= <<<EOM |
<tr align=center> |
<td>$num</td> |
<td>$user</td> |
<td><a href="user_admin.php?login=$User" title="État"><img src=/images/info.gif></a> |
<a href="user_edit.php?login=$User" title="Attributs"><img src=/images/create.gif></a> |
<a href="user_info.php?login=$User" title="Informations personnelles"><img src=/images/tpf.gif></a> |
<a href="user_accounting.php?login=$User" title="Connexions effectuées"><img src=/images/graph.gif></a> |
<a href="clear_opensessions.php?login=$User" title="Sessions ouvertes"><img src=/images/state_ok.gif></a> |
<a href="user_delete.php?login=$User" title="Supprimer"><img src=/images/state_error.gif></a></td> |
</tr> |
EOM; |
} |
$msg .= "</table>\n"; |
} |
else |
$msg = "<b>Pas d'usagers trouvés</b><br>\n"; |
} |
} |
?> |
<form method=post> |
<input type=hidden name=find_user value="0"> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<tr> |
<td align=right bgcolor="#d0ddb0"> |
Critère de recherche |
</td> |
<td> |
<?php |
echo <<<EOM |
<select name="search_IN" editable onChange="this.form.submit();"> |
<option $selected[username] value="username">Identifiant (login) |
<option $selected[name] value="name">Nom complet (NOM Prenom) |
<option $selected[department] value="department">Service |
<option $selected[radius] value="radius">Attribut particulier |
EOM; |
?> |
</select> |
</td> |
</tr> |
<?php |
if (isset($search_IN)){ |
if ($search_IN == 'radius'){ |
require('../lib/attrshow.php'); |
echo <<<EOM |
<tr> |
<td align=right bgcolor="#d0ddb0"> |
Attributs RADIUS |
</td> |
<td> |
<select name="radius_attr" editable> |
EOM; |
foreach($show_attrs as $key => $desc) |
echo "<option $selected[$key] value=\"$key\">$desc\n"; |
echo <<<EOM |
</select> |
</td> |
</tr> |
EOM; |
} |
} |
?> |
<tr> |
<td align=right bgcolor="#d0ddb0"> |
qui contient<BR> |
(champ vide = tous) |
</td> |
<td> |
<input type=text name="search" value="<?php if (isset($search)) echo $search ;?>" size=25> |
</td> |
</tr> |
<!--<tr> |
<td align=right bgcolor="#d0ddb0"> |
Nombre de résultats Max. |
</td> |
<td> |
<input type=text name="max_results" value="<?php echo $max ?>" size=25> |
</td> |
</tr> --> |
</table> |
<br> |
<input type=submit class=button value="Lancer la recherche" OnClick="this.form.find_user.value=1"> |
</form> |
<?php |
if (isset($find_user)){ |
if ($find_user == 1){ echo $msg ;}} |
?> |
</td></tr> |
</table> |
</td></tr> |
</table> |
</td></tr> |
</TABLE> |
</td></tr> |
</TABLE> |
</body> |
</html> |
/web/acc/manager/htdocs/user_edit.php |
---|
0,0 → 1,335 |
<?php |
require('/etc/freeradius-web/config.php'); |
require('../lib/attrshow.php'); |
require('../lib/defaults.php'); |
$extra_text = ''; |
if ($user_type != 'group'){ |
if (is_file("../lib/$config[general_lib_type]/user_info.php")) |
include("../lib/$config[general_lib_type]/user_info.php"); |
if ($config[general_lib_type] == 'sql' && $config[sql_show_all_groups] == 'true'){ |
$extra_text = "<br><font size=-2><i>(le groupe auquel apartient l'usager est surligné)</i></font>"; |
$saved_login = $login; |
$login = ''; |
if (is_file("../lib/sql/group_info.php")) |
include("../lib/sql/group_info.php"); |
$login = $saved_login; |
} |
} |
else{ |
if (is_file("../lib/$config[general_lib_type]/group_info.php")) |
include("../lib/$config[general_lib_type]/group_info.php"); |
} |
if ($config[general_lib_type] == 'sql' && $config[sql_use_operators] == 'true'){ |
$colspan=2; |
$show_ops = 1; |
include("../lib/operators.php"); |
} |
else{ |
$show_ops = 0; |
$colspan=1; |
} |
echo <<<EOM |
<html> |
<head> |
EOM; |
if ($user_type != 'group'){ |
echo " <title>subscription configuration for $login ($cn)</title>\n"; |
$util = "usagers";} |
else{ |
echo " <title>subscription configuration for $login</title>\n"; |
$util = "groupes";} |
?> |
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config[general_charset]?>"> |
<link rel="stylesheet" href="/css/style.css"> |
<script language="javascript" type="text/javascript"> |
var chars='0123456789abcdefghijkmnopqrstuvwxyzABCDEFGHIJKLMNPQRSTUVWXYZ' |
function password(size) |
{ |
var pass='' |
while(pass.length < size) |
{ |
pass+=chars.charAt(Math.round(Math.random() * (chars.length))) |
} |
document.edituser.passwd.value=pass |
document.edituser.pwdgene.value=pass |
} |
</script> |
</head> |
<body> |
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0"> |
<tr><th>Gestion des <?php echo $util?></th></tr> |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" |
height="2"></td></tr> |
</TABLE> |
<TABLE width="100%" border=1 cellspacing=0 cellpadding=1> |
<tr><td valign="middle" align="left"> |
<center> |
<table border=0 width=550 cellpadding=0 cellspacing=0> |
<tr valign=top> |
<!--<td align=center><img src="images/title2.gif"></td>--> |
</tr> |
</table> |
<table border=0 width=400 cellpadding=0 cellspacing=2> |
<?php |
if ($user_type != 'group') |
{ |
include("../html/user_toolbar.html.php"); |
$titre="de l'usager"; |
} |
else |
{ |
include("../html/group_toolbar.html.php"); |
$titre="du groupe"; |
} |
print <<<EOM |
</table> |
<br> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=75%> </td> |
<td bgcolor="black" width=25% align=right> |
<table border=0 width="200" cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=center valign=top><th> |
<font color="white">Attributs $titre : $login</font> |
</th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
EOM; |
if ($change == 1){ |
if (is_file("../lib/$config[general_lib_type]/change_attrs.php")) |
include("../lib/$config[general_lib_type]/change_attrs.php"); |
if ($user_type != 'group'){ |
if ($config[general_show_user_password] != 'no' && $passwd != '' |
&& is_file("../lib/$config[general_lib_type]/change_passwd.php")) |
include("../lib/$config[general_lib_type]/change_passwd.php"); |
if (is_file("../lib/$config[general_lib_type]/user_info.php")) |
include("../lib/$config[general_lib_type]/user_info.php"); |
if ($group_change && $config[general_lib_type] == 'sql' && $config[sql_show_all_groups] == 'true'){ |
include("../lib/sql/group_change.php"); |
include("../lib/defaults.php"); |
} |
} |
else{ |
if (is_file("../lib/$config[general_lib_type]/group_info.php")) |
include("../lib/$config[general_lib_type]/group_info.php"); |
} |
} |
else if ($badusers == 1){ |
if (is_file("../lib/add_badusers.php")) |
include("../lib/add_badusers.php"); |
} |
?> |
<form name="edituser" method=post> |
<input type=hidden name=login value=<?php print $login ?>> |
<input type=hidden name=user_type value=<?php print $user_type ?>> |
<input type=hidden name=change value="0"> |
<input type=hidden name=add value="0"> |
<input type=hidden name=badusers value="0"> |
<input type=hidden name=group_change value="0"> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<?php |
if ($user_type != 'group' && $config[general_show_user_password] != 'no'){ |
echo <<<EOM |
<tr> |
<td align=right colspan=$colspan bgcolor="#d0ddb0"> |
Nouveau mot de passe<br> |
EOM; |
if ($user_password_exists == 'yes') |
echo "<font size=-2>Le mot de passe <font color=\"green\"><b>existe</b></font></font>\n"; |
else |
echo "<font size=-2>Le mot de passe <font color=\"red\"><b> n'existe pas</b></font></font>\n"; |
echo <<<EOM |
</td> |
<td> |
<input type=password name=passwd value="" size=40> |
<br /><input type="button" value="générer" onclick="password(8)"> |
<input type="text" value="" name="pwdgene" size=20 readonly> |
</td> |
</tr> |
EOM; |
} |
foreach($show_attrs as $key => $desc){ |
$name = $attrmap["$key"]; |
$generic = $attrmap[generic]["$key"]; |
if ($name == 'none') |
continue; |
unset($vals); |
unset($selected); |
unset($ops); |
$def_added = 0; |
if ($item_vals["$key"][count]){ |
for($i=0;$i<$item_vals["$key"][count];$i++){ |
$vals[] = $item_vals["$key"][$i]; |
$ops[] = $item_vals["$key"][operator][$i]; |
} |
} |
else{ |
if ($default_vals["$key"][count]){ |
for($i=0;$i<$default_vals["$key"][count];$i++){ |
$vals[] = $default_vals["$key"][$i]; |
$ops[] = $default_vals["$key"][operator][$i]; |
} |
} |
else{ |
$vals[] = ''; |
$ops[] = '='; |
} |
$def_added = 1; |
} |
if ($generic == 'generic' && $def_added == 0){ |
for($i=0;$i<$default_vals["$key"][count];$i++){ |
$vals[] = $default_vals["$key"][$i]; |
$ops[] = $default_vals["$key"][operator][$i]; |
} |
} |
if ($add && $name == $add_attr){ |
$vals[] = $default_vals["$key"][0]; |
$ops[] = ($default_vals["$key"][operator][0] != '') ? $default_vals["$key"][operator][0] : '='; |
} |
$i = 0; |
foreach($vals as $val){ |
$name1 = $name . $i; |
$val = ereg_replace('"','"',$val); |
$oper_name = $name1 . '_op'; |
$oper = $ops[$i]; |
$selected[$oper] = 'selected'; |
$i++; |
print <<<EOM |
<tr> |
<td align=right bgcolor="#d0ddb0"> |
EOM; |
$desc = addslashes($desc); |
eval("\$desc = \"$desc\";"); |
$desc = stripslashes($desc); |
if ($i == 1) |
echo "$desc\n"; |
else |
echo "$desc ($i)\n"; |
echo "</td>"; |
if ($show_ops){ |
switch ($key) |
{ |
case 'Simultaneous-Use' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
break; |
case 'Login-Time' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
break; |
case 'Expiration' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
break; |
case 'Session-Timeout' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
break; |
case 'Max-Daily-Session' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
break; |
case 'Max-Weekly-Session' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
break; |
case 'Max-Monthly-Session' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
break; |
case 'ChilliSpot-Max-Input-Octets' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
break; |
case 'ChilliSpot-Max-Output-Octets' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
break; |
case 'ChilliSpot-Max-Total-Octets' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
break; |
case 'ChilliSpot-Bandwidth-Max-Up' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
break; |
case 'ChilliSpot-Bandwidth-Max-Down' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
break; |
case 'WISPr-Redirection-URL' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">=</td><td><input type=text name=\"$name1\" value=\"$val\" size=40></td>"; |
break; |
default : |
print <<<EOM |
<td> |
<select name=$oper_name> |
<option $selected[$op_eq] value="=">= |
<option $selected[$op_set] value=":=">:= |
<option $selected[$op_add] value="+=">+= |
<option $selected[$op_eq2] value="==">== |
<option $selected[$op_ne] value="!=">!= |
<option $selected[$op_gt] value=">">> |
<option $selected[$op_ge] value=">=">>= |
<option $selected[$op_lt] value="<">< |
<option $selected[$op_le] value="<="><= |
<option $selected[$op_regeq] value="=~">=~ |
<option $selected[$op_regne] value="!~">!~ |
<option $selected[$op_exst] value="=*">=* |
<option $selected[$op_nexst] value="!*">!* |
</select> |
</td> |
<td><input type=text name="$name1" value="$val" size=40></td> |
EOM; |
break; |
} |
} |
print <<<EOM |
</tr> |
EOM; |
} |
} |
if ($user_type != 'group'){ |
echo <<<EOM |
<tr> |
<td align=right colspan=$colspan bgcolor="#d0ddb0"> |
Membre de $extra_text |
</td> |
<td> |
EOM; |
if (isset($member_groups)){ |
echo "<select size=5 name=\"edited_groups[]\" multiple OnChange=\"this.form.group_change.value=1\">"; |
if ($config[sql_show_all_groups] == 'true'){ |
foreach ($existing_groups as $group => $count){ |
if ($member_groups[$group] == $group) |
echo "<option selected value=\"$group\">$group\n"; |
else |
echo "<option value=\"$group\">$group\n"; |
} |
}else{ |
foreach ($member_groups as $group) |
echo "<option value=\"$group\">$group\n"; |
} |
echo "</select></td></tr>"; |
} |
else{ |
echo "aucun group</td></tr>"; |
} |
} |
echo "</table><br>"; |
echo "<input type=submit class=button value=Change OnClick=\"this.form.change.value=1\">"; |
//if ($user_type != 'group'){ |
// echo <<<EOM |
//<br><br> |
//<input type=submit class=button value="Add to Badusers" OnClick="this.form.badusers.value=1"> |
//<a href="help/badusers_help.html" target=bu_help onclick=window.open("help/badusers_help.html","bu_help","width=600,height=210,toolbar=no,scrollbars=no,resizable=yes") title="BADUSERS Help Page"><font color="blue"><--Help</font></a> |
//EOM; |
//} |
?> |
</form> |
</td></tr> |
</table> |
</tr> |
</table> |
</td></tr> |
</TABLE> |
</body> |
</html> |
/web/acc/manager/htdocs/user_admin.php |
---|
0,0 → 1,323 |
<?php |
require('/etc/freeradius-web/config.php'); |
?> |
<html> |
<head> |
<?php |
require('../lib/functions.php'); |
require('../lib/defaults.php'); |
$date = strftime('%A, %e %B %Y, %T %Z'); |
if (is_file("../lib/$config[general_lib_type]/user_info.php")){ |
include("../lib/$config[general_lib_type]/user_info.php"); |
if ($user_exists == 'no'){ |
echo <<<EOM |
<title>Page d'information d'utilisateur</title> |
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]"> |
<link rel="stylesheet" href="/css/style.css"> |
</head> |
<body> |
<center> |
<form action="user_admin.php" method=get> |
<b>User Name </b> |
<input type="text" size=10 name="login" value="$login"> |
<b> does not exist</b><br> |
<input type=submit class=button value="Show User"> |
</body> |
</html> |
EOM; |
exit(); |
} |
} |
if (is_file("../lib/sql/drivers/$config[sql_type]/functions.php")) |
include_once("../lib/sql/drivers/$config[sql_type]/functions.php"); |
else{ |
echo <<<EOM |
<title>Page d'information d'utilisateur</title> |
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]"> |
<link rel="stylesheet" href="style.css"> |
</head> |
<body> |
<center> |
<b>Could not include SQL library functions. Aborting</b> |
</body> |
</html> |
EOM; |
exit(); |
} |
$monthly_limit = ($item_vals['Max-Monthly-Session'][0] != '') ? $item_vals['Max-Monthly-Session'][0] : $default_vals['Max-Monthly-Session'][0]; |
$monthly_limit = ($monthly_limit) ? $monthly_limit : $config[counter_default_monthly]; |
$weekly_limit = ($item_vals['Max-Weekly-Session'][0] != '') ? $item_vals['Max-Weekly-Session'][0] : $default_vals['Max-Weekly-Session'][0]; |
$weekly_limit = ($weekly_limit) ? $weekly_limit : $config[counter_default_weekly]; |
$daily_limit = ($item_vals['Max-Daily-Session'][0] != '') ? $item_vals['Max-Daily-Session'][0] : $default_vals['Max-Daily-Session'][0]; |
$daily_limit = ($daily_limit) ? $daily_limit : $config[counter_default_daily]; |
$session_limit = ($item_vals['Session-Timeout'][0] != '') ? $item_vals['Session-Timeout'][0] : $default_vals['Session-Timeout'][0]; |
$session_limit = ($session_limit) ? $session_limit : 'none'; |
$remaining = 'unlimited time'; |
$log_color = 'green'; |
$now = time(); |
$week = $now - 604800; |
$now_str = date("$config[sql_date_format]",$now + 86400); |
$week_str = date("$config[sql_date_format]",$week); |
$day = date('w'); |
$week_start = date($config[sql_date_format],$now - ($day)*86400); |
$month_start = date($config[sql_date_format],$now - date('j')*86400); |
$today = $day; |
$now_tmp = $now; |
for ($i = $day; $i >-1; $i--){ |
$days[$i] = date($config[sql_date_format],$now_tmp); |
$now_tmp -= 86400; |
} |
$day++; |
//$now -= ($day * 86400); |
$now -= 604800; |
$now += 86400; |
for ($i = $day; $i <= 6; $i++){ |
$days[$i] = date($config[sql_date_format],$now); |
// $now -= 86400; |
$now += 86400; |
} |
$daily_used = $weekly_used = $monthly_used = $lastlog_session_time = '-'; |
$extra_msg = ''; |
$used = array('-','-','-','-','-','-','-'); |
$link = @da_sql_pconnect($config); |
if ($link){ |
$search = @da_sql_query($link,$config, |
"SELECT sum(acctsessiontime) AS sum_sess_time, |
sum(acctinputoctets) AS sum_in_octets, |
sum(acctoutputoctets) AS sum_out_octets, |
avg(acctsessiontime) AS avg_sess_time, |
avg(acctinputoctets) AS avg_in_octets, |
avg(acctoutputoctets) AS avg_out_octets, |
COUNT(*) as counter FROM |
$config[sql_accounting_table] WHERE username = '$login' |
AND acctstarttime >= '$week_str' AND acctstarttime <= '$now_str';"); |
if ($search){ |
$row = @da_sql_fetch_array($search,$config); |
$tot_time = time2str($row[sum_sess_time]); |
$tot_input = bytes2str($row[sum_in_octets]); |
$tot_output = bytes2str($row[sum_out_octets]); |
$avg_time = time2str($row[avg_sess_time]); |
$avg_input = bytes2str($row[avg_in_octets]); |
$avg_output = bytes2str($row[avg_out_octets]); |
$tot_conns = $row[counter]; |
} |
else |
echo "<b>Database query failed: " . da_sql_error($link,$config) . "</b><br>\n"; |
$search = @da_sql_query($link,$config, |
"SELECT sum(acctsessiontime) AS sum_sess_time FROM $config[sql_accounting_table] WHERE username = '$login' |
AND acctstarttime >= '$week_start' AND acctstarttime <= '$now_str';"); |
if ($search){ |
$row = @da_sql_fetch_array($search,$config); |
$weekly_used = $row[sum_sess_time]; |
} |
else |
echo "<b>Database query failed: " . da_sql_error($link,$config) . "</b><br>\n"; |
if ($monthly_limit != 'none' || $config[counter_monthly_calculate_usage] == 'true'){ |
$search = @da_sql_query($link,$config, |
"SELECT sum(acctsessiontime) AS sum_sess_time FROM $config[sql_accounting_table] WHERE username = '$login' |
AND acctstarttime >= '$month_start' AND acctstarttime <= '$now_str';"); |
if ($search){ |
$row = @da_sql_fetch_array($search,$config); |
$monthly_used = $row[sum_sess_time]; |
} |
else |
echo "<b>Database query failed: " . da_sql_error($link,$config) . "</b><br>\n"; |
} |
$search = @da_sql_query($link,$config, |
"SELECT COUNT(*) AS counter FROM $config[sql_accounting_table] WHERE username = '$login' |
AND acctstoptime >= '$week_str' AND acctstoptime <= '$now_str' |
AND (acctterminatecause LIKE 'Login-Incorrect%' OR |
acctterminatecause LIKE 'Invalid-User%' OR |
acctterminatecause LIKE 'Multiple-Logins%');"); |
if ($search){ |
$row = @da_sql_fetch_array($search,$config); |
$tot_badlogins = $row[counter]; |
} |
else |
echo "<b>Database query failed: " . da_sql_error($link,$config) . "</b><br>\n"; |
for($i = 0; $i <=6; $i++){ |
if ($days[$i] == '') |
continue; |
$search = @da_sql_query($link,$config, |
"SELECT sum(acctsessiontime) AS sum_sess_time FROM $config[sql_accounting_table] WHERE |
username = '$login' AND acctstoptime >= '$days[$i] 00:00:00' |
AND acctstoptime <= '$days[$i] 23:59:59';"); |
if ($search){ |
$row = @da_sql_fetch_array($search,$config); |
$used[$i] = $row[sum_sess_time]; |
if ($daily_limit != 'none' && $used[$i] > $daily_limit) |
$used[$i] = "<font color=red>" . time2str($used[$i]) . "</font>"; |
else |
$used[$i] = time2str($used[$i]); |
if ($today == $i){ |
$daily_used = $row[sum_sess_time]; |
if ($daily_limit != 'none'){ |
$remaining = $daily_limit - $daily_used; |
if ($remaining <=0) |
$remaining = 0; |
$log_color = ($remaining) ? 'green' : 'red'; |
if (!$remaining) |
$extra_msg = '(Out of daily quota)'; |
} |
$daily_used = time2str($daily_used); |
if ($daily_limit != 'none' && !$remaining) |
$daily_used = "<font color=red>$daily_used</font>"; |
} |
} |
else |
echo "<b>Database query failed: " . da_sql_error($link,$config) . "</b><br>\n"; |
} |
if ($weekly_limit != 'none'){ |
$tmp = $weekly_limit - $weekly_used; |
if ($tmp <=0){ |
$tmp = 0; |
$extra_msg .= '(Out of weekly quota)'; |
} |
if (!is_numeric($remaining)) |
$remaining = $tmp; |
if ($remaining > $tmp) |
$remaining = $tmp; |
$log_color = ($remaining) ? 'green' : 'red'; |
} |
$weekly_used = time2str($weekly_used); |
if ($weekly_limit != 'none' && !$tmp) |
$weekly_used = "<font color=red>$weekly_used</font>"; |
if ($monthly_limit != 'none'){ |
$tmp = $monthly_limit - $monthly_used; |
if ($tmp <=0){ |
$tmp = 0; |
$extra_msg .= '(Out of monthly quota)'; |
} |
if (!is_numeric($remaining)) |
$remaining = $tmp; |
if ($remaining > $tmp) |
$remaining = $tmp; |
$log_color = ($remaining) ? 'green' : 'red'; |
} |
if ($monthly_limit != 'none' || $config[counter_monthly_calculate_usage] == 'true'){ |
$monthly_used = time2str($monthly_used); |
if ($monthly_limit != 'none' && !$tmp) |
$monthly_used = "<font color=red>$monthly_used</font>"; |
} |
if ($session_limit != 'none'){ |
if (!is_numeric($remaining)) |
$remaining = $session_limit; |
if ($remaining > $session_limit) |
$remaining = $session_limit; |
} |
$search = @da_sql_query($link,$config, |
"SELECT " . da_sql_limit(1,0,$config) . " * FROM $config[sql_accounting_table] |
WHERE username = '$login' AND acctstoptime IS NULL " . da_sql_limit(1,1,$config) . " |
ORDER BY acctstarttime DESC " . da_sql_limit(1,2,$config). " ;"); |
if ($search){ |
if (@da_sql_num_rows($search,$config)){ |
$logged_now = 1; |
$row = @da_sql_fetch_array($search,$config); |
$lastlog_time = $row['acctstarttime']; |
$lastlog_server_ip = $row['nasipaddress']; |
$lastlog_server_port = $row['nasportid']; |
$lastlog_session_time = date2timediv($lastlog_time,0); |
if ($daily_limit != 'none'){ |
$remaining = $remaining - $lastlog_session_time; |
if ($remaining < 0) |
$remaining = 0; |
$log_color = ($remaining) ? 'green' : 'red'; |
} |
$lastlog_session_time_jvs = 1000 * $lastlog_session_time; |
$lastlog_session_time = time2strclock($lastlog_session_time); |
$lastlog_client_ip = $row['framedipaddress']; |
$lastlog_server_name = @gethostbyaddr($lastlog_server_ip); |
$lastlog_client_name = @gethostbyaddr($lastlog_client_ip); |
$lastlog_callerid = $row['callingstationid']; |
if ($lastlog_callerid == '') |
$lastlog_callerid = 'not available'; |
$lastlog_input = $row['acctinputoctets']; |
if ($lastlog_input) |
$lastlog_input = bytes2str($lastlog_input); |
else |
$lastlog_input = 'not available'; |
$lastlog_output = $row['acctoutputoctets']; |
if ($lastlog_output) |
$lastlog_output = bytes2str($lastlog_output); |
else |
$lastlog_output = 'not available'; |
} |
} |
else |
echo "<b>Database query failed: " . da_sql_error($link,$config) . "</b><br>\n"; |
if (! $logged_now){ |
$search = @da_sql_query($link,$config, |
"SELECT " . da_sql_limit(1,0,$config) . " * FROM $config[sql_accounting_table] |
WHERE username = '$login' AND acctsessiontime != '0' " . da_sql_limit(1,1,$config) . " |
ORDER BY acctstoptime DESC " . da_sql_limit(1,2,$config). " ;"); |
if ($search){ |
if (@da_sql_num_rows($search,$config)){ |
$row = @da_sql_fetch_array($search,$config); |
$lastlog_time = $row['acctstarttime']; |
$lastlog_server_ip = $row['nasipaddress']; |
$lastlog_server_port = $row['nasportid']; |
$lastlog_session_time = time2str($row['acctsessiontime']); |
$lastlog_client_ip = $row['framedipaddress']; |
$lastlog_server_name = ($lastlog_server_ip != '') ? @gethostbyaddr($lastlog_server_ip) : '-'; |
$lastlog_client_name = ($lastlog_client_ip != '') ? @gethostbyaddr($lastlog_client_ip) : '-'; |
$lastlog_callerid = $row['callingstationid']; |
if ($lastlog_callerid == '') |
$lastlog_callerid = 'not available'; |
$lastlog_input = $row['acctinputoctets']; |
$lastlog_input = bytes2str($lastlog_input); |
$lastlog_output = $row['acctoutputoctets']; |
$lastlog_output = bytes2str($lastlog_output); |
} |
else |
$not_known = 1; |
} |
else |
echo "<b>Database query failed: " . da_sql_error($link,$config) . "</b><br>\n"; |
} |
} |
else |
echo "<b>Could not connect to SQL database</b><br>\n"; |
$monthly_limit = (is_numeric($monthly_limit)) ? time2str($monthly_limit) : $monthly_limit; |
$weekly_limit = (is_numeric($weekly_limit)) ? time2str($weekly_limit) : $weekly_limit; |
$daily_limit = (is_numeric($daily_limit)) ? time2str($daily_limit) : $daily_limit; |
$session_limit = (is_numeric($session_limit)) ? time2str($session_limit) : $session_limit; |
$remaining = (is_numeric($remaining)) ? time2str($remaining) : $remaining; |
if ($item_vals['Dialup-Access'][0] == 'FALSE' || (!isset($item_vals['Dialup-Access'][0]) && $attrmap['Dialup-Access'] != '' && $attrmap['Dialup-Access'] != 'none')) |
$msg =<<<EON |
<font color=red><b> Le compte de l'utilisateur est verrouillé </b></font> |
EON; |
else |
$msg =<<<EON |
L'utilisateur peut s'identifier pendant <font color="$log_color"> <b>$remaining $extra_msg</font> |
EON; |
$lock_msg = $item_vals['Dialup-Lock-Msg'][0]; |
if ($lock_msg != '') |
$descr =<<<EON |
<font color=red><b>$lock_msg </b</font> |
EON; |
else |
$descr = '-'; |
$expiration = $default_vals['Expiration'][0]; |
if ($item_vals['Expiration'][0] != '') |
$expiration = $item_vals['Expiration'][0]; |
if ($expiration != ''){ |
$expiration = strtotime($expiration); |
if ($expiration != -1 && $expiration < time()) |
$descr = <<<EOM |
<font color=red><b>Le compte de l'utilisateur a expiré</b></font> |
EOM; |
} |
require('../html/user_admin.html.php'); |
?> |
/web/acc/manager/htdocs/user_new.php |
---|
0,0 → 1,318 |
<?php |
# Choice of language |
$Language = 'en'; |
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){ |
$Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']); |
$Language = strtolower(substr(chop($Langue[0]),0,2)); } |
if($Language == 'fr'){ |
$l_title = "Création d'un usager"; |
$l_frame_top = "Gestion des usagers"; |
$l_frame = "Création d'un usager"; |
$l_user_exist = "existe déjà"; |
$l_login = "Identifiant"; |
$l_password = "Mot de passe"; |
$l_passwd_gen = "générer"; |
$l_group = "Groupe"; |
$l_group_empty = "La liste des groupes est vide"; |
$l_name = "Nom et prénom"; |
$l_email = "Adresse de couriel"; |
} |
else { |
$l_title = "Create a user"; |
$l_frame_top = "Users admin"; |
$l_frame = "Create a user"; |
$l_user_exist = "already exist"; |
$l_login = "Login"; |
$l_password = "Password"; |
$l_passwd_gen = "generate"; |
$l_group = "Group"; |
$l_group_empty = "The group list is empty"; |
$l_name = "Surname and name"; |
$l_email = "Email Address"; |
} |
require('/etc/freeradius-web/config.php'); |
if ($show == 1){ |
header("Location: user_admin.php?login=$login"); |
exit; |
} |
require('../lib/attrshow.php'); |
require('../lib/defaults.php'); |
if ($config[general_lib_type] == 'sql' && $config[sql_use_operators] == 'true'){ |
$colspan=2; |
$show_ops=1; |
}else{ |
$show_ops = 0; |
$colspan=1; |
} |
echo "<html><head><title>$l_title</title>"; |
?> |
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config[general_charset]?>"> |
<link rel="stylesheet" href="/css/style.css"> |
<script language="javascript" type="text/javascript"> |
var chars='0123456789abcdefghijkmnopqrstuvwxyzABCDEFGHIJKLMNPQRSTUVWXYZ' |
function password(size) |
{ |
var pass='' |
while(pass.length < size) |
{ |
pass+=chars.charAt(Math.round(Math.random() * (chars.length))) |
} |
document.newuser.passwd.value=pass |
document.newuser.pwdgene.value=pass |
} |
function formControl(){ |
var myregex = /[\S]+/gi; //un ou plusieurs caract�res non blanc" (tous les caract�res sauf espace, retour chariot, tabulation, saut de ligne, saut de page). |
if (myregex.test(document.newuser.login.value)){ |
document.newuser.create.value=1; |
return true; |
} else { |
alert("Votre identifiant est invalide.");//non internationnalis� |
return false; |
} |
} |
</script> |
</head> |
<body> |
<?php |
include("password_generator.jsc"); |
echo "<TABLE width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">"; |
echo "<tr><th>$l_frame_top</th></tr>"; |
?> |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" |
height="2"></td></tr> |
</TABLE> |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=1> |
<tr bgcolor="#666666"><td> |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=2> |
<tr><td valign="middle" align="left"> |
<center> |
<table border=0 width=550 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=200> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th> |
<font color="white"><? echo "$l_frame"; ?></font> |
</th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<?php |
if ($create == 1){ |
if (is_file("../lib/$config[general_lib_type]/user_info.php")) |
include("../lib/$config[general_lib_type]/user_info.php"); |
if ($user_exists != "no"){ |
echo <<<EOM |
<b><i>$login</i> $l_user_exist</b> |
EOM; |
} |
else{ |
if (is_file("../lib/$config[general_lib_type]/create_user.php")) |
include("../lib/$config[general_lib_type]/create_user.php"); |
require("../lib/defaults.php"); |
if (is_file("../lib/$config[general_lib_type]/user_info.php")) |
include("../lib/$config[general_lib_type]/user_info.php"); |
} |
} |
?> |
<form name="newuser" method=post> |
<input type=hidden name=create value="0"> |
<input type=hidden name=show value="0"> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<?php |
echo <<<EOM |
<tr> |
<td align=right colspan=$colspan bgcolor="#d0ddb0"> |
$l_login |
</td><td> |
<input type=text name="login" value="$login" size=35> |
</td> |
</tr> |
<tr> |
<td align=right colspan=$colspan bgcolor="#d0ddb0"> |
$l_password |
</td><td> |
<input type=password name="passwd" size=35> |
<br /><input type="button" value="$l_passwd_gen" onclick="password(8)"> |
<input type="text" value="" name="pwdgene" size=20 readonly> |
</td> |
</tr> |
EOM; |
if ($config[general_lib_type] == 'sql'){ |
if (isset($member_groups)) |
$selected[$member_groups[0]] = 'selected'; |
echo <<<EOM |
<tr> |
<td align=right colspan=$colspan bgcolor="#d0ddb0"> |
$l_group |
</td><td> |
EOM; |
include_once("../lib/$config[general_lib_type]/group_info.php"); |
if (isset($existing_groups)){ |
echo "<select name=\"Fgroup\">"; |
echo "<option value=\"\">"; |
foreach ($member_groups as $group) |
echo "<option value=\"$group\" $selected[$group]>$group\n"; |
echo " </select>"; |
} |
else echo "$l_group_empty"; |
echo "</td></tr>"; |
} |
if ($config[general_lib_type] == 'ldap' || |
($config[general_lib_type] == 'sql' && $config[sql_use_user_info_table] == 'true')){ |
echo <<<EOM |
<tr> |
<td align=right colspan=$colspan bgcolor="#d0ddb0"> |
$l_name |
</td><td> |
<input type=text name="Fcn" value="$cn" size=35> |
</td> |
</tr> |
<tr> |
<td align=right colspan=$colspan bgcolor="#d0ddb0"> |
$l_email |
</td><td> |
<input type=text name="Fmail" value="$mail" size=35> |
</td> |
</tr> |
<tr> |
<td align=right colspan=$colspan bgcolor="#d0ddb0"> |
Service |
</td><td> |
<input type=text name="Fou" value="$ou" size=35> |
</td> |
</tr> |
<tr> |
<td align=right colspan=$colspan bgcolor="#d0ddb0"> |
Nro TPH personnel |
</td><td> |
<input type=text name="Fhomephone" value="$homephone" size=35> |
</td> |
</tr> |
<tr> |
<td align=right colspan=$colspan bgcolor="#d0ddb0"> |
Nro TPH bureau |
</td><td> |
<input type=text name="Ftelephonenumber" value="$telephonenumber" size=35> |
</td> |
</tr> |
<tr> |
<td align=right colspan=$colspan bgcolor="#d0ddb0"> |
Nro TPH mobile |
</td><td> |
<input type=text name="Fmobile" value="$mobile" size=35> |
</td> |
</tr> |
EOM; |
} |
foreach($show_attrs as $key => $desc){ |
$name = $attrmap["$key"]; |
if ($name == 'none') |
continue; |
$oper_name = $name . '_op'; |
$val = ($item_vals["$key"][0] != "") ? $item_vals["$key"][0] : $default_vals["$key"][0]; |
print <<<EOM |
<tr> |
<td align=right bgcolor="#d0ddb0"> |
$desc |
</td> |
EOM; |
if ($show_ops){ |
switch ($key) |
{ |
case 'Simultaneous-Use' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:="; |
break; |
case 'Login-Time' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:="; |
break; |
case 'Expiration' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:="; |
break; |
case 'Session-Timeout' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
case 'Max-Daily-Session' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:="; |
break; |
case 'Max-Weekly-Session' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:="; |
break; |
case 'Max-Monthly-Session' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\":=\">:="; |
break; |
case 'ChilliSpot-Max-Input-Octets' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
case 'ChilliSpot-Max-Output-Octets' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
case 'ChilliSpot-Max-Total-Octets' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
case 'ChilliSpot-Bandwidth-Max-Up' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
case 'ChilliSpot-Bandwidth-Max-Down' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
case 'WISPr-Redirection-URL' : |
echo "<td><select name=$oper_name><option $selected[$op_eq] value=\"=\">="; |
break; |
default : |
print <<<EOM |
<td> |
<select name=$oper_name> |
<option $selected[$op_eq] value="=">= |
<option $selected[$op_set] value=":=">:= |
<option $selected[$op_add] value="+=">+= |
<option $selected[$op_eq2] value="==">== |
<option $selected[$op_ne] value="!=">!= |
<option $selected[$op_gt] value=">">> |
<option $selected[$op_ge] value=">=">>= |
<option $selected[$op_lt] value="<">< |
<option $selected[$op_le] value="<="><= |
<option $selected[$op_regeq] value="=~">=~ |
<option $selected[$op_regne] value="!~">!~ |
<option $selected[$op_exst] value="=*">=* |
<option $selected[$op_nexst] value="!*">!* |
</select> |
</td> |
EOM; |
break; |
} |
} |
print <<<EOM |
<td> |
<input type=text name="$name" value="$val" size=35> |
</td> |
</tr> |
EOM; |
} |
echo "</table><BR>"; |
if ($create == 1) |
echo "<input type=submit class=button value=\"Afficher le profil de l'utilisateur\" OnClick=\"this.form.show.value=1\">"; |
else{ |
//echo "<input type=submit class=button value=\"Créer\" OnClick=\"this.form.create.value=1\">";} |
echo "<input type=submit class=button value=\"Créer\" OnClick=\"return formControl();\">";} |
?> |
</form> |
</td></tr> |
</table> |
</tr> |
</table> |
</TD></TR> |
</TABLE> |
</td></tr> |
</TABLE> |
</body> |
</html> |
/web/acc/manager/htdocs/user_accounting.php |
---|
0,0 → 1,249 |
<?php |
require('/etc/freeradius-web/config.php'); |
?> |
<html> |
<?php |
require('../lib/functions.php'); |
require('../lib/sql/functions.php'); |
require('../lib/attrshow.php'); |
if (is_file("../lib/sql/drivers/$config[sql_type]/functions.php")) |
include_once("../lib/sql/drivers/$config[sql_type]/functions.php"); |
else{ |
echo <<<EOM |
<title>Analyse pour $login</title> |
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]"> |
<link rel="stylesheet" href="style.css"> |
</head> |
<body> |
<center> |
<b>Could not include SQL library functions. Aborting</b> |
</body> |
</html> |
EOM; |
exit(); |
} |
$now = time(); |
$now_str = ($now_str != '') ? "$now_str" : date($config[sql_date_format],$now + 86400); |
$prev_str = ($prev_str != '') ? "$prev_str" : date($config[sql_date_format], $now - 604800 ); |
$num = 0; |
$pagesize = ($pagesize) ? $pagesize : 10; |
if (!is_numeric($pagesize) && $pagesize != 'all') |
$pagesize = 10; |
$limit = ($pagesize == 'all') ? '' : "$pagesize"; |
$selected[$pagesize] = 'selected'; |
$order = ($order != '') ? $order : $config[general_accounting_info_order]; |
if ($order != 'desc' && $order != 'asc') |
$order = 'desc'; |
$selected[$order] = 'selected'; |
$now_str = da_sql_escape_string($now_str); |
$prev_str = da_sql_escape_string($prev_str); |
unset($da_name_cache); |
if (isset($_SESSION['da_name_cache'])) |
$da_name_cache = $_SESSION['da_name_cache']; |
echo <<<EOM |
<head> |
<title>Analyse pour $login</title> |
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]"> |
<link rel="stylesheet" href="/css/style.css"> |
</head> |
<body> |
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0"> |
<tr><th>Statistique des connexions</th></tr> |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" |
height="2"></td></tr> |
</TABLE> |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=1> |
<tr bgcolor="#666666"><td> |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=2> |
<tr><td valign="middle" align="left"> |
<center> |
<table border=0 width=550 cellpadding=0 cellspacing=0> |
<tr valign=top> |
<!--<td align=center><img src="images/title2.gif"></td>--> |
</tr> |
</table> |
<table border=0 width=400 cellpadding=0 cellspacing=2> |
EOM; |
include("../html/user_toolbar.html.php"); |
print <<<EOM |
</table> |
<br> |
<table border=0 width=840 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=65%></td> |
<td bgcolor="black" width=35%> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th> |
<font color="white">Analyse pour $login</font> |
</th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
Dates du <b>$prev_str</b> au <b>$now_str</b> |
EOM; |
?> |
<p> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<tr bgcolor="#d0ddb0"> |
<th>#</th> |
<?php |
for($i=1;$i<=9;$i++){ |
if ($acct_attrs['ua']["$i"] != '') |
echo "<th>" . $acct_attrs['ua']["$i"] . "</th>\n"; |
} |
$sql_extra_query = ''; |
if ($config[sql_accounting_extra_query] != '') |
$sql_extra_query = xlat($config[sql_accounting_extra_query],$login,$config); |
?> |
</tr> |
<?php |
$link = @da_sql_pconnect($config); |
if ($link){ |
$search = @da_sql_query($link,$config, |
"SELECT " . da_sql_limit($limit,0,$config) . " * FROM $config[sql_accounting_table] |
WHERE username = '$login' AND acctstarttime <= '$now_str' |
AND acctstarttime >= '$prev_str' $sql_extra_query " . da_sql_limit($limit,1,$config) . |
" ORDER BY acctstarttime $order " . da_sql_limit($limit,2,$config). " ;"); |
if ($search){ |
while( $row = @da_sql_fetch_array($search,$config) ){ |
$tr_color='white'; |
$num++; |
$acct_type = "$row[framedprotocol]/$row[nasporttype]"; |
if ($acct_type == '') |
$acct_type = '-'; |
$acct_logedin = $row[acctstarttime]; |
$acct_sessiontime = $row[acctsessiontime]; |
$acct_sessiontime_sum += $acct_sessiontime; |
$acct_sessiontime = time2str($acct_sessiontime); |
$acct_ip = $row[framedipaddress]; |
if ($acct_ip == '') |
$acct_ip = '-'; |
$acct_upload = $row[acctinputoctets]; |
$acct_upload_sum += $acct_upload; |
$acct_upload = bytes2str($acct_upload); |
$acct_download = $row[acctoutputoctets]; |
$acct_download_sum += $acct_download; |
$acct_download = bytes2str($acct_download); |
$acct_server = $row[nasipaddress]; |
if ($acct_server != ''){ |
$acct_server = $da_name_cache[$row[nasipaddress]]; |
if (!isset($acct_server)){ |
$acct_server = @gethostbyaddr($row[nasipaddress]); |
if (!isset($da_name_cache) && $config[general_use_session] == 'yes'){ |
$da_name_cache[$row[nasipaddress]] = $acct_server; |
session_register('da_name_cache'); |
} |
else |
$da_name_cache[$row[nasipaddress]] = $acct_server; |
} |
} |
else |
$acct_server = '-'; |
$acct_server = "$acct_server:$row[nasportid]"; |
$acct_terminate_cause = "$row[acctterminatecause]"; |
if ($acct_terminate_cause == '') |
$acct_terminate_cause = '-'; |
if (ereg('Login-Incorrect',$acct_terminate_cause) || |
ereg('Multiple-Logins', $acct_terminate_cause) || ereg('Invalid-User',$acct_terminate_cause)) |
$tr_color='#ffe8e0'; |
$acct_callerid = "$row[callingstationid]"; |
if ($acct_callerid == '') |
$acct_callerid = '-'; |
echo <<<EOM |
<tr align=center bgcolor="$tr_color"> |
<td>$num</td> |
EOM; |
if ($acct_attrs[ua][1] != '') echo "<td>$acct_type</td>\n"; |
if ($acct_attrs[ua][2] != '') echo "<td>$acct_logedin</td>\n"; |
if ($acct_attrs[ua][3] != '') echo "<td>$acct_sessiontime</td>\n"; |
if ($acct_attrs[ua][4] != '') echo "<td>$acct_ip</td>\n"; |
if ($acct_attrs[ua][5] != '') echo "<td>$acct_upload</td>\n"; |
if ($acct_attrs[ua][6] != '') echo "<td>$acct_download</td>\n"; |
if ($acct_attrs[ua][7] != '') echo "<td>$acct_server</td>\n"; |
if ($acct_attrs[ua][8] != '') echo "<td>$acct_terminate_cause</td>\n"; |
if ($acct_attrs[ua][9] != '') echo "<td>$acct_callerid</td>\n"; |
echo "</tr>\n"; |
} |
$acct_sessiontime_sum = time2str($acct_sessiontime_sum); |
$acct_upload_sum = bytes2str($acct_upload_sum); |
$acct_download_sum = bytes2str($acct_download_sum); |
} |
else |
echo "<b>Database query failed: " . da_sql_error($link,$config) . "</b><br>\n"; |
} |
else |
echo "<b>Could not connect to SQL database</b><br>\n"; |
$colspan = 3; |
if ($acct_attrs[ua][1] == '') |
$colspan--; |
if ($acct_attrs[ua][2] == '') |
$colspan--; |
echo <<<EOM |
<tr bgcolor="lightyellow"> |
<td colspan=$colspan align="right">Total pages</td> |
EOM; |
if ($acct_attrs[ua][3] != '') echo "<td align=\"center\"><b>$acct_sessiontime_sum</td>\n"; |
if ($acct_attrs[ua][4] != '') echo "<td> </td>\n"; |
if ($acct_attrs[ua][5] != '') echo "<td align=\"right\" nowrap><b>$acct_upload_sum</td>\n"; |
if ($acct_attrs[ua][6] != '') echo "<td align=\"right\" nowrap><b>$acct_download_sum</td>\n"; |
if ($acct_attrs[ua][7] != '') echo "<td> </td>\n"; |
if ($acct_attrs[ua][8] != '') echo "<td> </td>\n"; |
if ($acct_attrs[ua][9] != '') echo "<td> </td>\n"; |
?> |
</tr> |
</table> |
<tr><td> |
<hr> |
<tr><td align="center"> |
<form action="user_accounting.php" method="get" name="master"> |
<table border=0> |
<tr><td colspan=6></td> |
</tr> |
<tr valign="bottom"> |
<td><small><b>Utilisateur</td><td><small><b>début date</td><td><small><b>fin date</td><td><small><b>nbr./page</td><td><b>classé le</td> |
<tr valign="middle"><td> |
<?php |
echo <<<EOM |
<input type="text" name="login" size="11" value="$login"></td> |
<td><input type="text" name="prev_str" size="11" value="$prev_str"></td> |
<td><input type="text" name="now_str" size="11" value="$now_str"></td> |
<td><select name="pagesize"> |
<option $selected[5] value="5" >05 |
<option $selected[10] value="10">10 |
<option $selected[15] value="15">15 |
<option $selected[20] value="20">20 |
<option $selected[40] value="40">40 |
<option $selected[80] value="80">80 |
<option $selected[all] value="all">tous |
</select> |
</td> |
<td><select name="order"> |
<option $selected[asc] value="asc">plus ancien en premier |
<option $selected[desc] value="desc">plus récent en premier |
</select> |
</td> |
EOM; |
?> |
<td><input type="submit" class=button value="show"></td></tr> |
</table></td></tr></form> |
</table> |
</tr> |
</table> |
</TD></TR> |
</TABLE> |
</td></tr> |
</TABLE> |
</body> |
</html> |
/web/acc/manager/html/user_admin.html.php |
---|
0,0 → 1,432 |
<?php |
echo <<<EOM |
<title>Informations de l'utilisateur $cn</title> |
<meta http-equiv="Content-Type" content="text/html; charset=$config[general_charset]"> |
</head> |
<body> |
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0"> |
<tr><th>Gestion des usagers</th></tr> |
<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1" |
height="2"></td></tr> |
</TABLE> |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=1> |
<tr bgcolor="#666666"><td> |
<TABLE width="100%" border=0 cellspacing=0 cellpadding=2> |
<tr><td valign="middle" align="left"> |
<link rel="stylesheet" href="/css/style.css"> |
EOM; |
if ($logged_now) |
print <<<EOM |
<script Language="JavaScript"> |
<!-- |
var start; |
var our_time; |
function startcounter() |
{ |
var start_date = new Date(); |
start = start_date.getTime(); |
our_time = $lastlog_session_time_jvs; |
showcounter(); |
} |
function showcounter () |
{ |
var now_date = new Date(); |
var diff = now_date.getTime() - start + our_time; |
var hours = parseInt(diff / 3600000); |
if(isNaN(hours)) hours = 0; |
var minutes = parseInt((diff % 3600000) / 60000); |
if(isNaN(minutes)) minutes = 0; |
var seconds = parseInt(((diff % 3600000) % 60000) / 1000); |
if(isNaN(seconds)) seconds = 0; |
var timeValue = " " ; |
timeValue += ((hours < 10) ? "0" : "") + hours; |
timeValue += ((minutes < 10) ? ":0" : ":") + minutes; |
timeValue += ((seconds < 10) ? ":0" : ":") + seconds; |
document.online.status.value = timeValue; |
setTimeout("showcounter()", 1000); |
} |
//--> |
</script> |
EOM; |
print <<<EOM |
<center> |
<table border=0 width=550 cellpadding=0 cellspacing=0> |
<tr valign=top> |
<!--<td align=center><img src="images/title2.gif"></td>--> |
</tr> |
</table> |
<table border=0 width=400 cellpadding=0 cellspacing=2> |
EOM; |
include("../html/user_toolbar.html.php"); |
print <<<EOM |
</table> |
<br> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=250> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th> |
<font color="white">Etat des connexions pour $login ($cn)</font> |
</th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
EOM; |
if ($logged_now){ |
print <<<EOM |
<form name="online" onSubmit="return(false);"> |
<tr><td align=center bgcolor="#d0ddb0"> |
L'utilisateur est <b>en ligne</b> depuis |
</td><td> |
$lastlog_time |
</td></tr> |
<tr><td align=center bgcolor="#d0ddb0"> |
Durée des connexions |
</td><td> |
<input type="text" name="status" size=10 value="$lastlog_session_time"> |
</form> |
</td></tr> |
EOM; |
require('../html/user_admin_userinfo.html.php'); |
}else if ($not_known) print <<<EOM |
<tr><td align=center bgcolor="#d0ddb0"> |
Cet utilisateur ne s'est <b>jamais</b> connecté |
</td><td>- |
</td></tr> |
EOM; |
else{ |
print <<<EOM |
<tr><td align=center bgcolor="#d0ddb0"> |
L'utilisateur <b>n'est pas connecté</b> actuellement<br> |
</td><td>- |
</td></tr> |
<tr><td align=center bgcolor="#d0ddb0"> |
Dernière connexion |
</td><td> |
$lastlog_time |
</td></tr> |
<tr><td align=center bgcolor="#d0ddb0"> |
Durée de la connexion |
</td><td> |
$lastlog_session_time |
</td></tr> |
EOM; |
require('../html/user_admin_userinfo.html.php'); |
} |
print <<<EOM |
<tr><td align=center bgcolor="#d0ddb0"> |
Sessions autorisées |
</td><td> |
$msg |
</td></tr> |
<tr><td align=center bgcolor="#d0ddb0"> |
Description complète de l'utilisateur |
</td><td> |
$descr |
</td></tr> |
</table> |
</table> |
</table> |
EOM; |
if (is_file("../lib/$config[general_lib_type]/password_check.php")) |
include("../lib/$config[general_lib_type]/password_check.php"); |
echo <<<EOM |
<br> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=250> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th> |
<font color="white">Analyse</font> |
</th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<tr><td align=center bgcolor="#d0ddb0">-</td><td align=center bgcolor="#d0ddb0"><b>mensuel</b></td><td align=center bgcolor="#d0ddb0"><b>hebdomadaire</b></td><td align=center bgcolor="#d0ddb0"><b>journalier</b></td><td align=center bgcolor="#d0ddb0"><b>par session</b></td></tr> |
<tr><td align=center bgcolor="#d0ddb0"><b>limite</b></td><td>$monthly_limit</td><td>$weekly_limit</td><td>$daily_limit</td><td>$session_limit</td></tr> |
<tr><td align=center bgcolor="#d0ddb0"><b>durée utilisée</b></td><td>$monthly_used</td><td>$weekly_used</td><td>$daily_used</td><td>$lastlog_session_time</td></tr> |
</table> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" va |
lign=top> |
<tr><td align=center bgcolor="#d0ddb0"><b>Jour</b></td><td align=center bgcolor="#d0ddb0"><b>limite journalière</b></td><td align=center bgcolor="#d0ddb0"><b>durée utilisée</b></td><tr> |
<tr><td align=center bgcolor="#d0ddb0">dimanche</td><td>$daily_limit</td><td>$used[0]</td></tr> |
<tr><td align=center bgcolor="#d0ddb0">lundi</td><td>$daily_limit</td><td>$used[1]</td></tr> |
<tr><td align=center bgcolor="#d0ddb0">mardi</td><td>$daily_limit</td><td>$used[2]</td></tr> |
<tr><td align=center bgcolor="#d0ddb0">mercredi</td><td>$daily_limit</td><td>$used[3]</td></tr> |
<tr><td align=center bgcolor="#d0ddb0">jeudi</td><td>$daily_limit</td><td>$used[4]</td></tr> |
<tr><td align=center bgcolor="#d0ddb0">vendredi</td><td>$daily_limit</td><td>$used[5]</td></tr> |
<tr><td align=center bgcolor="#d0ddb0">samedi</td><td>$daily_limit</td><td>$used[6]</td></tr> |
</table></table> |
</table> |
<br> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=200> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th> |
<font color="white">État sur les 7 derniers jours</font> |
</th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<tr><td align=center bgcolor="#d0ddb0">Nombre de connexions</td><td> |
<b><font color="darkblue">$tot_conns</font></b></td></tr> |
<tr><td align=center bgcolor="#d0ddb0">Durée cumulée des connexions</td><td> |
<b><font color="darkblue">$tot_time</td></tr></td></tr> |
<tr><td align=center bgcolor="#d0ddb0">Identifications défectueuses</td><td> |
<b><font color="darkblue">$tot_badlogins</td></tr></td></tr> |
<tr><td align=center bgcolor="#d0ddb0">Upload</td><td> |
$tot_input</td></tr></td></tr> |
<tr><td align=center bgcolor="#d0ddb0">Download</td><td> |
$tot_output</td></tr></td></tr> |
<tr><td align=center bgcolor="#d0ddb0">Duré moyenne</td><td> |
$avg_time</td></tr></td></tr> |
<tr><td align=center bgcolor="#d0ddb0">Upload moyen</td><td> |
$avg_input</td></tr></td></tr> |
<tr><td align=center bgcolor="#d0ddb0">Download moyen</td><td> |
$avg_output</td></tr></td></tr> |
</table> |
</table> |
</table> |
<br> |
EOM; |
if ($user_info){ |
echo <<<EOM |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor="black" width=250> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th> |
<font color="white">Informations personnelles</font> |
</th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<tr> |
<td align=center bgcolor="#d0ddb0"> |
<b>nom</b> |
</td> |
<td> |
$cn |
</td> |
</tr> |
EOM; |
if ($config[general_prefered_lang] != 'en'){ |
echo <<<EOM |
<tr> |
<td align=center bgcolor="#d0ddb0"> |
<b>nom ($config[general_prefered_lang_name])</b> |
</td> |
<td> |
$cn_lang |
</td> |
</tr> |
EOM; |
} |
echo <<<EOM |
<tr> |
<td align=center bgcolor="#d0ddb0"> |
<b>service</b> |
</td> |
<td> |
$ou |
</td> |
</tr> |
EOM; |
if ($config[general_prefered_lang] != 'en'){ |
echo <<<EOM |
<tr> |
<td align=center bgcolor="#d0ddb0"> |
<b>service ($config[general_prefered_lang_name])</b> |
</td> |
<td> |
$ou_lang |
</td> |
</tr> |
EOM; |
} |
echo <<<EOM |
<tr> |
<td align=center bgcolor="#d0ddb0"> |
<b>titre</b> |
</td> |
<td> |
$title |
</td> |
</tr> |
EOM; |
if ($config[general_prefered_lang] != 'en'){ |
echo <<<EOM |
<tr> |
<td align=center bgcolor="#d0ddb0"> |
<b>title ($config[general_prefered_lang_name])</b> |
</td> |
<td> |
$title_lang |
</td> |
</tr> |
EOM; |
} |
echo <<<EOM |
<tr> |
<td align=center bgcolor="#d0ddb0"> |
<b>adresse</b> |
</td> |
<td> |
$address |
</td> |
</tr> |
EOM; |
if ($config[general_prefered_lang] != 'en'){ |
echo <<<EOM |
<tr> |
<td align=center bgcolor="#d0ddb0"> |
<b>adresse ($config[general_prefered_lang_name])</b> |
</td> |
<td> |
$address_lang |
</td> |
</tr> |
EOM; |
} |
echo <<<EOM |
<tr> |
<td align=center bgcolor="#d0ddb0"> |
<b>adresse personnelle</b> |
</td> |
<td> |
$homeaddress |
</td> |
</tr> |
EOM; |
if ($config[general_prefered_lang] != 'en'){ |
echo <<<EOM |
<tr> |
<td align=center bgcolor="#d0ddb0"> |
<b>adresse personnelle ($config[general_prefered_lang_name])</b> |
</td> |
<td> |
$homeaddress_lang |
</td> |
</tr> |
EOM; |
} |
echo <<<EOM |
<tr> |
<td align=center bgcolor="#d0ddb0"> |
<b>téléphone</b> |
</td> |
<td> |
$telephonenumber |
</td> |
</tr> |
<tr> |
<td align=center bgcolor="#d0ddb0"> |
<b>téléphone personnel</b> |
</td> |
<td> |
$homephone |
</td> |
</tr> |
<tr> |
<td align=center bgcolor="#d0ddb0"> |
<b>mobile</b> |
</td> |
<td> |
$mobile |
</td> |
</tr> |
<tr> |
<td align=center bgcolor="#d0ddb0"> |
<b>fax</b> |
</td> |
<td> |
$fax |
</td> |
</tr> |
<tr> |
<td align=center bgcolor="#d0ddb0"> |
<b>home page</b> |
</td> |
<td> |
<a href="$url" target=userpage onclick=window.open("$url","userpage","width=1000,height=550,toolbar=no,scrollbars=yes,resizable=yes") title="Aller àà la page d'accueil de l'utilisateur">$url</a> |
</td> |
</tr> |
<tr> |
<td align=center bgcolor="#d0ddb0"> |
<b>e-mail</b> |
</td> |
<td> |
<a href="mailto: $mail" title="Envoyer un email">$mail</a> |
</td> |
</tr> |
<tr> |
<td align=center bgcolor="#d0ddb0"> |
<b>e-mail alias</b> |
</td> |
<td> |
<a href="mailto: $mailalt" title="Envoyer un email">$mailalt</a> |
</td> |
</tr> |
</table> |
</table> |
</table> |
EOM; |
} |
?> |
<tr> <td colspan=3 height=1></td></tr> |
<tr> <td colspan=3> |
</table> |
<?php |
if ($logged_now) |
print <<<EOM |
<script Language="JavaScript"> |
startcounter(); |
</script> |
EOM; |
?> |
</TD></TR> |
</TABLE> |
</td></tr> |
</TABLE> |
</body> |
</html> |
/web/acc/manager/html/group_toolbar.html.php |
---|
0,0 → 1,13 |
<?php |
$Login = urlencode($login); |
print <<<EOM |
<tr valign=top> |
<td align=center bgcolor="#FFCC66"> |
<a href="group_admin.php?login=$Login" title="Gestion des membres du groupe"><font color="black"><b>MEMBRES</b></font></a></td> |
<td align=center bgcolor="#FFCC66"> |
<a href="user_edit.php?login=$Login&user_type=group" title="Editer les propriétés du groupe"><font color="black"><b>ATTRIBUTS</b></font></a></td> |
<td align=center bgcolor="#FFCC66"> |
<a href="user_delete.php?login=$Login&user_type=group" title="Supprimer le groupe"><font color="black"><b>SUPPRIMER</b></font></a></td> |
</tr> |
EOM; |
?> |
/web/acc/manager/html/stats.html.php |
---|
0,0 → 1,270 |
<form action="stats.php" method="get"> |
<table border=0 width=600 cellpadding=2 cellspacing=0> |
<tr> |
<td align=left> |
<table border=0 cellspacing=0 cellpadding=2> |
<tr valign=bottom> |
<td><small><b>De </td> |
<td><small><b>à </td> |
<td><small><b>usager</td> |
<td><small><b>sur le serveur</td> |
<td> </td> |
</tr> |
<tr valign=middle> |
<?php |
echo <<<EOM |
<td valign=middle><input type="text" name="after" size="12" value="$after" ></td> |
<td valign=middle><input type="text" name="before" size="12" value="$before"></td> |
<td valign=middle><input type="text" name="login" size="12" value="$login" ></td> |
<td valign=middle><select name="server" size=1> |
EOM; |
foreach($servers as $key => $val) |
echo <<<EOM |
<option value="$val">$key |
EOM; |
?> |
</select></td> |
<td valign=middle><input type="submit" class=button value="Go"></td> |
</tr> |
</table> |
</td> |
</tr> |
<tr> |
<td><hr size=1 noshade></td> |
</tr> |
<tr> |
<td valign=top> |
<table border=0 width="100%"> |
<tr> <td align=center valign=top width="45%"> |
<small> |
<font color="darkblue"><b><?php echo $date ?></b></font> |
</td> |
<td align=center valign=top width="10%"> </td> |
<td align=center valign=top width="45%"><small> |
Période observée :<br> |
<?php |
echo <<<EOM |
<b>$after</b> à <b>$before</b> |
EOM; |
?> |
</td> |
</tr> |
</table> |
</td> |
</tr> |
<tr> |
<td align=center><h1><b>Statistiques d'utilisation journalière</td> |
</tr> |
<tr> |
<td valign=top> |
<table border=0 width="100%"> |
<tr> |
<td colspan=2> |
<center> |
Statistiques pour |
<?php |
if ($login == '') |
echo <<<EOM |
<b><font color="darkblue">tous</font></b> les usagers |
EOM; |
else |
echo <<<EOM |
l'usager <b><font color="darkblue">$login</font></b> |
EOM; |
?> |
</td> |
</tr> |
</table> |
</td> |
</tr> |
<tr> |
<td> |
<table border=0 cellpadding=0 cellspacing=0 width="100%"> |
<tr> <td colspan=2><hr size=1 noshade> |
</td> |
</tr> |
</table> |
</td> |
</tr> |
<tr> |
<td align="center"> |
<table border=0 cellpadding=0 cellspacing=1 width="100%"> |
<?php |
echo <<<EOM |
<tr> |
<td>Champs affichés :</td><td colspan=10 align=center nowrap><select name="column1"> |
<option $selected1[sessions] value="sessions">Nbre de sessions |
<option $selected1[usage] value="usage">Temps d'utilisation total |
<option value="upload">------------------ |
<option $selected1[upload] value="upload">uploads |
<option $selected1[download] value="download">downloads |
</select> <select name="column2"> |
<option $selected2[sessions] value="sessions">Nbre de sessions |
<option $selected2[usage] value="usage">Temps d'utilisation total |
<option value="upload">------------------ |
<option $selected2[upload] value="upload">uploads |
<option $selected2[download] value="download">downloads |
</select> <select name="column3"> |
<option $selected3[sessions] value="sessions">Nbre de sessions |
<option $selected3[usage] value="usage">Temps d'utilisation total |
<option value="upload">------------------ |
<option $selected3[upload] value="upload">uploads |
<option $selected3[download] value="download">downloads |
EOM; |
?> |
</select> |
</td> |
</tr> |
<tr> |
<td colspan=10 align=center valign=middle> |
<table border=0 width="100%"> |
<tr> |
<td width=50% align=left> |
<table border=0 cellpadding=0 cellspacing=0> |
<tr> |
<td align=right><input type="submit" class=button value="Rafraîchir"></td> |
</tr> |
</table> |
</td> |
</tr> |
</table> |
</td> |
</tr> |
</table> |
</td> |
<tr> |
<td colspan=10 height=20><img src="images/pixel.gif"></td> |
</tr> |
<tr> |
<td colspan=10 height=20 align=center> |
<table border=0 width=640 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=440></td> |
<td bgcolor="black" width=200> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th> |
<font color="white">Analyse journalière</font> |
</th></tr> |
</table> |
</td></tr> |
<tr valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<p> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top> |
<tr bgcolor="#d0ddb0"> |
<th>date</th> |
<?php |
echo <<<EOM |
<th colspan=3>$message[$column1]</th> |
<th colspan=3>$message[$column2]</th> |
<th colspan=3>$message[$column3]</th> |
EOM; |
?> |
</tr> |
<?php |
for($i = 0; $i <= $num_days; $i++){ |
$day = $days[$i]; |
$trcolor = ($i % 2) ? "#f7f7e4" : "#efefe4"; |
echo <<<EOM |
<tr align=center bgcolor="$trcolor"> |
<td>$day</td> |
<td>{$data[$day][1]}</td> |
<td>{$perc[$day][1]}</td> |
<td align=left height=14> |
<table border=0 cellpadding=0> |
<tr> |
<td bgcolor="{$color[$day][1]}" width={$width[$day][1]}><img border=0 height=14 width={$width[$day][1]} src="images/pixel.gif" alt="the $message[$column1] for $day is {$data[$day][1]}"></td> |
</tr> |
</table> |
</td> |
<td>{$data[$day][2]}</td> |
<td>{$perc[$day][2]}</td> |
<td align=left height=14> |
<table border=0 cellpadding=0> |
<tr> |
<td bgcolor="{$color[$day][2]}" width={$width[$day][2]}><img border=0 height=14 width={$width[$day][2]} src="images/pixel.gif" alt="the $message[$column3] for $day is {$data[$day][2]}"></td> |
</tr> |
</table> |
</td> |
<td>{$data[$day][3]}</td> |
<td>{$perc[$day][3]}</td> |
<td align=left height=14> |
<table border=0 cellpadding=0> |
<tr> |
<td bgcolor="{$color[$day][3]}" width={$width[$day][3]}><img border=0 height=14 width={$width[$day][3]} src="images/pixel.gif" alt="the $message[$column3] for $day is {$data[$day][3]}"></td> |
</tr> |
</table> |
</td> |
</tr> |
EOM; |
} |
?> |
</table> |
</td></tr> |
</table> |
</td></tr> |
</table> |
</td></tr> |
</table> |
<p> |
<table border=0 width=640 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=440></td> |
<td bgcolor="black" width=200> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor="#907030" align=right valign=top><th> |
<font color="white">Récapitulatif journalier</font> |
</th></tr> |
</table> |
</td></tr> |
<tr bgcolor="black" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top> |
<tr><td> |
<p> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ff |
ffe0" valign=top> |
<tr bgcolor="#d0ddb0"> |
<th> </th> |
<?php |
echo <<<EOM |
<th>$message[$column1]</th> |
<th>$message[$column2]</th> |
<th>$message[$column3]</th> |
EOM; |
?> |
</tr> |
<?php |
echo <<<EOM |
<tr align=center bgcolor="#efefe4"> |
<td>maximum</td> |
<td>{$data[max][1]}</td> |
<td>{$data[max][2]}</td> |
<td>{$data[max][3]}</td> |
</tr> |
<tr align=center bgcolor="#f7f7e4"> |
<td>moyenne</td> |
<td>{$data[avg][1]}</td> |
<td>{$data[avg][2]}</td> |
<td>{$data[avg][3]}</td> |
</tr> |
<tr align=center bgcolor="#efefe4"> |
<td>récapitulatif</td> |
<td>{$data[sum][1]}</td> |
<td>{$data[sum][2]}</td> |
<td>{$data[sum][3]}</td> |
</tr> |
EOM; |
?> |
</table> |
</table> |
</td></tr> |
</table> |
</td></tr> |
</table> |
</form> |
</center> |
</body> |
</html> |
/web/acc/manager/html/user_toolbar.html.php |
---|
0,0 → 1,28 |
<?php |
$Login = urlencode($login); |
print <<<EOM |
<tr valign=top> |
<td align=center bgcolor="#FFCC66"> |
<a href="user_admin.php?login=$Login" title="Afficher les informations de l'usager"><font color="black"><b>ÉTAT</b></font></a></td> |
<td align=center bgcolor="#FFCC66"> |
<a href="user_edit.php?login=$Login" title="Modifier les paramètres de l'usager"><font color="black"><b>ATTRIBUTS</b></font></a></td> |
<td align=center bgcolor="#FFCC66"> |
<a href="user_info.php?login=$Login" title="Modifier les informations personnelles de l'usager"><font color="black"><b>INFOS PERSONNELLES</b></font></a></td> |
</tr> |
<tr valign=top> |
<td align=center bgcolor="#FFCC66"> |
<a href="user_accounting.php?login=$Login" title="Afficher les informations de connexions de l'usager"><font color="black"><b>CONNEXIONS</b></font></a></td> |
<!--<td align=center bgcolor="#FFCC66"> |
<a href="badusers.php?login=$Login" title="Show User Unauthorized Actions"><font color="black"><b>BADUSERS</b></font></a></td> |
--> |
<td align=center bgcolor="#FFCC66"> |
<a href="user_delete.php?login=$Login" title="Supprimer l'usager"><font color="black"><b>SUPPRIMER</b></font></a></td> |
<!--<td align=center bgcolor="#FFCC66"> |
<a href="user_test.php?login=$Login" title="Test de l'usager"><font color="black"><b>TEST</b></font></a></td> |
--> |
<td align=center bgcolor="#FFCC66"> |
<a href="clear_opensessions.php?login=$Login" title="Effacer les sessions ouvertes de l'usager"><font color="black"><b>SESSIONS OUVERTES</b></font></a></td> |
</tr> |
</font> |
EOM; |
?> |
/web/acc/manager/html/user_admin_userinfo.html.php |
---|
0,0 → 1,29 |
<?php |
echo <<<EOM |
<tr><td align=center bgcolor="#d0ddb0"> |
Serveur |
</td><td> |
<b>$lastlog_server_name</b> ($lastlog_server_ip) |
</td></tr> |
<tr><td align=center bgcolor="#d0ddb0"> |
Port du serveur |
</td><td> |
$lastlog_server_port |
</td></tr> |
<tr><td align=center bgcolor="#d0ddb0"> |
@MAC de la station cliente |
</td><td> |
$lastlog_callerid |
</td></tr> |
<tr><td align=center bgcolor="#d0ddb0"> |
Upload |
</td><td> |
$lastlog_input |
</td></tr> |
<tr><td align=center bgcolor="#d0ddb0"> |
Download |
</td><td> |
$lastlog_output |
</td></tr> |
EOM; |
?> |
/web/acc/manager/lib/functions.php |
---|
0,0 → 1,135 |
<?php |
function time2str($time) |
{ |
$time = floor($time); |
if (!$time) |
return "0 seconds"; |
$d = $time/86400; |
$d = floor($d); |
if ($d){ |
$str .= "$d days, "; |
$time = $time % 86400; |
} |
$h = $time/3600; |
$h = floor($h); |
if ($h){ |
$str .= "$h hours, "; |
$time = $time % 3600; |
} |
$m = $time/60; |
$m = floor($m); |
if ($m){ |
$str .= "$m minutes, "; |
$time = $time % 60; |
} |
if ($time) |
$str .= "$time seconds, "; |
$str = ereg_replace(', $','',$str); |
return $str; |
} |
function time2strclock($time) |
{ |
$time = floor($time); |
if (!$time) |
return "00:00:00"; |
$str["days"] = $str["hour"] = $str["min"] = $str["sec"] = "00"; |
$d = $time/86400; |
$d = floor($d); |
if ($d){ |
if ($d < 10) |
$d = "0" . $d; |
$str["days"] = "$d"; |
$time = $time % 86400; |
} |
$h = $time/3600; |
$h = floor($h); |
if ($h){ |
if ($h < 10) |
$h = "0" . $h; |
$str["hour"] = "$h"; |
$time = $time % 3600; |
} |
$m = $time/60; |
$m = floor($m); |
if ($m){ |
if ($m < 10) |
$m = "0" . $m; |
$str["min"] = "$m"; |
$time = $time % 60; |
} |
if ($time){ |
if ($time < 10) |
$time = "0" . $time; |
} |
else |
$time = "00"; |
$str["sec"] = "$time"; |
if ($str["days"] != "00") |
$ret = "$str[days]:$str[hour]:$str[min]:$str[sec]"; |
else |
$ret = "$str[hour]:$str[min]:$str[sec]"; |
return $ret; |
} |
function date2timediv($date,$now) |
{ |
list($day,$time)=explode(' ',$date); |
$day = explode('-',$day); |
$time = explode(':',$time); |
$timest = mktime($time[0],$time[1],$time[2],$day[1],$day[2],$day[0]); |
if (!$now) |
$now = time(); |
return ($now - $timest); |
} |
function date2time($date) |
{ |
list($day,$time)=explode(' ',$date); |
$day = explode('-',$day); |
$time = explode(':',$time); |
$timest = mktime($time[0] ?"":0,$time[1],$time[2],$day[1],$day[2],$day[0]); |
return $timest; |
} |
function bytes2str($bytes) |
{ |
$bytes=floor($bytes); |
if ($bytes > 536870912) |
$str = sprintf("%5.2f GBs", $bytes/1073741824); |
else if ($bytes > 524288) |
$str = sprintf("%5.2f MBs", $bytes/1048576); |
else |
$str = sprintf("%5.2f KBs", $bytes/1024); |
return $str; |
} |
function nothing($ret) |
{ |
return $ret; |
} |
function check_defaults($val,$op,$def) |
{ |
for($i=0;$i<$def[count];$i++){ |
if ($val == $def[$i] && ($op == '' || $op == $def[operator][$i])) |
return 1; |
} |
return 0; |
} |
function check_ip($ipaddr) { |
if(ereg("^([0-9]{1,3})\x2E([0-9]{1,3})\x2E([0-9]{1,3})\x2E([0-9]{1,3})$", $ipaddr,$digit)) { |
if(($digit[1] <= 255) && ($digit[2] <= 255) && ($digit[3] <= 255) && ($digit[4] <= 255)) { |
return(1); |
} |
} |
return(0); |
} |
?> |
/web/acc/manager/pass/index.php |
---|
0,0 → 1,143 |
<?php |
# change user password on Alcasar captive Portal |
# Copyright (C) 2003, 2004 Mondru AB. |
# Copyright (C) 2008-2009 ANGEL95 & REXY |
require('/etc/freeradius-web/config.php'); |
require('../lib/functions.php'); |
require('../lib/defaults.php'); |
$current_page = $_SERVER['PHP_SELF']; |
# Choice of language |
$Language = 'fr'; |
if(isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])){ |
$Langue = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']); |
$Language = strtolower(substr(chop($Langue[0]),0,2)); } |
if($Language == 'es'){ |
$R_title = "User password change"; |
$R_form_l1 = "User"; |
$R_form_l2 = "Old password"; |
$R_form_l3 = "New password"; |
$R_form_l4 = "New password (confirmation)"; |
$R_form_button = "Modify"; |
$R_form_result1 = "Your password has been successfuly changed"; |
$R_form_result2 = "Error when trying to change password"; |
} |
if($Language == 'de'){ |
$R_title = "User password change"; |
$R_form_l1 = "User"; |
$R_form_l2 = "Old password"; |
$R_form_l3 = "New password"; |
$R_form_l4 = "New password (confirmation)"; |
$R_form_button = "Modify"; |
$R_form_result1 = "Your password has been successfuly changed"; |
$R_form_result2 = "Error when trying to change password"; |
} |
if($Language == 'nl'){ |
$R_title = "User password change"; |
$R_form_l1 = "User"; |
$R_form_l2 = "Old password"; |
$R_form_l3 = "New password"; |
$R_form_l4 = "New password (confirmation)"; |
$R_form_button = "Modify"; |
$R_form_result1 = "Your password has been successfuly changed"; |
$R_form_result2 = "Error when trying to change password"; |
} |
if($Language == 'en'){ |
$R_title = "User password change"; |
$R_form_l1 = "User"; |
$R_form_l2 = "Old password"; |
$R_form_l3 = "New password"; |
$R_form_l4 = "New password (confirmation)"; |
$R_form_button = "Modify"; |
$R_form_result1 = "Your password has been successfuly changed"; |
$R_form_result2 = "Error when trying to change password"; |
} |
if($Language == 'fr'){ |
$R_title = "Changement de mot de passe utilisateur"; |
$R_form_l1 = "Utilisateur"; |
$R_form_l2 = "Ancien mot de passe"; |
$R_form_l3 = "nouveau mot de passe"; |
$R_form_l4 = "nouveau mot de passe (confirmation)"; |
$R_form_button = "Modifier"; |
$R_form_result1 = "Votre mot de passe a été modifié avec succès"; |
$R_form_result2 = "Erreur de changement de mot de passe"; |
} |
echo " |
<html> |
<head> |
<title>$R_title</title> |
<meta http-equiv=\"Cache-control\" content=\"no-cache\"> |
<meta http-equiv=\"Pragma\" content=\"no-cache\"> |
<link rel=\"stylesheet\" href=\"/css/style.css\" type=\"text/css\"> |
</head> |
<body> |
<center> |
<table border=0 width=400 cellpadding=0 cellspacing=2> |
<tr> |
<td> |
<form name=\"master\" action=\"$current_page\" method=\"post\"> |
<input type=hidden name=action value=checkpass> |
<br> |
<table border=0 width=540 cellpadding=1 cellspacing=1> |
<tr valign=top> |
<td width=340></td> |
<td bgcolor=\"black\" width=200> |
<table border=0 width=100% cellpadding=2 cellspacing=0> |
<tr bgcolor=\"#907030\" align=right valign=top><th> |
<font color=\"white\">$R_title</font> |
</th></tr> |
</table> |
</td></tr> |
<tr bgcolor=\"black\" valign=top><td colspan=2> |
<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor=\"#ffffd0\" valign=top> |
<tr><td> |
<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor=\"#ffffe0\" valign=top> |
<tr><td align=center bgcolor=\"#d0ddb0\">$R_form_l1</td><td><input type=\"text\" name=\"login\" value=\"\"></td></tr> |
<tr><td align=center bgcolor=\"#d0ddb0\">$R_form_l2</td><td><input type=\"password\" name=\"passwd\" value=\"\"></td></tr> |
<tr><td align=center bgcolor=\"#d0ddb0\">$R_form_l3</td><td><input type=\"password\" name=\"newpasswd\" value=\"\"></td></tr> |
<tr><td align=center bgcolor=\"#d0ddb0\">$R_form_l4</td><td><input type=\"password\" name=\"newpasswd2\" value=\"\"> <input type=\"submit\" class=button value=\"$R_form_button\"></td></tr> |
</table> |
</table> |
</table>"; |
#if (is_file("../lib/$config[general_lib_type]/password_check.php")) |
# include("../lib/$config[general_lib_type]/password_check.php"); |
if (is_file("../lib/sql/drivers/$config[sql_type]/functions.php")) |
include_once("../lib/sql/drivers/$config[sql_type]/functions.php"); |
else{ |
echo "<b>Could not include SQL library</b><br>\n"; |
exit(); |
} |
if ($action == 'checkpass'){ |
$link = @da_sql_pconnect($config); |
if ($link){ |
$res = @da_sql_query($link,$config, |
"SELECT attribute,value FROM $config[sql_check_table] WHERE username = '$login' |
AND attribute = '$config[sql_password_attribute]';"); |
if ($res){ |
$row = @da_sql_fetch_array($res,$config); |
if (is_file("../lib/crypt/$config[general_encryption_method].php")){ |
include("../lib/crypt/$config[general_encryption_method].php"); |
$enc_passwd = $row[value]; |
$passwd = da_encrypt($passwd,$enc_passwd); |
$newpasswd = da_encrypt($newpasswd,$enc_passwd); |
$newpasswd2 = da_encrypt($newpasswd2,$enc_passwd); |
if (($passwd == $enc_passwd) and ($newpasswd == $newpasswd2)){ |
$msg = '<font color=blue><b>'.$R_form_result1.'</b></font>'; |
$res2 = @da_sql_query($link,$config, |
"UPDATE $config[sql_check_table] set value='$newpasswd' WHERE username = '$login' |
AND attribute = '$config[sql_password_attribute]';");} |
else |
$msg = '<font color=red><b>'.$R_form_result2.'</b></font>'; |
} |
else |
echo "<b>Could not open encryption library file</b><br>\n"; |
} |
} |
echo "<tr><td colspan=3 align=center>$msg</td></tr>\n"; |
} |
?> |
</body> |
</html> |
/web/acc/index.html |
---|
0,0 → 1,17 |
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN//2.0"> |
<HTML> |
<!-- Written by Rexy --> |
<head> |
<TITLE>ALCASAR Control Center</TITLE> |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
<meta NAME="description" CONTENT="page de gestion du portail captif"> |
<link rel="stylesheet" href="/css/style.css" type="text/css"> |
<link rel="icon" href="/images/tux16.ico" type="image/ico"> |
</head> |
<FRAMESET ROWS="15%,85%" border="no"> |
<FRAME frameborder="no" border="no" scrolling="no" nosave noresize |
SRC="haut.php" NAME="haut"> |
<FRAME frameborder="no" border="no" scrolling="no" nosave noresize |
SRC="bas.htm" NAME="bas"> |
</FRAMESET> |
</HTML> |
/web/acc/compteur.txt |
---|
0,0 → 1,0 |
7 |
Property changes: |
Added: svn:eol-style |
+native |
\ No newline at end of property |