From 59b73b4c37a7b20c7e90c8c07f7b5fd1629f7bb5 Mon Sep 17 00:00:00 2001 From: Nigel Kukard <nkukard@lbsd.net> Date: Sun, 26 Apr 2009 19:29:55 +0000 Subject: [PATCH] * Copyright update --- smradius/attributes.pm | 3 +-- smradius/cache.pm | 3 +-- smradius/config.pm | 2 +- smradius/constants.pm | 2 +- smradius/dbilayer.pm | 4 +-- smradius/dblayer.pm | 2 +- smradius/logging.pm | 3 +-- .../modules/accounting/mod_accounting_sql.pm | 4 +-- .../modules/accounting/mod_accounting_test.pm | 4 +-- .../modules/authentication/mod_auth_chap.pm | 4 +-- .../modules/authentication/mod_auth_mschap.pm | 4 +-- .../modules/authentication/mod_auth_pap.pm | 4 +-- smradius/modules/config/mod_config_sql.pm | 4 +-- smradius/modules/config/mod_config_test.pm | 4 +-- .../modules/features/mod_feature_capping.pm | 6 +++-- smradius/modules/userdb/mod_userdb_sql.pm | 4 +-- smradius/modules/userdb/mod_userdb_test.pm | 4 +-- smradius/util.pm | 2 +- smradius/version.pm | 7 ++--- smradiusd | 5 ++-- webui/group-add.php | 4 +-- webui/group-attribute-add.php | 4 +-- webui/group-attribute-change.php | 4 +-- webui/group-attribute-delete.php | 4 +-- webui/group-attributes.php | 4 +-- webui/group-delete.php | 4 +-- webui/group-main.php | 4 +-- webui/group-users.php | 4 +-- webui/includes/config.php | 18 +++++++++++++ webui/includes/db.php | 16 ++++++++++++ webui/includes/footer.php | 18 ++++++++++++- webui/includes/header.php | 16 ++++++++++++ webui/includes/radiuscodes.php | 3 +-- webui/includes/tooltipdata.php | 17 +++++++++++- webui/includes/tooltips.php | 2 +- webui/index.php | 2 +- webui/stylesheet.css | 2 +- webui/user-add.php | 4 +-- webui/user-attribute-add.php | 4 +-- webui/user-attribute-change.php | 4 +-- webui/user-attribute-delete.php | 4 +-- webui/user-attributes.php | 4 +-- webui/user-delete.php | 4 +-- webui/user-groups-add.php | 4 +-- webui/user-groups-delete.php | 4 +-- webui/user-groups.php | 4 +-- webui/user-logs.php | 4 +-- webui/user-main.php | 2 +- webui/user/include/auth.php | 3 +-- webui/user/include/config.php | 26 +++++++++++++------ webui/user/include/db.php | 16 ++++++++++++ webui/user/include/footer.php | 5 ++-- webui/user/include/header.php | 3 +-- webui/user/include/miscfuncs.php | 3 +-- webui/user/include/pre.php | 20 +++++++++++--- webui/user/include/radiuscodes.php | 3 +-- webui/user/include/version.php | 3 +-- webui/user/index.php | 5 ++-- webui/user/logs.php | 3 +-- webui/user/styles.css | 21 +++++++++++++++ webui/wisp-multiuser-add.php | 4 +-- webui/wisp-user-add.php | 4 +-- webui/wisp-user-delete.php | 4 +-- webui/wisp-user-edit.php | 4 +-- webui/wisp-user-list.php | 4 +-- webui/wisp-user-logs.php | 4 +-- 66 files changed, 254 insertions(+), 124 deletions(-) diff --git a/smradius/attributes.pm b/smradius/attributes.pm index 31bcf36f..93cfc041 100644 --- a/smradius/attributes.pm +++ b/smradius/attributes.pm @@ -1,6 +1,5 @@ # Attribute handling functions -# Copyright (C) 2008, AllWorldIT -# Copyright (C) 2007, Nigel Kukard <nkukard@lbsd.net> +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/smradius/cache.pm b/smradius/cache.pm index f3e8c9ff..c322b874 100644 --- a/smradius/cache.pm +++ b/smradius/cache.pm @@ -1,6 +1,5 @@ # Caching engine -# Copyright (C) 2007 Nigel Kukard <nkukard@lbsd.net> -# Copyright (C) 2008, LinuxRulz +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/smradius/config.pm b/smradius/config.pm index 983984aa..03230842 100644 --- a/smradius/config.pm +++ b/smradius/config.pm @@ -1,5 +1,5 @@ # SMRadius config information -# Copyright (C) 2008, AllWorldIT +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/smradius/constants.pm b/smradius/constants.pm index 4ec4f6b4..9a4a6e40 100644 --- a/smradius/constants.pm +++ b/smradius/constants.pm @@ -1,5 +1,5 @@ # SMRadius Constants -# Copyright (C) 2008, AllWorldIT +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/smradius/dbilayer.pm b/smradius/dbilayer.pm index 3f24e250..1bf2c000 100644 --- a/smradius/dbilayer.pm +++ b/smradius/dbilayer.pm @@ -1,6 +1,6 @@ # Database independent layer module -# Copyright (C) 2005-2007 Nigel Kukard <nkukard@lbsd.net> -# Copyright (C) 2008, LinuxRulz +# Copyright (C) 2007-2009, AllWorldIT +# Copyright (C) 2005-2007, Nigel Kukard <nkukard@lbsd.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 diff --git a/smradius/dblayer.pm b/smradius/dblayer.pm index 6cd79633..5dd69a4e 100644 --- a/smradius/dblayer.pm +++ b/smradius/dblayer.pm @@ -1,6 +1,6 @@ # Common database layer module +# Copyright (C) 2007-2009, AllWorldIT # Copyright (C) 2005-2007 Nigel Kukard <nkukard@lbsd.net> -# Copyright (C) 2008, LinuxRulz # # 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 diff --git a/smradius/logging.pm b/smradius/logging.pm index 615f12b7..e72a4aae 100644 --- a/smradius/logging.pm +++ b/smradius/logging.pm @@ -1,6 +1,5 @@ # Logging constants -# Copyright (C) 2008, AllWorldIT -# Copyright (C) 2007, Nigel Kukard <nkukard@lbsd.net> +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/smradius/modules/accounting/mod_accounting_sql.pm b/smradius/modules/accounting/mod_accounting_sql.pm index 27ebeaa1..a3676282 100644 --- a/smradius/modules/accounting/mod_accounting_sql.pm +++ b/smradius/modules/accounting/mod_accounting_sql.pm @@ -1,6 +1,5 @@ # SQL accounting database -# -# Copyright (C) 2008-2009, AllWorldIT +# Copyright (C) 2007-2009, AllWorldIT # # 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 @@ -320,3 +319,4 @@ sub acct_log 1; +# vim: ts=4 diff --git a/smradius/modules/accounting/mod_accounting_test.pm b/smradius/modules/accounting/mod_accounting_test.pm index e5bbab42..55c309d8 100644 --- a/smradius/modules/accounting/mod_accounting_test.pm +++ b/smradius/modules/accounting/mod_accounting_test.pm @@ -1,6 +1,5 @@ # Test accounting database -# -# Copyright (C) 2008, AllWorldIT +# Copyright (C) 2007-2009, AllWorldIT # # 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 @@ -123,3 +122,4 @@ Acct-Delay-Time: %{accounting.Acct-Delay-Time} 1; +# vim: ts=4 diff --git a/smradius/modules/authentication/mod_auth_chap.pm b/smradius/modules/authentication/mod_auth_chap.pm index 3daf8024..89b51474 100644 --- a/smradius/modules/authentication/mod_auth_chap.pm +++ b/smradius/modules/authentication/mod_auth_chap.pm @@ -1,9 +1,8 @@ # CHAP authentication +# Copyright (C) 2007-2009, AllWorldIT # # References: # RFC1944 - PPP Challenge Handshake Authentication Protocol (CHAP) -# -# Copyright (C) 2008, AllWorldIT # # 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 @@ -131,3 +130,4 @@ sub encode_chap 1; +# vim: ts=4 diff --git a/smradius/modules/authentication/mod_auth_mschap.pm b/smradius/modules/authentication/mod_auth_mschap.pm index 77d3929f..554f436a 100644 --- a/smradius/modules/authentication/mod_auth_mschap.pm +++ b/smradius/modules/authentication/mod_auth_mschap.pm @@ -1,4 +1,5 @@ # Microsoft CHAP version 1 and 2 support +# Copyright (C) 2007-2009, AllWorldIT # # References: # RFC1994 - PPP Challenge Handshake Authentication Protocol (CHAP) @@ -6,8 +7,6 @@ # RFC2759 - Microsoft PPP CHAP Extensions, Version 2 # RFC2548 - Microsoft Vendor-specific RADIUS Attributes # -# Copyright (C) 2008, AllWorldIT -# # 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 @@ -717,3 +716,4 @@ sub NtChallengeResponse { 1; +# vim: ts=4 diff --git a/smradius/modules/authentication/mod_auth_pap.pm b/smradius/modules/authentication/mod_auth_pap.pm index 21ce65e4..4cc69831 100644 --- a/smradius/modules/authentication/mod_auth_pap.pm +++ b/smradius/modules/authentication/mod_auth_pap.pm @@ -1,10 +1,9 @@ # PAP +# Copyright (C) 2007-2009, AllWorldIT # # References: # RFC1334 - PPP Authentication Protocols # -# Copyright (C) 2008, AllWorldIT -# # 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 @@ -112,3 +111,4 @@ sub authenticate 1; +# vim: ts=4 diff --git a/smradius/modules/config/mod_config_sql.pm b/smradius/modules/config/mod_config_sql.pm index a14600fa..1ca90b29 100644 --- a/smradius/modules/config/mod_config_sql.pm +++ b/smradius/modules/config/mod_config_sql.pm @@ -1,6 +1,5 @@ # SQL config database support -# -# Copyright (C) 2008-2009, AllWorldIT +# Copyright (C) 2007-2009, AllWorldIT # # 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 @@ -123,3 +122,4 @@ sub getConfig 1; +# vim: ts=4 diff --git a/smradius/modules/config/mod_config_test.pm b/smradius/modules/config/mod_config_test.pm index 718bd7ca..c94e2e9e 100644 --- a/smradius/modules/config/mod_config_test.pm +++ b/smradius/modules/config/mod_config_test.pm @@ -1,6 +1,5 @@ # Test user database -# -# Copyright (C) 2008-2009, AllWorldIT +# Copyright (C) 2007-2009, AllWorldIT # # 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 @@ -86,3 +85,4 @@ sub configGet 1; +# vim: ts=4 diff --git a/smradius/modules/features/mod_feature_capping.pm b/smradius/modules/features/mod_feature_capping.pm index f889e673..33d6af4f 100644 --- a/smradius/modules/features/mod_feature_capping.pm +++ b/smradius/modules/features/mod_feature_capping.pm @@ -1,6 +1,5 @@ # Capping support -# -# Copyright (C) 2008, AllWorldIT +# Copyright (C) 2007-2009, AllWorldIT # # 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 @@ -243,4 +242,7 @@ sub post_acct_hook return MOD_RES_ACK; } + + 1; +# vim: ts=4 diff --git a/smradius/modules/userdb/mod_userdb_sql.pm b/smradius/modules/userdb/mod_userdb_sql.pm index fc6956c4..13cef709 100644 --- a/smradius/modules/userdb/mod_userdb_sql.pm +++ b/smradius/modules/userdb/mod_userdb_sql.pm @@ -1,6 +1,5 @@ # SQL user database support -# -# Copyright (C) 2008-2009, AllWorldIT +# Copyright (C) 2007-2009, AllWorldIT # # 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 @@ -216,3 +215,4 @@ sub get 1; +# vim: ts=4 diff --git a/smradius/modules/userdb/mod_userdb_test.pm b/smradius/modules/userdb/mod_userdb_test.pm index 930a627b..217b328d 100644 --- a/smradius/modules/userdb/mod_userdb_test.pm +++ b/smradius/modules/userdb/mod_userdb_test.pm @@ -1,6 +1,5 @@ # Test user database -# -# Copyright (C) 2008, AllWorldIT +# Copyright (C) 2007-2009, AllWorldIT # # 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 @@ -121,3 +120,4 @@ sub get 1; +# vim: ts=4 diff --git a/smradius/util.pm b/smradius/util.pm index 82c30298..5ae96579 100644 --- a/smradius/util.pm +++ b/smradius/util.pm @@ -1,5 +1,5 @@ # SMRadius Utility Functions -# Copyright (C) 2008-2009, AllWorldIT +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/smradius/version.pm b/smradius/version.pm index 7c9340a3..f4525da4 100644 --- a/smradius/version.pm +++ b/smradius/version.pm @@ -1,6 +1,5 @@ # AWRadius version package -# Copyright (C) 2008, AllWorldIT -# Copyright (C) 2007, Nigel Kukard <nkukard@lbsd.net> +# Copyright (C) 2007-2009, AllWorldIT # # 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 @@ -36,5 +35,7 @@ use constant { VERSION => "0.0.1", }; -# vim: ts=4 + + 1; +# vim: ts=4 diff --git a/smradiusd b/smradiusd index be0b3435..ae02aedf 100755 --- a/smradiusd +++ b/smradiusd @@ -1,7 +1,6 @@ #!/usr/bin/perl # Radius daemon -# Copyright (C) 2008, AllWorldIT -# Copyright (C) 2007, Nigel Kukard <nkukard@lbsd.net> +# Copyright (C) 2007-2009, AllWorldIT # # 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 @@ -1140,7 +1139,7 @@ sub log # Display help sub displayHelp { - print(STDERR "SMRadius v".VERSION." - Copyright (c) 2007-2008 AllWorldIT\n"); + print(STDERR "SMRadius v".VERSION." - Copyright (c) 2007-2009, AllWorldIT\n"); print(STDERR<<EOF); diff --git a/webui/group-add.php b/webui/group-add.php index 0f155fa5..3c54bf90 100644 --- a/webui/group-add.php +++ b/webui/group-add.php @@ -1,6 +1,6 @@ <?php -# Policy group add -# Copyright (C) 2008, LinuxRulz +# Radius Group Add +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/group-attribute-add.php b/webui/group-attribute-add.php index b6247f39..594de6f2 100644 --- a/webui/group-attribute-add.php +++ b/webui/group-attribute-add.php @@ -1,6 +1,6 @@ <?php -# Policy add -# Copyright (C) 2008, LinuxRulz +# Radius Group Attribute Add +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/group-attribute-change.php b/webui/group-attribute-change.php index c39750e9..163de686 100644 --- a/webui/group-attribute-change.php +++ b/webui/group-attribute-change.php @@ -1,6 +1,6 @@ <?php -# Policy member change -# Copyright (C) 2008, LinuxRulz +# Radius Group Attribute Change +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/group-attribute-delete.php b/webui/group-attribute-delete.php index 01810e29..d857f0fc 100644 --- a/webui/group-attribute-delete.php +++ b/webui/group-attribute-delete.php @@ -1,6 +1,6 @@ <?php -# Module: Policy delete -# Copyright (C) 2008, LinuxRulz +# Radius Group Attribute Delete +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/group-attributes.php b/webui/group-attributes.php index 9a8a2501..2c9d228f 100644 --- a/webui/group-attributes.php +++ b/webui/group-attributes.php @@ -1,6 +1,6 @@ <?php -# Module: Policy delete -# Copyright (C) 2008, LinuxRulz +# Radius Group Attribute List +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/group-delete.php b/webui/group-delete.php index 5960f310..38ce7695 100644 --- a/webui/group-delete.php +++ b/webui/group-delete.php @@ -1,6 +1,6 @@ <?php -# Policy group delete -# Copyright (C) 2008, LinuxRulz +# Radius Group Delete +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/group-main.php b/webui/group-main.php index f5663832..2787aea4 100644 --- a/webui/group-main.php +++ b/webui/group-main.php @@ -1,6 +1,6 @@ <?php -# Policy groups main screen -# Copyright (C) 2008, LinuxRulz +# Radius Group List +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/group-users.php b/webui/group-users.php index efc05ef3..850b7e38 100644 --- a/webui/group-users.php +++ b/webui/group-users.php @@ -1,6 +1,6 @@ <?php -# Policy group member screen -# Copyright (C) 2008, LinuxRulz +# Radius Group User List +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/includes/config.php b/webui/includes/config.php index 2267f704..c4b1e1b3 100644 --- a/webui/includes/config.php +++ b/webui/includes/config.php @@ -1,4 +1,22 @@ <?php +# Web Admin UI Config +# Copyright (C) 2007-2009, AllWorldIT +# +# 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. + + # mysql:host=xx;dbname=yyy # diff --git a/webui/includes/db.php b/webui/includes/db.php index 56264973..11211fab 100644 --- a/webui/includes/db.php +++ b/webui/includes/db.php @@ -1,4 +1,20 @@ <?php +# Database Interface +# Copyright (C) 2007-2009, AllWorldIT +# +# 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. require_once('includes/config.php'); diff --git a/webui/includes/footer.php b/webui/includes/footer.php index 2de38d6b..6942c73a 100644 --- a/webui/includes/footer.php +++ b/webui/includes/footer.php @@ -1,4 +1,20 @@ <?php +# Footer +# Copyright (C) 2007-2009, AllWorldIT +# +# 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. # Print page footer @@ -15,7 +31,7 @@ function printFooter() </tr> <tr> - <td id="footer">SMRadiusd - Copyright © 2008-2009, LinuxRulz</td> + <td id="footer">SMRadius - Copyright © 2007-2009, <a href="http://www.allworldit.com" ?>AllWorldIT</a></td> </tr> <tr> <td> diff --git a/webui/includes/header.php b/webui/includes/header.php index c1fb3897..d1bb8321 100644 --- a/webui/includes/header.php +++ b/webui/includes/header.php @@ -1,4 +1,20 @@ <?php +# Header +# Copyright (C) 2007-2009, AllWorldIT +# +# 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. include_once("includes/config.php"); diff --git a/webui/includes/radiuscodes.php b/webui/includes/radiuscodes.php index a9b85274..b9592cfd 100644 --- a/webui/includes/radiuscodes.php +++ b/webui/includes/radiuscodes.php @@ -1,7 +1,6 @@ <?php # Radius term code mappings -# -# Copyright (c) 2005-2008, AllWorldIT +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/includes/tooltipdata.php b/webui/includes/tooltipdata.php index fa811be4..13b0e88b 100644 --- a/webui/includes/tooltipdata.php +++ b/webui/includes/tooltipdata.php @@ -1,6 +1,21 @@ <?php +# Tool Tip Data +# Copyright (C) 2007-2009, AllWorldIT +# +# 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. -# Tooltip data $tooltips['user_attributes_name'] = "Please refer to the manual for a list of allowed attribute names"; ?> diff --git a/webui/includes/tooltips.php b/webui/includes/tooltips.php index 708f86e2..5f158a60 100644 --- a/webui/includes/tooltips.php +++ b/webui/includes/tooltips.php @@ -1,6 +1,6 @@ <?php # Tooltip handling code -# Copyright (C) 2008, LinuxRulz +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/index.php b/webui/index.php index 0a3b538f..f1612b49 100644 --- a/webui/index.php +++ b/webui/index.php @@ -1,6 +1,6 @@ <?php # Main index file -# Copyright (C) 2008, LinuxRulz +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/stylesheet.css b/webui/stylesheet.css index f007804b..1980e29a 100644 --- a/webui/stylesheet.css +++ b/webui/stylesheet.css @@ -1,7 +1,7 @@ /* * * Web interfce stylesheet - * Copyright (C) 2008, LinuxRulz + * Copyright (C) 2007-2009, AllWorldIT * * 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 diff --git a/webui/user-add.php b/webui/user-add.php index 6f346c1c..1d428089 100644 --- a/webui/user-add.php +++ b/webui/user-add.php @@ -1,6 +1,6 @@ <?php -# Policy add -# Copyright (C) 2008, LinuxRulz +# Radius User Add +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/user-attribute-add.php b/webui/user-attribute-add.php index 1651a724..85a829f1 100644 --- a/webui/user-attribute-add.php +++ b/webui/user-attribute-add.php @@ -1,6 +1,6 @@ <?php -# Policy add -# Copyright (C) 2008, LinuxRulz +# Radius User Attribute Add +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/user-attribute-change.php b/webui/user-attribute-change.php index bdcde343..6f5a94d7 100644 --- a/webui/user-attribute-change.php +++ b/webui/user-attribute-change.php @@ -1,6 +1,6 @@ <?php -# Policy member change -# Copyright (C) 2008, LinuxRulz +# Radius User Attribute Change +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/user-attribute-delete.php b/webui/user-attribute-delete.php index fc74bbaa..f8fc42ee 100644 --- a/webui/user-attribute-delete.php +++ b/webui/user-attribute-delete.php @@ -1,6 +1,6 @@ <?php -# Module: Policy delete -# Copyright (C) 2008, LinuxRulz +# Radius User Attribute Delete +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/user-attributes.php b/webui/user-attributes.php index af4935bf..5d2d6652 100644 --- a/webui/user-attributes.php +++ b/webui/user-attributes.php @@ -1,6 +1,6 @@ <?php -# Module: Policy delete -# Copyright (C) 2008, LinuxRulz +# Radius User Attributes +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/user-delete.php b/webui/user-delete.php index ce7cc1f9..d8b393ef 100644 --- a/webui/user-delete.php +++ b/webui/user-delete.php @@ -1,6 +1,6 @@ <?php -# Module: Policy delete -# Copyright (C) 2008, LinuxRulz +# Radius User Delete +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/user-groups-add.php b/webui/user-groups-add.php index 16abc187..a2815761 100644 --- a/webui/user-groups-add.php +++ b/webui/user-groups-add.php @@ -1,6 +1,6 @@ <?php -# Policy groups main screen -# Copyright (C) 2008, LinuxRulz +# Radius User Group Add +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/user-groups-delete.php b/webui/user-groups-delete.php index 55244ece..2ef68ff7 100644 --- a/webui/user-groups-delete.php +++ b/webui/user-groups-delete.php @@ -1,6 +1,6 @@ <?php -# Module: Policy delete -# Copyright (C) 2008, LinuxRulz +# Radius User Group Delete +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/user-groups.php b/webui/user-groups.php index 061943d9..1a2f49ab 100644 --- a/webui/user-groups.php +++ b/webui/user-groups.php @@ -1,6 +1,6 @@ <?php -# Module: Policy delete -# Copyright (C) 2008, LinuxRulz +# Radius User Group List +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/user-logs.php b/webui/user-logs.php index 51ab61db..5d7e0c1f 100644 --- a/webui/user-logs.php +++ b/webui/user-logs.php @@ -1,6 +1,6 @@ <?php -# Module: Policy delete -# Copyright (C) 2008, LinuxRulz +# Radius User Logs +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/user-main.php b/webui/user-main.php index f8b031a7..295ccfd4 100644 --- a/webui/user-main.php +++ b/webui/user-main.php @@ -1,6 +1,6 @@ <?php # Radius User List -# Copyright (C) 2008-2009, AllWorldIT +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/user/include/auth.php b/webui/user/include/auth.php index 452bc14a..e2acc3fc 100644 --- a/webui/user/include/auth.php +++ b/webui/user/include/auth.php @@ -1,7 +1,6 @@ <?php # Authentication class -# -# Copyright (c) 2005-2008, AllWorldIT +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/user/include/config.php b/webui/user/include/config.php index 731e8d41..da85a806 100644 --- a/webui/user/include/config.php +++ b/webui/user/include/config.php @@ -1,4 +1,22 @@ <?php +# User Control Panel UI Config +# Copyright (C) 2007-2009, AllWorldIT +# +# 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. + + # mysql:host=xx;dbname=yyy # @@ -14,13 +32,5 @@ $DB_PASS="root"; $DB_TABLE_PREFIX=""; -# -# THE BELOW SECTION IS UNSUPPORTED AND MEANT FOR THE ORIGINAL SPONSOR OF V2 -# - -#$DB_POSTFIX_DSN="mysql:host=localhost;dbname=postfix"; -#$DB_POSTFIX_USER="root"; -#$DB_POSTFIX_PASS=""; - # vim: ts=4 ?> diff --git a/webui/user/include/db.php b/webui/user/include/db.php index b2b7042f..6a09c64b 100644 --- a/webui/user/include/db.php +++ b/webui/user/include/db.php @@ -1,4 +1,20 @@ <?php +# Database Interface +# Copyright (C) 2007-2009, AllWorldIT +# +# 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. require_once('include/config.php'); diff --git a/webui/user/include/footer.php b/webui/user/include/footer.php index 0a0a7b96..5bfb8b38 100644 --- a/webui/user/include/footer.php +++ b/webui/user/include/footer.php @@ -1,7 +1,6 @@ <?php # Footer of page -# -# Copyright (c) 2005-2008, AllWorldIT +# Copyright (C) 2007-2009, AllWorldIT # # 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 @@ -19,7 +18,7 @@ ?> - <div class="copyright">Copyright (c) 2005-2009, <a href="http://www.allworldit.com" ?>AllWorldIT</a></div> + <div class="copyright">SMRadius - Copyright © 2007-2009, <a href="http://www.allworldit.com" ?>AllWorldIT</a></div> <br /> </body> diff --git a/webui/user/include/header.php b/webui/user/include/header.php index a6ae8fdc..cf9716a6 100644 --- a/webui/user/include/header.php +++ b/webui/user/include/header.php @@ -1,7 +1,6 @@ <?php # Top part of radius control panel -# -# Copyright (c) 2005-2008, AllWorldIT +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/user/include/miscfuncs.php b/webui/user/include/miscfuncs.php index c7fb1c93..cbcc61cb 100644 --- a/webui/user/include/miscfuncs.php +++ b/webui/user/include/miscfuncs.php @@ -1,7 +1,6 @@ <?php # Misc functions we can use -# -# Copyright (c) 2005-2008, AllWorldIT +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/user/include/pre.php b/webui/user/include/pre.php index d03449d1..1e206180 100644 --- a/webui/user/include/pre.php +++ b/webui/user/include/pre.php @@ -1,8 +1,20 @@ <?php -# Author: Nigel Kukard <nkukard@lbsd.net> -# Date: 2007-06-21 -# Desc: This file takes care of authentication for us and gets the soap object -# License: GPL +# Web User UI PRE +# Copyright (C) 2007-2009, AllWorldIT +# +# 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. ob_start(); diff --git a/webui/user/include/radiuscodes.php b/webui/user/include/radiuscodes.php index 8276211e..a66697a8 100644 --- a/webui/user/include/radiuscodes.php +++ b/webui/user/include/radiuscodes.php @@ -1,7 +1,6 @@ <?php # Radius term code mappings -# -# Copyright (c) 2005-2008, AllWorldIT +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/user/include/version.php b/webui/user/include/version.php index a37f2ac0..3ef724e5 100644 --- a/webui/user/include/version.php +++ b/webui/user/include/version.php @@ -1,7 +1,6 @@ <?php # Versioning for this interface -# -# Copyright (c) 2005-2008, AllWorldIT +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/user/index.php b/webui/user/index.php index 8d078334..4156f84e 100644 --- a/webui/user/index.php +++ b/webui/user/index.php @@ -1,7 +1,6 @@ <?php -# Main control panel page -# -# Copyright (c) 2005-2008, AllWorldIT +# Main User Control Panel Page +# Copyright (c) 2007-2009, AllWorldIT # # 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 diff --git a/webui/user/logs.php b/webui/user/logs.php index 375d8698..ef31576c 100644 --- a/webui/user/logs.php +++ b/webui/user/logs.php @@ -1,7 +1,6 @@ <?php # Radius user logs -# -# Copyright (c) 2005-2008, AllWorldIT +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/user/styles.css b/webui/user/styles.css index f9ae6df0..e1f3546f 100644 --- a/webui/user/styles.css +++ b/webui/user/styles.css @@ -1,3 +1,24 @@ +/* + * + * User Control Panel Stylesheet + * Copyright (C) 2007-2009, AllWorldIT + * + * 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. + */ + + td.section { border-style: solid; border-width: 2px; diff --git a/webui/wisp-multiuser-add.php b/webui/wisp-multiuser-add.php index 2158bb1a..820fd339 100644 --- a/webui/wisp-multiuser-add.php +++ b/webui/wisp-multiuser-add.php @@ -1,6 +1,6 @@ <?php -# Policy add -# Copyright (C) 2008, LinuxRulz +# WiSP multi-user add +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/wisp-user-add.php b/webui/wisp-user-add.php index e79667bf..cb680b93 100644 --- a/webui/wisp-user-add.php +++ b/webui/wisp-user-add.php @@ -1,6 +1,6 @@ <?php -# Policy add -# Copyright (C) 2008, LinuxRulz +# WiSP User Add +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/wisp-user-delete.php b/webui/wisp-user-delete.php index 2018cad4..48a53959 100644 --- a/webui/wisp-user-delete.php +++ b/webui/wisp-user-delete.php @@ -1,6 +1,6 @@ <?php -# Module: Policy delete -# Copyright (C) 2008, LinuxRulz +# WiSP User Delete +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/wisp-user-edit.php b/webui/wisp-user-edit.php index 5b36d8a3..d435545d 100644 --- a/webui/wisp-user-edit.php +++ b/webui/wisp-user-edit.php @@ -1,6 +1,6 @@ <?php -# Policy member change -# Copyright (C) 2008, LinuxRulz +# WiSP user edit +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/wisp-user-list.php b/webui/wisp-user-list.php index 735bcf4f..9331e3a0 100644 --- a/webui/wisp-user-list.php +++ b/webui/wisp-user-list.php @@ -1,6 +1,6 @@ <?php -# Radius User List -# Copyright (C) 2008-2009, AllWorldIT +# WiSP User List +# Copyright (C) 2007-2009, AllWorldIT # # 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 diff --git a/webui/wisp-user-logs.php b/webui/wisp-user-logs.php index f3ef623b..55c16c7b 100644 --- a/webui/wisp-user-logs.php +++ b/webui/wisp-user-logs.php @@ -1,6 +1,6 @@ <?php -# Module: Policy delete -# Copyright (C) 2008, LinuxRulz +# WiSP User Logs +# Copyright (C) 2007-2009, AllWorldIT # # 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 -- GitLab