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 +1 @@
<p class="iteminfo">Dodane przez: [dir_last_user], [dir_last_date_creation][if-no dir_last_dates_equal], ostatnio modyfikowany: [dir_last_date_modification][end]</p>
<p class="iteminfo">{added_by}: [dir_last_user], [dir_last_date_creation][if-no dir_last_dates_equal], {last_modified}: [dir_last_date_modification][end]</p>

View File

@@ -1,3 +1,3 @@
<h1>Błąd 404</h1>
<h1>{error_404}</h1>
<p>Przykro nam ale podanej strony nie ma w naszym serwisie.</p>
<p>{error_404_msg}</p>

View File

@@ -1,8 +1,8 @@
[if-any done_is_error]
[if-any done_status_incorrect_rebus]
<p class="error">Proszę rozwiązać rebus!</p>
<p class="error">{solve_rebus}</p>
[else]
[if-any done_status_spam]
<p class="error">Jesteś podejrzany jako spamer,<br> nie możesz nic wysłać do czasu zalogowania się!</p>
<p class="error">{suspected_spammer}</p>
[end]
[end]

View File

@@ -1,3 +0,0 @@
<h1>Item required</h1>
<p>This function can only be used with an item</p>

View File

@@ -1,5 +1,5 @@
[if-one doc_is_error done_is_error]
<h1>Przepraszamy ale wyst±pi³y problemy z wykonaniem tej operacji.</h1>
<p>Kod b³êdu: [if-one doc_is_error]doc:[doc_status][end], [if-one done_is_error]done:[done_status][end]</p>
<h1>{was_errors}</h1>
<p>{error_code}: [if-one doc_is_error]doc:[doc_status][end], [if-one done_is_error]done:[done_status][end]</p>
[end]

View File

@@ -1,3 +1,5 @@
<h1>Brak dostępu</h1>
<h1>{access_denied}</h1>
<p>{access_denied_msg}</p>
<p>Przykro nam ale nie masz dostępu do tej części serwisu.</p>

View File

@@ -1,8 +1,17 @@
<div>
[is mount_page_is "subject"]
[is mount_page_is "info"]
<h1 class="withinfo">[else]<h1>[end][item_subject]</h1>
<h1 class="withinfo">
[else]
<h1>
[end]
[item_subject]
</h1>
[end]
[is mount_page_is "info"]
[item_info]
[end]
@@ -12,7 +21,7 @@
[item_print_content]
[else]
[if-one item_static_auth_is_other]
¦ci±gnij plik: <a href="[item_link_static_auth]" title="[item_subject]">[item_subject]</a>
{download}: <a href="[item_link_static_auth]" title="[item_subject]">[item_subject]</a>
[item_print_content]
[else]
[if-one item_static_auth_is_none]

View File

@@ -1,23 +1,25 @@
<h1>Za³ó¿ w±tek</h1>
<h1>{create_thread_header}</h1>
[include "err_abuse.html"]
<form id="additem" method="post" action="[doc_base_url][dir]createthread">
<fieldset>
<legend>Wype³nij wszystkie pozycje formularza</legend>
<p class="withnext">Tytu³:</p>
<input class="edit" type="text" name="subject" value="[item_subject]">
[include "fun_emacs_post.html"]
[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">
[end]
<input class="submit" type="submit" value="Za³ó¿ w±tek">
<legend>{form_thread_legend}</legend>
<p class="withnext">{title}:</p>
<input class="edit" type="text" name="subject" value="[item_subject]">
[include "fun_emacs_post.html"]
[if-no user_logged]
<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="{button_thread_submit}">
</fieldset>
</form>

View File

@@ -1,17 +1,20 @@
[if-one ticket_is]<h1>Edytuj zg³oszenie</h1>[else]<h1>Nowe zg³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³oszenia.</legend>
<legend>{form_edit_ticket_legend}</legend>
[else]
<legend>Formularz nowego zg³oszenia.</legend>
<legend>{form_create_ticket_legend}</legend>
[end]
<p class="withnext">Tytu³:</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³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³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ê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³oszenie[else]Za³ó¿ zg³oszenie[end]">
<input class="submit" type="submit" value="[if-one ticket_is]{form_ticket_edit_submit}[else]{form_ticket_create_submit}[end]">
</fieldset>
</form>

View File

@@ -1,25 +1,29 @@
<h1>Domy¶lna pozycja w katalogu</h1>
<h1>{default_header}</h1>
[if-any done_defaulted_dir done_is_error]
<p>Przykro nam ale wyst±pi³y b³êdy podczas zmiany domy¶lnej pozycji.<br>
[if-any done_status_incorrect_dir]
<p>Podano nie istniej±cy katalog.</p>
[else]
[if-any done_status_no_item]
<p>Podano nie istniej±ca pozycjê.</p>
[else]
Kod b³êdu: [done_status]</p>
[end]
[end]
<p>{default_was_error}<br>
[if-any done_status_incorrect_dir]
<p>{default_error_no_dir}</p>
[else]
[if-any done_status_no_item]
<p>default_error_no_file</p>
[else]
{error_code}: [done_status]</p>
[end]
[end]
[end]
<form id="additem" method="post" action="[doc_base_url][dir]default">
<fieldset>
<legend>Wype³nij wszystkie pozycje formularza</legend>
Url:<br>
<input class="edit" type="text" name="defaultitem" value="[dir_last_default_item_dir][dir_last_default_item_url]">
<input class="submit" type="submit" value="Dodaj">
<legend>{form_default_legend}</legend>
{url}:<br>
<input class="edit" type="text" name="defaultitem" value="[dir_last_default_item_dir][dir_last_default_item_url]">
<input class="submit" type="submit" value="{change}">
</fieldset>
</form>

View File

@@ -1,25 +1,26 @@
[if-one item_is]<h1>Edytuj</h1>[else]<h1>Dodaj</h1>[end]
[if-one item_is]<h1>{edit}</h1>[else]<h1>{add}</h1>[end]
[include "err_abuse.html"]
<form id="additem" method="post" action="[doc_base_url][dir][if-one item_is][item_url]/[end]emacs">
<fieldset>
<legend>Formularz edycji.</legend>
<legend>{form_emacs_legend}</legend>
[if-one mount_type_is_cms]
<p class="withnext">Tytu³:</p>
<input class="edit" type="text" name="subject" value="[item_subject]">
<p class="withnext">Url:</p>
<input class="edit" type="text" name="url" value="[item_url]">
<p class="withnext">{title}:</p>
<input class="edit" type="text" name="subject" value="[item_subject]">
<p class="withnext">{url}:</p>
<input class="edit" type="text" name="url" value="[item_url]">
[end]
[if-one mount_type_is_thread]
[is mount_thread_is "subject"]
<p class="withnext">Tytu³:</p>
<p class="withnext">{title}:</p>
<input class="edit" type="text" name="subject" value="[item_subject]">
<p class="withnext">Url:</p>
<p class="withnext">{url}:</p>
<input class="edit" type="text" name="url" value="[item_url]">
[end]
[end]
@@ -27,13 +28,15 @@
[include "fun_emacs_post.html"]
[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 item_is]Zmieñ[else]Dodaj[end]">
<input class="submit" type="submit" value="[if-one item_is]{change}[else]{add}[end]">
</fieldset>
</form>

View File

@@ -1,17 +1,20 @@
[if-one mount_type_is_cms]<p class="withnext">Zawarto¶æ:</p>[end]
[if-one mount_type_is_thread]<p class="withnext">Post:</p>[end]
[if-one mount_type_is_ticket]<p class="withnext">Opis:</p>[end]
[if-one mount_type_is_cms]<p class="withnext">{form_emacs_content_cms}</p>[end]
[if-one mount_type_is_thread]<p class="withnext">{form_emacs_content_thread}</p>[end]
[if-one mount_type_is_ticket]<p class="withnext">{form_emacs_content_ticket}</p>[end]
<textarea class="multitext" rows="[if-one mount_type_is_cms]30[else]10[end]" cols="60" name="content">[item_content]</textarea>
<p class="withnext">Rodzaj wiadomo¶ci:</p>
<p class="withnext">{form_emacs_content_type}</p>
<select name="contenttype" class="contenttype">
<option[is item_content_type_is "text"] selected[end] value="0">text</option>
<option[is item_content_type_is "formatted text"] selected[end] value="1">sformatowany text</option>
[if-one user_can_use_html]<option[is item_content_type_is "html"] selected[end] value="2">html</option>[end]
[if-one user_can_use_bbcode]<option[is item_content_type_is "bbcode"] selected[end] value="3">bbcode</option>[end]
[if-one user_can_use_raw]<option[is item_content_type_is "raw"] selected[end] value="4">surowa postaæ</option>[end]
<option[is item_content_type_is "text"] selected[end] value="0">{form_emacs_content_type_text}</option>
<option[is item_content_type_is "formatted text"] selected[end] value="1">{form_emacs_content_type_formatted_text}</option>
[if-one user_can_use_html]<option[is item_content_type_is "html"] selected[end] value="2">{form_emacs_content_type_html}</option>[end]
[if-one user_can_use_bbcode]<option[is item_content_type_is "bbcode"] selected[end] value="3">{form_emacs_content_type_bbcode}</option>[end]
[if-one user_can_use_raw]<option[is item_content_type_is "raw"] selected[end] value="4">{form_emacs_content_type_raw}</option>[end]
</select>

View File

@@ -1,14 +1,14 @@
<h1 class="simple">Ostatnio logowani u¿ytkownicy</h1>
<h1 class="simple">{last_header}</h1>
[if-one last_tab]
<table>
<tr><th>Login</th><th>Adres IP</th><th>Czas zalogowania</th><th>Czas wylogowania</th></tr>
[for last_tab]
<tr><td>[last_tab_name]</td><td>[last_tab_ip]</td><td>[last_tab_start]</td><td>[last_tab_end]</td></tr>
[end]
</table>
<table>
<tr><th>{last_table_login}</th><th>{last_table_ip}</th><th>{last_table_login_date}</th><th>{last_table_logout_date}</th></tr>
[for last_tab]
<tr><td>[last_tab_name]</td><td>[last_tab_ip]</td><td>[last_tab_start]</td><td>[last_tab_end]</td></tr>
[end]
</table>
[else]
<p>Nie ma dostêpnych ¿adnych informacji.</p>
<p>{last_none}</p>
[end]

View File

@@ -1,34 +1,22 @@
[if-one dir_can_write dir_can_remove]
<ul class="itemmenu">
[if-one dir_can_write]<li><a href="[doc_base_url][dir]mkdir">Dodaj katalog</a></li>[end]
[if-one dir_can_remove]<li><a href="[doc_base_url][dir]rm/confirm">Usuñ katalog</a></li>[end]
[if-one dir_can_write]<li><a href="[doc_base_url][dir]emacs">Dodaj pozycjê</a></li>[end]
</ul>
[end]
[if-no item_is]
[if-one dir_childs_tab]
<!--<h2>Katalogi:</h2>-->
<ul>
[for dir_childs_tab]
<li><a href="[doc_base_url][dir][dir_childs_tab_url]">[dir_childs_tab_url]/</a></li>[end]
</ul>
[if-one dir_childs_tab]
<ul>
[for dir_childs_tab]
<li><a href="[doc_base_url][dir][dir_childs_tab_url]">[dir_childs_tab_url]/</a></li>
[end]
</ul>
[end]
[end]
[end]
[if-one item_tab]
<!--<h2>Pozycje:</h2>-->
<ul>
[for item_tab]
<li><a href="[doc_base_url][dir][item_tab_url]">[item_tab_url]</a></li>[end]
</ul>
<ul>
[for item_tab]
<li><a href="[doc_base_url][dir][item_tab_url]">[item_tab_url]</a></li>
[end]
</ul>
[end]

View File

@@ -1,18 +1,21 @@
<h1>Stwórz katalog</h1>
<h1>{mkdir_header}</h1>
[if-any done_added_dir done_is_error]
<p>Przykro nam ale wyst±pi³y b³êdy podczas tworzenia tego katalogu.<br>
Kod b³êdu: [done_status]</p>
<p>{mkdir_was_error}<br>
{error_code}: [done_status]</p>
[end]
<form id="additem" method="post" action="[doc_base_url][dir]mkdir">
<fieldset>
<legend>Wype³nij wszystkie pozycje formularza</legend>
Tytu³:<br>
<input class="edit" type="text" name="subject" value="">
Url:<br>
<input class="edit" type="text" name="url" value="">
<input class="submit" type="submit" value="Dodaj">
<legend>{mkdir_form_legend}</legend>
{title}<br>
<input class="edit" type="text" name="subject" value="">
{url}<br>
<input class="edit" type="text" name="url" value="">
<input class="submit" type="submit" value="{add}">
</fieldset>
</form>

View File

@@ -1,32 +1,40 @@
<h1>Zmieñ uprawnienia dostêpu</h1>
<h1>{priv_header}</h1>
[if-any done_privileged_item done_is_error]
<p>Przykro nam ale wyst±pi³y b³êdy podczas zmiany uprawnieñ.<br>
Kod b³êdu: [done_status]</p>
<p>{priv_was_error}<br>
{error_code}: [done_status]</p>
[end]
<form id="additem" method="post" action="[doc_base_url][dir][if-one item_is][item_url]/[end]priv">
<fieldset>
<legend>Uprawnienia</legend>
<table class="withoutborder">
<tr><td>U¿ytkownik:</td><td>
<select name="user" class="users">[for priv_user_tab]
<option[if-one priv_user_tab_isdefault] selected[end]>[priv_user_tab_name]</option>[end]
</select>
</td></tr>
<tr><td>Grupa: </td><td>
<select name="group" class="groups">[for priv_group_tab]
<option[if-one priv_group_tab_isdefault] selected[end]>[priv_group_tab_name]</option>[end]
</select>
</td></tr>
<tr><td>Uprawnienia:</td><td><input class="privileges" type="text" name="privileges" value="[priv_privileges]"></td></tr>
</table>
<input class="submit" type="submit" value="Zmieñ">
<legend>{priv_form_legend}</legend>
<table class="withoutborder">
<tr><td>{user}:</td><td>
<select name="user" class="users">
[for priv_user_tab]
<option[if-one priv_user_tab_isdefault] selected[end]>[priv_user_tab_name]</option>
[end]
</select>
</td></tr>
<tr><td>{group}: </td><td>
<select name="group" class="groups">
[for priv_group_tab]
<option[if-one priv_group_tab_isdefault] selected[end]>[priv_group_tab_name]</option>
[end]
</select>
</td></tr>
<tr><td>permissions:</td><td><input class="privileges" type="text" name="privileges" value="[priv_privileges]"></td></tr>
</table>
<input class="submit" type="submit" value="{change}">
</fieldset>
</form>

View File

@@ -1,24 +1,21 @@
<h1>Reload</h1>
<h1>{reload_header}</h1>
[if-any done_reloaded_templates]
[if-any done_is_error]
<p>{reload_was_error}<br>
{error_code}: [done_status]</p>
[end]
[if-any done_is_error]
<p>Przykro nam ale wyst±pi³y b³êdy podczas ponownego wczytywania.<br>
Kod b³êdu: [done_status]</p>
[end]
[if-no done_is_error]
[if-any done_reloaded_templates]
<p>Szablony zosta³y pomy¶lnie wczytane.</p>
[end]
[if-no done_is_error]
[if-any done_reloaded_templates]
<p>{templates_reloaded_successfully}</p>
[end]
[end]
[end]
[end]
<p>{reload_select}:</p>
<a href="[doc_base_url][dir]reload/templates">{reload_templates}</a>
<p>Wybierz pozycjê:</p>
<a href="[doc_base_url][dir]reload/templates">templates</a>

View File

@@ -1,26 +1,30 @@
[if-one item_is]
<h1>Czy napewno chcesz usunąć podaną pozycję?</h1>
<p>
URL: <a href="[doc_base_url][dir][item_url]">[doc_base_url][dir][item_url]</a><br>
Krótki URL: <a href="[doc_base_url]/node/[item_id]">[doc_base_url]/node/[item_id]</a><br>
Tytuł: [item_subject]
</p>
<ul>
<li><a href="[doc_base_url][dir][item_url]/rm">Tak</a></li>
<li><a href="[doc_base_url][dir][item_url]">Nie (powrót do tej pozycji)</a></li>
</ul>
<h1>{rm_file_header}</h1>
<p>
{url}: <a href="[doc_base_url][dir][item_url]">[doc_base_url][dir][item_url]</a><br>
{title}: [item_subject]
</p>
<ul>
<li><a href="[doc_base_url][dir][item_url]/rm">{yes}</a></li>
<li><a href="[doc_base_url][dir][item_url]">{no}</a></li>
</ul>
[else]
<h1>Czy napewno chcesz usunąć podany katalog?</h1>
<p>
URL: <a href="[doc_base_url][dir]">[doc_base_url][dir]</a>
</p>
<h1>{rm_dir_header}</h1>
<p>
{url}: <a href="[doc_base_url][dir]">[doc_base_url][dir]</a>
</p>
<ul>
<li><a href="[doc_base_url][dir]rm/r">{yes}</a></li>
<li><a href="[doc_base_url][dir]">{no}</a></li>
</ul>
<ul>
<li><a href="[doc_base_url][dir]rm/r">Tak</a></li>
<li><a href="[doc_base_url][dir]">Nie (powrót do tego katalogu)</a></li>
</ul>
[end]

View File

@@ -1,13 +1,25 @@
<div>
[is mount_page_is "subject"]
[is mount_page_is "info"]<h1 class="withinfo">[else]<h1>[end][item_subject]</h1>
[end]
[is mount_page_is "info"]
[item_info]
[end]
[item_run]
[is mount_page_is "subject"]
[is mount_page_is "info"]
<h1 class="withinfo">
[else]
<h1>
[end]
[item_subject]
</h1>
[end]
[is mount_page_is "info"]
[item_info]
[end]
[item_run]
</div>
[include "item_options.html"]

View File

@@ -1,38 +1,47 @@
[if-one thread_can_create]
[is mount_page_is "subject"]<h1[is mount_page_is "info"] class="withinfo"[end]>[dir_last_subject]</h1>[end]
[is mount_page_is "info"][dir_last_info][end]
<ul class="itemmenu">
[if-one thread_can_create]<li><a href="[doc_base_url][dir]createthread">Za³ó¿ nowy w±tek</a></li>[end]
</ul>
[if-one thread_tab]
<table class="forum">
<tr><th>Tytu³ w±tku</th><th>Autor</th><th>Rep.</th><th>Ostatni post</th></tr>
[for thread_tab]
<tr><td><a href="[doc_base_url][dir][thread_tab_url]">[thread_tab_subject]</a></td><td class="smallfont">[thread_tab_author]</td><td class="smallfont">[thread_tab_answers]</td><td class="smallfont">[thread_tab_last_item_date_modification] ([thread_tab_last_item_user])</td></tr>[end]
</table>
[end]
[is mount_page_is "subject"]<h1[is mount_page_is "info"] class="withinfo"[end]>[dir_last_subject]</h1>[end]
[is mount_page_is "info"][dir_last_info][end]
<ul class="itemmenu">
[if-one thread_can_create]
<li><a href="[doc_base_url][dir]createthread">{thread_create_new}</a></li>
[end]
</ul>
[if-one thread_tab]
<table class="forum">
<tr><th>{thread_table_title}</th><th>{thread_table_author}</th><th>{thread_table_replies}</th><th>{thread_table_last_post}</th></tr>
[for thread_tab]
<tr>
<td><a href="[doc_base_url][dir][thread_tab_url]">[thread_tab_subject]</a></td>
<td class="smallfont">[thread_tab_author]</td><td class="smallfont">[thread_tab_answers]</td>
<td class="smallfont">[thread_tab_last_item_date_modification] ([thread_tab_last_item_user])</td>
</tr>
[end]
</table>
[end]
[end]
[if-one thread_is]
[is mount_page_is "subject"]<h1[is mount_page_is "info"] class="withinfo"[end]>[dir_last_subject]</h1>[end]
[is mount_page_is "info"][dir_last_info][end]
[if-one dir_can_use_emacs]
<ul class="itemmenu">
[if-one dir_can_use_emacs]<li><a href="[doc_base_url][dir]emacs">Odpowiedz w tym w±tku</a></li>[end]
</ul>
[is mount_page_is "subject"]<h1[is mount_page_is "info"] class="withinfo"[end]>[dir_last_subject]</h1>[end]
[is mount_page_is "info"][dir_last_info][end]
[if-one dir_can_use_emacs]
<ul class="itemmenu">
<li><a href="[doc_base_url][dir]emacs">{thread_reply_in_this_thread}</a></li>
</ul>
[end]
[for item_tab]
<div class="threadbox[if-index item_tab odd] threadboxcolor[end]">
[is mount_thread_is "subject"]<h2[is mount_thread_is "info"] class="withinfo"[end]>[item_tab_subject]</h2>[end]
[is mount_thread_is "info"][item_tab_info][end]
[item_tab_print_content]
</div>
[end]
[end]
[for item_tab]
<div class="threadbox[if-index item_tab odd] threadboxcolor[end]">
[is mount_thread_is "subject"]<h2[is mount_thread_is "info"] class="withinfo"[end]>[item_tab_subject]</h2>[end]
[is mount_thread_is "info"][item_tab_info][end]
[item_tab_print_content]
</div>
[end]
[end]

View File

@@ -4,7 +4,7 @@
[if-one ticket_can_create]
<ul class="itemmenu">
<li><a href="[doc_base_url][dir]createticket">Za³ó¿ nowe zg³oszenie</a></li>
<li><a href="[doc_base_url][dir]createticket">{ticket_create_new}</a></li>
</ul>
[end]
@@ -12,11 +12,11 @@
[if-one ticket_tab]
<table class="forum">
<tr>
<th>Zg³oszenie</th>
[if-any ticket_type_tab]<th>Rodzaj</th>[end]
[if-any ticket_status_tab]<th>Status</th>[end]
[if-any ticket_priority_tab]<th>Priorytet</th>[end]
[if-any ticket_expected_tab]<th>Oczeki-<br>wany w</th>[end]
<th>{ticket_table_name}</th>
[if-any ticket_type_tab]<th>{ticket_table_type}</th>[end]
[if-any ticket_status_tab]<th>{ticket_table_status}</th>[end]
[if-any ticket_priority_tab]<th>{ticket_table_priority}</th>[end]
[if-any ticket_expected_tab]<th>{ticket_table_expected}</th>[end]
</tr>
[for ticket_tab]
<tr>
@@ -33,21 +33,21 @@
[if-one ticket_is]
<div class="ticketinfo">
<p class="edit"><a href="[doc_base_url][dir]editticket">\[Edytuj\]</a></p>
<p class="edit"><a href="[doc_base_url][dir]editticket">\[{edit}\]</a></p>
<table>
[if-any ticket_type_tab]<tr><th>Rodzaj zg³oszenia:</th><td>[ticket_type]</td></tr>[end]
[if-any ticket_status_tab]<tr><th>Status:</th><td>[ticket_status]</td></tr>[end]
[if-any ticket_priority_tab]<tr><th>Piorytet:</th><td>[ticket_priority]</td></tr>[end]
[if-any ticket_category_tab]<tr><th>Kategoria:</th><td>[ticket_category]</td></tr>[end]
[if-any ticket_expected_tab]<tr><th>Oczekiwany w:</th><td>[ticket_expected]</td></tr>[end]
<tr><th>Postêp prac:</th><td>[ticket_progress]%</td></tr>
[if-any ticket_type_tab]<tr><th>{ticket_info_type}:</th><td>[ticket_type]</td></tr>[end]
[if-any ticket_status_tab]<tr><th>{ticket_info_status}:</th><td>[ticket_status]</td></tr>[end]
[if-any ticket_priority_tab]<tr><th>{ticket_info_priority}:</th><td>[ticket_priority]</td></tr>[end]
[if-any ticket_category_tab]<tr><th>{ticket_info_category}:</th><td>[ticket_category]</td></tr>[end]
[if-any ticket_expected_tab]<tr><th>{ticket_info_expected}:</th><td>[ticket_expected]</td></tr>[end]
<tr><th>{ticket_info_progress}:</th><td>[ticket_progress]%</td></tr>
</table>
[item_print_content]
</div>
[if-one dir_can_use_emacs]
<ul class="itemmenu">
[if-one dir_can_use_emacs]<li><a href="[doc_base_url][dir]emacs">Odpowiedz w tym w±tku</a></li>[end]
<li><a href="[doc_base_url][dir]emacs">{ticket_reply_in_this_thread}</a></li>
</ul>
[end]
@@ -59,3 +59,5 @@
</div>
[end]
[end]

View File

@@ -1,43 +1,46 @@
[if-one item_is]<h1>Edytuj pozycjê</h1>[else]<h1>Dodaj pozycjê</h1>[end]
[if-one item_is]<h1>{edit}</h1>[else]<h1>{add}</h1>[end]
[include "err_abuse.html"]
<form id="additem" method="post" action="[doc_base_url][dir][if-one item_is][item_url]/[end]upload" enctype="multipart/form-data">
<fieldset>
<legend>Edycja pozycji.</legend>
<input type="file" name="fileupload">
[if-one mount_type_is_cms]
<p class="withnext">Tytu³:</p>
<input class="edit" type="text" name="subject" value="[item_subject]">
<legend>{upload_form_legend}</legend>
<p class="withnext">Url:</p>
<input class="edit" type="text" name="url" value="[item_url]">
[end]
[if-one mount_type_is_thread]
[is mount_thread_is "subject"]
<p class="withnext">Tytu³:</p>
<input type="file" name="fileupload">
[if-one mount_type_is_cms]
<p class="withnext">{title}:</p>
<input class="edit" type="text" name="subject" value="[item_subject]">
<p class="withnext">Url:</p>
<p class="withnext">{url}:</p>
<input class="edit" type="text" name="url" value="[item_url]">
[end]
[end]
<p class="withnext">Post:</p>
<textarea class="multitext" rows="[if-one thread_is]10[else]30[end]" cols="60" name="content">[item_content]</textarea>
[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">
[end]
[if-one mount_type_is_thread]
[is mount_thread_is "subject"]
<p class="withnext">{title}:</p>
<input class="edit" type="text" name="subject" value="[item_subject]">
<p class="withnext">{url}:</p>
<input class="edit" type="text" name="url" value="[item_url]">
[end]
[end]
<input class="submit" type="submit" value="[if-one item_is]Zmieñ[else]Dodaj[end]">
<p class="withnext">{upload_content}:</p>
<textarea class="multitext" rows="[if-one thread_is]10[else]30[end]" cols="60" name="content">[item_content]</textarea>
[if-no user_logged]
<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 item_is]{change}[else]{add}[end]">
</fieldset>
</form>

View File

@@ -1,15 +1,15 @@
<h1>{who_header}</h1>
<h1>Lista sesji</h1>
[if-any who_tab]
<table class="who">
<tr><th>L.p.</th><th>U¿ytkownik</th><th>Start</th><th>Ostatnio aktywny</th></tr>
[for who_tab]
<tr><td>[who_tab_lp]</td><td>[who_tab_user]</td><td>[who_tab_time]</td><td>[who_tab_last_time]</td></tr>
[end]
</table>
<table class="who">
<tr><th>{who_table_index}</th><th>{user}</th><th>{who_table_start}</th><th>{who_table_last_active}</th></tr>
[for who_tab]
<tr><td>[who_tab_lp]</td><td>[who_tab_user]</td><td>[who_tab_time]</td><td>[who_tab_last_time]</td></tr>
[end]
</table>
[else]
<p>Nie ma ¿adnych dostêpnych sesji.</p>
<p>{who_none}</p>
[end]

View File

@@ -1,114 +1,72 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="[doc_language]">
<html lang="{language}">
<head>
<title>Slimaczek.pl[doc_title]</title>
<meta http-equiv="content-type" content="text/html; charset=[doc_charset]">
<meta name="description" content="M³odzie¿owe Stowarzyszenie Satanistyczno-Terrorystyczne">
<meta name="keywords" content="slimaczek, quake, counter-strike, cs">
<link rel="stylesheet" href="[doc_base_url_static]/css/styles.css" type="text/css">
<link rel="shortcut icon" href="[doc_base_url_static]/favicon.ico">
<title>[doc_title]</title>
<meta http-equiv="content-type" content="text/html; charset={charset}">
<meta name="description" content="">
<meta name="keywords" content="">
<link rel="stylesheet" href="[doc_base_url_static]/css/styles.css" type="text/css">
<link rel="shortcut icon" href="[doc_base_url_static]/favicon.ico">
</head>
<body>
<div id="container">
<div id="header">
[if-one user_logged]
<span id="zalogowany">zalogowany jako: [user_name]
<a href="[doc_base_url][if-one dir_can_read_exec][dir][if-any item_is item_can_read][item_url]/[end][else]/[end]logout">wyloguj</a></span>
<span id="zalogowany">{logged_as}: [user_name]
<a href="[doc_base_url][if-one dir_can_read_exec][dir][if-any item_is item_can_read][item_url]/[end][else]/[end]logout">{logout}</a></span>
[else]
<form id="loguj" method="post" action="[doc_base_url][if-one dir_can_read_exec][dir][if-any item_is item_can_read][item_url]/[end][else]/[end]login">
<fieldset>
<legend>Logowanie:</legend>
<input class="edit" type="text" name="login">
<input class="edit" type="password" name="password">
<input class="submit" type="submit" value="Loguj">
<p><label><input class="remember" type="checkbox" name="rememberme">Zapamiêtaj mnie</label></p>
</fieldset>
</form>
<form id="loguj" method="post" action="[doc_base_url][if-one dir_can_read_exec][dir][if-any item_is item_can_read][item_url]/[end][else]/[end]login">
<fieldset>
<legend>{form_login_legend}:</legend>
<input class="edit" type="text" name="login">
<input class="edit" type="password" name="password">
<input class="submit" type="submit" value="{button_login}">
<p><label><input class="remember" type="checkbox" name="rememberme">{remember_me}</label></p>
</fieldset>
</form>
[end]
<a href="[doc_base_url]" id="logo">Strona g³ówna</a>
<a href="[doc_base_url]" id="logo">{home_page}</a>
[if-one dir_tab]
<ul id="current_dir">
[for dir_tab]
<li><a href="[dir_tab_link]">[dir_tab_url] /&nbsp;</a></li>[end]
[if-one item_is]
<li><a href="[item_link]">[item_url]</a></li>
[end]
</ul>
<ul id="current_dir">
[for dir_tab]
<li><a href="[dir_tab_link]">[dir_tab_url] /&nbsp;</a></li>
[end]
[if-one item_is]
<li><a href="[item_link]">[item_url]</a></li>
[end]
</ul>
[end]
</div> <!-- header -->
<div id="contentleft">
<h2>Quake 3</h2>
<ul class="menu">
<li><a href="[doc_base_url]/quake3/o_nas">O nas</a></li>
<li><a href="[doc_base_url]/quake3/nasze_serwery">Nasze serwery</a></li>
<li><a href="[doc_base_url]/quake3/glosowanie">G³osowanie</a></li>
<li><a href="[doc_base_url]/quake3/dodatkowe_mapy">Dodatkowe mapy</a></li>
<li><a href="[doc_base_url]/quake3/dodatki">Dodatki</a></li>
<li><a href="[doc_base_url]/quake3/konfig">Konfig</a></li>
<li><a href="[doc_base_url]/quake3/ustawienia_sieciowe">Ustawienia sieciowe</a></li>
<li><a href="[doc_base_url]/quake3/administratorzy">Administratorzy</a></li>
<li><a href="[doc_base_url]/quake3/konkurs">Konkurs</a></li>
</ul>
<h2 class="next">Counter Strike</h2>
<ul class="menu">
<li><a href="[doc_base_url]/cs/nasze_serwery">Nasze serwery</a></li>
</ul>
<h2 class="next">Forum</h2>
<ul class="menu">
<li><a href="[doc_base_url]/forum/ogolne">Ogólne</a></li>
[if-one is_group_tv]<li><a href="[doc_base_url]/forum/tv">Telewizja</a></li>
[end]
</ul>
[if-one is_group_tv]
<h2 class="next">Radio</h2>
<ul class="menu">
<li><a href="[doc_base_url]/radio/slimaczek_rock">¦limaczek Rock</a></li>
</ul>
<h2 class="next">Telewizja</h2>
<ul class="menu">
<li><a href="[doc_base_url]/tv/jak_nas_odbierac">Jak nas odbieraæ</a></li>
<li><a href="[doc_base_url]/tv/program">Program</a></li>
<li><a href="[doc_base_url]/tv/bugs">Znane problemy</a></li>
</ul>
[end]
</div> <!-- contentleft -->
<div id="contentright">
[if-one done_loggedout]
<!--
<h1>Dziêkujemy za po¶wiêcony nam czas</h1>
<p>Zosta³e¶ wylogowany.</p>
-->
[end]
[content]
</div> <!-- contentright -->
<div id="footer">
<ul id="menu2">
<li><a href="[doc_base_url]/regulamin">Regulamin</a></li>
<li class="last"><a href="[doc_base_url]/kontakt">Kontakt</a></li>
</ul>
</div> <!-- footer -->
</div> <!-- container -->
</body>
</html>

View File

@@ -1 +1 @@
<p class="iteminfo">Dodane przez: [item_user], [item_date_creation][if-no item_dates_equal], ostatnio modyfikowany: [item_date_modification][end]</p>
<p class="iteminfo">{added_by}: [item_user], [item_date_creation][if-no item_dates_equal], {last_modified}: [item_date_modification][end]</p>

View File

@@ -1,42 +0,0 @@
[if-one done_added_dir]
[if-no done_is_error]
<p>Katalog zosta³ dodany:<br>
URL: <a href="[doc_base_url][item_old_dir][item_old_url]">[doc_base_url][item_old_dir][item_old_url]</a><br>
Krótki URL: <a href="[doc_base_url]/node/[item_old_id]">[doc_base_url]/node/[item_old_id]</a></p>
[end]
[end]
[if-one done_deleted_dir]
[if-no done_is_error]
<p>Katalog zosta³ usuniêty:<br>
URL: [doc_base_url][dir_old]
</p>
[end]
[end]
[if-one done_added_item]
[if-no done_is_error]
<p>Pozycja zosta³a dodana:<br>
URL: <a href="[doc_base_url][item_old_dir][item_old_url]">[doc_base_url][item_old_dir][item_old_url]</a><br>
Krótki URL: <a href="[doc_base_url]/node/[item_old_id]">[doc_base_url]/node/[item_old_id]</a></p>
[end]
[end]
[if-one done_edited_item]
[if-no done_is_error]
<p>Pozycja zosta³a zmodyfikowana:<br>
URL: <a href="[doc_base_url][item_old_dir][item_old_url]">[doc_base_url][item_old_dir][item_old_url]</a><br>
Krótki URL: <a href="[doc_base_url]/node/[item_old_id]">[doc_base_url]/node/[item_old_id]</a></p>
[end]
[end]
[if-one done_deleted_item]
[if-one done_is_error]
<p>Nie uda³o siê skasowaæ poni¿szej pozycji, mo¿liwe ¿e link jest nie prawid³owy:<br>
[else]
<p>Skasowano nastêpuj±c± pozycjê:<br>
Tytu³: [item_old_subject]<br>
URL: [doc_base_url][item_old_dir][item_old_url]<br>
Krótki URL: [doc_base_url]/node/[item_old_id]</p>
[end]
[end]

View File

@@ -1,12 +1,12 @@
[if-one dir_can_write item_can_write]
<div class="itemoptions">
<h2>Dostêpne opcje administracyjne:</h2>
<h2>{admin_options}:</h2>
<ul class="itemmenu">
[if-one dir_can_write]<li><a href="[doc_base_url][dir]mkdir">Dodaj katalog</a></li>[end]
[if-one dir_can_write]<li><a href="[doc_base_url][dir]emacs">Dodaj pozycjê</a></li>[end]
[if-one item_can_write]<li><a href="[doc_base_url][dir][item_url]/emacs">Edytuj pozycjê</a></li>[end]
[if-one dir_can_write]<li><a href="[doc_base_url][dir][item_url]/rm/confirm">Usuñ pozycjê</a></li>[end]
[if-one dir_can_write]<li><a href="[doc_base_url][dir]mkdir">{admin_mkdir}</a></li>[end]
[if-one dir_can_write]<li><a href="[doc_base_url][dir]emacs">{admin_emacs_add}</a></li>[end]
[if-one item_can_write]<li><a href="[doc_base_url][dir][item_url]/emacs">{admin_emacs_edit}</a></li>[end]
[if-one dir_can_write]<li><a href="[doc_base_url][dir][item_url]/rm/confirm">{admin_rm}</a></li>[end]
</ul>
</div>
[end]

View File

@@ -1 +1 @@
<p class="[if-index item_tab odd]itemtabinfo[else][is mount_thread_is "subject"]itemtabinfo[else]itemtabinfo2[end][end]">Dodane przez: [item_tab_user], [item_tab_date_creation][if-no item_tab_dates_equal], ostatnio modyfikowany: [item_tab_date_modification][end]</p>
<p class="[if-index item_tab odd]itemtabinfo[else][is mount_thread_is "subject"]itemtabinfo[else]itemtabinfo2[end][end]">{added_by}: [item_tab_user], [item_tab_date_creation][if-no item_tab_dates_equal], {last_modified}: [item_tab_date_modification][end]</p>

View File

@@ -1,52 +1,46 @@
Subject: [if-one notify_item_added]Nowości[else]Zmiany[end]
From: Ślimaczkowe powiadomienia <dontreply@slimaczek.pl>
Subject: [if-one notify_item_added]{notify_new}[else]{notify_change}[end]
From: {notify_from}
To: [notify_to]
Content-Type: text/plain; charset="ISO-8859-2"
Content-Type: {notify_content_type}
Witamy
{notify_header}
Chcielibyśmy powiadomić że właśnie[if-one notify_mount_type_is_thread]
{notify_msg1}[if-one notify_mount_type_is_thread]
[if-one notify_dir_added] ktoś rozpoczął nowy wątek:
[if-one notify_dir_added] {notify_msg2}
[notify_doc_base_url][notify_item_dir]
[else]
[if-one notify_item_added] ktoś odpowiedział w wątku:
[if-one notify_item_added] {notify_msg3}
[notify_doc_base_url][notify_item_dir]
[end]
[end]
[if-one notify_item_edited] ktoś zmienił swoją odpowiedź w wątku:
[if-one notify_item_edited] {notify_msg4}
[notify_doc_base_url][notify_item_dir]
[end]
[if-one notify_item_deleted] czyjaś odpowiedź została skasowana z wątku:
[if-one notify_item_deleted] {notify_msg5}
[notify_doc_base_url][notify_item_dir]
[end]
[else]
[if-one notify_mount_type_is_cms]
[if-one notify_item_added] pojawiła się nowa pozycja do poczytania:
[if-one notify_item_added] {notify_msg6}
[notify_item_link]
[end]
[if-one notify_item_edited] zmieniono coś na:
[if-one notify_item_edited] {notify_msg7}
[notify_item_link]
[end]
[if-one notify_item_deleted] skasowano następującą pozycję:
[if-one notify_item_deleted] {notify_msg8}
[notify_item_link]
[end]
[end]
[end]
Życzymy miłego dnia i zapraszamy do lektury.
{notify_msg9}
--
http://www.slimaczek.pl
Ta wiadomość została wysłana automatycznie - prosimy na nią nie odpowiadać.
Jeśli nie chcesz dostawać więcej takich wiadomości możesz je wyłączyć
w swoim panelu użytkownika.
{notify_footer}