init web ems all
This commit is contained in:
19
phpMyAdmin/templates/table/search/geom_func.twig
Executable file
19
phpMyAdmin/templates/table/search/geom_func.twig
Executable file
@@ -0,0 +1,19 @@
|
||||
{# Displays 'Function' column if it is present #}
|
||||
<td>
|
||||
{% set geom_types = Util_getGISDatatypes() %}
|
||||
{% if column_types[column_index] in geom_types %}
|
||||
<select class="geom_func" name="geom_func[{{ column_index }}]">
|
||||
{# get the relevant list of GIS functions #}
|
||||
{% set funcs = Util_getGISFunctions(column_types[column_index], true, true) %}
|
||||
|
||||
{% for func_name, func in funcs %}
|
||||
{% set name = func['display'] is defined ? func['display'] : func_name %}
|
||||
<option value="{{ name }}">
|
||||
{{ name }}
|
||||
</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
{% else %}
|
||||
|
||||
{% endif %}
|
||||
</td>
|
||||
Reference in New Issue
Block a user