49 lines
1.8 KiB
PHTML
49 lines
1.8 KiB
PHTML
<table class="data">
|
|
<!-- Select options for data label -->
|
|
<tr>
|
|
<td>
|
|
<label for="dataLabel">
|
|
<?= __("Use this column to label each point"); ?>
|
|
</label>
|
|
</td>
|
|
<td>
|
|
<select name="dataLabel" id="dataLabel" >
|
|
<option value = "">
|
|
<?= __('None'); ?>
|
|
</option>
|
|
<?php for ($j = 0, $nb = count($columnNames); $j < $nb; $j++): ?>
|
|
<?php if (isset($dataLabel)
|
|
&& $dataLabel == htmlspecialchars($columnNames[$j])
|
|
): ?>
|
|
<option value="<?= htmlspecialchars($columnNames[$j]); ?>"
|
|
selected="selected">
|
|
<?= htmlspecialchars($columnNames[$j]); ?>
|
|
</option>
|
|
<?php else: ?>
|
|
<option value="<?= htmlspecialchars($columnNames[$j]); ?>" >
|
|
<?= htmlspecialchars($columnNames[$j]); ?>
|
|
</option>
|
|
<?php endif; ?>
|
|
<?php endfor; ?>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<!-- Inputbox for changing default maximum rows to plot -->
|
|
<tr>
|
|
<td>
|
|
<label for="maxRowPlotLimit">
|
|
<?= __("Maximum rows to plot"); ?>
|
|
</label>
|
|
</td>
|
|
<td>
|
|
<input type="number"
|
|
name="maxPlotLimit"
|
|
id="maxRowPlotLimit"
|
|
required="required"
|
|
value="<?= ((! empty($_POST['maxPlotLimit']))
|
|
? intval($_POST['maxPlotLimit'])
|
|
: intval($GLOBALS['cfg']['maxRowPlotLimit'])); ?>" />
|
|
</td>
|
|
</tr>
|
|
</table>
|