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

   1  <script type="text/javascript">
   2  <!--
   3  var loading;
   4  function accountSubmit(isnew)
   5  {
   6      if ((isnew != null) || (document.fm_switch.account[document.fm_switch.account.selectedIndex].value != '')) {
   7          if (loading == null) {
   8              loading = true;
   9              document.fm_switch.submit();
  10          }
  11      }
  12  }
  13  // -->
  14  </script>
  15  
  16  <?php echo _("Your accounts:") ?>&nbsp;<br />
  17  <form name="fm_switch" action="<?php echo $fetch_url ?>">
  18  <?php Util::pformInput() ?>
  19  <input type="hidden" name="actionID" value="fetchmail_prefs_edit" />
  20  <select name="account" onchange="javascript:accountSubmit()">
  21    <option value=""><?php echo _("Select an account") ?></option>
  22  <?php for ($i = 0, $iMax = count($accounts); $i < $iMax; $i++): ?>
  23    <option value="<?php echo $i ?>"><?php echo htmlspecialchars($accounts[$i]) ?></option>
  24  <?php endfor; ?>
  25  </select> <?php echo _("or") ?>
  26  <input type="button" class="button" onclick="document.fm_switch.actionID.value='fetchmail_create';accountSubmit(true);return true;" value="<?php echo _("Create a New Account") ?>" />
  27  </form>
  28  </td></tr></table></td></tr></table>
  29  
  30  <p>
  31   <input type="button" name="back" class="button" onclick="document.location.href='<?php echo $prefs_url ?>'" value="<?php echo _("Return to Fetch Mail") ?>" />
  32  </p>


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