diff --git a/lam/templates/profedit/profilemain.php b/lam/templates/profedit/profilemain.php
index 3530dacb..822bf30b 100644
--- a/lam/templates/profedit/profilemain.php
+++ b/lam/templates/profedit/profilemain.php
@@ -50,11 +50,11 @@ if ($_POST['forward'] == "yes") {
}
// edit user profile
elseif($_POST['profile'] == "edituser") {
- echo("");
+ echo("");
}
// delete user profile
elseif($_POST['profile'] == "deluser") {
- echo("");
+ echo("");
}
// create new host profile
elseif ($_POST['profile'] == "newhost") {
@@ -62,11 +62,11 @@ if ($_POST['forward'] == "yes") {
}
// edit host profile
elseif($_POST['profile'] == "edithost") {
- echo("");
+ echo("");
}
// delete user profile
elseif($_POST['profile'] == "delhost") {
- echo("");
+ echo("");
}
}
exit;
@@ -120,7 +120,7 @@ for ($i = 0; $i < sizeof($hstprof); $i++) {
- |
@@ -135,7 +135,7 @@ for ($i = 0; $i < sizeof($hstprof); $i++) {
-
+
echo $userprofiles ?>
|
@@ -171,7 +171,7 @@ for ($i = 0; $i < sizeof($hstprof); $i++) {
-
+
echo $hostprofiles ?>
|
@@ -186,7 +186,7 @@ for ($i = 0; $i < sizeof($hstprof); $i++) {
-
+
echo $hostprofiles ?>
|
diff --git a/lam/templates/profedit/profileuser.php b/lam/templates/profedit/profileuser.php
index 55ce926f..3496be45 100644
--- a/lam/templates/profedit/profileuser.php
+++ b/lam/templates/profedit/profileuser.php
@@ -25,6 +25,7 @@ $Id$
include_once("../../lib/profiles.inc");
include_once("../../lib/ldap.inc");
+include_once("../../lib/account.inc");
// start session
session_save_path("../../sess");
@@ -36,3 +37,288 @@ if (!$_SESSION['ldap'] || !$_SESSION['ldap']->server()) {
exit;
}
+// print header
+echo ("\n");
+echo ("\n");
+echo ("\n\n\n
\n");
+
+$acct = new Account();
+
+// check if profile should be edited
+if ($_GET['edit']) {
+ $acct = loadUserProfile($_GET['edit']);
+}
+
+// search available groups
+$groups = findgroups();
+
+// display formular
+echo ("\n");