Changeset fbeb4689 in github


Ignore:
Timestamp:
Jan 21, 2011 12:41:05 PM (2 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
ede1744
Parents:
26e76df
Message:

Better grouping of contact information

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • program/localization/en_US/labels.inc

    r0501b63 rfbeb4689  
    280280$labels['contacts'] = 'Contacts'; 
    281281$labels['contactproperties'] = 'Contact properties'; 
     282$labels['personalinfo'] = 'Personal information'; 
    282283 
    283284$labels['edit']   = 'Edit'; 
  • program/steps/addressbook/edit.inc

    r0501b63 rfbeb4689  
    9696            'name'    => rcube_label('contactproperties'), 
    9797            'content' => array( 
    98                 'gender' => array('visible' => false), 
    99                 'maidenname' => array('size' => $i_size), 
    10098                'email' => array('size' => $i_size, 'visible' => true), 
    10199                'phone' => array('size' => $i_size, 'visible' => true), 
    102100                'address' => array('visible' => true), 
    103                 'birthday' => array('size' => 12), 
    104                 'anniversary' => array('size' => $i_size), 
    105101                'website' => array('size' => $i_size), 
    106102                'im' => array('size' => $i_size), 
     103            ), 
     104        ), 
     105        'personal' => array( 
     106            'name'    => rcube_label('personalinfo'), 
     107            'content' => array( 
     108                'gender' => array('visible' => true), 
     109                'maidenname' => array('size' => $i_size), 
     110                'birthday' => array('visible' => true), 
     111                'anniversary' => array('size' => $i_size), 
    107112                'manager' => array('size' => $i_size), 
    108113                'assistant' => array('size' => $i_size), 
  • program/steps/addressbook/func.inc

    r0501b63 rfbeb4689  
    498498                 
    499499                // wrap rows in fieldgroup container 
    500                 $content .= html::tag('fieldset', array('class' => 'contactfieldgroup contactcontroller' . $col, 'style' => ($rows ? null : 'display:none')), 
     500                $content .= html::tag('fieldset', array('class' => 'contactfieldgroup ' . ($colprop['subtypes'] ? 'contactfieldgroupmulti ' : '') . 'contactcontroller' . $col, 'style' => ($rows ? null : 'display:none')), 
    501501                  ($colprop['subtypes'] ? html::tag('legend', null, Q($colprop['label'])) : ' ') . 
    502502                  $rows); 
  • program/steps/addressbook/show.inc

    r0501b63 rfbeb4689  
    9494            'name'    => rcube_label('contactproperties'), 
    9595            'content' => array( 
    96               'gender' => array('size' => $i_size), 
    97               'maidenname' => array('size' => $i_size), 
    9896              'email' => array('size' => $i_size, 'render_func' => 'rcmail_render_email_value'), 
    9997              'phone' => array('size' => $i_size), 
    10098              'address' => array(), 
    101               'birthday' => array('size' => $i_size), 
    102               'anniversary' => array('size' => $i_size), 
    10399              'website' => array('size' => $i_size, 'render_func' => 'rcmail_render_url_value'), 
    104100              'im' => array('size' => $i_size), 
    105               'manager' => array('size' => $i_size), 
    106               'assistant' => array('size' => $i_size), 
    107               'spouse' => array('size' => $i_size), 
     101            ), 
     102        ), 
     103        'personal' => array( 
     104            'name'    => rcube_label('personalinfo'), 
     105            'content' => array( 
     106                'gender' => array('size' => $i_size), 
     107                'maidenname' => array('size' => $i_size), 
     108                'birthday' => array('size' => $i_size), 
     109                'anniversary' => array('size' => $i_size), 
     110                'manager' => array('size' => $i_size), 
     111                'assistant' => array('size' => $i_size), 
     112                'spouse' => array('size' => $i_size), 
    108113            ), 
    109114        ), 
  • skins/default/addressbook.css

    r0501b63 rfbeb4689  
    312312        border: 0; 
    313313        margin: 0.5em 0; 
     314        padding: 0.2em 2px; 
     315} 
     316 
     317fieldset.contactfieldgroupmulti 
     318{ 
    314319        padding: 0.5em 2px; 
    315320} 
     
    323328{ 
    324329        position: relative; 
    325         margin-bottom: 0.4em; 
     330        margin: 0.2em 0; 
    326331} 
    327332 
Note: See TracChangeset for help on using the changeset viewer.