File: datemap.inc

package info (click to toggle)
horde3 3.1.3-4etch7
  • links: PTS
  • area: main
  • in suites: etch
  • size: 22,876 kB
  • ctags: 18,071
  • sloc: php: 75,151; xml: 2,979; sql: 1,069; makefile: 79; sh: 64
file content (42 lines) | stat: -rw-r--r-- 1,474 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<form method="post" name="dateform" action="<?php echo Horde::applicationUrl('data.php') ?>">
<input type="hidden" name="actionID" value="<?php echo (int)$next_step ?>" />
<input type="hidden" name="import_format" value="<?php echo htmlspecialchars(Util::getFormData('import_format')) ?>" />
<input type="hidden" name="import_step" value="<?php echo (int)$import_step ?>" />
<?php Util::pformInput() ?>
<h1 class="header">
 <?php printf(_("Import, Step %d"), (int)$import_step) ?>
</h1>
<table cellspacing="0" width="100%">
<?php foreach ($_SESSION['import_data']['dates'] as $key => $date): ?>
<?php if (count($date['values'])): ?>
<tr>
    <td>
        <table cellspacing="0" width="100%">
        <tr><td class="item">&nbsp;</td></tr>
        <tr><td class="smallheader"><?php printf(_("Imported field: %s"), htmlspecialchars($app_fields[$_SESSION['import_data']['map'][$key]])) ?></td></tr>
        </table>
    </td>
</tr>
<tr>
    <td class="item">
    <table>
    <tr>
        <td><?php echo _("Example values:") ?></td>
        <td>
            <select>
<?php foreach ($date['values'] as $val): ?>
                <option><?php echo htmlspecialchars($val) ?></option>
<?php endforeach; ?>
            </select>
        </td>
    </tr>
<?php include dirname(__FILE__) . '/' . basename($date['type']) . '.inc' ?>
    </table>
    </td>
</tr>
<?php endif; ?>
<?php endforeach; ?>
</table>

<input type="submit" class="button" value="<?php echo _("Next") ?>" />
</form>