Initial commit
This commit is contained in:
48
#pma/templates/table/search/options_zoom.phtml
Normal file
48
#pma/templates/table/search/options_zoom.phtml
Normal file
@ -0,0 +1,48 @@
|
||||
<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>
|
Reference in New Issue
Block a user