2012-10-17 08:00:00 +02:00
|
|
|
<div class="winix">
|
|
|
|
|
2010-08-14 16:45:25 +02:00
|
|
|
<h1>{template_header}</h1>
|
|
|
|
|
|
|
|
|
|
|
|
<p>
|
|
|
|
|
2021-06-20 18:12:43 +02:00
|
|
|
[if request.is_item]
|
2010-08-14 16:45:25 +02:00
|
|
|
|
|
|
|
{template_info_file}:
|
|
|
|
|
2021-07-06 21:52:29 +02:00
|
|
|
[if item.has_html_template]
|
|
|
|
[item.html_template]
|
2010-08-14 16:45:25 +02:00
|
|
|
[else]
|
|
|
|
{template_from_mount_point}
|
|
|
|
|
|
|
|
[if mount_has_html_template]
|
|
|
|
([mount_first_html_template])
|
|
|
|
[else]
|
|
|
|
([template_index])
|
|
|
|
[end]
|
|
|
|
[end]
|
|
|
|
|
|
|
|
[else]
|
|
|
|
|
|
|
|
{template_info_dir}:
|
|
|
|
|
|
|
|
[if dir_last_has_html_template]
|
|
|
|
[dir_last_html_template]
|
|
|
|
[else]
|
|
|
|
{template_from_mount_point}
|
|
|
|
|
|
|
|
[if mount_has_html_template]
|
|
|
|
([mount_first_html_template])
|
|
|
|
[else]
|
|
|
|
([template_index])
|
|
|
|
[end]
|
|
|
|
[end]
|
|
|
|
|
|
|
|
[end]
|
|
|
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-06-20 18:12:43 +02:00
|
|
|
<form class="uk-form-stacked uk-width-1-2@s" method="post" action="[doc_base_url][dir][if request.is_item][item.url]/[end]template">
|
2021-01-27 18:44:58 +01:00
|
|
|
|
|
|
|
|
|
|
|
<div class="uk-margin">
|
|
|
|
<label class="uk-form-label" for="winix_select_template">{template_form_info}</label>
|
|
|
|
|
|
|
|
<div class="uk-form-controls">
|
|
|
|
<select class="uk-select" id="winix_select_template" name="template">
|
|
|
|
|
|
|
|
[# the first should be an empty string (value="") which means: a first template from the mount point]
|
|
|
|
<option value="-1">({template_form_from_mount_point})</option>
|
|
|
|
|
|
|
|
[for template_tab]
|
|
|
|
<option value="[template_tab_index]"[if template_tab_isdefault] selected[end]>[template_tab_file_name]</option>
|
|
|
|
[end]
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
2012-09-04 22:24:42 +02:00
|
|
|
|
|
|
|
[if winix_function_param_is "postredirect"]
|
|
|
|
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
|
|
|
[end]
|
2010-08-13 22:04:57 +02:00
|
|
|
|
2021-01-27 18:44:58 +01:00
|
|
|
<div class="uk-margin">
|
|
|
|
<input class="uk-button uk-button-primary" type="submit" value="{change}">
|
|
|
|
</div>
|
|
|
|
|
2010-08-13 22:04:57 +02:00
|
|
|
</form>
|
|
|
|
|
2012-10-17 08:00:00 +02:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|