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

   1  <form method="post" name="search" action="<?php echo Horde::applicationUrl('search.php') ?>">
   2  <input type="hidden" name="actionID" value="update_search" />
   3  <input type="hidden" name="delete_field_id" value="" />
   4  <?php if ($edit_query_id): ?>
   5  <input type="hidden" name="edit_query_id" value="<?php echo htmlspecialchars($edit_query_id) ?>" />
   6  <?php endif; ?>
   7  <?php if (!empty($search['mbox'])): ?>
   8  <input type="hidden" name="mbox" value="<?php echo htmlspecialchars($search['mbox']) ?>" />
   9  <?php elseif ($subscribe): ?>
  10  <input type="hidden" name="show_subscribed_only" value="<?php echo htmlspecialchars($shown) ?>" />
  11  <?php endif; ?>
  12  <div align="center">
  13  <table border="0" cellspacing="0" cellpadding="2" width="100%">
  14   <tr>
  15    <td class="header leftAlign">
  16  <?php if ($edit_query_vfolder): ?>
  17     <strong><?php echo _("Edit Virtual Folder") ?></strong>
  18  <?php elseif ($edit_query_id): ?>
  19     <strong><?php echo _("Edit Search Query") ?></strong>
  20  <?php else: ?>
  21     <strong><?php printf(_("Search %s"), (!empty($search['mbox'])) ? htmlspecialchars(IMP::displayFolder($search['mbox'])) : '') ?></strong>
  22  <?php endif; ?>
  23    </td>
  24    <td class="header rightAlign"><?php echo Help::link('imp', 'search') ?></td>
  25   </tr>
  26   <tr>
  27    <td valign="top" colspan="2">
  28     <input type="submit" class="button" value="<?php echo $submit_label ?>" onclick="return formCheck();" />
  29     <input type="button" class="button" value="<?php echo _("Reset") ?>" onclick="document.search.actionID.value = 'reset_search';document.search.submit();return true;" />
  30    </td>
  31   </tr>
  32  
  33   <tr><td colspan="2"></td></tr>
  34  
  35   <tr>
  36    <td class="smallheader leftAlign" colspan="2"><?php echo _("Message matches") ?></td>
  37   </tr>
  38  
  39   <tr>
  40    <td class="item" colspan="2">
  41     <table cellspacing="0" cellpadding="0" width="100%">
  42      <tr>
  43       <td class="item1 leftAlign" nowrap="nowrap">
  44        <input type="radio" name="search_match" id="search_match_or" value="or"<?php if ($search['field_end'] > 0) echo ' onchange="document.search.submit();return true;" onclick="document.search.submit();return true;"'; if ($search['match'] == 'or') echo ' checked="checked"'; ?> />
  45        <em><?php echo Horde::label('search_match_or', _("Match Any Query")) ?></em>&nbsp;
  46       </td>
  47       <td class="item1 leftAlign" nowrap="nowrap">
  48        <input type="radio" name="search_match" id="search_match_and" value="and"<?php if ($search['field_end'] > 0) echo ' onchange="document.search.submit();return true;" onclick="document.search.submit();return true;"'; if (is_null($search['match']) || ($search['match'] == 'and')) echo ' checked="checked"'; ?> />
  49        <em><?php echo Horde::label('search_match_and', _("Match All Queries")) ?></em>
  50       </td>
  51       <td class="item1" width="100%">&nbsp;</td>
  52      </tr>
  53     </table>
  54    </td>
  55   </tr>
  56  
  57   <tr>
  58    <td class="item0 leftAlign" colspan="2">
  59     <table border="0" cellpadding="1" cellspacing="1" width="100%">


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