From 8d2ab70bdfeb4a0699800bac4b366df0ca75418a Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Tue, 17 Jul 2012 19:00:55 +0000 Subject: [PATCH] public design update --- Modules/Forum/include/viewforum.php | 4 ++-- Modules/Forum/include/viewtopic.php | 2 +- Modules/ServerTraffic/index.php | 2 +- Modules/UserControl/change.php | 9 +++++++-- Modules/UserControl/config.inc | 12 ++++++------ Modules/UserControl/index.php | 8 +++++++- 6 files changed, 24 insertions(+), 13 deletions(-) diff --git a/Modules/Forum/include/viewforum.php b/Modules/Forum/include/viewforum.php index 4a60979..abbfef0 100755 --- a/Modules/Forum/include/viewforum.php +++ b/Modules/Forum/include/viewforum.php @@ -48,7 +48,7 @@ } echo "
- +
@@ -91,7 +91,7 @@ // OREDER BY id DESC is order result by descending $result=mysql_query($sql); - echo " + echo "
diff --git a/Modules/Forum/include/viewtopic.php b/Modules/Forum/include/viewtopic.php index 54fd226..55504a3 100755 --- a/Modules/Forum/include/viewtopic.php +++ b/Modules/Forum/include/viewtopic.php @@ -44,7 +44,7 @@ if (($_SESSION["user_admin"]=="1" && $rows["r_adminonly"] == "1") || { echo "
# Topic
Answer successfully created!
"; } - echo " + echo "
diff --git a/Modules/ServerTraffic/index.php b/Modules/ServerTraffic/index.php index 89b3ad6..e86649d 100644 --- a/Modules/ServerTraffic/index.php +++ b/Modules/ServerTraffic/index.php @@ -76,7 +76,7 @@ function Potenz($sent_sum) $sql = "SELECT * FROM $table ORDER BY $by $sort;"; $result = mysql_query($sql); - echo "
"; + echo "
"; if($table=='connections') { echo "
Start TimeStop TimeClient IPDownload diff --git a/Modules/UserControl/change.php b/Modules/UserControl/change.php index f704298..648ffea 100755 --- a/Modules/UserControl/change.php +++ b/Modules/UserControl/change.php @@ -1,5 +1,9 @@ Welcome ".$_SESSION["user_vorname"]." ".$_SESSION["user_nachname"]."!
+echo " + +
+
+

Welcome ".$_SESSION["user_vorname"]." ".$_SESSION["user_nachname"]."!


Current User Information:


@@ -167,5 +171,6 @@ echo "

Welcome ".$_SESSION["user_vorname"]." ".$_SESSION["user_nachname"]."!<

- +
+
"; diff --git a/Modules/UserControl/config.inc b/Modules/UserControl/config.inc index d6417cc..1a80914 100755 --- a/Modules/UserControl/config.inc +++ b/Modules/UserControl/config.inc @@ -4,17 +4,17 @@ if (!defined ("LOCAL_SECURITY_KEY")) include($_SERVER["DOCUMENT_ROOT"]."/Site/mysql.php"); // Change: your company name -$config['Company_Name'] = 'SchulVPN'; +$config['Company_Name'] = 'SprinterVPN'; $config['Company_Logo'] = '/Image/OpenVPN-small.gif'; // Change: your company home page -$config['URL_Home_Page'] = 'http://10.10.63.60/index.php'; -$config['AUTH_REALM'] = $config['Company_Name'] .' OpenVPN Web GUI v.0.3.2'; +$config['URL_Home_Page'] = 'http://vpn.sprinternet.at/index.php'; +$config['AUTH_REALM'] = $config['Company_Name'] .' Web GUI v.1.0.0'; // What files to include into ZIP $config['Download']['ZIP']['.pem'] = true; $config['Download']['ZIP']['.key'] = true; $config['Download']['ZIP']['.csr'] = false; // All the following files should be placed into downloads folder -$config['Download']['ZIP']['Others'] = array ('readme.txt','ca.crt', 'schulvpn.ovpn', 'certinstall.sh'); +$config['Download']['ZIP']['Others'] = array ('readme.txt','ca.crt', 'sprintervpn.ovpn', 'certinstall.sh'); //$config['Download']['ZIP']['Others'] = array ('readme.txt', 'install.cmd', 'tls-auth.key'); // If there are no plugins @@ -58,9 +58,9 @@ $config['openssl']['default']['expiration'] = 3560; $config['openssl']['default']['countryName'] = 'AT'; $config['openssl']['default']['stateOrProvinceName'] = 'Tirol'; $config['openssl']['default']['localityName'] = 'Innsbruck'; -$config['openssl']['default']['organizationName'] = 'HTL'; +$config['openssl']['default']['organizationName'] = 'Sprinternet'; $config['openssl']['default']['organizationalUnitName'] = ''; $config['openssl']['default']['commonName'] = ''; -$config['openssl']['default']['emailAddress'] = 'vpn@students.htlinn.ac.at'; +$config['openssl']['default']['emailAddress'] = 'vpn@sprinternet.at'; ?> diff --git a/Modules/UserControl/index.php b/Modules/UserControl/index.php index dec4def..3b3a649 100755 --- a/Modules/UserControl/index.php +++ b/Modules/UserControl/index.php @@ -46,6 +46,9 @@ switch($uebergabe) case 0: echo " + +
+
@@ -286,7 +289,10 @@ echo "
Current IP: ".getenv("REMOTE_ADDR")."
- "; + + + +"; break; case 2:

Welcome ".$_SESSION["user_vorname"]." ".$_SESSION["user_nachname"]."!