Changeset 308 in subversion


Ignore:
Timestamp:
Aug 11, 2006 5:48:44 AM (7 years ago)
Author:
tri
Message:

Improvements for SVN 306 Bug (Ticket #1483950)

Location:
trunk/roundcubemail
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/SQL/mysql.update.sql

    r306 r308  
    22-- Updates from version 0.1-20051007 
    33 
    4  ALTER TABLE `contacts` ADD `name` varchar(128) NOT NULL default ''; 
    5  ALTER TABLE `contacts` ADD `email` varchar(128) NOT NULL default ''; 
    6  ALTER TABLE `contacts` ADD `first_name` varchar(128) NOT NULL default ''; 
     4 ALTER TABLE `contacts` CHANGE `firstname` `first_name` VARCHAR( 128 ) NOT NULL; ALTER TABLE `contacts` CHANGE `surname` `last_name` VARCHAR( 128 ) NOT NULL;  
     5 
    76 ALTER TABLE `contacts` ADD `middle_name` varchar(128) NOT NULL default ''; 
    8  ALTER TABLE `contacts` ADD `last_name` varchar(128) NOT NULL default ''; 
    97 ALTER TABLE `contacts` ADD `edu_title` varchar(128) NOT NULL default ''; 
    108 ALTER TABLE `contacts` ADD `addon` varchar(128) NOT NULL default ''; 
  • trunk/roundcubemail/program/steps/addressbook/show.inc

    r88 r308  
    1414 +-----------------------------------------------------------------------+ 
    1515 | Author: Thomas Bruederli <roundcube@gmail.com>                        | 
     16 | Author: Tobias 'tri' Richter  <tobias@datenwerkstatt-richter.de       | 
    1617 +-----------------------------------------------------------------------+ 
    1718 
     
    5455  $out = "<table>\n\n"; 
    5556 
    56   $a_show_cols = array('name', 'firstname', 'surname', 'email'); 
     57  $a_show_cols = array('name', 'email', 'first_name', 'middle_name', 'last_name', 'edu_title', 'addon', 'nickname', 'company', 'organisation', 'department', 'job_title', 'note', 'tel_work1_voice', 'tel_work2_voice', 'tel_home1_voice', 'tel_home2_voice', 'tel_cell_voice', 'tel_car_voice', 'tel_pager_voice', 'tel_additional', 'tel_work_fax', 'tel_home_fax', 'tel_isdn', 'tel_preferred', 'tel_telex', 'work_street', 'work_zip', 'work_city', 'work_region', 'work_country', 'home_street', 'home_zip', 'home_city', 'home_region', 'home_country', 'postal_street', 'postal_zip', 'postal_city', 'postal_region', 'postal_country', 'url_work', 'role', 'birthday', 'rev', 'lang'); 
    5758  foreach ($a_show_cols as $col) 
    5859    { 
Note: See TracChangeset for help on using the changeset viewer.