summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a6ef110)
raw | patch | inline | side by side (parent: a6ef110)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Mar 2008 10:54:19 +0000 (10:54 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Mar 2008 10:54:19 +0000 (10:54 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9433 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/addressbook/addons/addressbook/class_addressbook.inc | patch | blob | history |
diff --git a/gosa-plugins/addressbook/addons/addressbook/class_addressbook.inc b/gosa-plugins/addressbook/addons/addressbook/class_addressbook.inc
index 24bc317e124abc388830a30f009aca016b2dd112..83f8bd74a4df576d1e6d130318c4439c4a0f2ed4 100644 (file)
return($smarty->fetch(get_template_path('dial.tpl', TRUE)));
return;
} else {
- msg_dialog::display(_("Error"), _("You need to set your personal phone number in order to perform direct dials."), ERROR_DIALOG);
+ msg_dialog::display(_("Error"), _("You need to set your personal phone number in order to perform direct dials."), ERROR_DIALOG);
}
}
/* Normally this shouldn't be reached, send some extra
logs to notify the administrator */
- msg_dialog::display(_("Permission error"), _("You have no permission to delete this entry!"), ERROR_DIALOG);
+ msg_dialog::permDelete($this->dn);
new log("remove","addressbook/".get_class($this),$this->dn,array(),"Warning: '".$this->ui->uid."' tried to trick address book deletion.");
}
/* Obviously the user isn't allowed to delete. Show message and
clean session. */
- msg_dialog::display(_("Permission error"), _("You have no permission to delete this entry!"), ERROR_DIALOG);
+ msg_dialog::permDelete($this->dn);
}
}
session::set('show_info',"ADD");