[ 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/search/ -> main.inc (source)

   1     </table>
   2    </td>
   3   </tr>
   4  
   5   <tr>
   6    <td class="smallheader leftAlign" colspan="2"><?php echo _("Message flags") ?></td>
   7   </tr>
   8  
   9   <tr>
  10    <td class="item" colspan="2">
  11     <table cellspacing="0" cellpadding="0" width="100%">
  12      <tr>
  13       <td class="item1 leftAlign" nowrap="nowrap">
  14        <input type="radio" id="flag_seen_0" name="search_flag[<?php echo IMP_SEARCH_FLAG_SEEN ?>]" value="0" <?php if (!empty($search['flag']) && $search['flag'][IMP_SEARCH_FLAG_SEEN] == 0) echo 'checked="checked" '; ?>/>
  15        <em><?php echo Horde::label('flag_seen_0', _("Old messages")) ?></em>
  16       </td>
  17       <td class="item1 leftAlign" nowrap="nowrap">
  18        <input type="radio" id="flag_seen_1" name="search_flag[<?php echo IMP_SEARCH_FLAG_SEEN ?>]" value="1" <?php if (!empty($search['flag']) && $search['flag'][IMP_SEARCH_FLAG_SEEN] == 1) echo 'checked="checked" '; ?>/>
  19        <em><?php echo Horde::label('flag_seen_1', _("New messages")) ?></em>
  20       </td>
  21       <td class="item1 leftAlign" nowrap="nowrap">
  22        <input type="radio" id="flag_seen_2" name="search_flag[<?php echo IMP_SEARCH_FLAG_SEEN ?>]" value="2" <?php if (empty($search['flag']) || $search['flag'][IMP_SEARCH_FLAG_SEEN] == 2) echo 'checked="checked" '; ?> />
  23        <em><?php echo _("Both") ?></em>
  24       </td>
  25       <td class="item1" width="100%">&nbsp;</td>
  26      </tr>
  27  
  28      <tr>
  29       <td class="item0 leftAlign" nowrap="nowrap">
  30        <input type="radio" id="flag_answered_0" name="search_flag[<?php echo IMP_SEARCH_FLAG_ANSWERED ?>]" value="0" <?php if (!empty($search['flag']) && $search['flag'][IMP_SEARCH_FLAG_ANSWERED] == 0) echo 'checked="checked" '; ?>/>
  31        <em><?php echo Horde::label('flag_answered_0', _("Answered messages")) ?></em>
  32       </td>
  33       <td class="item0 leftAlign" nowrap="nowrap">
  34        <input type="radio" id="flag_answered_1" name="search_flag[<?php echo IMP_SEARCH_FLAG_ANSWERED ?>]" value="1" <?php if (!empty($search['flag']) && $search['flag'][IMP_SEARCH_FLAG_ANSWERED] == 1) echo 'checked="checked" '; ?>/>
  35        <em><?php echo Horde::label('flag_answered_1', _("Unanswered messages")) ?></em>
  36       </td>
  37       <td class="item0 leftAlign" nowrap="nowrap">
  38        <input type="radio" id="flag_answered_2" name="search_flag[<?php echo IMP_SEARCH_FLAG_ANSWERED ?>]" value="2" <?php if (empty($search['flag']) || $search['flag'][IMP_SEARCH_FLAG_ANSWERED] == 2) echo 'checked="checked" '; ?>/>
  39        <em><?php echo _("Both") ?></em>
  40       </td>
  41       <td class="item0" width="100%">&nbsp;</td>
  42      </tr>
  43  
  44      <tr>
  45       <td class="item1 leftAlign" nowrap="nowrap">
  46        <input type="radio" id="flag_flagged_0" name="search_flag[<?php echo IMP_SEARCH_FLAG_FLAGGED ?>]" value="0" <?php if (!empty($search['flag']) && $search['flag'][IMP_SEARCH_FLAG_FLAGGED] == 0) echo 'checked="checked" '; ?>/>
  47        <em><?php echo Horde::label('flag_flagged_0', _("Important messages")) ?></em>
  48       </td>
  49       <td class="item1 leftAlign" nowrap="nowrap">
  50        <input type="radio" id="flag_flagged_1" name="search_flag[<?php echo IMP_SEARCH_FLAG_FLAGGED ?>]" value="1" <?php if (!empty($search['flag']) && $search['flag'][IMP_SEARCH_FLAG_FLAGGED] == 1) echo 'checked="checked" '; ?>/>
  51              <em><?php echo Horde::label('flag_flagged_1', _("Not important messages")) ?></em>
  52        </td>
  53       <td class="item1 leftAlign" nowrap="nowrap">
  54        <input type="radio" id="flag_flagged_2" name="search_flag[<?php echo IMP_SEARCH_FLAG_FLAGGED ?>]" value="2" <?php if (empty($search['flag']) || $search['flag'][IMP_SEARCH_FLAG_FLAGGED] == 2) echo 'checked="checked" '; ?>/>
  55        <em><?php echo _("Both") ?></em>
  56       </td>
  57       <td class="item1" width="100%">&nbsp;</td>
  58      </tr>
  59  
  60      <tr>
  61       <td class="item0 leftAlign" nowrap="nowrap">
  62        <input type="radio" id="flag_deleted_0" name="search_flag[<?php echo IMP_SEARCH_FLAG_DELETED ?>]" value="0" <?php if (!empty($search['flag']) && $search['flag'][IMP_SEARCH_FLAG_DELETED] == 0)echo 'checked="checked" '; ?>/>
  63        <em><?php echo Horde::label('flag_deleted_0', _("Deleted messages")) ?></em>
  64       </td>
  65       <td class="item0 leftAlign" nowrap="nowrap">
  66        <input type="radio" id="flag_deleted_1" name="search_flag[<?php echo IMP_SEARCH_FLAG_DELETED ?>]" value="1" <?php if (!empty($search['flag']) && $search['flag'][IMP_SEARCH_FLAG_DELETED] == 1) echo 'checked="checked" '; ?>/>
  67        <em><?php echo Horde::label('flag_deleted_1', _("Not deleted messages")) ?></em>
  68       </td>
  69       <td class="item0 leftAlign" nowrap="nowrap">
  70        <input type="radio" id="flag_deleted_2" name="search_flag[<?php echo IMP_SEARCH_FLAG_DELETED ?>]" value="2" <?php if (empty($search['flag']) || $search['flag'][IMP_SEARCH_FLAG_DELETED] == 2) echo 'checked="checked" '; ?>/>
  71        <em><?php echo _("Both") ?></em>
  72       </td>
  73       <td class="item0" width="100%">&nbsp;</td>
  74      </tr>
  75     </table>
  76    </td>
  77   </tr>
  78  
  79  <?php if (!empty($search['mbox'])): ?>
  80   <input id="preselected_folders" type="hidden" name="search_folders[]" value="<?php echo htmlspecialchars($search['mbox']) ?>" />
  81  <?php else: ?>
  82   <tr>
  83    <td class="smallheader leftAlign" colspan="2"><?php echo _("Message folders") ?></td>
  84   </tr>
  85  
  86   <tr>
  87    <td class="item" colspan="2">
  88     <a href="#" onclick="toggleAll(true); return false;" onmouseover="status='<?php echo _("Select all") ?>'; return true;"><?php echo _("Select all") ?></a> |
  89     <a href="#" onclick="toggleAll(false); return false;" onmouseover="status='<?php echo _("Select none") ?>'; return true;"><?php echo _("Select none") ?></a>
  90  <?php if ($subscribe): ?>
  91  <?php $inverse_subscribe = ($shown == IMP_SEARCH_SHOW_UNSUBSCRIBED) ? IMP_SEARCH_SHOW_SUBSCRIBED_ONLY : IMP_SEARCH_SHOW_UNSUBSCRIBED; ?>
  92   | <a href="#" onclick="document.search.show_subscribed_only.value='<?php echo $inverse_subscribe ?>';document.search.submit(); return false;" onmouseover="status='<?php echo ($inverse_subscribe) ? _("Show Only Subscribed Folders") : _("Show All Folders") ?>';return true;"><?php echo ($inverse_subscribe) ? _("Show Only Subscribed Folders") : _("Show All Folders") ?></a>
  93  <?php endif; ?>
  94    </td>
  95   </tr>
  96  
  97   <tr>
  98    <td class="control" valign="top" align="center" colspan="2">
  99     <table cellspacing="0" cellpadding="2" width="100%">
 100      <tr>
 101       <td class="item leftAlign" valign="top">
 102        <?php echo $folderlist ?>
 103       </td>
 104      </tr>
 105     </table>
 106    </td>
 107   </tr>
 108  <?php endif; ?>
 109  
 110  <?php if ($_SESSION['imp']['base_protocol'] != 'pop3'): ?>
 111   <tr>
 112    <td class="smallheader leftAlign" colspan="2"><?php echo _("Virtual Folders") ?></td>
 113   </tr>
 114  
 115   <tr>
 116    <td class="item" colspan="2">
 117     <table cellspacing="0" cellpadding="0" width="100%">
 118  <?php if ($edit_query_vfolder): ?>
 119      <input type="hidden" name="save_vfolder" value="1" />
 120  <?php else: ?>
 121      <tr>
 122       <td class="item0 leftAlign" nowrap="nowrap">
 123        <em><?php echo _("Save search as a virtual folder?") ?></em>&nbsp;<input type="checkbox" id="save_vfolder" name="save_vfolder" <?php if (!empty($search['save_vfolder'])) echo 'checked="checked" '; ?>/>
 124       </td>
 125      </tr>
 126  <?php endif; ?>
 127      <tr>
 128       <td class="item1 leftAlign" nowrap="nowrap">
 129        <em><?php echo _("Virtual folder label") ?>:</em>&nbsp;<input type="text" id="vfolder_label" name="vfolder_label" <?php if (!empty($search['vfolder_label'])) echo 'value="' . htmlspecialchars($search['vfolder_label']) . '" '; ?>/>
 130       </td>
 131      </tr>
 132     </table>
 133    </td>
 134   </tr>
 135  <?php endif; ?>
 136  
 137   <tr>
 138    <td valign="top" colspan="2">
 139     <input type="submit" class="button" value="<?php echo $submit_label ?>" onclick="return formCheck();" />
 140     <input type="button" class="button" value="<?php echo _("Reset") ?>" onclick="document.search.actionID.value = 'reset_search';document.search.submit();return true;" />
 141    </td>
 142   </tr>
 143  </table>
 144  </div>
 145  </form>


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