Bernd Wurst commited on 2024-04-12 14:29:38
Zeige 1 geänderte Dateien mit 7 Einfügungen und 4 Löschungen.
| ... | ... |
@@ -52,13 +52,16 @@ foreach ($domains as $id => $dom) {
|
| 52 | 52 |
$trextra = ($odd ? ' class="odd"' : ' class="even"'); |
| 53 | 53 |
$edit_disabled = false; |
| 54 | 54 |
$notice = ''; |
| 55 |
+ $tooltip = ''; |
|
| 55 | 56 |
if ($dom['type'] == 'manual') {
|
| 56 | 57 |
$edit_disabled = true; |
| 57 | 58 |
$notice = 'Kann nur von Admins geändert werden'; |
| 59 |
+ $tooltip = 'Kann nur von Admins geändert werden'; |
|
| 58 | 60 |
} |
| 59 | 61 |
if (domain_has_vmail_accounts($id)) {
|
| 60 | 62 |
$edit_disabled = true; |
| 61 |
- $notice = 'Keine Änderung möglich, solange noch ' . internal_link("vmail", "E-Mail-Konten") . ' für diese Domain eingerichtet sind.';
|
|
| 63 |
+ $notice = 'Es gibt ' . internal_link("vmail", "E-Mail-Konten für diese Domain") . '.';
|
|
| 64 |
+ $tooltip = 'Keine Änderung möglich, solange noch E-Mail-Konten für diese Domain eingerichtet sind.'; |
|
| 62 | 65 |
} |
| 63 | 66 |
if ($dom['mailserver_lock']) {
|
| 64 | 67 |
$trextra .= ' style="background-color: #faa;"'; |
| ... | ... |
@@ -71,11 +74,11 @@ foreach ($domains as $id => $dom) {
|
| 71 | 74 |
|
| 72 | 75 |
$buttons = '<span class="buttonset' . ($edit_disabled ? ' disabled' : '') . '" id="buttonset-' . $id . '"> |
| 73 | 76 |
<input type="radio" name="option-' . $id . '" id="option-' . $id . '-webinterface" value="webinterface"' . $check_webinterface . ' ' . ($edit_disabled ? ' disabled="disabled"' : '') . '> |
| 74 |
- <label for="option-' . $id . '-webinterface">Webinterface</label> |
|
| 77 |
+ <label title="' . $tooltip . '" for="option-' . $id . '-webinterface">Webinterface</label> |
|
| 75 | 78 |
<input type="radio" name="option-' . $id . '" id="option-' . $id . '-manual" value="manual"' . $check_manual . ' ' . ($edit_disabled ? ' disabled="disabled"' : '') . '> |
| 76 |
- <label for="option-' . $id . '-manual">Manuell</label> |
|
| 79 |
+ <label title="' . $tooltip . '" for="option-' . $id . '-manual">Manuell</label> |
|
| 77 | 80 |
<input type="radio" name="option-' . $id . '" id="option-' . $id . '-off" value="off"' . $check_off . ' ' . ($edit_disabled ? ' disabled="disabled"' : '') . '> |
| 78 |
- <label for="option-' . $id . '-off">Ausgeschaltet</label>'; |
|
| 81 |
+ <label title="' . $tooltip . '" for="option-' . $id . '-off">Ausgeschaltet</label>'; |
|
| 79 | 82 |
$buttons .= '<input type="submit" value="Speichern"> |
| 80 | 83 |
</span>'; |
| 81 | 84 |
if ($dom['type'] == 'nomail' || $dom['type'] == 'none') {
|
| 82 | 85 |