Subversion Repositories Applications.projet

Rev

Rev 359 | Rev 420 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 359 Rev 406
Line 309... Line 309...
309
                        for ($j= 0; $j < count ($profondeur); $j++) $lien .= '&actionargs[]='.$profondeur[$j];
309
                        for ($j= 0; $j < count ($profondeur); $j++) $lien .= '&actionargs[]='.$profondeur[$j];
310
                    } 
310
                    } 
311
                    $lien .= '&actionargs[]='.$i ;
311
                    $lien .= '&actionargs[]='.$i ;
312
                    $corps .= '<a href="'.$lien.'">';
312
                    $corps .= '<a href="'.$lien.'">';
Line 313... Line -...
313
					
-
 
314
					$tableau_type_image = array ('jpg', 'jpeg', 'pjpeg');
-
 
315
                    
-
 
316
                    if (in_array ($mailDecode->parts[$i]->ctype_secondary, $tableau_type_image)) {
313
					
317
                    	$corps .= '<img src="'.$lien.'&amp;min=1" alt="'.$nom_piece_jointe.'" />&nbsp;' ;
314
                    $corps .= '<img src="'.$mimeType->getCheminIcone().'" alt="'.$nom_piece_jointe.'" />&nbsp;' ;
318
                    	$texte_lien = '';
-
 
319
                    } else {
315
                    if ($mailDecode->parts[$i]->ctype_secondary == 'jpg' || $mailDecode->parts[$i]->ctype_secondary == 'jpeg') 
320
                    	$corps .= '<img src="'.$mimeType->getCheminIcone().'" alt="'.$nom_piece_jointe.'" />&nbsp;' ;
316
                    	$corps .= '<img src="'.$lien.'" alt="'.$nom_piece_jointe.'" />&nbsp;' ;
321
                    	$texte_lien = $nom_piece_jointe;
-
 
322
                    }
-
 
323
                    $corps .= $texte_lien;
317
                    $corps .= $nom_piece_jointe;
324
                    $corps .= '</a><br />' ;
318
                    $corps .= '</a><br />' ;
325
                    break ;
319
                    break ;
326
                }
320
                }
327
            }
321
            }