[ Index ] |
|
Code source de IMP H3 (4.1.5) |
1 <?php $i = 0; ?> 2 <table width="100%" cellspacing="0"> 3 <?php if ($all_headers): ?> 4 <?php foreach ($full_h as $head => $val): ?><tr> 5 <?php if (in_array($head, $basic_headers)) $val = $imp_headers->getValue($head); ?> 6 <td class="item<?php echo $i ?> rightAlign nowrap" valign="top"><strong><?php echo $head ?>:</strong> </td> 7 <td class="item<?php echo $i ?> msgheader" width="100%"><?php echo $val ?></td> 8 </tr><?php $i = ($i + 1) % 2; ?> 9 <?php endforeach; ?> 10 <?php else: ?> 11 <?php foreach ($basic_headers as $head => $str): ?> 12 <?php if ($val = $imp_headers->getValue($head)): ?> 13 <tr> 14 <td class="item<?php echo $i ?> rightAlign nowrap" valign="top"><strong><?php echo $str ?>:</strong> </td> 15 <td class="item<?php echo $i ?> msgheader" width="100%"><?php echo $val ?></td> 16 </tr> 17 <?php $i = ($i + 1) % 2; endif; ?> 18 <?php endforeach; ?> 19 <?php endif; ?> 20 <?php if (!empty($user_hdrs) && count($custom_hdrs) > 0): ?> 21 <?php foreach ($custom_hdrs as $head => $val): ?><tr> 22 <td class="item<?php echo $i ?> rightAlign nowrap" valign="top"><strong><?php echo $head ?>:</strong> </td> 23 <td class="item<?php echo $i ?> msgheader" width="100%"><?php echo $val ?></td> 24 </tr><?php $i = ($i + 1) % 2; ?> 25 <?php endforeach; ?> 26 <?php endif; ?> 27 <?php if ($list_headers && $list_exists): ?> 28 <?php foreach ($imp_headers->listHeaders() as $head => $str): ?> 29 <?php if ($val = $imp_headers->getValue($head)): ?> 30 <tr> 31 <td class="item<?php echo $i ?> rightAlign nowrap" valign="top"><strong><?php echo $str ?>:</strong> </td> 32 <td class="item<?php echo $i ?> msgheader" width="100%"><?php echo $val ?></td> 33 </tr> 34 <?php $i = ($i + 1) % 2; endif; ?> 35 <?php endforeach; ?> 36 <?php endif; ?> 37 <?php if ($val = $imp_headers->getValue('priority')): ?><tr> 38 <td class="item<?php echo $i ?> rightAlign" valign="top"><strong><?php echo _("Priority") ?>:</strong> </td> 39 <td class="item<?php echo $i ?> msgheader" width="100%"><?php echo $val ?></td> 40 </tr><?php $i = ($i + 1) % 2; endif; ?> 41 <?php if ($show_parts || ($downloadall_link && !$printer_friendly)): ?> 42 <tr> 43 <td class="item<?php echo $i ?> rightAlign" valign="top"><strong><?php echo _("Part(s)") ?>:</strong> </td> 44 <?php if ($show_parts): ?> 45 <td class="item<?php echo $i ?> msgheader" width="100%"><table cellspacing="2"><?php echo $attachments ?></table></td> 46 <?php endif; ?> 47 <?php if ($downloadall_link && !$printer_friendly): ?> 48 <?php if ($show_parts): ?> 49 <tr> 50 <td class="item<?php echo $i ?> rightAlign" valign="top"></td> 51 <?php endif; ?> 52 <td class="item<?php echo $i ?> msgheader" width="100%"><?php echo Horde::link($downloadall_link, _("Download All Attachments (in .zip file)")) . _("Download All Attachments (in .zip file)") . ' ' . Horde::img('compressed.png', _("Download All Attachments (in .zip file)"), '', $registry->getImageDir('horde') . '/mime') ?></a></td> 53 <?php endif; ?> 54 </tr> 55 <?php $i = ($i + 1) % 2; endif; ?> 56 <?php if (!$printer_friendly): ?> 57 <tr> 58 <td class="item<?php echo $i ?> rightAlign" valign="top"><strong><?php echo _("Headers") ?>:</strong> </td> 59 <td class="item<?php echo $i ?> msgheader" width="100%"> 60 <?php if ($all_headers || $list_headers): ?> 61 <?php echo Horde::link($headersURL) . _("Show Limited Headers") ?></a> 62 <?php endif; ?> 63 <?php if (!$all_headers): ?> 64 <?php if ($list_headers): ?> 65 | 66 <?php endif; ?> 67 <?php echo Horde::link(Util::addParameter($headersURL, 'show_all_headers', 1)) . _("Show All Headers") ?></a> 68 <?php endif; ?> 69 <?php if ($list_exists && !$list_headers): ?> 70 | <?php echo Horde::link(Util::addParameter($headersURL, 'show_list_headers', 1)) . _("Show Mailing List Information") ?></a> 71 <?php endif; ?> 72 </td> 73 </tr> 74 <?php endif; ?> 75 </table>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Thu Nov 29 12:30:07 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |