X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2Fdefault%2Faddressbook_list.tpl;h=7c802dcf46f4842991fae664bd86c43caea9f694;hb=aa1340ebb1e775a36b74dbfc22391ee095d45394;hp=456164712c4be15483d204c907076381214444dd;hpb=a71b394eb2e5ebd2c2229458d2242088807c5728;p=squirrelmail.git diff --git a/templates/default/addressbook_list.tpl b/templates/default/addressbook_list.tpl index 45616471..7c802dcf 100644 --- a/templates/default/addressbook_list.tpl +++ b/templates/default/addressbook_list.tpl @@ -1,83 +1,118 @@ '; /** Begin template **/ $source = $addresses[$current_backend]; -$abook_has_extra_field = isset($source['Addresses'][0]) && !is_null($source['Addresses'][0]['Extra']); $colspan = $abook_has_extra_field ? 6 : 5; ?> +
+
- - - - - - - - + + + + + '; @@ -90,17 +125,21 @@ $colspan = $abook_has_extra_field ? 6 : 5; echo ''."\n"; } foreach ($source['Addresses'] as $contact) { - $id = $current_backend.':'.$contact['NickName']; - ?> - > - - - - - + echo ''; + if (!empty($contact['special_message'])) { + echo ''; + } else { + $id = $current_backend . '_' . $contact['NickName']; + ?> + + + + + '.$contact['Extra'].''."\n"; + if ($abook_has_extra_field) { + echo ''."\n"; + } } ?> @@ -109,4 +148,5 @@ $colspan = $abook_has_extra_field ? 6 : 5; } ?>
class="header1"> +
- name="editaddr" id="editaddr" /> - name="deladdr" id="deladdr" /> + +
+ display('addressbook_paginator.tpl'); + if (!empty($plugin_output['address_book_navigation'])) echo $plugin_output['address_book_navigation']; + ?> +
+ " name="editaddr" id="editaddr" /> + " name="deladdr" id="deladdr" /> + name="compose_to" id="compose_to" /> + +
class="abookSwitch"> + + + 0) { + ?> - name="change_abook" id="change_abook" /> + + " name="change_abook" id="change_abook" /> +
" onclick="toggle_all('address_book_form', 'sel', false); return false;" />
'._("Address book is empty").'
' : ''); ?>
' . $contact['special_message'] . '' : ''); ?> '.$contact['Extra'].'
-
\ No newline at end of file + +