public design update

This commit is contained in:
2012-07-17 19:00:55 +00:00
parent deedc80284
commit 8d2ab70bdf
6 changed files with 24 additions and 13 deletions

View File

@@ -1,5 +1,9 @@
<?php
echo "<h1>Welcome ".$_SESSION["user_vorname"]." ".$_SESSION["user_nachname"]."!</h1><br>
echo "
<!-- MAIN -->
<div id=\"main\">
<div class=\"wrapper\">
<h1>Welcome ".$_SESSION["user_vorname"]." ".$_SESSION["user_nachname"]."!</h1><br>
<h2>Current User Information:</h2><br>
<table>
@@ -167,5 +171,6 @@ echo "<h1>Welcome ".$_SESSION["user_vorname"]." ".$_SESSION["user_nachname"]."!<
</table>
<input type=\"submit\" value=\"Change\">
</form>
</div>
</div>
<!-- END CONTENT BEGINN ################################################################################# -->";

View File

@@ -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';
?>

View File

@@ -46,6 +46,9 @@ switch($uebergabe)
case 0:
echo "
<!-- MAIN -->
<div id=\"main\">
<div class=\"wrapper\">
<table>
<tr>
<td><h1>Welcome ".$_SESSION["user_vorname"]." ".$_SESSION["user_nachname"]."!</h1><br></td>
@@ -286,7 +289,10 @@ echo "<br>
Current IP: ".getenv("REMOTE_ADDR")."<br>
<form action=\"".$moduleurl."&uebergabe=2\" method=\"post\">
<input type=\"submit\" value=\"Change Userinformation\">
</form>";
</form>
</div>
</div>";
break;
case 2: