]> git.mxchange.org Git - friendica.git/commitdiff
Added/Changed accesskeys for the new tab actions
authorMichael Vogel <icarus@dabo.de>
Wed, 2 Dec 2015 06:56:10 +0000 (07:56 +0100)
committerMichael Vogel <icarus@dabo.de>
Wed, 2 Dec 2015 06:56:10 +0000 (07:56 +0100)
doc/Accesskeys.md
mod/contacts.php

index 5e25e55c45124d85e93421fc93bc1d8d79d44a72..c49e79c0ab635b91bd4d31082591b6149943e9a1 100644 (file)
@@ -33,6 +33,10 @@ General
 
 /contacts (single contact view)
 -------------------------------
+* m: Status messages
+* o: Profile
+* t: Contacts
+* d: Common friends
 * b: Toggle Blocked status
 * i: Toggle Ignored status
 * v: Toggle Archive status
index 99b1c37c499419093de1a34ed9648b49dc1b5a61..f1537d50868aefbfeac24ef3b351ced4b11b6fdb 100644 (file)
@@ -829,7 +829,7 @@ function contacts_tab($a, $contact_id, $active_tab) {
                        'sel' => (($active_tab == 2)?'active':''),
                        'title' => t('Profile Details'),
                        'id' => 'status-tab',
-                       'accesskey' => 'r',
+                       'accesskey' => 'o',
                )
        );
 
@@ -840,7 +840,7 @@ function contacts_tab($a, $contact_id, $active_tab) {
                                'sel' => (($active_tab == 3)?'active':''),
                                'title' => t('View all contacts'),
                                'id' => 'allfriends-tab',
-                               'accesskey' => '');
+                               'accesskey' => 't');
 
        $common = count_common_friends(local_user(),$contact_id);
        if ($common)
@@ -849,7 +849,7 @@ function contacts_tab($a, $contact_id, $active_tab) {
                                'sel' => (($active_tab == 4)?'active':''),
                                'title' => t('View all common friends'),
                                'id' => 'common-loc-tab',
-                               'accesskey' => '');
+                               'accesskey' => 'd');
 
        $tabs[] = array('label' => t('Repair'),
                        'url'   => $a->get_baseurl(true) . '/crepair/' . $contact_id,