summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4e5f505)
raw | patch | inline | side by side (parent: 4e5f505)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 14 Jul 2008 13:41:07 +0000 (13:41 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 14 Jul 2008 13:41:07 +0000 (13:41 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11635 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/mail/personal/mail/main.inc | patch | blob | history |
index 153199cbb28a2fe4a7c1726f3aadf1adb086bb11..c393fdb6a2be21fcf1b9c3f325ba0488f17f5f14 100644 (file)
}
/* Enter edit mode? */
- if (isset($_POST['edit']) && preg_match("/w/",$ui->get_permissions($ui->dn,"users/mailAccount"))){
+ if (isset($_POST['edit']) && preg_match("/r/",$ui->get_permissions($ui->dn,"users/mailAccount"))){
/* Check locking */
if (($username= get_lock($ui->dn)) != ""){
$info.= "<img alt=\"\" align=\"middle\" src=\"".get_template_path('images/lists/on.png').
"\"> ".msgPool::clickEditToChange();
- if(preg_match("/w/",$ui->get_permissions($ui->dn,"users/mailAccount"))){
+ if(preg_match("/r/",$ui->get_permissions($ui->dn,"users/mailAccount"))){
$display.= "<input type=submit name=\"edit\" value=\"".msgPool::editButton()."\">\n";
}