[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/templates/data/ -> csvinfo.inc (source)

   1  <form method="post" name="import_form" action="data.php">
   2  <?php echo Util::formInput() ?>
   3  <input type="hidden" name="actionID" value="<?php echo (int)$next_step ?>" />
   4  <input type="hidden" name="import_format" value="csv" />
   5  <input type="hidden" name="import_step" value="<?php echo (int)$import_step ?>" />
   6  <h1 class="header">
   7   <?php printf(_("Import, Step %d"), (int)$import_step) ?>
   8  </h1>
   9  <div class="headerbox text">
  10      <?php echo _("Here is the beginning of the file:") ?><br />
  11      <pre><?php echo htmlspecialchars($_SESSION['import_data']['first_lines']) ?></pre><br />
  12      <label for="header"><?php echo _("Does the first row contain the field names? If yes, check this box:") ?></label>
  13      <input id="header" type="checkbox" name="header" value="1" checked="checked" /><br />
  14      <?php echo _("What is the delimiter character?") ?>
  15      <input type="text" name="sep" size="1" value="<?php echo htmlspecialchars($_SESSION['import_data']['sep']) ?>" /><br />
  16      <?php if (isset($_SESSION['import_data']['quote'])): ?>
  17      <?php echo _("What is the quote character?") ?>
  18      <input type="text" name="quote" size="1" value="<?php echo htmlspecialchars($_SESSION['import_data']['quote']) ?>" /><br />
  19      <?php endif; ?>
  20      <?php if (isset($_SESSION['import_data']['fields'])): ?>
  21      <?php echo _("How many fields (columns) are there?") ?>
  22      <input type="text" name="fields" size="2" value="<?php echo (int)$_SESSION['import_data']['fields'] ?>" /><br />
  23      <?php endif; ?>
  24  </div>
  25  <input type="submit" value="<?php echo _("Next") ?>" class="button" />
  26  </form>


Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7