Files
Testing/pomodoro/templates/table/search/options_zoom.phtml
sean 343b4a3f3f
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-19 18:32:17 -05:00

48 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']))
? htmlspecialchars($_POST['maxPlotLimit'])
: $GLOBALS['cfg']['maxRowPlotLimit']); ?>" />
</td>
</tr>
</table>