added uikit markup for: createthread, reply, showthreads and thread winix functions
This commit is contained in:
parent
22a45697fa
commit
ae8637d455
|
@ -1,4 +1,4 @@
|
|||
<p class="winix_iteminfo">
|
||||
<p class="uk-text-meta">
|
||||
{added_by}: [dir_last_user], [dir_last_date_creation_nice]
|
||||
|
||||
[if not dir_last_dates_equal]
|
||||
|
|
|
@ -6,14 +6,14 @@
|
|||
|
||||
[if one [mount_type_is "cms"] [any [mount_type_is "thread"] [thread_mount_arg_is "subject"]]]
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_title_id">{title}:</label>
|
||||
<label class="uk-form-label" for="winix_title_id">{title}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_title_id" type="text" name="subject" value="[item_subject]" [if not item_is]autofocus [end]>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_url_id">{suggested_url}:</label>
|
||||
<label class="uk-form-label" for="winix_url_id">{suggested_url}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_url_id" type="text" name="url" value="[item_url]">
|
||||
</div>
|
||||
|
@ -40,7 +40,7 @@
|
|||
|
||||
[if not user_logged]
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_nick_id">{nick}:</label>
|
||||
<label class="uk-form-label" for="winix_nick_id">{nick}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]">
|
||||
</div>
|
||||
|
|
|
@ -3,27 +3,40 @@
|
|||
<h1>{create_thread_header}</h1>
|
||||
|
||||
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir]createthread">
|
||||
<fieldset>
|
||||
<legend>{form_thread_legend}</legend>
|
||||
<form class="uk-form-stacked" method="post" action="[doc_base_url][dir]createthread">
|
||||
|
||||
<p class="withnext">{title}:</p>
|
||||
<input class="edit" type="text" name="subject" value="[item_subject]">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_title_id">{title}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_title_id" type="text" name="subject" value="[item_subject]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[if thread_mount_arg_is "subject"]
|
||||
<p class="withnext">{suggested_url}:</p>
|
||||
<input class="edit" type="text" name="url" value="[item_url]">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_url_id">{suggested_url}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_url_id" type="text" name="url" value="[item_url]">
|
||||
</div>
|
||||
</div>
|
||||
[end]
|
||||
|
||||
[include "fun_emacs_post.html"]
|
||||
|
||||
[if not 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">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_nick_id">{nick}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_rebus_id">{rebus_how_is_it} [rebus_question]?</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_rebus_id" type="text" name="rebus">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[include "antispam.html"]
|
||||
[end]
|
||||
|
@ -31,9 +44,12 @@
|
|||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
|
||||
<input class="submit" type="submit" value="{button_thread_submit}">
|
||||
</fieldset>
|
||||
<div class="uk-margin">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{button_thread_submit}">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -7,14 +7,14 @@
|
|||
<form class="uk-form-stacked" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]emacs">
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_title_id">{title}:</label>
|
||||
<label class="uk-form-label" for="winix_title_id">{title}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_title_id" type="text" name="subject" value="[item_subject]" [if not item_is]autofocus [end]>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_url_id">{suggested_url}:</label>
|
||||
<label class="uk-form-label" for="winix_url_id">{suggested_url}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_url_id" type="text" name="url" value="[item_url]">
|
||||
</div>
|
||||
|
@ -24,7 +24,7 @@
|
|||
|
||||
[if not user_logged]
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_nick_id">{nick}:</label>
|
||||
<label class="uk-form-label" for="winix_nick_id">{nick}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]">
|
||||
</div>
|
||||
|
|
|
@ -3,30 +3,37 @@
|
|||
<h1>{thread_header_reply}</h1>
|
||||
|
||||
|
||||
<form method="post" action="[doc_base_url][dir][item_url]/reply">
|
||||
<form class="uk-form-stacked" method="post" action="[doc_base_url][dir][item_url]/reply">
|
||||
|
||||
[if thread_mount_arg_is "subject"]
|
||||
<div class="winix_input_a">
|
||||
<label for="">{title}:</label>
|
||||
<input type="text" name="subject" value="">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_title_id">{title}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_title_id" type="text" name="subject" value="[item_subject]" [if not item_is]autofocus [end]>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="">{suggested_url}:</label>
|
||||
<input type="text" name="url" value="">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_url_id">{suggested_url}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_url_id" type="text" name="url" value="[item_url]">
|
||||
</div>
|
||||
</div>
|
||||
[end]
|
||||
|
||||
|
||||
<div class="winix_input_a">
|
||||
[if mount_type_is "thread"]<label for="winix_content_id">{form_emacs_content_thread}</label>[end]
|
||||
<textarea id="winix_content_id" rows="10" cols="60" name="itemcontent"></textarea>
|
||||
|
||||
|
||||
<div class="uk-margin">
|
||||
[if mount_type_is "thread"]<label for="winix_content_id">{form_emacs_content_thread}</label>[end]
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<textarea class="uk-textarea" id="winix_content_id" rows="10" cols="60" name="itemcontent"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="">{form_emacs_content_type}</label>
|
||||
<select name="contenttype">
|
||||
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_contenttype_id">{form_emacs_content_type}</label>
|
||||
<select class="uk-select" name="contenttype" id="winix_contenttype_id">
|
||||
<option value="0">{form_emacs_content_type_text}</option>
|
||||
<option selected value="1">{form_emacs_content_type_formatted_text}</option>
|
||||
[if user_can_use_html]<option value="2">{form_emacs_content_type_html}</option>[end]
|
||||
|
@ -34,20 +41,24 @@
|
|||
[if user_can_use_other]<option value="4">{form_emacs_content_type_other}</option>[end]
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[if not user_logged]
|
||||
<div class="winix_input_a">
|
||||
<label for="">{nick}:</label>
|
||||
<input type="text" name="guestname" value="">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_nick_id">{nick}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="">{rebus_how_is_it} [rebus_question]?</p>
|
||||
<input type="text" name="rebus">
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_rebus_id">{rebus_how_is_it} [rebus_question]?</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_rebus_id" type="text" name="rebus">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
[include "antispam.html"]
|
||||
[end]
|
||||
|
||||
|
@ -55,8 +66,10 @@
|
|||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
|
||||
<input type="submit" value="{add}">
|
||||
|
||||
<div class="uk-margin">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{add}">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
|
|
|
@ -3,15 +3,7 @@
|
|||
<div>
|
||||
|
||||
[if mount_page_arg_is "subject"]
|
||||
[if mount_page_arg_is "info"]
|
||||
<h1 class="withinfo">
|
||||
[else]
|
||||
<h1>
|
||||
[end]
|
||||
|
||||
[item_subject]
|
||||
</h1>
|
||||
|
||||
<h1>[item_subject]</h1>
|
||||
[end]
|
||||
|
||||
[if mount_page_arg_is "info"]
|
||||
|
|
|
@ -5,22 +5,20 @@
|
|||
|
||||
|
||||
[if thread_can_create]
|
||||
<div class="winix_itemoptions_b">
|
||||
<ul>
|
||||
<li><a href="[doc_base_url][dir]createthread" rel="nofollow">{thread_create_new}</a></li>
|
||||
</ul>
|
||||
<div class="uk-margin">
|
||||
<a class="uk-button uk-button-default" href="[doc_base_url][dir]createthread" rel="nofollow">{thread_create_new}</a>
|
||||
</div>
|
||||
[end]
|
||||
|
||||
|
||||
[if thread_sort_tab]
|
||||
<table class="winix_forum">
|
||||
<table class="uk-table uk-table-divider uk-table-small uk-table-responsive">
|
||||
<tr><th>{thread_tab_title}</th><th>{thread_tab_author}</th><th>{thread_tab_replies}</th><th>{thread_tab_last_post}</th></tr>
|
||||
[for thread_sort_tab]
|
||||
<tr>
|
||||
<td><a href="[doc_base_url][dir][thread_sort_tab_url]">[thread_sort_tab_subject]</a></td> [# dodac sprawdzanie subject empty]
|
||||
<td class="smallfont">[thread_sort_tab_user]</td><td class="smallfont">[thread_sort_tab_replies]</td>
|
||||
<td class="smallfont">[thread_sort_tab_last_item_date_modification_nice] ([thread_sort_tab_last_item_user])</td>
|
||||
<td>[thread_sort_tab_user]</td><td class="smallfont">[thread_sort_tab_replies]</td>
|
||||
<td>[thread_sort_tab_last_item_date_modification_nice] ([thread_sort_tab_last_item_user])</td>
|
||||
</tr>
|
||||
[end]
|
||||
</table>
|
||||
|
|
|
@ -1,45 +1,56 @@
|
|||
<div class="winix">
|
||||
|
||||
[if mount_page_arg_is "subject"]<h1[if mount_page_arg_is "info"] class="winix_withinfo"[end]>[item_subject]</h1>[end]
|
||||
[if false]
|
||||
[if mount_page_arg_is "info"][include "item_info.html"][end]
|
||||
|
||||
|
||||
[if thread_can_reply]
|
||||
<div class="winix_itemoptions_b">
|
||||
<ul>
|
||||
<li><a href="[doc_base_url][dir][item_url]/reply" rel="nofollow">{thread_reply_in_this_thread}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
[end]
|
||||
|
||||
[if not [thread_mount_arg_is "sort_desc"]]
|
||||
<div class="winix_threadbox">
|
||||
[if item_can_write]<a class="winix_threadedit" href="[item_link]/emacs" rel="nofollow">\[{edit}\]</a>[end]
|
||||
[if item_can_write]<a class="uk-button uk-button-default uk-button-small" href="[item_link]/emacs" rel="nofollow">{edit}</a>[end]
|
||||
[if thread_mount_arg_is "subject"]<h2[if thread_mount_arg_is "info"] class="winix_withinfo"[end]>[item_subject]</h2>[end]
|
||||
[if thread_mount_arg_is "info"][include "item_info.html"][end]
|
||||
[item_print_content]
|
||||
</div>
|
||||
[end]
|
||||
|
||||
[if thread_mount_arg_is "sort_desc"]
|
||||
[if thread_can_reply]
|
||||
<div class="uk-margin">
|
||||
<a class="uk-button uk-button-default" href="[doc_base_url][dir][item_url]/reply" rel="nofollow">{thread_reply_in_this_thread}</a>
|
||||
</div>
|
||||
[end]
|
||||
[end]
|
||||
|
||||
|
||||
[for thread_sort_tab]
|
||||
<div class="winix_threadbox[if index "even"] winix_threadboxcolor[end]">
|
||||
[if thread_sort_tab_can_write]<a class="winix_threadedit" href="[thread_sort_tab_link]/emacs" rel="nofollow">\[{edit}\]</a>[end]
|
||||
<div class="uk-margin [if index "odd"]uk-tile-default[else]uk-tile-muted uk-padding-small[end]">
|
||||
[if thread_sort_tab_can_write]<a class="uk-button uk-button-default uk-button-small" href="[thread_sort_tab_link]/emacs" rel="nofollow">{edit}</a>[end]
|
||||
[if thread_mount_arg_is "subject"]<h2[if thread_mount_arg_is "info"] class="winix_withinfo"[end]>[thread_sort_tab_subject]</h2>[end]
|
||||
[if thread_mount_arg_is "info"][include "thread_sort_tab_info.html"][end]
|
||||
[thread_sort_tab_print_content]
|
||||
</div>
|
||||
[end]
|
||||
|
||||
|
||||
|
||||
|
||||
[if thread_mount_arg_is "sort_desc"]
|
||||
<div class="winix_threadbox">
|
||||
[if item_can_write]<a class="winix_threadedit" href="[item_link]/emacs" rel="nofollow">\[{edit}\]</a>[end]
|
||||
[if item_can_write]<a class="uk-button uk-button-default uk-button-small" href="[item_link]/emacs" rel="nofollow">{edit}</a>[end]
|
||||
[if thread_mount_arg_is "subject"]<h2[if thread_mount_arg_is "info"] class="winix_withinfo"[end]>[item_subject]</h2>[end]
|
||||
[if thread_mount_arg_is "info"][include "item_info.html"][end]
|
||||
[item_print_content]
|
||||
</div>
|
||||
[end]
|
||||
|
||||
[if not [thread_mount_arg_is "sort_desc"]]
|
||||
[if thread_can_reply]
|
||||
<div class="uk-margin">
|
||||
<a class="uk-button uk-button-default" href="[doc_base_url][dir][item_url]/reply" rel="nofollow">{thread_reply_in_this_thread}</a>
|
||||
</div>
|
||||
[end]
|
||||
[end]
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -6,14 +6,14 @@
|
|||
|
||||
[if one [mount_type_is "cms"] [any [mount_type_is "thread"] [thread_mount_arg_is "subject"]]]
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_title_id">{title}:</label>
|
||||
<label class="uk-form-label" for="winix_title_id">{title}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_title_id" type="text" name="subject" value="[item_subject]" [if not item_is]autofocus [end]>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_url_id">{suggested_url}:</label>
|
||||
<label class="uk-form-label" for="winix_url_id">{suggested_url}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_url_id" type="text" name="url" value="[item_url]">
|
||||
</div>
|
||||
|
@ -36,7 +36,7 @@
|
|||
|
||||
[if not user_logged]
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_nick_id">{nick}:</label>
|
||||
<label class="uk-form-label" for="winix_nick_id">{nick}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]">
|
||||
</div>
|
||||
|
|
|
@ -8,14 +8,14 @@
|
|||
|
||||
[if one [mount_type_is "cms"] [any [mount_type_is "thread"] [thread_mount_arg_is "subject"]]]
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_title_id">{title}:</label>
|
||||
<label class="uk-form-label" for="winix_title_id">{title}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_title_id" type="text" name="subject" value="[item_subject]" [if not item_is]autofocus [end]>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_url_id">{suggested_url}:</label>
|
||||
<label class="uk-form-label" for="winix_url_id">{suggested_url}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_url_id" type="text" name="url" value="[item_url]">
|
||||
</div>
|
||||
|
@ -40,7 +40,7 @@
|
|||
|
||||
[if not user_logged]
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_nick_id">{nick}:</label>
|
||||
<label class="uk-form-label" for="winix_nick_id">{nick}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]">
|
||||
</div>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<p class="winix_iteminfo">
|
||||
<p class="uk-text-meta">
|
||||
{added_by}: [item_user], [item_date_creation_nice][if not item_dates_equal],
|
||||
{last_modified}[if item_users_different] {by}: [item_modification_user],[else]:[end]
|
||||
[item_date_modification_nice][end]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<p class="[if index "odd"]winix_itemtabinfo[else][if thread_mount_arg_is "subject"]winix_itemtabinfo[else]winix_itemtabinfo2[end][end]">
|
||||
<p class="uk-text-meta">
|
||||
|
||||
{added_by}: [item_tab_user], [item_tab_date_creation_nice][if not item_tab_dates_equal],
|
||||
{last_modified}[if item_tab_users_different] {by}: [item_tab_modification_user],[else]:[end]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<p class="[if index "even"]winix_itemtabinfo[else][if thread_mount_arg_is "subject"]winix_itemtabinfo[else]winix_itemtabinfo2[end][end]">
|
||||
<p class="uk-text-meta">
|
||||
|
||||
{added_by}: [thread_sort_tab_user], [thread_sort_tab_date_creation_nice][if not thread_sort_tab_dates_equal],
|
||||
{last_modified}[if thread_sort_tab_users_different] {by}: [thread_sort_tab_modification_user],[else]:[end]
|
||||
|
|
|
@ -82,7 +82,6 @@ cat_file_url = File url
|
|||
|
||||
|
||||
create_thread_header = Create thread
|
||||
form_thread_legend = Thread form
|
||||
button_thread_submit = Create thread
|
||||
|
||||
url = Url
|
||||
|
|
|
@ -87,7 +87,6 @@ cat_file_url = Adres pliku
|
|||
|
||||
|
||||
create_thread_header = Załóż wątek
|
||||
form_thread_legend = Wypełnij wszystkie pozycje formularza
|
||||
button_thread_submit = Załóż wątek
|
||||
|
||||
url = Url
|
||||
|
@ -152,11 +151,11 @@ ln_make_redirect = "Wykonaj przekierowanie (jedynie dla linków symbolicznych)"
|
|||
|
||||
|
||||
|
||||
form_emacs_content_cms = Zawartość:
|
||||
form_emacs_content_thread = Post:
|
||||
form_emacs_content_ticket = Opis:
|
||||
form_emacs_content_cms = Zawartość
|
||||
form_emacs_content_thread = Post
|
||||
form_emacs_content_ticket = Opis
|
||||
|
||||
form_emacs_content_type = Rodzaj wiadomości:
|
||||
form_emacs_content_type = Rodzaj wiadomości
|
||||
|
||||
form_emacs_content_type_text = text
|
||||
form_emacs_content_type_formatted_text = sformatowany text
|
||||
|
|
Loading…
Reference in New Issue