changed: rename cmslu to winix

changed: html templates are a part of winix now
         and the user can provide special html templates for its site
added:   locales
added:   html templates are using HtmlFilter now (locales)
changed: now we have html templates for each language



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@560 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-01-28 15:39:01 +00:00
parent 5dac8af300
commit 09d427b4ba
65 changed files with 1949 additions and 848 deletions

View File

@@ -1,17 +1,20 @@
[if-one ticket_is]<h1>Edytuj zg<7A>oszenie</h1>[else]<h1>Nowe zg<7A>oszenie</h1>[end]
[if-one ticket_is]<h1>{edit_ticket_header}</h1>[else]<h1>{create_ticket_header}</h1>[end]
[include "err_abuse.html"]
<form id="additem" method="post" action="[doc_base_url][dir][if-one ticket_is]editticket[else]createticket[end]">
<fieldset>
[if-one ticket_is]
<legend>Formularz edycji zg<7A>oszenia.</legend>
<legend>{form_edit_ticket_legend}</legend>
[else]
<legend>Formularz nowego zg<7A>oszenia.</legend>
<legend>{form_create_ticket_legend}</legend>
[end]
<p class="withnext">Tytu<EFBFBD>:</p>
<p class="withnext">{title}:</p>
<input class="edit" type="text" name="subject" value="[item_subject]">
<table class="ticket">
@@ -19,7 +22,7 @@
[if-one ticket_type_tab_defined]
[if-one ticket_type_tab]
<tr>
<th>Rodzaj zg<7A>oszenia:</th>
<th>{form_ticket_type}:</th>
<td>
<select name="type">
[for ticket_type_tab]
@@ -31,7 +34,7 @@
[end]
[else]
<tr>
<th>Rodzaj zg<7A>oszenia:</th>
<th>{form_ticket_type}:</th>
<td>
<select name="type">
<option value="0">-</option>
@@ -45,7 +48,7 @@
[if-one ticket_status_tab_defined]
[if-one ticket_status_tab]
<tr>
<th>Status:</th>
<th>{form_ticket_status}:</th>
<td>
<select name="status">
[for ticket_status_tab]
@@ -57,7 +60,7 @@
[end]
[else]
<tr>
<th>Status:</th>
<th>{form_ticket_status}:</th>
<td>
<select name="status">
<option value="0">-</option>
@@ -72,7 +75,7 @@
[if-one ticket_priority_tab_defined]
[if-one ticket_priority_tab]
<tr>
<th>Priorytet:</th>
<th>{form_ticket_priority}:</th>
<td>
<select name="priority">
[for ticket_priority_tab]
@@ -84,7 +87,7 @@
[end]
[else]
<tr>
<th>Priorytet:</th>
<th>{form_ticket_priority}:</th>
<td>
<select name="priority">
<option value="0">-</option>
@@ -98,7 +101,7 @@
[if-one ticket_category_tab_defined]
[if-one ticket_category_tab]
<tr>
<th>Kategoria:</th>
<th>{form_ticket_category}:</th>
<td>
<select name="category">
[for ticket_category_tab]
@@ -110,7 +113,7 @@
[end]
[else]
<tr>
<th>Kategoria:</th>
<th>{form_ticket_category}:</th>
<td>
<select name="category">
<option value="0">-</option>
@@ -123,7 +126,7 @@
[if-one ticket_expected_tab_defined]
[if-one ticket_expected_tab]
<tr>
<th>Oczekiwany w:</th>
<th>{form_ticket_expected}:</th>
<td>
<select name="expected">
[for ticket_expected_tab]
@@ -135,7 +138,7 @@
[end]
[else]
<tr>
<th>Oczekiwany w:</th>
<th>{form_ticket_expected}:</th>
<td>
<select name="expected">
<option value="0">-</option>
@@ -145,7 +148,7 @@
[end]
<tr>
<th>Post<EFBFBD>p prac (0-100):</th>
<th>{form_ticket_progress}:</th>
<td><input type="text" name="progress" value="[ticket_progress]"></td>
</tr>
@@ -156,12 +159,14 @@
[if-no user_logged]
<p class="withnext">Nick:</p>
<input class="edit" type="text" name="guestname" value="[item_guest_name]">
<p class="withnext">Rebus: Ile to jest [rebus_question]?</p>
<input class="edit" type="text" name="rebus">
<p class="withnext">{nick}:</p>
<input class="edit" type="text" name="guestname" value="[item_guest_name]">
<p class="withnext">{rebus_how_is_it} [rebus_question]?</p>
<input class="edit" type="text" name="rebus">
[end]
<input class="submit" type="submit" value="[if-one ticket_is]Edytuj zg<7A>oszenie[else]Za<5A><61><EFBFBD> zg<7A>oszenie[end]">
<input class="submit" type="submit" value="[if-one ticket_is]{form_ticket_edit_submit}[else]{form_ticket_create_submit}[end]">
</fieldset>
</form>