mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-09-21 06:20:17 +00:00
Translate 'Delete User' button as pointed out by Matthias Mohr
This commit is contained in:
parent
75297372f1
commit
0f792369b5
@ -91,7 +91,7 @@ class DAViCalUser extends User
|
|||||||
$html .= $ef->SubmitButton( 'submit', (('insert' == $this->WriteType) ? translate('Create') : translate('Update')) );
|
$html .= $ef->SubmitButton( 'submit', (('insert' == $this->WriteType) ? translate('Create') : translate('Update')) );
|
||||||
if ( 'insert' != $this->WriteType ) {
|
if ( 'insert' != $this->WriteType ) {
|
||||||
$html .= ' ';
|
$html .= ' ';
|
||||||
$html .= sprintf('<a class="fsubmit" href="%s/usr.php?user_no=%s&action=delete_user">Delete User</a>', $c->base_url, $this->user_no );
|
$html .= sprintf('<a class="fsubmit" href="%s/usr.php?user_no=%s&action=delete_user">%s</a>', $c->base_url, $this->user_no, translate('Delete User') );
|
||||||
}
|
}
|
||||||
$html .= '</div>';
|
$html .= '</div>';
|
||||||
$html .= $ef->EndForm();
|
$html .= $ef->EndForm();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user