moved winix directories to winixdsubdirectory
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@1028 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
17
winixd/html/dir_last_info.html
Normal file
17
winixd/html/dir_last_info.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<p class="winix_iteminfo">
|
||||
{added_by}: [dir_last_user], [dir_last_date_creation_nice]
|
||||
|
||||
[if not dir_last_dates_equal]
|
||||
, {last_modified}
|
||||
|
||||
[if dir_last_users_different]
|
||||
{by}: [dir_last_modification_user],
|
||||
[else]
|
||||
:
|
||||
[end]
|
||||
|
||||
[dir_last_date_modification_nice]
|
||||
|
||||
[end]
|
||||
|
||||
</p>
|
||||
7
winixd/html/err_404.html
Normal file
7
winixd/html/err_404.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{error_404}</h1>
|
||||
|
||||
<p>{error_404_msg}</p>
|
||||
|
||||
</div>
|
||||
16
winixd/html/err_per_denied.html
Normal file
16
winixd/html/err_per_denied.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{access_denied}</h1>
|
||||
|
||||
<p>{access_denied_msg}
|
||||
|
||||
[if ipban_is_current_ip_banned]
|
||||
<br>
|
||||
{ipban_your_ip_is_banned} [ipban_current_ip_expires_time].
|
||||
[end]
|
||||
|
||||
</p>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
20
winixd/html/fun_account.html
Normal file
20
winixd/html/fun_account.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>Account</h1>
|
||||
|
||||
[if user_logged]
|
||||
<p>You are logged as: [user_name]<br>
|
||||
[if user_super_user]
|
||||
You are the root
|
||||
[end]
|
||||
[# !! IMPROVE ME add info about groups, may other parameters like time zone, language?]
|
||||
</p>
|
||||
[else]
|
||||
<p>You are not logged in.</p>
|
||||
[end]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
41
winixd/html/fun_adduser.html
Normal file
41
winixd/html/fun_adduser.html
Normal file
@@ -0,0 +1,41 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>[if user_logged]{adduser_header_add}[else]{adduser_header_register}[end]</h1>
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir]adduser">
|
||||
<fieldset>
|
||||
<legend>{adduser_form_legend}</legend>
|
||||
|
||||
<p class="withnext">{adduser_login}:</p>
|
||||
<input class="edit" type="text" name="login" value="[adduser_last_login]">
|
||||
|
||||
<p class="withnext">{adduser_password}:</p>
|
||||
<input class="edit" type="password" name="password" value="">
|
||||
|
||||
<p class="withnext">{adduser_confirm_password}:</p>
|
||||
<input class="edit" type="password" name="passwordconfirm" value="">
|
||||
|
||||
[if winix_account_need_email_verification]
|
||||
<p class="withnext">{adduser_need_email}<br>{adduser_need_email2}:</p>
|
||||
[else]
|
||||
<p class="withnext">{adduser_email}:</p>
|
||||
[end]
|
||||
<input class="edit" type="text" name="email" value="[adduser_last_email]">
|
||||
|
||||
[if user_super_user]
|
||||
<p>
|
||||
<input type="checkbox" name="autoactivate" id="autoactivate"><label style="display: inline;" for="autoactivate">{adduser_auto_activate}</label>
|
||||
</p>
|
||||
[end]
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
|
||||
<input class="submit" type="submit" value="[if user_logged]{adduser_submit}[else]{register_user_submit}[end]">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
37
winixd/html/fun_cat.html
Normal file
37
winixd/html/fun_cat.html
Normal file
@@ -0,0 +1,37 @@
|
||||
[if mount_page_arg_is "subject"][if mount_page_arg_is "info"]<h1 class="withinfo">[else]<h1>[end][item_subject]</h1>[end]
|
||||
[if mount_page_arg_is "info"][include "item_info.html"][end]
|
||||
|
||||
[if one item_filetype_is_image]
|
||||
|
||||
<a href="[item_link]"><img class="catimage" [if not item_has_thumb]height="100"[end] src="[item_link]/download[if item_has_thumb]/thumb[end]" alt="[item_subject]"></a>
|
||||
|
||||
[# we use pre.nowinixbreak to tell the html_filter not to put a blank space into those urles]
|
||||
|
||||
<div>
|
||||
<pre class="nowinixbreak">
|
||||
{cat_image_url}: [item_link]<br>
|
||||
{cat_image_thumb_url}: [item_link]/-/thumb
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
[item_print_content]
|
||||
|
||||
[else]
|
||||
|
||||
[if not item_filetype_is_none]
|
||||
{download}: <a href="[item_link]/download" title="[item_subject]">[item_subject]</a>
|
||||
<div>
|
||||
<pre class="nowinixbreak">
|
||||
{cat_file_url}: [item_link]<br>
|
||||
</pre>
|
||||
</div>
|
||||
[item_print_content]
|
||||
[else]
|
||||
[item_print_content]
|
||||
[end]
|
||||
|
||||
[end]
|
||||
|
||||
|
||||
|
||||
|
||||
2
winixd/html/fun_chmod.html
Normal file
2
winixd/html/fun_chmod.html
Normal file
@@ -0,0 +1,2 @@
|
||||
[include "fun_priv.html"]
|
||||
|
||||
1
winixd/html/fun_chown.html
Normal file
1
winixd/html/fun_chown.html
Normal file
@@ -0,0 +1 @@
|
||||
[include "fun_priv.html"]
|
||||
71
winixd/html/fun_ckeditor.html
Normal file
71
winixd/html/fun_ckeditor.html
Normal file
@@ -0,0 +1,71 @@
|
||||
<div class="winix">
|
||||
|
||||
[if item_is]<h1>{edit}</h1>[else]<h1>{add}</h1>[end]
|
||||
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]ckeditor">
|
||||
|
||||
[if mount_type_is "cms"]
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_title_id">{title}:</label>
|
||||
<input id="winix_title_id" type="text" name="subject" value="[item_subject]">
|
||||
</div>
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_url_id">{suggested_url}:</label>
|
||||
<input id="winix_url_id" type="text" name="url" value="[item_url]">
|
||||
</div>
|
||||
[end]
|
||||
|
||||
[if any [mount_type_is "thread"] [thread_mount_arg_is "subject"]]
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_title_id">{title}:</label>
|
||||
<input id="winix_title_id" type="text" name="subject" value="[item_subject]">
|
||||
</div>
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_url_id">{suggested_url}:</label>
|
||||
<input id="winix_url_id" type="text" name="url" value="[item_url]">
|
||||
</div>
|
||||
[end]
|
||||
|
||||
<div class="winix_input_a">
|
||||
[if mount_type_is "cms"]<label for="winix_content_id">{form_emacs_content_cms}</label>[end]
|
||||
[if mount_type_is "thread"]<label for="winix_content_id">{form_emacs_content_thread}</label>[end]
|
||||
[if mount_type_is "ticket"]<label for="winix_content_id">{form_emacs_content_ticket}</label>[end]
|
||||
|
||||
[# template fun_ls.html uses the name: itemcontent to refer to this textarea item]
|
||||
<textarea id="winix_content_id" rows="[if mount_type_is "cms"]30[else]10[end]" cols="60" name="itemcontent">[item_content]</textarea>
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="contenttype" value="2">
|
||||
|
||||
[if winix_function_param_is "full"]
|
||||
<script type="text/javascript">CKEDITOR.replace('itemcontent', \{filebrowserUploadUrl: '[doc_base_url][dir]upload?noredirect&ckeditor_upload', filebrowserBrowseUrl: '[doc_base_url][dir]ls?ckeditor_browse&fullscreen', customConfig : '[doc_base_url]/var/ckeditor_full.js' \});</script>
|
||||
[else]
|
||||
<script type="text/javascript">CKEDITOR.replace('itemcontent', \{filebrowserUploadUrl: '[doc_base_url][dir]upload?noredirect&ckeditor_upload', filebrowserBrowseUrl: '[doc_base_url][dir]ls?ckeditor_browse&fullscreen', customConfig : '[doc_base_url]/var/ckeditor_winix.js' \});</script>
|
||||
|
||||
[end]
|
||||
|
||||
[if not user_logged]
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_nick_id">{nick}:</label>
|
||||
<input id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]">
|
||||
</div>
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_rebus_id">{rebus_how_is_it} [rebus_question]?</p>
|
||||
<input id="winix_rebus_id" type="text" name="rebus">
|
||||
</div>
|
||||
[end]
|
||||
|
||||
<input type="submit" value="[if item_is]{change}[else]{add}[end]">
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
39
winixd/html/fun_cp.html
Normal file
39
winixd/html/fun_cp.html
Normal file
@@ -0,0 +1,39 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{cp_header}</h1>
|
||||
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]cp[if not item_is]/r[end]">
|
||||
<fieldset>
|
||||
<legend>{cp_form_legend}</legend>
|
||||
|
||||
<p>
|
||||
[if item_is]{cp_page} "[item_url]":[else]{cp_dir} "[dir_without_slash]"[end]
|
||||
</p>
|
||||
|
||||
|
||||
<p class="withnext">{suggested_url}</p>
|
||||
<input class="edit" type="text" name="to" value="[dir_without_slash][if item_is]/[item_url][end]">
|
||||
|
||||
<p>
|
||||
<label><input type="checkbox" name="preserveattr">{cp_preserve_attr}</label>
|
||||
|
||||
[if not item_is]
|
||||
<label><input type="checkbox" name="onlycontent">{cp_only_content}</label>
|
||||
<label><input type="checkbox" name="removedefaults" checked="checked">{cp_remove_defaults}</label>
|
||||
<label><input type="checkbox" name="followsymlinks" checked="checked">{cp_follow_symlinks}</label>
|
||||
[end]
|
||||
</p>
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
|
||||
<input class="submit" type="submit" value="{copy}">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
37
winixd/html/fun_createthread.html
Normal file
37
winixd/html/fun_createthread.html
Normal file
@@ -0,0 +1,37 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{create_thread_header}</h1>
|
||||
|
||||
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir]createthread">
|
||||
<fieldset>
|
||||
<legend>{form_thread_legend}</legend>
|
||||
|
||||
<p class="withnext">{title}:</p>
|
||||
<input class="edit" type="text" name="subject" value="[item_subject]">
|
||||
|
||||
[if thread_mount_arg_is "subject"]
|
||||
<p class="withnext">{suggested_url}:</p>
|
||||
<input class="edit" type="text" name="url" value="[item_url]">
|
||||
[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">
|
||||
[end]
|
||||
|
||||
[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>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
136
winixd/html/fun_createticket.html
Normal file
136
winixd/html/fun_createticket.html
Normal file
@@ -0,0 +1,136 @@
|
||||
<div class="winix">
|
||||
|
||||
[# this template is used in fun_editticket.html as well]
|
||||
|
||||
[if item_is]<h1>{edit_ticket_header}</h1>[else]<h1>{create_ticket_header}</h1>[end]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<form method="post" action="[doc_base_url][dir][if item_is][item_url]/editticket[else]createticket[end]" enctype="multipart/form-data">
|
||||
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_title_id">{title}:</label>
|
||||
<input id="winix_title_id" type="text" name="subject" value="[item_subject]">
|
||||
</div>
|
||||
|
||||
|
||||
[if ticket_tab]
|
||||
<table class="winix_create_ticket">
|
||||
|
||||
[for ticket_tab]
|
||||
|
||||
<tr>
|
||||
<th>[filter fil_firstup][ticket_tab_param_name]:[end]</th>
|
||||
|
||||
<td>
|
||||
|
||||
[if ticket_tab_type_is "select"]
|
||||
<select name="ticketparam[ticket_tab_param_id]">
|
||||
[for ticket_tab_select_tab]
|
||||
<option [if ticket_tab_select_tab_is_selected]selected [end]value="[ticket_tab_select_tab_id]">[ticket_tab_select_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
[end]
|
||||
|
||||
|
||||
[if one [ticket_tab_type_is "integer"] [ticket_tab_type_is "progress"] [ticket_tab_type_is "string"]]
|
||||
<input type="text" name="ticketparam[ticket_tab_param_id]" value="[ticket_tab_value]">
|
||||
[end]
|
||||
|
||||
|
||||
[if ticket_tab_type_is "multistring"]
|
||||
<textarea name="ticketparam[ticket_tab_param_id]" rows="10" cols="60">[ticket_tab_value]</textarea>
|
||||
[end]
|
||||
|
||||
|
||||
[if ticket_tab_type_is "images"]
|
||||
[for ticket_tab_file_tab]
|
||||
<div class="winix_create_ticket_file_row">
|
||||
<img src="[doc_base_url][ticket_tab_file_tab_path]/-/thumb" alt="[ticket_tab_file_tab_path]" height="150">
|
||||
<input type="submit" name="ticketdeletefile_[ticket_tab_file_tab_itemid]" value="{ticket_delete_file}">
|
||||
</div>
|
||||
[end]
|
||||
|
||||
<input size="30" type="file" name="ticketparam[ticket_tab_param_id]" multiple>
|
||||
<input type="submit" name="fileuploadsubmit" value="{add}">
|
||||
[end]
|
||||
|
||||
|
||||
[if ticket_tab_type_is "files"]
|
||||
[if ticket_tab_file_tab]
|
||||
<ul>
|
||||
[for ticket_tab_file_tab]
|
||||
<li>
|
||||
<a href="[doc_base_url][ticket_tab_file_tab_path]/download">[ticket_tab_file_tab_path]</a>
|
||||
[# !! CHECK ME how this look like -- css was not set]
|
||||
<input type="submit" name="ticketdeletefile_[ticket_tab_file_tab_itemid]" value="{ticket_delete_file}">
|
||||
</li>
|
||||
[end]
|
||||
</ul>
|
||||
[end]
|
||||
|
||||
<input size="30" type="file" name="ticketparam[ticket_tab_param_id]" multiple>
|
||||
<input type="submit" name="fileuploadsubmit" value="{add}">
|
||||
[end]
|
||||
|
||||
[if any_not [ticket_tab_type_is "images"] [ticket_tab_type_is "files"] ticket_is_creating_new ticket_tab_has_value]
|
||||
{ticket_value_not_set}
|
||||
[end]
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
[end]
|
||||
|
||||
</table>
|
||||
[end]
|
||||
|
||||
|
||||
[# FIXME !! change names form_emacs_content_thread and form_emacs_content_ticket]
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_content_id">{form_emacs_content_ticket}</label>
|
||||
<textarea id="winix_content_id" rows="10" cols="60" name="itemcontent">[item_content]</textarea>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_content_type_id">{form_emacs_content_type}</label>
|
||||
<select id="winix_content_type_id" name="contenttype">
|
||||
<option[if item_content_type_is "text"] selected[end] value="0">{form_emacs_content_type_text}</option>
|
||||
<option[if item_content_type_is "formatted text"] selected[end] value="1">{form_emacs_content_type_formatted_text}</option>
|
||||
[if user_can_use_html]<option[if item_content_type_is "html"] selected[end] value="2">{form_emacs_content_type_html}</option>[end]
|
||||
[if user_can_use_bbcode]<option[if item_content_type_is "bbcode"] selected[end] value="3">{form_emacs_content_type_bbcode}</option>[end]
|
||||
[if user_can_use_raw]<option[if item_content_type_is "raw"] selected[end] value="4">{form_emacs_content_type_raw}</option>[end]
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
[if not user_logged]
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_nick_id">{nick}:</label>
|
||||
<input id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]">
|
||||
</div>
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_rebus_id">{rebus_how_is_it} [rebus_question]?</p>
|
||||
<input id="winix_rebus_id" type="text" name="rebus">
|
||||
</div>
|
||||
[end]
|
||||
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
|
||||
<input type="submit" value="[if item_is]{form_ticket_edit_submit}[else]{form_ticket_create_submit}[end]">
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
26
winixd/html/fun_default.html
Normal file
26
winixd/html/fun_default.html
Normal file
@@ -0,0 +1,26 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{default_header}</h1>
|
||||
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir]default">
|
||||
<fieldset>
|
||||
<legend>{form_default_legend}</legend>
|
||||
{url}:<br>
|
||||
<input class="edit" type="text" name="linkto" value="[dir_last_link_to]">
|
||||
|
||||
<p>
|
||||
<label><input class="" type="checkbox" name="makeredirect"[if dir_last_is_link_redirect] checked="checked"[end]>{default_make_redirect}</label>
|
||||
</p>
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
<input class="submit" type="submit" value="{change}">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
1
winixd/html/fun_editticket.html
Normal file
1
winixd/html/fun_editticket.html
Normal file
@@ -0,0 +1 @@
|
||||
[include "fun_createticket.html"]
|
||||
42
winixd/html/fun_emacs.html
Normal file
42
winixd/html/fun_emacs.html
Normal file
@@ -0,0 +1,42 @@
|
||||
<div class="winix">
|
||||
|
||||
[if item_is]<h1>{edit}</h1>[else]<h1>{add}</h1>[end]
|
||||
|
||||
|
||||
|
||||
<form method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]emacs">
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_title_id">{title}:</label>
|
||||
<input id="winix_title_id" type="text" name="subject" value="[item_subject]" [if not item_is]autofocus [end]>
|
||||
</div>
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_url_id">{suggested_url}:</label>
|
||||
<input id="winix_url_id" type="text" name="url" value="[item_url]">
|
||||
</div>
|
||||
|
||||
[include "fun_emacs_post.html"]
|
||||
|
||||
[if not user_logged]
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_nick_id">{nick}:</label>
|
||||
<input id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]">
|
||||
</div>
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_rebus_id">{rebus_how_is_it} [rebus_question]?</label>
|
||||
<input id="winix_rebus_id" type="text" name="rebus">
|
||||
</div>
|
||||
[end]
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
<input type="submit" value="[if item_is]{change}[else]{add}[end]">
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
28
winixd/html/fun_emacs_post.html
Normal file
28
winixd/html/fun_emacs_post.html
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
<div class="winix_input_a">
|
||||
|
||||
[if winix_function_is "upload"]
|
||||
<label for="winix_content_id">{upload_content}</label>
|
||||
[else]
|
||||
[if mount_type_is "cms"]<label for="winix_content_id">{form_emacs_content_cms}</label>[end]
|
||||
[if mount_type_is "thread"]<label for="winix_content_id">{form_emacs_content_thread}</label>[end]
|
||||
[if mount_type_is "ticket"]<label for="winix_content_id">{form_emacs_content_ticket}</label>[end]
|
||||
[end]
|
||||
|
||||
<textarea [if item_is]autofocus [end]id="winix_content_id" rows="[if winix_function_is "upload"]7[else][if mount_type_is "cms"]30[else]10[end][end]" cols="60" name="itemcontent">[item_content]</textarea>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_contenttype_id">{form_emacs_content_type}</label>
|
||||
<select name="contenttype" id="winix_contenttype_id">
|
||||
<option[if item_content_type_is "text"] selected[end] value="0">{form_emacs_content_type_text}</option>
|
||||
<option[if item_content_type_is "formatted text"] selected[end] value="1">{form_emacs_content_type_formatted_text}</option>
|
||||
[if user_can_use_html]<option[if item_content_type_is "html"] selected[end] value="2">{form_emacs_content_type_html}</option>[end]
|
||||
[if user_can_use_bbcode]<option[if item_content_type_is "bbcode"] selected[end] value="3">{form_emacs_content_type_bbcode}</option>[end]
|
||||
[if user_can_use_raw]<option[if item_content_type_is "raw"] selected[end] value="4">{form_emacs_content_type_raw}</option>[end]
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
56
winixd/html/fun_env.html
Normal file
56
winixd/html/fun_env.html
Normal file
@@ -0,0 +1,56 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{env_header}</h1>
|
||||
|
||||
|
||||
[if user_super_user]
|
||||
|
||||
[if winix_function_param_is "a"]
|
||||
<p class="withnext">{env_change_admin_env_for_user}:</p>
|
||||
[else]
|
||||
<p class="withnext">{env_change_env_for_user}:</p>
|
||||
[end]
|
||||
|
||||
<form class="envchangeuser" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]env[if winix_function_param_is "a"]/a[end]">
|
||||
<fieldset>
|
||||
<legend>{form_env_legend}</legend>
|
||||
|
||||
<select name="userid">
|
||||
[for env_user_tab]
|
||||
<option value="[env_user_tab_id]" [if env_user_tab_is_current]selected="selected"[end]>[env_user_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
|
||||
<input type="hidden" name="changeuser">
|
||||
<input class="submit" type="submit" value="{env_change_user}">
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
[end]
|
||||
|
||||
|
||||
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]env[if winix_function_param_is "a"]/a[end]">
|
||||
<fieldset>
|
||||
<legend>{form_env_legend}</legend>
|
||||
|
||||
<textarea class="multitext" rows="30" cols="60" name="envvar">[if winix_function_param_is "a"][env_user_admin_env_str][else][env_user_env_str][end]</textarea>
|
||||
<input type="hidden" name="userid" value="[env_user_id]">
|
||||
<input class="submit" type="submit" value="{change}">
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
28
winixd/html/fun_export.html
Normal file
28
winixd/html/fun_export.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{export_header}</h1>
|
||||
|
||||
|
||||
[if item_is]
|
||||
<p>{export_transer_file_info}</p>
|
||||
[else]
|
||||
<p>{export_transer_dir_info}</p>
|
||||
[end]
|
||||
|
||||
|
||||
|
||||
<form action="[doc_base_url][dir][if item_is][item_url]/[end]export" method="post">
|
||||
|
||||
<input type="checkbox" name="staticfilestoo" id="nonstaticfiles"><label for="nonstaticfiles">{export_checkbox_static_file_too}</label>
|
||||
|
||||
<br><br>
|
||||
<input type="submit" value="Export">
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
166
winixd/html/fun_gallery.html
Normal file
166
winixd/html/fun_gallery.html
Normal file
@@ -0,0 +1,166 @@
|
||||
<div class="winix">
|
||||
|
||||
[if mount_page_arg_is "subject"][if mount_page_arg_is "info"]<h1 class="withinfo">[else]<h1>[end][dir_last_subject]</h1>[end]
|
||||
[if mount_page_arg_is "info"][include "dir_last_info.html"][end]
|
||||
|
||||
|
||||
[if one gallery_has_not_mount_type [gallery_mount_type_arg_is "lightbox"]]
|
||||
|
||||
[if gallery_tab]
|
||||
<ul class="galleryimages">
|
||||
[for gallery_tab]
|
||||
<li><a rel="lightbox\[gallery\]" href="[gallery_tab_link]"><img src="[gallery_tab_link]/-/thumb" alt="[gallery_tab_subject]"></a></li>
|
||||
[end]
|
||||
</ul>
|
||||
[end]
|
||||
|
||||
[end]
|
||||
|
||||
|
||||
[if gallery_mount_type_arg_is "galleria"]
|
||||
|
||||
[if gallery_tab]
|
||||
<ul class="galleryimages" style="width: [gallery_width]; height: [gallery_height];">
|
||||
[for gallery_tab]
|
||||
<li><a href="[gallery_tab_link]"><img src="[gallery_tab_link]/-/thumb" alt="[gallery_tab_subject]"></a></li>
|
||||
[end]
|
||||
</ul>
|
||||
|
||||
[if gallery_mount_theme_arg_is "transparent"]
|
||||
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/aino-galleria/themes/transparent/galleria.transparent.js');</script>
|
||||
[else]
|
||||
[if gallery_mount_theme_arg_is "white"]
|
||||
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/aino-galleria/themes/white/galleria.white.js');</script>
|
||||
[else]
|
||||
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/aino-galleria/themes/classic/galleria.classic.js');</script>
|
||||
[end]
|
||||
[end]
|
||||
|
||||
[if not [winix_function_param_is "image"]]
|
||||
<script type="text/javascript">$('.galleryimages').galleria();</script>
|
||||
[else]
|
||||
[# !! IMPROVE ME add this javascript code to the rest of galleria types]
|
||||
<script type="text/javascript">var url = window.document.URL.toString(); var num = 0; var re = /\/image:(\d+)/; var numarr = re.exec(url); if( numarr && numarr.length == 2 ) \{var num = numarr\[1\];\}; $('.galleryimages').galleria(\{show: num\});</script>
|
||||
[end]
|
||||
[end]
|
||||
|
||||
[end]
|
||||
|
||||
|
||||
[if gallery_mount_type_arg_is "galleria1.2.9"]
|
||||
|
||||
[if gallery_tab]
|
||||
|
||||
<ul class="galleryimages" style="width: [gallery_width]; height: [gallery_height];">
|
||||
[for gallery_tab]
|
||||
<li><a href="[gallery_tab_link]"><img src="[gallery_tab_link]/-/thumb" alt="[gallery_tab_subject]"></a></li>
|
||||
[end]
|
||||
</ul>
|
||||
|
||||
|
||||
[if gallery_mount_theme_arg_is "transparent"]
|
||||
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/galleria/themes/transparent/galleria.transparent.js');</script>
|
||||
|
||||
[if not [winix_function_param_is "image"]]
|
||||
<script type="text/javascript">Galleria.configure(\{showInfo:false\}); Galleria.run('.galleryimages');</script>
|
||||
[else]
|
||||
<script type="text/javascript">Galleria.configure(\{showInfo:false, show: [winix_function_param_value "image"]\}); Galleria.run('.galleryimages');</script>
|
||||
[end]
|
||||
|
||||
[else]
|
||||
[if gallery_mount_theme_arg_is "transparentinfo"]
|
||||
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/galleria/themes/transparentinfo/galleria.transparent.js');</script>
|
||||
|
||||
[if not [winix_function_param_is "image"]]
|
||||
<script type="text/javascript">Galleria.configure(\{\}); Galleria.run('.galleryimages');</script>
|
||||
[else]
|
||||
<script type="text/javascript">Galleria.configure(\{show: [winix_function_param_value "image"]\}); Galleria.run('.galleryimages');</script>
|
||||
[end]
|
||||
[else]
|
||||
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/galleria/themes/classic/galleria.classic.js');</script>
|
||||
|
||||
[if not [winix_function_param_is "image"]]
|
||||
<script type="text/javascript">Galleria.configure(\{\}); Galleria.run('.galleryimages');</script>
|
||||
[else]
|
||||
<script type="text/javascript">Galleria.configure(\{show: [winix_function_param_value "image"]\}); Galleria.run('.galleryimages');</script>
|
||||
[end]
|
||||
[end]
|
||||
[end]
|
||||
|
||||
[end]
|
||||
|
||||
[end]
|
||||
|
||||
|
||||
[if gallery_mount_type_arg_is "galleriathumb"]
|
||||
|
||||
[if not [winix_function_param_is "image"]]
|
||||
[if gallery_tab]
|
||||
<ul class="galleryimages">
|
||||
[for gallery_tab]
|
||||
<li><a href="[doc_base_url][dir]-/image:[gallery_tab_index]"><img src="[gallery_tab_link]/-/thumb" alt="[gallery_tab_subject]"></a></li>
|
||||
[end]
|
||||
</ul>
|
||||
[end]
|
||||
[else]
|
||||
[if gallery_tab]
|
||||
<ul class="galleryimages" style="width: [gallery_width]; height: [gallery_height];">
|
||||
[for gallery_tab]
|
||||
<li><a href="[gallery_tab_link]"><img src="[gallery_tab_link]/-/thumb" alt="[gallery_tab_subject]"></a></li>
|
||||
[end]
|
||||
</ul>
|
||||
|
||||
[if gallery_mount_theme_arg_is "white"]
|
||||
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/aino-galleria/themes/white/galleria.white.js');</script>
|
||||
[else]
|
||||
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/aino-galleria/themes/classic/galleria.classic.js');</script>
|
||||
[end]
|
||||
|
||||
<script type="text/javascript">$('.galleryimages').galleria(\{show_info:false, show: [winix_function_param_value "image"]\});</script>
|
||||
|
||||
[end]
|
||||
[end]
|
||||
|
||||
[end]
|
||||
|
||||
|
||||
|
||||
[if gallery_mount_type_arg_is "galleriathumb1.2.9"]
|
||||
|
||||
|
||||
[if not [winix_function_param_is "image"]]
|
||||
[if gallery_tab]
|
||||
<ul class="galleryimages">
|
||||
[for gallery_tab]
|
||||
<li><a href="[doc_base_url][dir]-/image:[gallery_tab_index]"><img src="[gallery_tab_link]/-/thumb" alt="[gallery_tab_subject]"></a></li>
|
||||
[end]
|
||||
</ul>
|
||||
[end]
|
||||
[else]
|
||||
|
||||
[if gallery_tab]
|
||||
|
||||
<ul class="galleryimages" style="width: [gallery_width]; height: [gallery_height];">
|
||||
[for gallery_tab]
|
||||
<li><a href="[gallery_tab_link]"><img src="[gallery_tab_link]/-/thumb" alt="[gallery_tab_subject]"></a></li>
|
||||
[end]
|
||||
</ul>
|
||||
|
||||
[if gallery_mount_theme_arg_is "transparent"]
|
||||
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/galleria/themes/transparent/galleria.transparent.js');</script>
|
||||
<script type="text/javascript">Galleria.configure(\{showInfo:false, show: [winix_function_param_value "image"]\}); Galleria.run('.galleryimages');</script>
|
||||
[else]
|
||||
[if gallery_mount_theme_arg_is "transparentinfo"]
|
||||
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/galleria/themes/transparentinfo/galleria.transparent.js');</script>
|
||||
<script type="text/javascript">Galleria.configure(\{show: [winix_function_param_value "image"]\}); Galleria.run('.galleryimages');</script>
|
||||
[end]
|
||||
[end]
|
||||
|
||||
[end]
|
||||
|
||||
[end]
|
||||
|
||||
[end]
|
||||
|
||||
|
||||
</div>
|
||||
109
winixd/html/fun_imgcrop.html
Normal file
109
winixd/html/fun_imgcrop.html
Normal file
@@ -0,0 +1,109 @@
|
||||
<div class="winix">
|
||||
|
||||
|
||||
<h1>Kadrowanie obrazów</h1>
|
||||
|
||||
[if item_is]
|
||||
|
||||
[if winix_function_param_is "thumb"]
|
||||
<p>Kadruj miniaturę zdjęcia, obraz oryginalny (duży) nie zostanie zmodyfikowany.</p>.
|
||||
[else]
|
||||
[if winix_function_param_is "newthumb"]
|
||||
<p>Zaznacz myszką kadr na zdjęciu, z tej części zostanie stworzona nowa miniatura, obraz oryginalny (duży) nie zostanie zmodyfikowany.</p>.
|
||||
[else]
|
||||
<p>Kadruj oryginalny obraz (miniatura nie zostanie zmodyfikowana).</p>.
|
||||
[end]
|
||||
[end]
|
||||
|
||||
[if any item_is item_filetype_is_image]
|
||||
|
||||
<script type="text/javascript">
|
||||
var winix_jcrop;
|
||||
</script>
|
||||
|
||||
<img src="[item_link][if winix_function_param_is "thumb"]/-/thumb[end]" alt="" id="winix_imgcropper">
|
||||
|
||||
<form id="winix_cropform" action="[item_link]/imgcrop[if winix_function_param_is "thumb"]/thumb[end][if winix_function_param_is "newthumb"]/newthumb[end]" method="post">
|
||||
<input type="hidden" name="cropxtop" value="" id="winix_idcropxtop">
|
||||
<input type="hidden" name="cropytop" value="" id="winix_idcropytop">
|
||||
<input type="hidden" name="cropwidth" value="" id="winix_idcropwidth">
|
||||
<input type="hidden" name="cropheight" value="" id="winix_idcropheight">
|
||||
|
||||
[if any_not [winix_function_param_is "thumb"] [winix_function_param_is "newthumb"]]
|
||||
|
||||
[if false]
|
||||
<div class="winix_input_b">
|
||||
<input type="checkbox" name="createthumbtoo" id="winix_createthumbtooid">
|
||||
<label for="winix_createthumbtooid">Stwórz także nową miniaturę</label>
|
||||
</div>
|
||||
[end]
|
||||
|
||||
[end]
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
<input type="submit" value="Kadruj">
|
||||
</form>
|
||||
|
||||
|
||||
[else]
|
||||
<p>To nie jest obrazek.</p>
|
||||
[end]
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
$('#winix_imgcropper').Jcrop(\{boxWidth: 700, boxHeight: 450\}, function()\{winix_jcrop = this;\});
|
||||
|
||||
$('form#winix_cropform').submit(function()\{
|
||||
var c = winix_jcrop.tellSelect();
|
||||
$('form#winix_cropform input#winix_idcropxtop').val(c.x);
|
||||
$('form#winix_cropform input#winix_idcropytop').val(c.y);
|
||||
$('form#winix_cropform input#winix_idcropwidth').val(c.w);
|
||||
$('form#winix_cropform input#winix_idcropheight').val(c.h);
|
||||
|
||||
return c.w != 0 && c.h != 0;
|
||||
\});
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
[else]
|
||||
|
||||
[if item_tab]
|
||||
<ul class="winix_imgcrop_list">
|
||||
[for item_tab]
|
||||
|
||||
<li>
|
||||
|
||||
<div class="winix_imgcrop_list_image">
|
||||
<img src="[item_tab_link][if item_tab_has_thumb]/-/thumb[end]" alt="[item_tab_subject]">
|
||||
</div>
|
||||
|
||||
<div class="winix_imgcrop_list_imageurl">
|
||||
[item_tab_url]
|
||||
</div>
|
||||
|
||||
<div class="winix_imgcrop_list_options">
|
||||
|
||||
<ul>
|
||||
<li><a href="[item_tab_link]/imgcrop/postredirect:[filter fil_urlencode][doc_base_url][dir]imgcrop[end]">Kadruj zdjęcie</a></li>
|
||||
<li><a href="[item_tab_link]/imgcrop/thumb/postredirect:[filter fil_urlencode][doc_base_url][dir]imgcrop[end]">Kadruj miniature</a></li>
|
||||
<li><a href="[item_tab_link]/imgcrop/newthumb/postredirect:[filter fil_urlencode][doc_base_url][dir]imgcrop[end]">Kadruj i stwórz nową miniature</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
[end]
|
||||
</ul>
|
||||
[end]
|
||||
|
||||
|
||||
[end]
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
53
winixd/html/fun_ipban.html
Normal file
53
winixd/html/fun_ipban.html
Normal file
@@ -0,0 +1,53 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{ipban_header}</h1>
|
||||
|
||||
[if ipban_tab]
|
||||
|
||||
<table class="ipban_table">
|
||||
|
||||
<tr>
|
||||
<th>{ipban_col_id}</th>
|
||||
<th>{ipban_col_ip_address}</th>
|
||||
<th>{ipban_col_login_failures}</th>
|
||||
<th>{ipban_col_broken_cookie}</th>
|
||||
<th>{ipban_session_hijacking}</th>
|
||||
<th>{ipban_no_session_cookie}</th>
|
||||
<th>{ipban_col_login_allowed}</th>
|
||||
<th>{ipban_col_ban_level}</th>
|
||||
<th>{ipban_col_active_flag}</th>
|
||||
<th>{ipban_col_last_used}</th>
|
||||
<th>{ipban_col_expires}</th>
|
||||
<th>{ipban_col_remove}</th>
|
||||
</tr>
|
||||
|
||||
[for ipban_tab]
|
||||
|
||||
<tr>
|
||||
<td>[ipban_tab_id]</td>
|
||||
<td>[ipban_tab_ip]</td>
|
||||
<td>[ipban_tab_incorrect_login]</td>
|
||||
<td>[ipban_tab_broken_encoded_cookie]</td>
|
||||
<td>[ipban_tab_session_hijacking]</td>
|
||||
<td>[ipban_tab_no_session_cookie]</td>
|
||||
<td>[if ipban_tab_is_logging_allowed]{ipban_loggin_allowed}[else]{ipban_loggin_not_allowed}[end]</td>
|
||||
<td>[ipban_tab_ban_level]</td>
|
||||
<td>[if ipban_tab_has_active_flag]{ipban_has_active_flag}[end]</td>
|
||||
<td>[ipban_tab_last_used]</td>
|
||||
<td>[ipban_tab_expires]</td>
|
||||
<td><a href="[doc_base_url][dir][if item_is][item_url]/[end]ipban/removeip:[ipban_tab_ip]">{ipban_remove_ip}</a></td>
|
||||
</tr>
|
||||
|
||||
[end]
|
||||
</table>
|
||||
|
||||
<p>
|
||||
<a href="[doc_base_url][dir][if item_is][item_url]/[end]ipban/removeip:all">{ipban_remove_all_ip}</a>
|
||||
</p>
|
||||
|
||||
[else]
|
||||
<p>{ipban_ban_list_empty}</p>
|
||||
[end]
|
||||
|
||||
</div>
|
||||
|
||||
17
winixd/html/fun_last.html
Normal file
17
winixd/html/fun_last.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1 class="simple">{last_header}</h1>
|
||||
|
||||
[if last_tab]
|
||||
<table>
|
||||
<tr><th>{last_tab_login}</th><th>{last_tab_ip}</th><th>{last_tab_login_date}</th><th>{last_tab_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>{last_none}</p>
|
||||
[end]
|
||||
|
||||
|
||||
</div>
|
||||
38
winixd/html/fun_ln.html
Normal file
38
winixd/html/fun_ln.html
Normal file
@@ -0,0 +1,38 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{ln_header}</h1>
|
||||
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir]ln">
|
||||
<fieldset>
|
||||
<legend>{form_ln_legend}</legend>
|
||||
|
||||
<p>{ln_info}: [dir]</p>
|
||||
|
||||
<p class="withnext">{suggested_url}</p>
|
||||
<input class="edit" type="text" name="url" value="">
|
||||
|
||||
<p class="withnext">{ln_to}</p>
|
||||
<input class="edit" type="text" name="linkto" value="[dir][if item_is][item_url][end]">
|
||||
|
||||
<p>
|
||||
<label><input id="radiohard" type="radio" name="linktype" checked="checked" value="0">{ln_hardlink}</label>
|
||||
<label><input id="radiosymb" type="radio" name="linktype" value="1">{ln_symlink}</label>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<label><input class="" type="checkbox" name="makeredirect">{ln_make_redirect}</label>
|
||||
</p>
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
|
||||
<input class="submit" type="submit" value="{change}">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
36
winixd/html/fun_locale.html
Normal file
36
winixd/html/fun_locale.html
Normal file
@@ -0,0 +1,36 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{locale_header}</h1>
|
||||
|
||||
[if user_has_correct_locale]
|
||||
<p>{locale_your_locale}: [user_locale_name]</p>
|
||||
[else]
|
||||
<p>{locale_has_incorrect_id}</p>
|
||||
[end]
|
||||
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]locale">
|
||||
<fieldset>
|
||||
<legend>{locale_form_legend}</legend>
|
||||
|
||||
<p class="withnext">{locale_select}:</p>
|
||||
|
||||
[# add to styles]
|
||||
<select name="localeid" style="width: 250px;">
|
||||
[for winix_locale_tab]
|
||||
<option value="[winix_locale_tab_id]" [if cmp user_locale_id winix_locale_tab_id]selected="selected"[end]>[winix_locale_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
|
||||
<input class="submit" type="submit" value="{change}">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
51
winixd/html/fun_login.html
Normal file
51
winixd/html/fun_login.html
Normal file
@@ -0,0 +1,51 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{login_header}</h1>
|
||||
|
||||
[if user_logged]
|
||||
<p>{logged_as_long}: [user_name]<br>
|
||||
<a href="[doc_base_url][if dir_can_read_exec][dir][if any item_is item_can_read][item_url]/[end][else]/[end]logout">{logout}</a></p>
|
||||
[else]
|
||||
|
||||
[if not ipban_is_login_allowed_from_this_ip]
|
||||
<p>{login_cannot_login_from_this_ip}<br>
|
||||
{login_cannot_login_available} [ipban_current_ip_expires_time]</p>
|
||||
[else]
|
||||
|
||||
<form method="post" action="[login_path]login">
|
||||
|
||||
<div class="winix_input_b">
|
||||
<input type="text" name="login">
|
||||
</div>
|
||||
|
||||
<div class="winix_input_b">
|
||||
<input type="password" name="password">
|
||||
</div>
|
||||
|
||||
<div class="winix_input_b">
|
||||
<input id="winix_login_rememberme_id" type="checkbox" name="rememberme">
|
||||
<label for="winix_login_rememberme_id">{remember_me}</label>
|
||||
</div>
|
||||
|
||||
[if login_should_use_captcha]
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_rebus_id">{rebus_how_is_it} [rebus_question]?</label>
|
||||
<input id="winix_rebus_id" type="text" name="rebus">
|
||||
</div>
|
||||
[end]
|
||||
|
||||
<input type="submit" value="{button_login}">
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
[end]
|
||||
|
||||
[end]
|
||||
|
||||
|
||||
</div>
|
||||
137
winixd/html/fun_ls.html
Normal file
137
winixd/html/fun_ls.html
Normal file
@@ -0,0 +1,137 @@
|
||||
<div class="winix">
|
||||
|
||||
|
||||
|
||||
[if winix_function_param_is "ckeditor_browse"]
|
||||
<script type="text/javascript">function select(link) \{ window.opener.CKEDITOR.tools.callFunction([ls_ckeditor_funnum_browse], link); window.close(); \} </script>
|
||||
|
||||
<div id="winix_ls_browse_leftcolumn">
|
||||
|
||||
[if dir_childs_tab "with_parent"]
|
||||
<h2>[for dir_tab]<a href="[doc_base_url][dir_tab_link]ls/ckeditor_browse/fullscreen/CKEditor:itemcontent/CKEditorFuncNum:[ls_ckeditor_funnum_browse]">[dir_tab_url]/</a>[end]</h2>
|
||||
|
||||
<ul>
|
||||
[for dir_childs_tab "with_parent"]
|
||||
<li>
|
||||
[if dir_childs_is_parent]
|
||||
[# make sure the name of the textarea in fun_ckeditor.html is called: itemcontent]
|
||||
[# is it needed?]
|
||||
<a href="[doc_base_url][dir_parent]ls/ckeditor_browse/fullscreen/CKEditor:itemcontent/CKEditorFuncNum:[ls_ckeditor_funnum_browse]">../</a>
|
||||
[else]
|
||||
<a href="[doc_base_url][dir][dir_childs_tab_url]/ls/ckeditor_browse/fullscreen/CKEditor:itemcontent/CKEditorFuncNum:[ls_ckeditor_funnum_browse]">[dir_childs_tab_url]/</a>
|
||||
[end]
|
||||
</li>
|
||||
[end]
|
||||
</ul>
|
||||
[end]
|
||||
|
||||
</div>
|
||||
|
||||
<div id="winix_ls_browse_rightcolumn">
|
||||
|
||||
[if item_tab]
|
||||
|
||||
<h2>{ls_pictures_in_dir} [dir]</h2>
|
||||
<ul>
|
||||
|
||||
[for item_tab]
|
||||
<li><a href="javascript:select('[item_tab_link]')"><img src="[item_tab_link]/-/thumb" alt="[item_tab_subject]" height="120"></a></li>
|
||||
[end]
|
||||
|
||||
</ul>
|
||||
[else]
|
||||
<h2>{ls_no_picture}</h2>
|
||||
[end]
|
||||
|
||||
</div>
|
||||
|
||||
[else]
|
||||
|
||||
<h1>{ls_header}</h1>
|
||||
|
||||
[if not item_is]
|
||||
|
||||
[if winix_function_param_is "l"]
|
||||
|
||||
[# loading dir childs table with a parent directory]
|
||||
[# now the parameter can be passed directly to if-one]
|
||||
[dir_childs_tab "with_parent"]
|
||||
|
||||
[if one dir_childs_tab item_tab]
|
||||
|
||||
<table>
|
||||
[for dir_childs_tab]
|
||||
<tr>
|
||||
<td>d</td>
|
||||
<td>[dir_childs_tab_privileges]</td>
|
||||
<td>[dir_childs_tab_user]</td>
|
||||
<td>[dir_childs_tab_group]</td>
|
||||
<td>
|
||||
[if dir_childs_is_parent]
|
||||
<a href="[doc_base_url][dir_parent_without_slash][if winix_function_param_is "dirls"]/ls/l/dirls[end]">../</a>
|
||||
[else]
|
||||
<a href="[doc_base_url][dir][dir_childs_tab_url][if winix_function_param_is "dirls"]/ls/l/dirls[end]">[dir_childs_tab_url]/</a>
|
||||
[end]
|
||||
</td>
|
||||
</tr>
|
||||
[end]
|
||||
|
||||
[for item_tab]
|
||||
<tr>
|
||||
<td>[if item_tab_type_is_symlink]l[else][if item_tab_has_static_file]s[else]-[end][end]</td>
|
||||
<td>[item_tab_privileges]</td>
|
||||
<td>[item_tab_user]</td>
|
||||
<td>[item_tab_group]</td>
|
||||
<td><a href="[doc_base_url][dir][item_tab_url]">[item_tab_url]</a>[if item_tab_type_is_symlink] -> [item_tab_link_to][end]</td>
|
||||
</tr>
|
||||
[end]
|
||||
</table>
|
||||
|
||||
[end]
|
||||
|
||||
[else]
|
||||
|
||||
[# loading dir childs table with a parent directory]
|
||||
[dir_childs_tab "with_parent"]
|
||||
|
||||
[if dir_childs_tab]
|
||||
<ul>
|
||||
[for dir_childs_tab]
|
||||
<li>
|
||||
[if dir_childs_is_parent]
|
||||
<a href="[doc_base_url][dir_parent_without_slash][if winix_function_param_is "dirls"]/ls/dirls[end]">../</a>
|
||||
[else]
|
||||
<a href="[doc_base_url][dir][dir_childs_tab_url][if winix_function_param_is "dirls"]/ls/dirls[end]">[dir_childs_tab_url]/</a>
|
||||
[end]
|
||||
</li>
|
||||
[end]
|
||||
</ul>
|
||||
[end]
|
||||
|
||||
[if item_tab]
|
||||
<ul>
|
||||
[for item_tab]
|
||||
<li><a href="[doc_base_url][dir][item_tab_url]">[item_tab_url]</a></li>
|
||||
[end]
|
||||
</ul>
|
||||
[end]
|
||||
|
||||
[end]
|
||||
|
||||
[else]
|
||||
|
||||
<ul>
|
||||
<li><a href="[doc_base_url][dir][item_url]">[item_url]</a></li>
|
||||
</ul>
|
||||
|
||||
[end]
|
||||
|
||||
|
||||
|
||||
[end]
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
32
winixd/html/fun_man.html
Normal file
32
winixd/html/fun_man.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{man_header}</h1>
|
||||
|
||||
<h2>{man_winix_funcions}</h2>
|
||||
|
||||
<table>
|
||||
|
||||
[for man_winixfun_tab]
|
||||
<tr>
|
||||
<td>[man_winixfun_tab_index]</td>
|
||||
<td>[man_winixfun_tab_name]</td>
|
||||
</tr>
|
||||
[end]
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
<h2>{man_ezc_functions}</h2>
|
||||
|
||||
<table>
|
||||
|
||||
[for man_ezcfun_tab]
|
||||
<tr>
|
||||
<td>[man_ezcfun_tab_index]</td>
|
||||
<td>[man_ezcfun_tab_name]</td>
|
||||
</tr>
|
||||
[end]
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
62
winixd/html/fun_meta.html
Normal file
62
winixd/html/fun_meta.html
Normal file
@@ -0,0 +1,62 @@
|
||||
<div class="winix">
|
||||
|
||||
[if winix_function_param_is "a"]
|
||||
<h1>{meta_admin_header}</h1>
|
||||
|
||||
[if item_is]
|
||||
<form method="post" action="[doc_base_url][dir][item_url]/meta/a">
|
||||
|
||||
<textarea class="multitext" rows="30" cols="60" name="itemmeta">[item_admin_meta_str]</textarea>
|
||||
<input class="submit" type="submit" value="{change}">
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
</form>
|
||||
[else]
|
||||
<form method="post" action="[doc_base_url][dir]meta/a">
|
||||
|
||||
<textarea class="multitext" rows="30" cols="60" name="itemmeta">[dir_last_admin_meta_str]</textarea>
|
||||
<input class="submit" type="submit" value="{change}">
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
</form>
|
||||
[end]
|
||||
|
||||
|
||||
[else]
|
||||
|
||||
<h1>{meta_header}</h1>
|
||||
|
||||
[if item_is]
|
||||
<form method="post" action="[doc_base_url][dir][item_url]/meta">
|
||||
|
||||
<textarea class="multitext" rows="30" cols="60" name="itemmeta">[item_meta_str]</textarea>
|
||||
<input class="submit" type="submit" value="{change}">
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
</form>
|
||||
[else]
|
||||
<form method="post" action="[doc_base_url][dir]meta">
|
||||
|
||||
<textarea class="multitext" rows="30" cols="60" name="itemmeta">[dir_last_meta_str]</textarea>
|
||||
<input class="submit" type="submit" value="{change}">
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
</form>
|
||||
[end]
|
||||
|
||||
[end]
|
||||
|
||||
|
||||
</div>
|
||||
25
winixd/html/fun_mkdir.html
Normal file
25
winixd/html/fun_mkdir.html
Normal file
@@ -0,0 +1,25 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{mkdir_header}</h1>
|
||||
|
||||
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir]mkdir">
|
||||
<fieldset>
|
||||
<legend>{mkdir_form_legend}</legend>
|
||||
<p class="withnext">{title}</p>
|
||||
<input class="edit" type="text" name="subject" value="">
|
||||
<p class="withnext">{suggested_url}</p>
|
||||
<input class="edit" type="text" name="url" value="">
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
<input class="submit" type="submit" value="{add}">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
55
winixd/html/fun_mount.html
Normal file
55
winixd/html/fun_mount.html
Normal file
@@ -0,0 +1,55 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{mount_header}</h1>
|
||||
|
||||
|
||||
<h2>{mount_current}:</h2>
|
||||
|
||||
<table class="winix_mountpoints">
|
||||
<tr>
|
||||
<th>{mount_type}</th>
|
||||
<th>{mount_dir}</th>
|
||||
<th>{mount_fs}</th>
|
||||
<th>{mount_parameters}</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>[mount_cur_type]</td>
|
||||
<td>[mount_cur_dir]</td>
|
||||
<td>[mount_cur_fs]</td>
|
||||
<td>[mount_cur_parlist]</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>{mount_table}:</h2>
|
||||
|
||||
[if mount_tab]
|
||||
<table class="winix_mountpoints">
|
||||
|
||||
<tr>
|
||||
<th>{mount_type}</th>
|
||||
<th>{mount_dir}</th>
|
||||
<th>{mount_fs}</th>
|
||||
<th>{mount_parameters}</th>
|
||||
</tr>
|
||||
|
||||
[for mount_tab]
|
||||
|
||||
<tr>
|
||||
<td>[mount_tab_type]</td>
|
||||
<td>[mount_tab_dir]</td>
|
||||
<td>[mount_tab_fs]</td>
|
||||
<td>[mount_tab_parlist]</td>
|
||||
</tr>
|
||||
|
||||
[end]
|
||||
|
||||
</table>
|
||||
[end]
|
||||
|
||||
|
||||
</div>
|
||||
33
winixd/html/fun_mv.html
Normal file
33
winixd/html/fun_mv.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{mv_header}</h1>
|
||||
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]mv">
|
||||
<fieldset>
|
||||
<legend>{mv_form_legend}</legend>
|
||||
|
||||
<p>
|
||||
[if item_is]{mv_page} [item_url]:[else]{mv_dir} [dir][end]
|
||||
</p>
|
||||
|
||||
|
||||
<p class="withnext">{suggested_url}</p>
|
||||
<input class="edit" type="text" name="dst_path" value="[dir_without_slash][if item_is]/[item_url][end]">
|
||||
|
||||
|
||||
[if not item_is]
|
||||
<label><input type="checkbox" name="c"[if winix_function_param_is "c"]checked="checked"[end]>{mv_only_content}</label>
|
||||
[end]
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
<input class="submit" type="submit" value="{move}">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
62
winixd/html/fun_nicedit.html
Normal file
62
winixd/html/fun_nicedit.html
Normal file
@@ -0,0 +1,62 @@
|
||||
<div class="winix">
|
||||
|
||||
[if item_is]<h1>{edit}</h1>[else]<h1>{add}</h1>[end]
|
||||
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]nicedit">
|
||||
<fieldset>
|
||||
<legend>{form_emacs_legend}</legend>
|
||||
|
||||
[if mount_type_is "cms"]
|
||||
<p class="withnext">{title}:</p>
|
||||
<input class="edit" type="text" name="subject" value="[item_subject]">
|
||||
|
||||
<p class="withnext">{suggested_url}:</p>
|
||||
<input class="edit" type="text" name="url" value="[item_url]">
|
||||
[end]
|
||||
|
||||
[if any [mount_type_is "thread"] [thread_mount_arg_is "subject"]]
|
||||
<p class="withnext">{title}:</p>
|
||||
<input class="edit" type="text" name="subject" value="[item_subject]">
|
||||
|
||||
<p class="withnext">{suggested_url}:</p>
|
||||
<input class="edit" type="text" name="url" value="[item_url]">
|
||||
[end]
|
||||
|
||||
[if mount_type_is "cms"]<p class="withnext">{form_emacs_content_cms}</p>[end]
|
||||
[if mount_type_is "thread"]<p class="withnext">{form_emacs_content_thread}</p>[end]
|
||||
[if mount_type_is "ticket"]<p class="withnext">{form_emacs_content_ticket}</p>[end]
|
||||
|
||||
<textarea class="multitext" rows="[if mount_type_is "cms"]30[else]10[end]" cols="60" name="itemcontent" id="nicarea">[item_content]</textarea>
|
||||
|
||||
<input type="hidden" name="contenttype" value="2">
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
new nicEditor(\{fullPanel:true, iconsPath:'[doc_base_url_common]/nicedit/nicEditorIcons.gif', uploadURI:'[doc_base_url][dir]upload/' \}).panelInstance('nicarea');
|
||||
</script>
|
||||
|
||||
[if winix_function_param_is "full"]
|
||||
|
||||
[else]
|
||||
|
||||
[end]
|
||||
|
||||
[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">
|
||||
[end]
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
<input class="submit" type="submit" value="[if item_is]{change}[else]{add}[end]">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
71
winixd/html/fun_passwd.html
Normal file
71
winixd/html/fun_passwd.html
Normal file
@@ -0,0 +1,71 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{passwd_header}</h1>
|
||||
|
||||
|
||||
[if winix_function_param_is "resetpassword"]
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir]passwd/resetpassword">
|
||||
<fieldset>
|
||||
<legend>{passwd_form_legend}</legend>
|
||||
|
||||
<input type="hidden" name="login" value="[passwd_resetpass_login]">
|
||||
<input type="hidden" name="code" value="[passwd_resetpass_code]">
|
||||
|
||||
<p class="withnext">{passwd_new_password}:</p>
|
||||
<input class="edit" type="password" name="passwordnew" value="">
|
||||
|
||||
<p class="withnext">{passwd_confirm_new_password}:</p>
|
||||
<input class="edit" type="password" name="passwordconfirm" value="">
|
||||
|
||||
<input class="submit" type="submit" value="{passwd_submit}">
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
[else]
|
||||
|
||||
<form method="post" action="[doc_base_url][dir]passwd">
|
||||
|
||||
[if user_super_user]
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_users_id">{passwd_login}:</label>
|
||||
<select name="login" id="winix_users_id">
|
||||
[for user_tab]
|
||||
<option [if user_tab_is_current]selected[end]>[user_tab_name]</option>
|
||||
[end]
|
||||
</div>
|
||||
</select>
|
||||
[else]
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_current_pass_id">{passwd_current_password}:</label>
|
||||
<input id="winix_current_pass_id" type="password" name="passwordcur" value="">
|
||||
</div>
|
||||
[end]
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_pass_new_id">{passwd_new_password}:</label>
|
||||
<input id="winix_pass_new_id" type="password" name="passwordnew" value="">
|
||||
</div>
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_pass_new_confirm_id">{passwd_confirm_new_password}:</label>
|
||||
<input id="winix_pass_new_confirm_id" type="password" name="passwordconfirm" value="">
|
||||
</div>
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
<input type="submit" value="{passwd_submit}">
|
||||
|
||||
</form>
|
||||
|
||||
[end]
|
||||
|
||||
</div>
|
||||
|
||||
131
winixd/html/fun_priv.html
Normal file
131
winixd/html/fun_priv.html
Normal file
@@ -0,0 +1,131 @@
|
||||
<div class="winix">
|
||||
|
||||
[# this template is for following functions: priv, chmod, chown]
|
||||
|
||||
|
||||
<h1>{priv_header}</h1>
|
||||
|
||||
|
||||
|
||||
[if not [winix_function_param_is "r"]]
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end][winix_function]">
|
||||
<fieldset>
|
||||
<legend>{priv_form_legend}</legend>
|
||||
|
||||
<table class="withoutborder">
|
||||
|
||||
[if priv_show_form_chown]
|
||||
|
||||
<tr><th>{user}:</th><td>
|
||||
<select name="user" class="users">
|
||||
[for priv_user_tab]
|
||||
<option[if priv_user_tab_isdefault] selected[end]>[priv_user_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
</td></tr>
|
||||
|
||||
<tr><th>{group}: </th><td>
|
||||
<select name="group" class="groups">
|
||||
[for priv_group_tab]
|
||||
<option[if priv_group_tab_isdefault] selected[end]>[priv_group_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
</td></tr>
|
||||
|
||||
[end]
|
||||
|
||||
[if priv_show_form_chmod]
|
||||
<tr><th>{permissions}:</th><td><input class="privileges" type="text" name="privileges" value="[priv_privileges]"></td></tr>
|
||||
[end]
|
||||
|
||||
</table>
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
<input class="submit" type="submit" value="{change}">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
[else]
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir][winix_function]/r">
|
||||
<fieldset>
|
||||
<legend>{priv_form_legend}</legend>
|
||||
<p class="withnext">{priv_change_in_dir}: [dir]</p>
|
||||
|
||||
<h2>{priv_for_all_files}:</h2>
|
||||
<table class="withoutborder">
|
||||
|
||||
[if priv_show_form_chown]
|
||||
<tr><th>{user}:</th><td>
|
||||
<select name="userfile" class="users">
|
||||
[for priv_user_tab]
|
||||
<option[if priv_user_tab_isdefault] selected[end]>[priv_user_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
</td></tr>
|
||||
|
||||
<tr><th>{group}: </th><td>
|
||||
<select name="groupfile" class="groups">
|
||||
[for priv_group_tab]
|
||||
<option[if priv_group_tab_isdefault] selected[end]>[priv_group_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
</td></tr>
|
||||
[end]
|
||||
|
||||
[if priv_show_form_chmod]
|
||||
<tr><th>{permissions}:</th><td><input class="privileges" type="text" name="privilegesfile" value="[priv_privileges_for_files]"></td></tr>
|
||||
[end]
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
<h2>{priv_for_all_dirs}:</h2>
|
||||
<table class="withoutborder">
|
||||
|
||||
[if priv_show_form_chown]
|
||||
<tr><th>{user}:</th><td>
|
||||
<select name="userdir" class="users">
|
||||
[for priv_user_tab]
|
||||
<option[if priv_user_tab_isdefault] selected[end]>[priv_user_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
</td></tr>
|
||||
|
||||
<tr><th>{group}: </th><td>
|
||||
<select name="groupdir" class="groups">
|
||||
[for priv_group_tab]
|
||||
<option[if priv_group_tab_isdefault] selected[end]>[priv_group_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
</td></tr>
|
||||
[end]
|
||||
|
||||
[if priv_show_form_chmod]
|
||||
<tr><th>{permissions}:</th><td><input class="privileges" type="text" name="privilegesdir" value="[priv_privileges_for_dirs]"></td></tr>
|
||||
[end]
|
||||
|
||||
|
||||
</table>
|
||||
|
||||
<label><input class="check" type="checkbox" name="changesubdirs">{priv_change_all}</label>
|
||||
<label><input class="check" type="checkbox" name="changecurrentdir">{priv_change_current_dir}: [dir_without_slash]</label>
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
<input class="submit" type="submit" value="{change}">
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
[end]
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
31
winixd/html/fun_pw.html
Normal file
31
winixd/html/fun_pw.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>Pw</h1>
|
||||
|
||||
[if user_tab]
|
||||
<table class="tablec">
|
||||
<tr>
|
||||
<th>{pw_table_no}</th>
|
||||
<th>{pw_table_login}</th>
|
||||
<th>{pw_table_is_root}</th>
|
||||
<th>{pw_table_is_active}</th>
|
||||
<th>{pw_table_is_suspended}</th>
|
||||
<th>{pw_table_is_banned}</th>
|
||||
</tr>
|
||||
|
||||
[for user_tab]
|
||||
<tr class="[if index "odd"]roweven[else]rowodd[end]">
|
||||
<td>[user_tab_index]</td>
|
||||
<td>[user_tab_name]</td>
|
||||
<td>[if user_tab_is_super_user]{pw_table_yes}[end]</td>
|
||||
<td>[if user_tab_is_active]{pw_table_yes}[end]</td>
|
||||
<td>[if user_tab_is_suspended]{pw_table_yes}[end]</td>
|
||||
<td>[if user_tab_is_blocked]{pw_table_yes}[end]</td>
|
||||
</tr>
|
||||
[end]
|
||||
</table>
|
||||
[end]
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
4
winixd/html/fun_registermail.html
Normal file
4
winixd/html/fun_registermail.html
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
[include "slog.html"]
|
||||
|
||||
|
||||
30
winixd/html/fun_reload.html
Normal file
30
winixd/html/fun_reload.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{reload_header}</h1>
|
||||
|
||||
|
||||
|
||||
<p>{reload_select}:</p>
|
||||
<ul>
|
||||
<li><a href="[doc_base_url][dir]reload/templates">{reload_templates}</a></li>
|
||||
|
||||
[if winix_has_plugin "ticket"]
|
||||
<li><a href="[doc_base_url][dir]reload/tickets">{reload_tickets}</a></li>
|
||||
[end]
|
||||
|
||||
[if winix_has_plugin "group"]
|
||||
<li><a href="[doc_base_url][dir]reload/group">{reload_group}</a></li>
|
||||
[end]
|
||||
|
||||
[if winix_has_plugin "export"]
|
||||
<li><a href="[doc_base_url][dir]reload/export">{reload_export}</a></li>
|
||||
[end]
|
||||
|
||||
[if winix_has_plugin "menu"]
|
||||
<li><a href="[doc_base_url][dir]reload/menu">{reload_menu}</a></li>
|
||||
[end]
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
61
winixd/html/fun_reply.html
Normal file
61
winixd/html/fun_reply.html
Normal file
@@ -0,0 +1,61 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{thread_header_reply}</h1>
|
||||
|
||||
|
||||
<form 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>
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="">{suggested_url}:</label>
|
||||
<input type="text" name="url" value="">
|
||||
</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>
|
||||
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="">{form_emacs_content_type}</label>
|
||||
<select name="contenttype">
|
||||
<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]
|
||||
[if user_can_use_bbcode]<option value="3">{form_emacs_content_type_bbcode}</option>[end]
|
||||
[if user_can_use_raw]<option value="4">{form_emacs_content_type_raw}</option>[end]
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
[if not user_logged]
|
||||
<div class="winix_input_a">
|
||||
<label for="">{nick}:</label>
|
||||
<input type="text" name="guestname" value="">
|
||||
</div>
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="">{rebus_how_is_it} [rebus_question]?</p>
|
||||
<input type="text" name="rebus">
|
||||
</div>
|
||||
[end]
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
|
||||
<input type="submit" value="{add}">
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
45
winixd/html/fun_rm.html
Normal file
45
winixd/html/fun_rm.html
Normal file
@@ -0,0 +1,45 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{rm_header}</h1>
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]rm[if not item_is]/r[end]">
|
||||
<fieldset>
|
||||
<legend>{rm_form_legend}</legend>
|
||||
|
||||
<p>
|
||||
[if item_is]
|
||||
|
||||
[if item_type_is_symlink]
|
||||
{rm_symlink}: [dir][item_url]
|
||||
[else]
|
||||
{rm_file}: [dir][item_url]
|
||||
[end]
|
||||
|
||||
[else]
|
||||
|
||||
[if dir_is_root]
|
||||
{rm_root}
|
||||
[else]
|
||||
{rm_dir}: [dir_without_slash]
|
||||
[end]
|
||||
|
||||
[end]
|
||||
</p>
|
||||
|
||||
|
||||
[if not item_is]
|
||||
<p>
|
||||
<label><input type="checkbox" name="c" [if winix_function_param_is "c"]checked="checked"[end]>{rm_only_content}</label>
|
||||
</p>
|
||||
[end]
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
<input class="submit" type="submit" value="{rm_submit}">
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
36
winixd/html/fun_rmuser.html
Normal file
36
winixd/html/fun_rmuser.html
Normal file
@@ -0,0 +1,36 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{rmuser_header}</h1>
|
||||
|
||||
[if user_logged]
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]rmuser">
|
||||
<fieldset>
|
||||
<legend>{rmuser_legend}</legend>
|
||||
|
||||
[if user_super_user]
|
||||
|
||||
<p class="withnext">{rmuser_selectuser}:</p>
|
||||
<select name="userid">
|
||||
[for user_tab]
|
||||
<option value="[user_tab_id]">[user_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
|
||||
[else]
|
||||
<p>{rmuser_removecurrent}</p>
|
||||
<input type="hidden" value="[user_id]">
|
||||
[end]
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
<input type="submit" value="{rmuser_submit}">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
[end]
|
||||
|
||||
</div>
|
||||
|
||||
22
winixd/html/fun_run.html
Normal file
22
winixd/html/fun_run.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<div>
|
||||
[if mount_page_arg_is "subject"]
|
||||
[if mount_page_arg_is "info"]
|
||||
<h1 class="withinfo">
|
||||
[else]
|
||||
<h1>
|
||||
[end]
|
||||
|
||||
[item_subject]
|
||||
</h1>
|
||||
|
||||
[end]
|
||||
|
||||
[if mount_page_arg_is "info"]
|
||||
[include "item_info.html"]
|
||||
[end]
|
||||
|
||||
[item_run]
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
32
winixd/html/fun_showthreads.html
Normal file
32
winixd/html/fun_showthreads.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<div class="winix">
|
||||
|
||||
[if mount_page_arg_is "subject"]<h1[if mount_page_arg_is "info"] class="withinfo"[end]>[dir_last_subject]</h1>[end]
|
||||
[if mount_page_arg_is "info"][include "dir_last_info.html"][end]
|
||||
|
||||
|
||||
[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>
|
||||
[end]
|
||||
|
||||
|
||||
[if thread_sort_tab]
|
||||
<table class="winix_forum">
|
||||
<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>
|
||||
</tr>
|
||||
[end]
|
||||
</table>
|
||||
[end]
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
62
winixd/html/fun_showtickets.html
Normal file
62
winixd/html/fun_showtickets.html
Normal file
@@ -0,0 +1,62 @@
|
||||
<div class="winix">
|
||||
|
||||
[if mount_page_arg_is "subject"]<h1[if mount_page_arg_is "info"] class="withinfo"[end]>[dir_last_subject]</h1>[end]
|
||||
[if mount_page_arg_is "info"][include "dir_last_info.html"][end]
|
||||
|
||||
|
||||
[if ticket_can_create]
|
||||
<div class="winix_itemoptions_b">
|
||||
<ul>
|
||||
<li><a href="[doc_base_url][dir]createticket" rel="nofollow">{ticket_create_new}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
[end]
|
||||
|
||||
|
||||
[if tickets_tab]
|
||||
<table class="winix_tickets_tab">
|
||||
|
||||
<tr>
|
||||
<th>{tickets_header_name}</th>
|
||||
[for ticket_tab]
|
||||
[if any_not [ticket_tab_type_is "images"] [ticket_tab_type_is "files"]]
|
||||
<th>[filter fil_firstup][ticket_tab_param_name][end]</th>
|
||||
[end]
|
||||
[end]
|
||||
|
||||
[if winix_has_plugin "thread"]
|
||||
<th>{thread_tab_author}</th>
|
||||
<th>{thread_tab_replies}</th>
|
||||
<th>{thread_tab_last_post}</th>
|
||||
[end]
|
||||
</tr>
|
||||
|
||||
[for tickets_tab]
|
||||
<tr>
|
||||
<td class="winix_tickets_tab_title"><a href="[doc_base_url][dir][tickets_tab_url]">[if not tickets_tab_subject_empty][tickets_tab_subject][else]<[tickets_tab_url]>[end]</a></td>
|
||||
[for tickets_tab_conf_tab]
|
||||
[if any_not [tickets_tab_conf_tab_type_is "images"] [tickets_tab_conf_tab_type_is "files"]]
|
||||
[if tickets_tab_conf_tab_type_is "progress"]
|
||||
<td><img src="[doc_base_url_common]/{ticket_progress_image_path}/progress_[tickets_tab_conf_tab_progress_image_number].gif" alt="progress [tickets_tab_conf_tab_value]%"></td>
|
||||
[else]
|
||||
<td>[tickets_tab_conf_tab_value]</td>
|
||||
[end]
|
||||
[end]
|
||||
[end]
|
||||
|
||||
[if winix_has_plugin "thread"]
|
||||
<td>[thread_sort_tab_user]</td>
|
||||
<td>[if thread_sort_tab_has_thread][thread_sort_tab_replies][end]</td>
|
||||
<td>[if thread_sort_tab_has_thread][thread_sort_tab_last_item_date_modification_nice] ([thread_sort_tab_last_item_user])[end]</td>
|
||||
[end]
|
||||
|
||||
</tr>
|
||||
[end]
|
||||
|
||||
</table>
|
||||
[end]
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
54
winixd/html/fun_sort.html
Normal file
54
winixd/html/fun_sort.html
Normal file
@@ -0,0 +1,54 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{sort_header}</h1>
|
||||
|
||||
|
||||
[if item_is]
|
||||
|
||||
|
||||
|
||||
<form class="winix_sortable_form" action="[doc_base_url][dir][item_url]/sort" method="post">
|
||||
|
||||
<div class="winix_input_b">
|
||||
<label for="">{sort_current_sortindex}:</p>
|
||||
<input type="text" name="sortindex" value="[item_sort]">
|
||||
</div>
|
||||
|
||||
<input type="submit" value="{change}">
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
</form>
|
||||
|
||||
[else]
|
||||
|
||||
<p>{sort_info_multi}</p>
|
||||
|
||||
[if item_tab]
|
||||
<form class="winix_sortable_form" action="[doc_base_url][dir]sort" method="post">
|
||||
<ul id="winix_sort_items">
|
||||
[for item_tab]
|
||||
<li id="winix_sort_item_[item_tab_index]">
|
||||
<input type="text" name="sort[item_tab_id]" value="[item_tab_sort]">
|
||||
|
||||
[# is it correct? may give this 'if' only to /-/thumb param? ]
|
||||
[if item_tab_has_thumb]<img src="[item_tab_link]/-/thumb" alt="[item_tab_subject]">[end]
|
||||
|
||||
[item_tab_url] [if not [is item_tab_subject ""]]<span class="winix_sort_item_title">({sort_item_subject}: [item_tab_subject])</span>[end]
|
||||
</li>
|
||||
[end]
|
||||
</ul>
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
<input type="submit" value="{change}">
|
||||
</form>
|
||||
[end]
|
||||
|
||||
[end]
|
||||
|
||||
</div>
|
||||
28
winixd/html/fun_stat.html
Normal file
28
winixd/html/fun_stat.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1 class="simple">{stat_header}</h1>
|
||||
|
||||
<table class="withoutborder">
|
||||
|
||||
<tr><th>{stat_item_type}:</th> <td>
|
||||
[if stat_item_type_is_file]{stat_item_type_file}[end]
|
||||
[if stat_item_type_is_static_file]{stat_item_type_static_file}[end]
|
||||
[if stat_item_type_is_dir]{stat_item_type_dir}[end]
|
||||
</td></tr>
|
||||
|
||||
<tr><th>{stat_item_inode}:</th> <td>[stat_item_inode]</td></tr>
|
||||
<tr><th>{stat_item_user}:</th> <td>[stat_item_user]</td></tr>
|
||||
<tr><th>{stat_item_group}:</th> <td>[stat_item_group]</td></tr>
|
||||
<tr><th>{stat_item_privileges}:</th> <td>[stat_item_privileges]</td></tr>
|
||||
<tr><th>{stat_item_date_creation}:</th><td>[stat_item_date_creation]</td></tr>
|
||||
<tr><th>{stat_item_date_modification}:</th><td>[stat_item_date_modification]</td></tr>
|
||||
|
||||
<tr><th>{stat_item_template}:</th><td>
|
||||
[if stat_item_is_template_from_mount_point]{stat_template_from_mount_point}[else][stat_item_template][end]
|
||||
</td></tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
23
winixd/html/fun_subject.html
Normal file
23
winixd/html/fun_subject.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{subject_header}</h1>
|
||||
|
||||
|
||||
<form method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]subject">
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_title_id">{title}</label>
|
||||
<input id="winix_title_id" type="text" name="subject" value="[if item_is][item_subject][else][dir_last_subject][end]">
|
||||
</div>
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
<input class="submit" type="submit" value="{change}">
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
73
winixd/html/fun_template.html
Normal file
73
winixd/html/fun_template.html
Normal file
@@ -0,0 +1,73 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{template_header}</h1>
|
||||
|
||||
|
||||
<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 item_is][item_url]/[end]template">
|
||||
<fieldset>
|
||||
<legend>{template_form_legend}</legend>
|
||||
|
||||
{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="-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>
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
<input class="submit" type="submit" value="{change}">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
45
winixd/html/fun_thread.html
Normal file
45
winixd/html/fun_thread.html
Normal file
@@ -0,0 +1,45 @@
|
||||
<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 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 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]
|
||||
|
||||
|
||||
[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]
|
||||
[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 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]
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
70
winixd/html/fun_ticket.html
Normal file
70
winixd/html/fun_ticket.html
Normal file
@@ -0,0 +1,70 @@
|
||||
<div class="winix">
|
||||
|
||||
[if mount_page_arg_is "subject"]<h1[if mount_page_arg_is "info"] class="withinfo"[end]>[item_subject]</h1>[end]
|
||||
[if mount_page_arg_is "info"][include "item_info.html"][end]
|
||||
|
||||
|
||||
|
||||
<div class="winix_ticket">
|
||||
[if ticket_can_edit]<p class="winix_ticket_edit"><a href="[doc_base_url][dir][item_url]/editticket" rel="nofollow">\[{edit}\]</a></p>[end]
|
||||
<table>
|
||||
[for ticket_tab]
|
||||
[if ticket_tab_has_value]
|
||||
|
||||
<tr>
|
||||
<th>[filter fil_firstup][ticket_tab_param_name]:[end]</th>
|
||||
<td>
|
||||
|
||||
[if ticket_tab_type_is "images"]
|
||||
[for ticket_tab_file_tab]
|
||||
<a href="[doc_base_url][ticket_tab_file_tab_path]" rel="lightbox\[a\]">
|
||||
<img src="[doc_base_url][ticket_tab_file_tab_path]/-/thumb" alt="[ticket_tab_file_tab_path]" height="150">
|
||||
</a>
|
||||
[end]
|
||||
[end]
|
||||
|
||||
[if ticket_tab_type_is "files"]
|
||||
[if ticket_tab_file_tab]
|
||||
<ul>
|
||||
[for ticket_tab_file_tab]
|
||||
<li><a href="[doc_base_url][ticket_tab_file_tab_path]/download">[ticket_tab_file_tab_path]</a></li>
|
||||
[end]
|
||||
</ul>
|
||||
[end]
|
||||
[end]
|
||||
|
||||
[if any_not [ticket_tab_type_is "images"] [ticket_tab_type_is "files"]]
|
||||
[ticket_tab_value]
|
||||
[end]
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
[end]
|
||||
[end]
|
||||
</table>
|
||||
[item_print_content]
|
||||
</div>
|
||||
|
||||
|
||||
[if winix_has_plugin "thread"]
|
||||
|
||||
[if thread_can_reply]
|
||||
<ul class="winix_itemoptions_b">
|
||||
<li><a href="[doc_base_url][dir][item_url]/reply" rel="nofollow">{thread_reply_in_this_thread}</a></li>
|
||||
</ul>
|
||||
[end]
|
||||
|
||||
|
||||
[for thread_sort_tab]
|
||||
<div class="threadbox[if index "odd"] threadboxcolor[end]">
|
||||
[if thread_sort_tab_can_write]<a class="threadedit" 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="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]
|
||||
|
||||
[end]
|
||||
|
||||
|
||||
</div>
|
||||
35
winixd/html/fun_timezone.html
Normal file
35
winixd/html/fun_timezone.html
Normal file
@@ -0,0 +1,35 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{timezone_header}</h1>
|
||||
|
||||
[if user_has_correct_time_zone]
|
||||
<p>{timezone_your_zone}: [user_time_zone_name] (UTC[user_time_zone_offset_hour_min])</p>
|
||||
[else]
|
||||
<p>{timezone_has_incorrect_id}</p>
|
||||
[end]
|
||||
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]timezone">
|
||||
<fieldset>
|
||||
<legend>{timezone_form_legend}</legend>
|
||||
|
||||
<p class="withnext">{timezone_select}:</p>
|
||||
|
||||
[# add to styles]
|
||||
<select name="timezoneid" style="width: 250px;">
|
||||
[for winix_tz_tab]
|
||||
<option value="[winix_tz_tab_id]" [if cmp user_time_zone_id winix_tz_tab_id]selected="selected"[end]>UTC[winix_tz_tab_offset_hour_min] [winix_tz_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
<input class="submit" type="submit" value="{change}">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
53
winixd/html/fun_tinymce.html
Normal file
53
winixd/html/fun_tinymce.html
Normal file
@@ -0,0 +1,53 @@
|
||||
<div class="winix">
|
||||
|
||||
[if item_is]<h1>{edit}</h1>[else]<h1>{add}</h1>[end]
|
||||
|
||||
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]tinymce">
|
||||
<fieldset>
|
||||
<legend>{form_emacs_legend}</legend>
|
||||
|
||||
[if mount_type_is "cms"]
|
||||
<p class="withnext">{title}:</p>
|
||||
<input class="edit" type="text" name="subject" value="[item_subject]">
|
||||
|
||||
<p class="withnext">{suggested_url}:</p>
|
||||
<input class="edit" type="text" name="url" value="[item_url]">
|
||||
[end]
|
||||
|
||||
[if any [mount_type_is "thread"] [thread_mount_arg_is "subject"]]
|
||||
<p class="withnext">{title}:</p>
|
||||
<input class="edit" type="text" name="subject" value="[item_subject]">
|
||||
|
||||
<p class="withnext">{suggested_url}:</p>
|
||||
<input class="edit" type="text" name="url" value="[item_url]">
|
||||
[end]
|
||||
|
||||
|
||||
[if mount_type_is "cms"]<p class="withnext">{form_emacs_content_cms}</p>[end]
|
||||
[if mount_type_is "thread"]<p class="withnext">{form_emacs_content_thread}</p>[end]
|
||||
[if mount_type_is "ticket"]<p class="withnext">{form_emacs_content_ticket}</p>[end]
|
||||
|
||||
<textarea class="multitext" rows="[if mount_type_is "cms"]30[else]10[end]" cols="60" name="itemcontent">[item_content]</textarea>
|
||||
|
||||
<input type="hidden" name="contenttype" value="2">
|
||||
|
||||
[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">
|
||||
[end]
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
<input class="submit" type="submit" value="[if item_is]{change}[else]{add}[end]">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
21
winixd/html/fun_uname.html
Normal file
21
winixd/html/fun_uname.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{uname_header}</h1>
|
||||
|
||||
<p>Winix [sys_ver_major].[sys_ver_minor].[sys_ver_revision]</p>
|
||||
|
||||
[if sys_plugin_tab]
|
||||
|
||||
{uname_available_plugins}:
|
||||
<ul>
|
||||
|
||||
[for sys_plugin_tab]
|
||||
<li>[if sys_plugin_tab_has_name][sys_plugin_tab_name][else]<{uname_plugin_unknown}>[end]</li>
|
||||
[end]
|
||||
|
||||
</ul>
|
||||
|
||||
[end]
|
||||
|
||||
|
||||
</div>
|
||||
150
winixd/html/fun_upload.html
Normal file
150
winixd/html/fun_upload.html
Normal file
@@ -0,0 +1,150 @@
|
||||
|
||||
|
||||
[if winix_function_param_is "ckeditor_upload"]
|
||||
<script type="text/javascript">window.parent.CKEDITOR.tools.callFunction([upload_ckeditor_funnum], '[item_link]');</script>
|
||||
[end]
|
||||
|
||||
|
||||
[if any_not [winix_function_param_is "ckeditor_upload"] [winix_function_param_is "jquery_upload"]]
|
||||
<div class="winix">
|
||||
|
||||
<h1>{upload_header}</h1>
|
||||
|
||||
[# the code below are copied from common/fileupload/jquery-ui.html]
|
||||
[# The file upload form used as target for the file upload widget]
|
||||
<form id="fileupload" action="[doc_base_url][dir]/upload" method="POST" enctype="multipart/form-data">
|
||||
|
||||
[# The fileupload-buttonbar contains buttons to add/delete files and start/cancel the upload]
|
||||
<div class="fileupload-buttonbar">
|
||||
<div class="fileupload-buttons">
|
||||
[# The fileinput-button span is used to style the file input field as button]
|
||||
<span class="fileinput-button">
|
||||
<span>{upload_button_add_files}</span>
|
||||
<input type="file" name="files\[\]" multiple>
|
||||
</span>
|
||||
<button type="submit" class="start">{upload_button_start_upload}</button>
|
||||
<button type="reset" class="cancel">{upload_button_cancel_upload}</button>
|
||||
<button type="button" class="delete">{upload_button_delete}</button>
|
||||
<input type="checkbox" class="toggle">
|
||||
[# The global file processing state]
|
||||
<span class="fileupload-process"></span>
|
||||
</div>
|
||||
[# The global progress state]
|
||||
<div class="fileupload-progress fade" style="display:none">
|
||||
[# The global progress bar]
|
||||
<div class="progress" role="progressbar" aria-valuemin="0" aria-valuemax="100"></div>
|
||||
[# The extended global progress state]
|
||||
<div class="progress-extended"> </div>
|
||||
</div>
|
||||
</div>
|
||||
[# The table listing the files available for upload/download]
|
||||
<table role="presentation"><tbody class="files"></tbody></table>
|
||||
</form>
|
||||
|
||||
|
||||
[# The blueimp Gallery widget]
|
||||
<div id="blueimp-gallery" class="blueimp-gallery blueimp-gallery-controls" data-filter=":even">
|
||||
<div class="slides"></div>
|
||||
<h3 class="title"></h3>
|
||||
<a class="prev">‹</a>
|
||||
<a class="next">›</a>
|
||||
<a class="close">×</a>
|
||||
<a class="play-pause"></a>
|
||||
<ol class="indicator"></ol>
|
||||
</div>
|
||||
|
||||
[# The template to display files available for upload]
|
||||
<script id="template-upload" type="text/x-tmpl">
|
||||
\{% for (var i=0, file; file=o.files\[i\]; i++) \{ %\}
|
||||
<tr class="template-upload fade">
|
||||
<td>
|
||||
<span class="preview"></span>
|
||||
</td>
|
||||
<td>
|
||||
<p class="name">\{%=file.name%\}</p>
|
||||
<strong class="error"></strong>
|
||||
</td>
|
||||
<td>
|
||||
<p class="size">{upload_button_processing}</p>
|
||||
<div class="progress"></div>
|
||||
</td>
|
||||
<td>
|
||||
\{% if (!i && !o.options.autoUpload) \{ %\}
|
||||
<button class="start" disabled>{upload_button_start}</button>
|
||||
\{% \} %\}
|
||||
\{% if (!i) \{ %\}
|
||||
<button class="cancel">{upload_button_cancel}</button>
|
||||
\{% \} %\}
|
||||
</td>
|
||||
</tr>
|
||||
\{% \} %\}</script>
|
||||
|
||||
[# The template to display files available for download]
|
||||
<script id="template-download" type="text/x-tmpl">
|
||||
\{% for (var i=0, file; file=o.files\[i\]; i++) \{ %\}
|
||||
<tr class="template-download fade">
|
||||
<td>
|
||||
<span class="preview">
|
||||
\{% if (file.thumbnailUrl) \{ %\}
|
||||
<a href="\{%=file.url%\}" title="\{%=file.name%\}" download="\{%=file.name%\}" data-gallery><img src="\{%=file.thumbnailUrl%\}"></a>
|
||||
\{% \} %\}
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<p class="name">
|
||||
<a href="\{%=file.url%\}" title="\{%=file.name%\}" download="\{%=file.name%\}" \{%=file.thumbnailUrl?'data-gallery':''%\}>\{%=file.name%\}</a>
|
||||
</p>
|
||||
\{% if (file.error) \{ %\}
|
||||
<div><span class="error">{upload_error}</span> \{%=file.error%\}</div>
|
||||
\{% \} %\}
|
||||
</td>
|
||||
<td>
|
||||
<span class="size">\{%=o.formatFileSize(file.size)%\}</span>
|
||||
</td>
|
||||
<td>
|
||||
<button class="delete" data-type="\{%=file.deleteType%\}" data-url="\{%=file.deleteUrl%\}"\{% if (file.deleteWithCredentials) \{ %\} data-xhr-fields='\{"withCredentials":true\}'\{% \} %\}>{upload_button_delete}</button>
|
||||
<input type="checkbox" name="delete" value="1" class="toggle">
|
||||
</td>
|
||||
</tr>
|
||||
\{% \} %\}</script>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
$('#fileupload button.start').css('display', 'none');
|
||||
|
||||
$('#fileupload').fileupload(\{
|
||||
"url": "[doc_base_url][dir]upload/jquery_upload",
|
||||
"autoUpload": true
|
||||
\});
|
||||
|
||||
$('#fileupload').fileupload(
|
||||
'option',
|
||||
'redirect',
|
||||
window.location.href.replace(
|
||||
/\/\[^\/\]*$/,
|
||||
'/cors/result.html?%s'
|
||||
));
|
||||
|
||||
$("div.winix #fileupload button.cancel").css('display','inline');
|
||||
|
||||
[# loading existing files]
|
||||
[# copied from common/fileupload/js/main.js]
|
||||
$('#fileupload').addClass('fileupload-processing');
|
||||
$.ajax(\{
|
||||
[# // Uncomment the following to send cross-domain cookies:]
|
||||
[# //xhrFields: \{withCredentials: true\},]
|
||||
url: $('#fileupload').fileupload('option', 'url'),
|
||||
dataType: 'json',
|
||||
context: $('#fileupload')\[0\]
|
||||
\}).always(function () \{
|
||||
$(this).removeClass('fileupload-processing');
|
||||
\}).done(function (result) \{
|
||||
$(this).fileupload('option', 'done')
|
||||
.call(this, $.Event('done'), \{result: result\});
|
||||
\});</script>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
[end]
|
||||
|
||||
21
winixd/html/fun_uptime.html
Normal file
21
winixd/html/fun_uptime.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{uptime_header}</h1>
|
||||
|
||||
<p>{uptime_current_time}: [winix_cur_time]<br>
|
||||
{uptime_up}:
|
||||
|
||||
[if uptime_more_than_one_day]
|
||||
[uptime_days] {uptime_days}
|
||||
[else]
|
||||
[uptime_hours]
|
||||
[end]
|
||||
<br>
|
||||
{uptime_how_many_sessions}: [winix_how_many_sessions]<br>
|
||||
{uptime_users_logged}: [winix_users_logged]<br>
|
||||
{load_avg}: [winix_loadavg_now], [winix_loadavg_1], [winix_loadavg_5], [winix_loadavg_15]<br>
|
||||
{req_per_sec}: [winix_req_per_sec_now], [winix_req_per_sec_1], [winix_req_per_sec_5], [winix_req_per_sec_15]
|
||||
</p>
|
||||
|
||||
|
||||
</div>
|
||||
55
winixd/html/fun_vim.html
Normal file
55
winixd/html/fun_vim.html
Normal file
@@ -0,0 +1,55 @@
|
||||
<div class="winix">
|
||||
|
||||
[if item_is]<h1>{edit}</h1>[else]<h1>{add}</h1>[end]
|
||||
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]vim">
|
||||
<fieldset>
|
||||
<legend>{form_emacs_legend}</legend>
|
||||
|
||||
[if mount_type_is "cms"]
|
||||
<p class="withnext">{title}:</p>
|
||||
<input class="edit" type="text" name="subject" value="[item_subject]">
|
||||
|
||||
<p class="withnext">{suggested_url}:</p>
|
||||
<input class="edit" type="text" name="url" value="[item_url]">
|
||||
[end]
|
||||
|
||||
[if any [mount_type_is "thread"] [thread_mount_arg_is "subject"]]
|
||||
<p class="withnext">{title}:</p>
|
||||
<input class="edit" type="text" name="subject" value="[item_subject]">
|
||||
|
||||
<p class="withnext">{suggested_url}:</p>
|
||||
<input class="edit" type="text" name="url" value="[item_url]">
|
||||
[end]
|
||||
|
||||
[if mount_type_is "cms"]<p class="withnext">{form_emacs_content_cms}</p>[end]
|
||||
[if mount_type_is "thread"]<p class="withnext">{form_emacs_content_thread}</p>[end]
|
||||
[if mount_type_is "ticket"]<p class="withnext">{form_emacs_content_ticket}</p>[end]
|
||||
|
||||
<textarea class="multitext" rows="[if mount_type_is "cms"]30[else]10[end]" cols="60" name="itemcontent">[item_content]</textarea>
|
||||
|
||||
<input type="hidden" name="contenttype" value="2">
|
||||
|
||||
[if winix_function_param_is "full"]
|
||||
[else]
|
||||
[end]
|
||||
|
||||
[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">
|
||||
[end]
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
<input class="submit" type="submit" value="[if item_is]{change}[else]{add}[end]">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
19
winixd/html/fun_who.html
Normal file
19
winixd/html/fun_who.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<div class="winix">
|
||||
|
||||
<h1>{who_header}</h1>
|
||||
|
||||
|
||||
[if who_tab]
|
||||
<table class="who">
|
||||
<tr><th>{who_tab_index}</th><th>{user}</th><th>{who_tab_start}</th><th>{who_tab_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>{who_none}</p>
|
||||
[end]
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
24
winixd/html/index.html
Normal file
24
winixd/html/index.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
[# minimalistic template]
|
||||
|
||||
<html lang="{language}">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>[doc_title]</title>
|
||||
[include "index_head_functions_add.html"]
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div>
|
||||
[include "slog.html"]
|
||||
|
||||
[# each winix function has div.winix in its template defined -- only functions: cat and run don't have div.winix]
|
||||
[# so you can easly use 'content' with your own template]
|
||||
[# and when using other winix functions you automatically get proper styling]
|
||||
[content]
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
24
winixd/html/index_fullscreen.html
Normal file
24
winixd/html/index_fullscreen.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
[# minimalistic template]
|
||||
|
||||
<html lang="{language}">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>[doc_title]</title>
|
||||
[include "index_head_functions_add.html"]
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div>
|
||||
[include "slog.html"]
|
||||
|
||||
[# each winix function has div.winix in its template defined -- only functions: cat and run don't have div.winix]
|
||||
[# so you can easly use 'content' with your own template]
|
||||
[# and when using other winix functions you automatically get proper styling]
|
||||
[content]
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
331
winixd/html/index_head_functions_add.html
Normal file
331
winixd/html/index_head_functions_add.html
Normal file
@@ -0,0 +1,331 @@
|
||||
[# other stuff needed by a specific function]
|
||||
|
||||
[if one [winix_function_is "adduser"]
|
||||
[winix_function_is "chmod"]
|
||||
[winix_function_is "chown"]
|
||||
[winix_function_is "ckeditor"]
|
||||
[winix_function_is "cp"]
|
||||
[winix_function_is "default"]
|
||||
[winix_function_is "download"]
|
||||
[winix_function_is "emacs"]
|
||||
[winix_function_is "env"]
|
||||
[winix_function_is "imgcrop"]
|
||||
[winix_function_is "ipban"]
|
||||
[winix_function_is "last"]
|
||||
[winix_function_is "ln"]
|
||||
[winix_function_is "locale"]
|
||||
[winix_function_is "login"]
|
||||
[winix_function_is "logout"]
|
||||
[winix_function_is "ls"]
|
||||
[winix_function_is "man"]
|
||||
[winix_function_is "meta"]
|
||||
[winix_function_is "mkdir"]
|
||||
[winix_function_is "mount"]
|
||||
[winix_function_is "mv"]
|
||||
[winix_function_is "nicedit"]
|
||||
[winix_function_is "node"]
|
||||
[winix_function_is "passwd"]
|
||||
[winix_function_is "priv"]
|
||||
[winix_function_is "pw"]
|
||||
[winix_function_is "reload"]
|
||||
[winix_function_is "rm"]
|
||||
[winix_function_is "rmuser"]
|
||||
[winix_function_is "sort"]
|
||||
[winix_function_is "stat"]
|
||||
[winix_function_is "subject"]
|
||||
[winix_function_is "template"]
|
||||
[winix_function_is "timezone"]
|
||||
[winix_function_is "tinymce"]
|
||||
[winix_function_is "uname"]
|
||||
[winix_function_is "upload"]
|
||||
[winix_function_is "uptime"]
|
||||
[winix_function_is "vim"]
|
||||
[winix_function_is "who"]]
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/winix/winix.css" type="text/css">
|
||||
[end]
|
||||
|
||||
|
||||
[if winix_function_is "emacs"]
|
||||
<script type="text/javascript" src="[doc_base_url_common]/codemirror-5.1/lib/codemirror.js"></script>
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/codemirror-5.1/lib/codemirror.css" type="text/css">
|
||||
|
||||
<script src="[doc_base_url_common]/codemirror-5.1/mode/css/css.js"></script>
|
||||
<script src="[doc_base_url_common]/codemirror-5.1/mode/javascript/javascript.js"></script>
|
||||
<script src="[doc_base_url_common]/codemirror-5.1/mode/xml/xml.js"></script>
|
||||
<script src="[doc_base_url_common]/codemirror-5.1/mode/htmlmixed/htmlmixed.js"></script>
|
||||
|
||||
<!--<link rel="stylesheet" href="[doc_base_url_common]/codemirror-5.1/theme/base16-light.css" type="text/css">-->
|
||||
|
||||
<script src="[doc_base_url_common]/codemirror-5.1/addon/display/fullscreen.js"></script>
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/codemirror-5.1/addon/display/fullscreen.css" type="text/css">
|
||||
|
||||
[if false]
|
||||
<script src="[doc_base_url_common]/codemirror-5.1/addon/search/search.js"></script>
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/codemirror-5.1/addon/search/matchesonscrollbar.css" type="text/css">
|
||||
[end]
|
||||
|
||||
<script src="[doc_base_url_common]/codemirror-5.1/addon/fold/xml-fold.js"></script>
|
||||
<script src="[doc_base_url_common]/codemirror-5.1/addon/edit/matchtags.js"></script>
|
||||
|
||||
<script src="[doc_base_url_common]/codemirror-5.1/addon/selection/active-line.js"></script>
|
||||
|
||||
<style>
|
||||
|
||||
.CodeMirror-matchingtag \{
|
||||
font-weight: bold;
|
||||
background: none;
|
||||
\}
|
||||
|
||||
.CodeMirror-activeline-background \{
|
||||
background: #f3f3f3;
|
||||
\}
|
||||
|
||||
.CodeMirror \{
|
||||
border: 1px solid #dedede;
|
||||
\}
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
var winix_code_mirror_editor;
|
||||
function winix_initialize_editor()
|
||||
\{
|
||||
var text_area = document.getElementById("winix_content_id");
|
||||
if( text_area )
|
||||
\{
|
||||
winix_code_mirror_editor = CodeMirror.fromTextArea(text_area, \{
|
||||
mode: "htmlmixed",
|
||||
theme: "default",
|
||||
indentUnit: 4,
|
||||
smartIndent: true,
|
||||
tabSize: 4,
|
||||
indentWithTabs: true,
|
||||
extraKeys: \{
|
||||
"F11": function(cm) \{ cm.setOption("fullScreen", !cm.getOption("fullScreen")); \},
|
||||
"Esc": function(cm) \{ if (cm.getOption("fullScreen")) cm.setOption("fullScreen", false); \}
|
||||
\},
|
||||
lineNumbers: true,
|
||||
lineWiseCopyCut: false,
|
||||
dragDrop: false,
|
||||
matchTags: true,
|
||||
styleActiveLine: true
|
||||
\});
|
||||
\}
|
||||
\}
|
||||
|
||||
[if false]
|
||||
this will probably be used to change the mode in the fly
|
||||
winix_code_mirror_editor.setOption("mode", "");
|
||||
|
||||
before saving (update button by ajax) this method should be used:
|
||||
cm.save()
|
||||
Copy the content of the editor into the textarea.
|
||||
[end]
|
||||
|
||||
if( window.addEventListener )
|
||||
window.addEventListener("load", winix_initialize_editor, false);
|
||||
else
|
||||
if( window.attachEvent )
|
||||
window.attachEvent("onload", winix_initialize_editor);
|
||||
</script>
|
||||
|
||||
[end]
|
||||
|
||||
|
||||
[if winix_function_is "ckeditor"]
|
||||
<script type="text/javascript" src="[doc_base_url_common]/ckeditor/ckeditor.js"></script>
|
||||
[end]
|
||||
|
||||
|
||||
[if winix_function_is "tinymce"]
|
||||
<!--<script type="text/javascript">document.domain = "www.slimaczek.pl";</script>-->
|
||||
<script type="text/javascript" src="[doc_base_url]/common/tiny_mce/tiny_mce.js"></script>
|
||||
<script type="text/javascript" src="[doc_base_url]/var/tinymce.js"></script>
|
||||
[end]
|
||||
|
||||
|
||||
[if winix_function_is "nicedit"]
|
||||
<script type="text/javascript" src="[doc_base_url_common]/nicedit/nicEdit.js"></script>
|
||||
[end]
|
||||
|
||||
|
||||
|
||||
[if winix_function_is "vim"]
|
||||
[# this editor doesn't work on different domains by default, solution: http://forum.wymeditor.org/forum/viewtopic.php?f=2&t=731&p=2507#p2504 ]
|
||||
[# you should add one file to winix: wymiframe.html ]
|
||||
|
||||
<script type="text/javascript" src="[doc_base_url_common]/jquery-1.4.2.min.js"></script>
|
||||
<script type="text/javascript" src="[doc_base_url_common]/wymeditor/jquery.wymeditor.min.js"></script>
|
||||
<script type="text/javascript" src="[doc_base_url_common]/wymeditor/lang/en.js"></script>
|
||||
<script type="text/javascript" src="[doc_base_url_common]/wymeditor/skins/default/skin.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="[doc_base_url_common]/wymeditor/skins/default/skin.css">
|
||||
<script type="text/javascript">jQuery(function() \{ jQuery("textarea").wymeditor(\{ basePath: "[doc_base_url_common]/wymeditor/", iframeBasePath: "[doc_base_url]/var/", updateSelector : "form", updateEvent: 'submit' \}); \});</script>
|
||||
|
||||
[end]
|
||||
|
||||
|
||||
|
||||
[if winix_function_is "ticket"]
|
||||
[# !! dodac lightboxa tylko jesli tickety zawieraja obrazki ]
|
||||
<!--
|
||||
[# warning: prototype doesn't work with jquery in clock tickets (in client panel)]
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/lightbox/lightbox.css" type="text/css" media="screen">
|
||||
<script src="[doc_base_url_common]/lightbox/js/prototype.js" type="text/javascript"></script>
|
||||
<script src="[doc_base_url_common]/lightbox/js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
|
||||
<script src="[doc_base_url_common]/lightbox/js/lightbox.js" type="text/javascript"></script>
|
||||
-->
|
||||
[end]
|
||||
|
||||
|
||||
[if winix_function_is "gallery"]
|
||||
|
||||
[if one gallery_has_not_mount_type [gallery_mount_type_arg_is "lightbox"]]
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/lightbox/lightbox.css" type="text/css" media="screen">
|
||||
<script src="[doc_base_url_common]/lightbox/js/prototype.js" type="text/javascript"></script>
|
||||
<script src="[doc_base_url_common]/lightbox/js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
|
||||
<script src="[doc_base_url_common]/lightbox/js/lightbox.js" type="text/javascript"></script>
|
||||
[end]
|
||||
|
||||
[if one [gallery_mount_type_arg_is "galleria"] [gallery_mount_type_arg_is "galleriathumb"]]
|
||||
<script type="text/javascript" src="[doc_base_url_common]/jquery-1.4.4.min.js"></script>
|
||||
<script src="[doc_base_url_common]/aino-galleria/galleria-1.2.2.min.js" type="text/javascript"></script>
|
||||
[end]
|
||||
|
||||
[if one [gallery_mount_type_arg_is "galleria1.2.9"] [gallery_mount_type_arg_is "galleriathumb1.2.9"]]
|
||||
<script type="text/javascript" src="[doc_base_url_common]/jquery-1.9.1.min.js"></script>
|
||||
<script src="[doc_base_url_common]/galleria/galleria-1.2.9.min.js" type="text/javascript"></script>
|
||||
[end]
|
||||
|
||||
[end]
|
||||
|
||||
|
||||
|
||||
[if winix_function_is "upload"]
|
||||
[# http://blueimp.github.io/jQuery-File-Upload/jquery-ui.html]
|
||||
[# https://github.com/blueimp/jQuery-File-Upload]
|
||||
[# we are using the *jQuery UI version* of the plugin]
|
||||
|
||||
[# Force latest IE rendering engine or ChromeFrame if installed]
|
||||
<!--\[if IE\]>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<!\[endif\]-->
|
||||
|
||||
|
||||
|
||||
[# jQuery UI styles]
|
||||
[# original http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/dark-hive/jquery-ui.css]
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/jquery-ui-1.10.4.custom/css/smoothness/jquery-ui-1.10.4.custom.min.css" id="theme">
|
||||
|
||||
|
||||
[if false]
|
||||
<!-- Demo styles -->
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/fileupload/css/demo.css">
|
||||
<!--\[if lte IE 8\]>
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/fileupload/css/demo-ie8.css">
|
||||
<!\[endif\]-->
|
||||
[end]
|
||||
|
||||
[# blueimp Gallery styles]
|
||||
[# original http://blueimp.github.io/Gallery/css/blueimp-gallery.min.css]
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/gallery-2.15.1/css/blueimp-gallery.min.css">
|
||||
|
||||
[# CSS to style the file input field as button and adjust the Bootstrap progress bars]
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/fileupload/css/jquery.fileupload.css">
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/fileupload/css/jquery.fileupload-ui.css">
|
||||
|
||||
[# CSS adjustments for browsers with JavaScript disabled]
|
||||
<noscript><link rel="stylesheet" href="[doc_base_url_common]/fileupload/css/jquery.fileupload-noscript.css"></noscript>
|
||||
<noscript><link rel="stylesheet" href="[doc_base_url_common]/fileupload/css/jquery.fileupload-ui-noscript.css"></noscript>
|
||||
|
||||
|
||||
[# those below can be moved to the bottom of the page (outside of <head>]
|
||||
|
||||
[# original //ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js]
|
||||
<script src="[doc_base_url_common]/jquery-1.11.0.min.js"></script>
|
||||
|
||||
[# original //ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js]
|
||||
<script src="[doc_base_url_common]/jquery-ui-1.10.4.custom/js/jquery-ui-1.10.4.custom.min.js"></script>
|
||||
|
||||
[# The Templates plugin is included to render the upload/download listings]
|
||||
[# original http://blueimp.github.io/JavaScript-Templates/js/tmpl.min.js]
|
||||
<script src="[doc_base_url_common]/fileupload/others/tmpl.min.js"></script>
|
||||
|
||||
[# The Load Image plugin is included for the preview images and image resizing functionality]
|
||||
[# original http://blueimp.github.io/JavaScript-Load-Image/js/load-image.min.js]
|
||||
<script src="[doc_base_url_common]/fileupload/others/load-image.min.js"></script>
|
||||
|
||||
[# The Canvas to Blob plugin is included for image resizing functionality]
|
||||
[# original http://blueimp.github.io/JavaScript-Canvas-to-Blob/js/canvas-to-blob.min.js]
|
||||
<script src="[doc_base_url_common]/fileupload/others/canvas-to-blob.min.js"></script>
|
||||
|
||||
[# blueimp Gallery script]
|
||||
[# original http://blueimp.github.io/Gallery/js/jquery.blueimp-gallery.min.js]
|
||||
<script src="[doc_base_url_common]/gallery-2.15.1/js/jquery.blueimp-gallery.min.js"></script>
|
||||
|
||||
[# The Iframe Transport is required for browsers without support for XHR file uploads]
|
||||
<script src="[doc_base_url_common]/fileupload/js/jquery.iframe-transport.js"></script>
|
||||
|
||||
[# The basic File Upload plugin]
|
||||
<script src="[doc_base_url_common]/fileupload/js/jquery.fileupload.js"></script>
|
||||
|
||||
[# The File Upload processing plugin]
|
||||
<script src="[doc_base_url_common]/fileupload/js/jquery.fileupload-process.js"></script>
|
||||
|
||||
[# The File Upload image preview & resize plugin]
|
||||
<script src="[doc_base_url_common]/fileupload/js/jquery.fileupload-image.js"></script>
|
||||
|
||||
[# The File Upload audio preview plugin]
|
||||
<script src="[doc_base_url_common]/fileupload/js/jquery.fileupload-audio.js"></script>
|
||||
|
||||
[# The File Upload video preview plugin]
|
||||
<script src="[doc_base_url_common]/fileupload/js/jquery.fileupload-video.js"></script>
|
||||
|
||||
[# The File Upload validation plugin]
|
||||
<script src="[doc_base_url_common]/fileupload/js/jquery.fileupload-validate.js"></script>
|
||||
|
||||
[# The File Upload user interface plugin]
|
||||
<script src="[doc_base_url_common]/fileupload/js/jquery.fileupload-ui.js"></script>
|
||||
|
||||
[# The File Upload jQuery UI plugin]
|
||||
<script src="[doc_base_url_common]/fileupload/js/jquery.fileupload-jquery-ui.js"></script>
|
||||
|
||||
[if false]
|
||||
[# code from fileupload/js/main.js we are using in fun_upload.html (at the bottom)]
|
||||
<!-- The main application script -->
|
||||
<script src="[doc_base_url_common]/fileupload/js/main.js"></script>
|
||||
[end]
|
||||
|
||||
[# The XDomainRequest Transport is included for cross-domain file deletion for IE 8 and IE 9]
|
||||
<!--\[if (gte IE 8)&(lt IE 10)\]>
|
||||
<script src="[doc_base_url_common]/fileupload/js/cors/jquery.xdr-transport.js"></script>
|
||||
<!\[endif\]-->
|
||||
|
||||
[end]
|
||||
|
||||
|
||||
|
||||
[if winix_function_is "sort"]
|
||||
[if not item_is]
|
||||
<script type="text/javascript" src="[doc_base_url_common]/jquery-1.6.1.min.js"></script>
|
||||
<script type="text/javascript" src="[doc_base_url_common]/jquery-ui-1.8.13/js/jquery-ui-1.8.13.custom.min.js"></script>
|
||||
<script type="text/javascript" src="[doc_base_url_common]/sort.js"></script>
|
||||
[end]
|
||||
[end]
|
||||
|
||||
|
||||
[if winix_function_is "imgcrop"]
|
||||
<script type="text/javascript" src="[doc_base_url_common]/jquery-1.9.1.min.js"></script>
|
||||
<script type="text/javascript" src="[doc_base_url_common]/jcrop-0.9.12/js/jquery.Jcrop.js"></script>
|
||||
<link type="text/css" rel="stylesheet" href="[doc_base_url_common]/jcrop-0.9.12/css/jquery.Jcrop.css">
|
||||
[end]
|
||||
|
||||
|
||||
[if false]
|
||||
[# temporarily blocked]
|
||||
[if winix_has_plugin "stats"]
|
||||
[include "stats_info.html"]
|
||||
[end]
|
||||
[end]
|
||||
|
||||
5
winixd/html/item_info.html
Normal file
5
winixd/html/item_info.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<p class="winix_iteminfo">
|
||||
{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]
|
||||
</p>
|
||||
39
winixd/html/item_options.html
Normal file
39
winixd/html/item_options.html
Normal file
@@ -0,0 +1,39 @@
|
||||
[if not [winix_function_param_is "fullscreen"]]
|
||||
[if dir_can_write item_can_write]
|
||||
<div class="winix_itemoptions_a">
|
||||
|
||||
[if dir_can_write]
|
||||
<h2>{add_page}</h2>
|
||||
<ul>
|
||||
<li><a href="[doc_base_url][dir]emacs">{admin_emacs_add}</a></li>
|
||||
[if user_can_use_html]
|
||||
<li><a href="[doc_base_url][dir]ckeditor">{admin_ckeditor_add}</a></li>
|
||||
<li><a href="[doc_base_url][dir]nicedit">{admin_nicedit_add}</a></li>
|
||||
<li><a href="[doc_base_url][dir]tinymce">{admin_tinymce_add}</a></li>
|
||||
[end]
|
||||
</ul>
|
||||
[end]
|
||||
|
||||
[if item_is item_can_write]
|
||||
<h2>{edit_page}</h2>
|
||||
<ul>
|
||||
<li><a href="[doc_base_url][dir][item_url]/emacs">{admin_emacs_edit}</a></li>
|
||||
[if user_can_use_html]
|
||||
<li><a href="[doc_base_url][dir][item_url]/ckeditor">{admin_ckeditor_edit}</a></li>
|
||||
<li><a href="[doc_base_url][dir][item_url]/nicedit">{admin_nicedit_edit}</a></li>
|
||||
<li><a href="[doc_base_url][dir][item_url]/tinymce">{admin_tinymce_edit}</a></li>
|
||||
[end]
|
||||
</ul>
|
||||
[end]
|
||||
|
||||
<h2>{admin_options}:</h2>
|
||||
<ul>
|
||||
<li><a href="[doc_base_url][dir]ls">{admin_ls}</a></li>
|
||||
[if dir_can_write]<li><a href="[doc_base_url][dir]mkdir">{admin_mkdir}</a></li>[end]
|
||||
[if dir_can_write]<li><a href="[doc_base_url][dir]upload">{admin_upload}</a></li>[end]
|
||||
[if not item_is]<li><a href="[doc_base_url][dir]sort">{admin_sort}</a></li>[end]
|
||||
[if any item_is item_can_remove]<li><a href="[doc_base_url][dir][item_url]/rm">{admin_rm}</a></li>[end]
|
||||
</ul>
|
||||
</div>
|
||||
[end]
|
||||
[end]
|
||||
8
winixd/html/item_tab_info.html
Normal file
8
winixd/html/item_tab_info.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<p class="[if index "odd"]winix_itemtabinfo[else][if thread_mount_arg_is "subject"]winix_itemtabinfo[else]winix_itemtabinfo2[end][end]">
|
||||
|
||||
{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]
|
||||
[item_tab_date_modification_nice]
|
||||
[end]
|
||||
|
||||
</p>
|
||||
30
winixd/html/slog.html
Normal file
30
winixd/html/slog.html
Normal file
@@ -0,0 +1,30 @@
|
||||
[if slog_tab]
|
||||
<table class="winix_slog">
|
||||
|
||||
[for slog_tab]
|
||||
|
||||
<tr>
|
||||
<th class="[if slog_tab_is_error]winix_slogerror[end][if slog_tab_is_warning]winix_slogwarning[end][if slog_tab_is_info]winix_sloginfo[end]">
|
||||
|
||||
[if slog_tab_is_info]
|
||||
{slog_info}:
|
||||
[end]
|
||||
|
||||
[if slog_tab_is_warning]
|
||||
{slog_warning}:
|
||||
[end]
|
||||
|
||||
[if slog_tab_is_error]
|
||||
{slog_error}:
|
||||
[end]
|
||||
|
||||
</th>
|
||||
<td>
|
||||
[slog_tab_print]
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
[end]
|
||||
|
||||
</table>
|
||||
[end]
|
||||
17
winixd/html/stats_info.html
Normal file
17
winixd/html/stats_info.html
Normal file
@@ -0,0 +1,17 @@
|
||||
[if winix_has_plugin "stats"]
|
||||
|
||||
<!--
|
||||
Statistics since: [stats_from],
|
||||
global: all: [stats_all],
|
||||
unique: [stats_unique],
|
||||
Google: [stats_google],
|
||||
Yahoo: [stats_yahoo],
|
||||
Bing: [stats_bing],
|
||||
this page:
|
||||
all: [stats_item_all],
|
||||
Google: [stats_item_google],
|
||||
Yahoo: [stats_item_yahoo],
|
||||
Bing: [stats_item_bing]
|
||||
-->
|
||||
|
||||
[end]
|
||||
8
winixd/html/thread_sort_tab_info.html
Normal file
8
winixd/html/thread_sort_tab_info.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<p class="[if index "even"]winix_itemtabinfo[else][if thread_mount_arg_is "subject"]winix_itemtabinfo[else]winix_itemtabinfo2[end][end]">
|
||||
|
||||
{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]
|
||||
[thread_sort_tab_date_modification_nice]
|
||||
[end]
|
||||
|
||||
</p>
|
||||
Reference in New Issue
Block a user