Changeset 4892 in subversion
- Timestamp:
- Jun 29, 2011 1:15:08 PM (2 years ago)
- Location:
- trunk/roundcubemail/program/steps/addressbook
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/addressbook/edit.inc
r4850 r4892 54 54 } 55 55 56 $SOURCE_ID = $source; 56 57 57 58 function rcmail_get_edit_record() -
trunk/roundcubemail/program/steps/addressbook/func.inc
r4884 r4892 620 620 function rcmail_contact_photo($attrib) 621 621 { 622 global $ CONTACTS, $CONTACT_COLTYPES, $RCMAIL, $CONFIG;622 global $SOURCE_ID, $CONTACTS, $CONTACT_COLTYPES, $RCMAIL, $CONFIG; 623 623 624 624 if (!$CONTACT_COLTYPES['photo']) … … 635 635 $photo_img = $record['photo']; 636 636 else if ($record['photo']) 637 $photo_img = $RCMAIL->url(array('_action' => 'photo', '_cid' => $record['ID'], '_source' => $ _REQUEST['_source']));637 $photo_img = $RCMAIL->url(array('_action' => 'photo', '_cid' => $record['ID'], '_source' => $SOURCE_ID)); 638 638 else 639 639 $ff_value = '-del-'; // will disable delete-photo action -
trunk/roundcubemail/program/steps/addressbook/show.inc
r4857 r4892 26 26 27 27 // Initialize addressbook source 28 $CONTACTS = rcmail_contact_source($source, true); 28 $CONTACTS = rcmail_contact_source($source, true); 29 $SOURCE_ID = $source; 29 30 30 31 // read contact record
Note: See TracChangeset
for help on using the changeset viewer.
