Changeset ed132ed in github
- Timestamp:
- Sep 2, 2008 1:22:00 PM (5 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 08abbac
- Parents:
- 82bac87
- Files:
-
- 6 added
- 18 edited
-
CHANGELOG (modified) (1 diff)
-
program/include/main.inc (modified) (1 diff)
-
program/include/rcube_contacts.php (modified) (1 diff)
-
program/include/rcube_template.php (modified) (1 diff)
-
program/include/rcube_vcard.php (added)
-
program/js/app.js (modified) (3 diffs)
-
program/localization/de_CH/labels.inc (modified) (1 diff)
-
program/localization/de_CH/messages.inc (modified) (1 diff)
-
program/localization/en_US/labels.inc (modified) (1 diff)
-
program/localization/en_US/messages.inc (modified) (1 diff)
-
program/steps/addressbook/import.inc (added)
-
skins/default/addresses.css (modified) (2 diffs)
-
skins/default/common.css (modified) (2 diffs)
-
skins/default/images/buttons/adr_import_act.png (added)
-
skins/default/images/buttons/adr_import_pas.png (added)
-
skins/default/images/buttons/adr_import_sel.png (added)
-
skins/default/templates/addcontact.html (modified) (1 diff)
-
skins/default/templates/addressbook.html (modified) (1 diff)
-
skins/default/templates/compose.html (modified) (1 diff)
-
skins/default/templates/editcontact.html (modified) (1 diff)
-
skins/default/templates/editidentity.html (modified) (1 diff)
-
skins/default/templates/importcontacts.html (added)
-
skins/default/templates/login.html (modified) (1 diff)
-
skins/default/templates/settings.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
r8ac6fd0 red132ed 1 1 CHANGELOG RoundCube Webmail 2 2 --------------------------- 3 4 2008/09/02 (thomasb) 5 ---------- 6 - Add feature to import contacts from vcard files (#1326103) 7 - Mark form buttons that provide the most obvious operation (mainaction) 3 8 4 9 2008/08/30 (alec) -
program/include/main.inc
r25f80d6 red132ed 793 793 * @param mixed Debug message or data 794 794 */ 795 function console($msg) 796 { 797 if (!is_string($msg)) 798 $msg = var_export($msg, true); 795 function console() 796 { 797 $msg = array(); 798 foreach (func_get_args() as $arg) 799 $msg[] = !is_string($arg) ? var_export($arg, true) : $arg; 799 800 800 801 if (!($GLOBALS['CONFIG']['debug_level'] & 4)) 801 write_log('console', $msg);802 write_log('console', join(";\n", $msg)); 802 803 else if ($GLOBALS['OUTPUT']->ajax_call) 803 print "/*\n $msg\n*/\n";804 print "/*\n " . join(";\n", $msg) . " \n*/\n"; 804 805 else 805 806 { 806 807 print '<div style="background:#eee; border:1px solid #ccc; margin-bottom:3px; padding:6px"><pre>'; 807 print $msg;808 print join(";<br/>\n", $msg); 808 809 print "</pre></div>\n"; 809 810 } -
program/include/rcube_contacts.php
r95987c3 red132ed 35 35 var $search_fields; 36 36 var $search_string; 37 var $table_cols = array('name', 'email', 'firstname', 'surname' );37 var $table_cols = array('name', 'email', 'firstname', 'surname', 'vcard'); 38 38 39 39 /** public properties */ -
program/include/rcube_template.php
r06655a5 red132ed 671 671 * @todo Remove all sprintf()'s - they are pretty, but also slow. 672 672 */ 673 p rivatefunction button($attrib)673 public function button($attrib) 674 674 { 675 675 static $sa_buttons = array(); -
program/js/app.js
rdf0dd4f4 red132ed 282 282 this.enable_command('save', true); 283 283 else 284 this.enable_command('search', 'reset-search', 'moveto', true);284 this.enable_command('search', 'reset-search', 'moveto', 'import', true); 285 285 286 286 this.enable_command('list', true); … … 973 973 } 974 974 975 // reset quicksearch 975 // reset quicksearch 976 976 case 'reset-search': 977 977 var s = this.env.search_request; … … 983 983 this.list_contacts(this.env.source); 984 984 break; 985 986 case 'import': 987 if (this.env.action == 'import' && this.gui_objects.importform) { 988 var file = document.getElementById('rcmimportfile'); 989 if (file && !file.value) { 990 alert(this.get_label('selectimportfile')); 991 break; 992 } 993 this.gui_objects.importform.submit(); 994 this.set_busy(true, 'importwait'); 995 this.lock_form(this.gui_objects.importform, true); 996 } 997 else 998 this.goto_url('import'); 999 break 985 1000 986 1001 // collapse/expand folder -
program/localization/de_CH/labels.inc
r2660a54 red132ed 185 185 $labels['groups'] = 'Gruppen'; 186 186 $labels['personaladrbook'] = 'Persönliches Adressbuch'; 187 $labels['import'] = 'Importieren'; 188 $labels['importcontacts'] = 'Adressen importieren'; 189 $labels['importfromfile'] = 'Import aus Datei:'; 190 $labels['importreplace'] = 'Bestehendes Adressbuch komplett ersetzen'; 191 $labels['importtext'] = 'Sie können Kontakte aus einem bestehenden Adressbuch hochladen.<br/>Es können AdressbÌcher im <a href="http://de.wikipedia.org/wiki/VCard">vCard-Format</a> importiert werden.'; 192 $labels['done'] = 'Fertig'; 187 193 $labels['settingsfor'] = 'Einstellungen fÌr'; 188 194 $labels['preferences'] = 'Einstellungen'; -
program/localization/de_CH/messages.inc
r2660a54 red132ed 81 81 $messages['addsubfolderhint'] = 'Wird als Unterdornder des aktuell selektieren Ordners erstellt'; 82 82 $messages['forbiddencharacter'] = 'Der Ordnername enthÀlt ein ungÌltiges Zeichen'; 83 $messages['selectimportfile'] = 'Bitte wÀhlen Sie eine Datei zum Importieren aus'; 84 $messages['addresswriterror'] = 'Das gewÀhlte Adressbuch kann nicht verÀndert werden'; 85 $messages['importwait'] = 'Daten werden importiert, bitte warten...'; 86 $messages['importerror'] = 'Import fehlgeschlagen! Die hochgeladene Datei ist nicht im vCard-Format.'; 87 $messages['importconfirm'] = '<b>Es wurden $inserted Adressen erfolgreich importiert und $skipped bestehende EintrÀge Ìbersprungen</b>:<p><em>$names</em></p>'; 83 88 84 89 ?> -
program/localization/en_US/labels.inc
rfaf8766 red132ed 233 233 $labels['personaladrbook'] = 'Personal Addresses'; 234 234 235 $labels['import'] = 'Import'; 236 $labels['importcontacts'] = 'Import contacts'; 237 $labels['importfromfile'] = 'Import from file:'; 238 $labels['importreplace'] = 'Replace the entire address book'; 239 $labels['importtext'] = 'You can upload contacts from an existing address book.<br/>We currently support importing addresses from the <a href="http://en.wikipedia.org/wiki/VCard">vCard</a> data format.'; 240 $labels['done'] = 'Done'; 235 241 236 242 // settings -
program/localization/en_US/messages.inc
r9a5762a red132ed 81 81 $messages['addsubfolderhint'] = 'This folder will be created as subfolder of the currently selected one'; 82 82 $messages['forbiddencharacter'] = 'Folder name contains a forbidden character'; 83 $messages['selectimportfile'] = 'Please select a file to upload'; 84 $messages['addresswriterror'] = 'The selected address book is not writeable'; 85 $messages['importwait'] = 'Importing, please wait...'; 86 $messages['importerror'] = 'Import failed! The uploaded file is not a valid vCard file.'; 87 $messages['importconfirm'] = '<b>Successfully imported $inserted contacts, $skipped existing entries skipped</b>:<p><em>$names</em></p>'; 83 88 84 89 ?> -
skins/default/addresses.css
r1996d8f red132ed 31 31 } 32 32 33 #directorylist, #addresslist 33 #directorylist, #addresslist, #importbox 34 34 { 35 35 position: absolute; … … 53 53 left: 185px; 54 54 width: 340px; 55 } 56 57 #importbox 58 { 59 left: 20px; 60 right: 40px; 61 height: auto; 62 bottom: auto; 63 padding-bottom: 4ex; 64 } 65 66 #importbox a 67 { 68 color: blue; 55 69 } 56 70 -
skins/default/common.css
r8e44f42 red132ed 77 77 78 78 input[type="checkbox"], 79 input[type="radio"] 79 input[type="radio"], 80 input[type="file"] 80 81 { 81 82 border: 0; … … 98 99 { 99 100 color: black; 101 } 102 103 input.mainaction 104 { 105 font-weight: bold; 106 border: 1px solid #999; 100 107 } 101 108 -
skins/default/templates/addcontact.html
rf115416 red132ed 15 15 <p><br /> 16 16 <input type="button" value="<roundcube:label name="cancel" />" class="button" onclick="history.back()" /> 17 <roundcube:button command="save" type="input" class="button" label="save " />17 <roundcube:button command="save" type="input" class="button" label="save mainaction" /> 18 18 </p> 19 19 -
skins/default/templates/addressbook.html
ra549a92 red132ed 16 16 <roundcube:button command="delete" imageSel="/images/buttons/delete_sel.png" imageAct="/images/buttons/delete_act.png" imagePas="/images/buttons/delete_pas.png" width="32" height="32" title="deletecontact" /> 17 17 <roundcube:button command="compose" imageSel="/images/buttons/compose_sel.png" imageAct="/images/buttons/compose_act.png" imagePas="/images/buttons/compose_pas.png" width="32" height="32" title="composeto" /> 18 <roundcube:button command=" print" imageSel="/images/buttons/print_sel.png" imageAct="/images/buttons/print_act.png" imagePas="/images/buttons/print_pas.png" width="32" height="32" title="print" />18 <roundcube:button command="import" imageSel="/images/buttons/download_sel.png" imageAct="/images/buttons/adr_import_act.png" imagePas="/images/buttons/adr_import_pas.png" width="32" height="32" title="importcontacts" /> 19 19 <roundcube:button command="export" imageSel="/images/buttons/download_sel.png" imageAct="/images/buttons/download_act.png" imagePas="/images/buttons/download_pas.png" width="32" height="32" title="export" /> 20 20 </div> -
skins/default/templates/compose.html
r6ed2560 red132ed 134 134 <tr> 135 135 <td style="white-space: nowrap"> 136 <roundcube:button type="input" command="send" class="button " label="sendmessage" tabindex="8" />136 <roundcube:button type="input" command="send" class="button mainaction" label="sendmessage" tabindex="8" /> 137 137 <roundcube:button type="input" command="list" class="button" label="cancel" tabindex="9" /> 138 138 </td> -
skins/default/templates/editcontact.html
r0c219c7 red132ed 15 15 <p><br /> 16 16 <roundcube:button command="show" type="input" class="button" label="cancel" /> 17 <roundcube:button command="save" type="input" class="button " label="save" />17 <roundcube:button command="save" type="input" class="button mainaction" label="save" /> 18 18 </p> 19 19 -
skins/default/templates/editidentity.html
rb89d5a8 red132ed 26 26 <p><br /> 27 27 <roundcube:button command="delete" type="input" class="button" label="delete" /> 28 <roundcube:button command="save" type="input" class="button " label="save" />28 <roundcube:button command="save" type="input" class="button mainaction" label="save" /> 29 29 </p> 30 30 </div> -
skins/default/templates/login.html
re3e597e red132ed 40 40 <roundcube:object name="loginform" form="form" autocomplete="off" /> 41 41 42 <p style="text-align:center;"><input type="submit" class="button " value="<roundcube:label name='login' />" /></p>42 <p style="text-align:center;"><input type="submit" class="button mainaction" value="<roundcube:label name='login' />" /></p> 43 43 44 44 </form> -
skins/default/templates/settings.html
ra901aa5 red132ed 18 18 <roundcube:object name="userprefs"> 19 19 20 <p><roundcube:button command="save" type="input" class="button " label="save" /></p>20 <p><roundcube:button command="save" type="input" class="button mainaction" label="save" /></p> 21 21 </div> 22 22 </div>
Note: See TracChangeset
for help on using the changeset viewer.
