small changes in template winix function
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@637 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
|
||||
[if-no winix_err_is "0"]
|
||||
<p class="error">
|
||||
[if-one winix_is_err_in_locales]
|
||||
[winix_err_msg_from_locales]
|
||||
[else]
|
||||
{winix_err_default} [winix_err_code]
|
||||
[end]
|
||||
</p>
|
||||
[end]
|
||||
|
||||
[if-no winix_err_is "0"]
|
||||
<p class="error">
|
||||
[if-one winix_is_err_in_locales]
|
||||
[winix_err_msg_from_locales]
|
||||
[else]
|
||||
{winix_err_default} [winix_err_code]
|
||||
[end]
|
||||
</p>
|
||||
[end]
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
[include "fun_priv.html"]
|
||||
|
||||
[include "fun_priv.html"]
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
[include "fun_priv.html"]
|
||||
[include "fun_priv.html"]
|
||||
|
||||
@@ -1,61 +1,61 @@
|
||||
<h1>{template_header}</h1>
|
||||
|
||||
[include "error.html"]
|
||||
|
||||
<p>
|
||||
|
||||
[if item_is]
|
||||
|
||||
{template_info_file}:
|
||||
|
||||
[if item_has_html_template]
|
||||
[item_html_template]
|
||||
[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>
|
||||
|
||||
|
||||
|
||||
|
||||
<h1>{template_header}</h1>
|
||||
|
||||
[include "error.html"]
|
||||
|
||||
<p>
|
||||
|
||||
[if item_is]
|
||||
|
||||
{template_info_file}:
|
||||
|
||||
[if item_has_html_template]
|
||||
[item_html_template]
|
||||
[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>
|
||||
|
||||
|
||||
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir][if-one item_is][item_url]/[end]template">
|
||||
<fieldset>
|
||||
<legend>{template_form_legend}</legend>
|
||||
|
||||
{template_form_info}:
|
||||
{template_form_info}:
|
||||
|
||||
<select name="template" class="template">
|
||||
|
||||
[# the first should be an empty string (value="") which means: a first template from the mount point]
|
||||
<option value="">({template_form_from_mount_point})</option>
|
||||
<select name="template" class="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[if-one template_tab_isdefault] selected[end]>[template_tab_file_name]</option>
|
||||
<option value="[template_tab_index]"[if-one template_tab_isdefault] selected[end]>[template_tab_file_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
[include "error.html"]
|
||||
|
||||
|
||||
<p>Winix [sys_ver_major].[sys_ver_minor].[sys_ver_revision]</p>
|
||||
<p>Winix [sys_ver_major].[sys_ver_minor].[sys_ver_revision]</p>
|
||||
|
||||
Reference in New Issue
Block a user