[ Index ]
 

Code source de IMP H3 (4.1.5)

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/templates/mailbox/ -> actions.inc (source)

   1  <tr>
   2   <td class="control" colspan="6">
   3  
   4  <table width="100%">
   5   <tr>
   6    <td class="leftAlign">
   7  <?php if ($trashMbox): ?>
   8     <?php echo Horde::widget('#', _("Delete"), 'widget', '', "if (confirm('" . addslashes(_("Are you sure you wish to permanently delete these messages?")) . "')) { Submit('delete_messages'); } return false;", _("_Delete")); ?>
   9  <?php else: ?>
  10     <?php echo Horde::widget('#', _("Delete"), 'widget', '', "Submit('delete_messages'); return false;", _("_Delete")); ?>
  11  <?php endif; ?>
  12  <?php if ($showdelete['purge'] || !is_null($vtrash)): ?>
  13     | <?php echo Horde::widget('#', _("Undelete"), 'widget', '', "Submit('undelete_messages'); return false;", _("_Undelete")); ?>
  14  <?php endif; ?>
  15  <?php if ($show_blacklist_link): ?>
  16     | <?php echo Horde::widget('#', _("Blacklist"), 'widget', '', "Submit('blacklist'); return false;", _("_Blacklist")); ?>
  17  <?php endif; ?>
  18  <?php if ($show_whitelist_link): ?>
  19     | <?php echo Horde::widget('#', _("Whitelist"), 'widget', '', "Submit('whitelist'); return false;", _("_Whitelist")); ?>
  20  <?php endif; ?>
  21     | <?php echo Horde::widget('#', _("Forward"), 'widget', '', "Submit('fwd_digest'); return false;", _("Fo_rward")) ?>
  22  <?php if ($conf['spam']['reporting'] && ($conf['spam']['spamfolder'] || $imp['mailbox'] != IMP::folderPref($prefs->getValue('spam_folder'), true))): ?>
  23     | <?php echo Horde::widget('#', _("Report as Spam"), 'widget', '', "Submit('spam_report'); return false;", _("Report as Spam")); ?>
  24  <?php endif; ?>
  25  <?php if ($conf['notspam']['reporting'] && (!$conf['notspam']['spamfolder'] || $imp['mailbox'] == IMP::folderPref($prefs->getValue('spam_folder'), true))): ?>
  26     | <?php echo Horde::widget('#', _("Report as Innocent"), 'widget', '', "Submit('notspam_report'); return false;", _("Report as Innocent")); ?>
  27  <?php endif; ?>
  28     | <?php echo Horde::widget('#', _("View Messages"), 'widget', '', "Submit('view_messages'); return false;", _("View Messages")); ?>
  29    </td>
  30    <td class="rightAlign">
  31  <?php if ($showdelete['purge']): ?>
  32  <?php $mailbox_link = Util::addParameter($mailbox_url, 'page', $pageOb->page); ?>
  33  <?php if (isset($deleted_prompt)): ?>
  34     <?php echo Horde::widget(Util::addParameter($mailbox_link, 'actionID', 'hide_deleted'), $deleted_prompt, 'widget', '', '', $deleted_prompt); ?> |
  35  <?php endif; ?>
  36     <?php echo Horde::widget(Util::addParameter($mailbox_link, 'actionID', 'expunge_mailbox'), _("Purge Deleted"), 'widget', '', '', _("Pur_ge Deleted")); ?>
  37  <?php endif; ?>
  38  <?php if ($trashMbox): ?>
  39     <?php echo Horde::widget(Util::addParameter($mailbox_url, 'actionID', 'empty_mailbox'), _("Empty Trash folder"), 'widget', '', "return confirm('" . addslashes(_("Are you sure you wish to empty this folder?")) . "');", _("Empty Trash folder")); ?>
  40  <?php endif; ?>
  41    </td>
  42   </tr>
  43  </table>
  44  
  45   </td>
  46  </tr>


Généré le : Thu Nov 29 12:30:07 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics