summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f310c18)
raw | patch | inline | side by side (parent: f310c18)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 2 Nov 2006 08:59:58 +0000 (08:59 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 2 Nov 2006 08:59:58 +0000 (08:59 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4990 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/generic/class_user.inc | patch | blob | history | |
plugins/personal/generic/main.inc | patch | blob | history |
index 816c3166c7fd19d3a22ffde65ba2e9ef0666850e..345c0b79ea1ec5c25f1dba0ca2f6bb3aeafca166 100644 (file)
"plDescription" => _("Generic user settings"),
"plSelfModify" => TRUE,
"plDepends" => array(),
- "plPriority" => 0,
+ "plPriority" => 1,
"plSection" => array("personal" => _("My account")),
"plCategory" => array("users" => array("description" => _("Users"),
"objectClass" => "gosaAccount")),
index 474087f4a77c7b3c66eb63e3d281b04074c343e2..48c1a225fd53475778fbcb584b1d0b0d54e775a7 100644 (file)
}
/* Enter edit mode? */
- if ((isset($_POST['edit'])) && (!isset( $_SESSION['edit']))){
+ if ((isset($_POST['edit'])) && (!isset( $_SESSION['edit'])) &&preg_match("/w/",$ui->get_permissions($ui->dn,"users/user"))){
/* Check locking */
if (($username= get_lock($ui->dn)) != ""){
/* Execute formular */
if($lock_msg){
- $display = $lock_msg;
+ $display.= $lock_msg;
}else{
$display.= $user->execute ();
}