Changeset 3303 in subversion for trunk/roundcubemail/program/steps/mail/func.inc
- Timestamp:
- Mar 2, 2010 9:48:26 AM (3 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/steps/mail/func.inc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/mail/func.inc
r3296 r3303 1171 1171 function rcmail_address_string($input, $max=null, $linked=false, $addicon=null) 1172 1172 { 1173 global $IMAP, $PRINT_MODE, $CONFIG, $OUTPUT, $EMAIL_ADDRESS_PATTERN; 1173 global $IMAP, $RCMAIL, $PRINT_MODE, $CONFIG, $OUTPUT, $EMAIL_ADDRESS_PATTERN; 1174 static $got_writable_abook = null; 1174 1175 1175 1176 $a_parts = $IMAP->decode_address_list($input); … … 1182 1183 $out = ''; 1183 1184 1185 if ($got_writable_abook === null && $books = $RCMAIL->get_address_sources(true)) { 1186 $got_writable_abook = true; 1187 } 1188 1184 1189 foreach ($a_parts as $part) { 1185 1190 $j++; … … 1201 1206 } 1202 1207 1203 if ($addicon ) {1208 if ($addicon && $got_writable_abook) { 1204 1209 $out .= ' ' . html::a(array( 1205 1210 'href' => "#add",
Note: See TracChangeset
for help on using the changeset viewer.
