uikit #3
|
@ -1,3 +1,6 @@
|
|||
.cproject
|
||||
.project
|
||||
.settings/
|
||||
*.o
|
||||
*.so
|
||||
winixd/winix
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008-2018, Tomasz Sowa
|
||||
* Copyright (c) 2008-2021, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -186,6 +186,7 @@ void Config::AssignValues(bool stdout_is_closed)
|
|||
templates_fun_prefix = Text(L"templates_fun_prefix", L"fun_");
|
||||
templates_fun_postfix = Text(L"templates_fun_postfix", L".html");
|
||||
templates_index = Text(L"templates_index", L"index.html");
|
||||
templates_index_generic = Text(L"templates_index_generic", L"index_generic.html");
|
||||
templates_index_raw = Text(L"templates_index_raw", L"index_raw.html");
|
||||
template_only_root_use_template_fun = Bool(L"template_only_root_use_template_fun", false);
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008-2018, Tomasz Sowa
|
||||
* Copyright (c) 2008-2021, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -181,6 +181,10 @@ public:
|
|||
// default: index.html
|
||||
std::wstring templates_index;
|
||||
|
||||
// html template used to send generic content - without site-css styles and markup (only uikit)
|
||||
// default: index_generic.html
|
||||
std::wstring templates_index_generic;
|
||||
|
||||
// html template used to send raw content
|
||||
// default: index_raw.html
|
||||
std::wstring templates_index_raw;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008-2015, Tomasz Sowa
|
||||
* Copyright (c) 2008-2021, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -153,6 +153,8 @@ void Request::Clear()
|
|||
ip = 0;
|
||||
ip_str.clear();
|
||||
use_200_status_for_not_found_and_permission_denied = false;
|
||||
|
||||
html_template.clear();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008-2018, Tomasz Sowa
|
||||
* Copyright (c) 2008-2021, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -339,6 +339,8 @@ struct Request
|
|||
bool gen_use_special_chars;
|
||||
|
||||
|
||||
// index template name
|
||||
std::wstring html_template;
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
@ -51,6 +51,9 @@ Cat::Cat()
|
|||
|
||||
void Cat::MakeGet()
|
||||
{
|
||||
// IMPROVE ME this probably should be set for all winix functions
|
||||
cur->request->html_template = cur->request->last_item->html_template;
|
||||
|
||||
if( !cur->request->is_item )
|
||||
{
|
||||
log << log1 << "Content: cat function requires an item" << logend;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008-2018, Tomasz Sowa
|
||||
* Copyright (c) 2008-2021, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -52,6 +52,13 @@ Ls::Ls()
|
|||
|
||||
void Ls::MakeGet()
|
||||
{
|
||||
// !! IMPROVE ME
|
||||
// this should be moved to ckeditor function (similarly the html content from fun_ls.html)
|
||||
if( cur->request->IsParam(L"ckeditor_browse") )
|
||||
{
|
||||
cur->request->html_template = config->templates_index_generic;
|
||||
}
|
||||
|
||||
if( !cur->request->is_item )
|
||||
{
|
||||
DbItemQuery iq;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2011-2018, Tomasz Sowa
|
||||
* Copyright (c) 2011-2021, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -127,6 +127,8 @@ return false;
|
|||
|
||||
void Meta::ChangeAdminMeta()
|
||||
{
|
||||
// IMPROVE ME we need to show an error msg if the user is not an admin
|
||||
|
||||
if( cur->session->puser && cur->session->puser->super_user )
|
||||
{
|
||||
const std::wstring & meta_str = cur->request->PostVar(L"itemmeta");
|
||||
|
|
|
@ -584,12 +584,16 @@ bool Mv::MoveFileOrSymlink2(Item & src_file, const std::wstring & dst_path, bool
|
|||
if( !ParseDir(dst_path, check_access) )
|
||||
return false;
|
||||
|
||||
if( src_file.parent_id == out_dir_tab.back()->id )
|
||||
if( out_has_file && src_file.parent_id == out_dir_tab.back()->id && src_file.url == out_item.url )
|
||||
{
|
||||
// actually out_filename is here empty
|
||||
// because ParseDir() have been read it to out_item
|
||||
if( out_filename.empty() || src_file.url == out_filename )
|
||||
return true; // the same file -- there is nothing to do
|
||||
return true; // the same file -- there is nothing to do
|
||||
}
|
||||
|
||||
if( out_has_file )
|
||||
{
|
||||
log << log3 << "Mv: such file already exists (skipping)" << logend;
|
||||
slog << logerror << T("mv_file_exists") << logend;
|
||||
return false;
|
||||
}
|
||||
|
||||
return MoveFileOrSymlink(src_file, out_dir_tab, out_filename);
|
||||
|
|
|
@ -60,6 +60,9 @@ void Run::MakePost()
|
|||
|
||||
void Run::MakeGet()
|
||||
{
|
||||
// IMPROVE ME this probably should be set for all winix functions
|
||||
cur->request->html_template = cur->request->last_item->html_template;
|
||||
|
||||
if( !cur->request->is_item )
|
||||
{
|
||||
log << log1 << "Content: Run function requires an item" << logend;
|
||||
|
|
|
@ -97,12 +97,17 @@ void Template::CreateTemplateFileName(const std::wstring & index_str)
|
|||
}
|
||||
else
|
||||
if( index == 1 )
|
||||
{
|
||||
html_template = config->templates_index_generic;
|
||||
}
|
||||
else
|
||||
if( index == 2 )
|
||||
{
|
||||
html_template = config->templates_index_raw;
|
||||
}
|
||||
else
|
||||
{
|
||||
index -= 2;
|
||||
index -= 3;
|
||||
Mount::ParamRow & par = system->mounts.pmount->param[system->mounts.MountParHtmlTemplate()];
|
||||
|
||||
if( !par.defined || (size_t)index >= par.arg.size() )
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<p class="winix_iteminfo">
|
||||
<p class="uk-text-meta">
|
||||
{added_by}: [dir_last_user], [dir_last_date_creation_nice]
|
||||
|
||||
[if not dir_last_dates_equal]
|
||||
|
|
|
@ -1,20 +1,56 @@
|
|||
<div class="winix">
|
||||
|
||||
<h1>Account</h1>
|
||||
<h1>{account_header}</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>
|
||||
|
||||
<table class="uk-table uk-table-divider uk-table-small uk-table-justify">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="uk-width-1-4">{account_logged_as}</td>
|
||||
<td>[user_name]</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
[if user_super_user]
|
||||
<tr>
|
||||
<td>{account_admin}</td>
|
||||
<td>{account_admin_yes}</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
[end]
|
||||
|
||||
[if false]
|
||||
[# improve me]
|
||||
<tr>
|
||||
<td>{account_groups}</td>
|
||||
<td>html, www, foo</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
[end]
|
||||
|
||||
<tr>
|
||||
<td>{account_timezone}</td>
|
||||
<td>[user_time_zone_name]</td>
|
||||
<td>
|
||||
<a href="[dir]timezone" class="uk-button uk-button-default uk-button-small">{change}</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>{account_language}</td>
|
||||
<td>[user_locale_name]</td>
|
||||
<td>
|
||||
<a href="[dir]locale" class="uk-button uk-button-default uk-button-small">{change}</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
[else]
|
||||
<p>You are not logged in.</p>
|
||||
<p>{account_not_logged}</p>
|
||||
[end]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
|
|
@ -2,39 +2,62 @@
|
|||
|
||||
<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="">
|
||||
<form class="uk-form-stacked" method="post" action="[doc_base_url][dir]adduser">
|
||||
|
||||
<p class="withnext">{adduser_confirm_password}:</p>
|
||||
<input class="edit" type="password" name="passwordconfirm" value="">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_adduser_login">{adduser_login}</label>
|
||||
|
||||
[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]">
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_adduser_login" type="text" name="login" value="[adduser_last_login]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_adduser_password">{adduser_password}</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_adduser_password" type="password" name="password" value="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_adduser_confirm_password">{adduser_confirm_password}</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_adduser_confirm_password" type="password" name="passwordconfirm" value="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="uk-margin">
|
||||
[if winix_account_need_email_verification]
|
||||
<label class="uk-form-label" for="winix_adduser_email">{adduser_need_email}</label>
|
||||
[else]
|
||||
<label class="uk-form-label" for="winix_adduser_email">{adduser_email}</label>
|
||||
[end]
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_adduser_email" type="text" name="email" value="[adduser_last_email]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[if user_super_user]
|
||||
<p>
|
||||
<input type="checkbox" name="autoactivate" id="autoactivate"><label style="display: inline;" for="autoactivate">{adduser_auto_activate}</label>
|
||||
</p>
|
||||
<div class="uk-margin">
|
||||
<div class="uk-form-controls">
|
||||
<label><input class="uk-checkbox uk-margin-small-right" type="checkbox" name="autoactivate" id="autoactivate">{adduser_auto_activate}</label>
|
||||
</div>
|
||||
</div>
|
||||
[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>
|
||||
<div class="uk-margin">
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="[if user_logged]{adduser_submit}[else]{register_user_submit}[end]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -1,75 +1,80 @@
|
|||
<div class="winix">
|
||||
|
||||
[if item_is]<h1>{edit}</h1>[else]<h1>{add}</h1>[end]
|
||||
|
||||
[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]">
|
||||
<form class="uk-form-stacked">
|
||||
|
||||
[if one [mount_type_is "cms"] [any [mount_type_is "thread"] [thread_mount_arg_is "subject"]]]
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_title_id">{title}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_title_id" type="text" name="subject" value="[item_subject]" [if not item_is]autofocus [end]>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_url_id">{suggested_url}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_url_id" type="text" name="url" value="[item_url]">
|
||||
</div>
|
||||
</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]
|
||||
<div class="uk-margin">
|
||||
[if mount_type_is "cms"]<label class="uk-form-label" for="winix_content_id">{form_emacs_content_cms}</label>[end]
|
||||
[if mount_type_is "thread"]<label class="uk-form-label" for="winix_content_id">{form_emacs_content_thread}</label>[end]
|
||||
[if mount_type_is "ticket"]<label class="uk-form-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]
|
||||
|
||||
|
||||
<div style="border-top: 1px solid #dadada; border-bottom: 1px solid #dadada; padding: 0.2em 0 0.2em 0; margin: 1em 0 1em 0;" id="winix-editor-content" data-winix-post-name="itemcontent">[item_print_content]</div>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<div style="border-top: 1px solid #dadada; border-bottom: 1px solid #dadada; padding: 0.2em 0 0.2em 0; margin: 1em 0 1em 0;" id="winix-editor-content" data-winix-post-name="itemcontent">[item_print_content]</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<input id="contenttype" type="hidden" name="contenttype" value="2">
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<input id="contenttype" type="hidden" name="contenttype" value="2">
|
||||
</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 class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_nick_id">{nick}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_rebus_id">{rebus_how_is_it} [rebus_question]?</p>
|
||||
<input id="winix_rebus_id" type="text" name="rebus">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_rebus_id">{rebus_how_is_it} [rebus_question]?</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_rebus_id" type="text" name="rebus">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[include "antispam.html"]
|
||||
[end]
|
||||
|
||||
|
||||
<div class="winix-update-button-container">
|
||||
<button class="winix_update_button" data-winix-function-path="[doc_base_url][dir][if item_is][item_url]/[end]ckeditor"
|
||||
data-winix-content-ckeditor-instances="winix-editor-content"
|
||||
data-winix-content-inputs="winix_url_id,winix_title_id,contenttype"
|
||||
data-winix-progressbar-id="winix-editor-progressbar"
|
||||
data-winix-messages-status-success-id="winix-editor-messages-status-success"
|
||||
data-winix-messages-status-error-id="winix-editor-messages-status-error"
|
||||
>
|
||||
Aktualizuj
|
||||
</button>
|
||||
<div class="uk-margin">
|
||||
<div class="uk-form-controls uk-inline">
|
||||
|
||||
<button class="uk-button uk-button-primary winix_update_button"
|
||||
data-winix-function-path="[doc_base_url][dir][if item_is][item_url]/[end]ckeditor"
|
||||
data-winix-content-ckeditor-instances="winix-editor-content"
|
||||
data-winix-content-inputs="winix_url_id,winix_title_id,contenttype"
|
||||
data-winix-progressbar-id="winix-editor-progressbar"
|
||||
data-winix-messages-status-success-id="winix-editor-messages-status-success"
|
||||
data-winix-messages-status-error-id="winix-editor-messages-status-error"
|
||||
>
|
||||
{ckeditor_update_button}
|
||||
</button>
|
||||
|
||||
<div id="winix-editor-progressbar" class="uk-invisible uk-position-center-right-out uk-margin-small-left">
|
||||
<img src="[doc_base_url_common]/progressbars/progressbar_fading_lines_16x16.gif" alt="{ckeditor_update_progressbar_img_alt}">
|
||||
</div>
|
||||
|
||||
<div id="winix-editor-progressbar" class="winix-progressbar">
|
||||
<img src="[doc_base_url_common]/progressbars/progressbar_fading_lines_16x16.gif" alt="progress bar">
|
||||
</div>
|
||||
|
||||
<div id="winix-editor-messages-status-success" class="winix-editor-messages-status-success">
|
||||
|
@ -88,4 +93,6 @@
|
|||
[ckeditor_old_browsers_support]
|
||||
[ckeditor "winix-editor-content"]
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -2,38 +2,52 @@
|
|||
|
||||
<h1>{cp_header}</h1>
|
||||
|
||||
<p>
|
||||
[if item_is]{cp_page} [item_url] [else]{cp_dir} [dir_without_slash][end]
|
||||
</p>
|
||||
|
||||
<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>
|
||||
|
||||
<form class="uk-form-stacked uk-width-1-2@s" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]cp[if not item_is]/r[end]">
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_url">{suggested_url}</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_url" type="text" name="to" value="[dir_without_slash][if item_is]/[item_url][end]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="uk-margin">
|
||||
<div class="uk-margin-small-top">
|
||||
<label><input class="uk-checkbox uk-margin-small-right" type="checkbox" name="preserveattr">{cp_preserve_attr}</label>
|
||||
</div>
|
||||
|
||||
[if not item_is]
|
||||
|
||||
<div class="uk-margin-small-top">
|
||||
<label><input class="uk-checkbox uk-margin-small-right" type="checkbox" name="onlycontent">{cp_only_content}</label>
|
||||
</div>
|
||||
|
||||
<div class="uk-margin-small-top">
|
||||
<label><input class="uk-checkbox uk-margin-small-right" type="checkbox" name="removedefaults" checked="checked">{cp_remove_defaults}</label>
|
||||
</div>
|
||||
|
||||
<div class="uk-margin-small-top">
|
||||
<label><input class="uk-checkbox uk-margin-small-right" type="checkbox" name="followsymlinks" checked="checked">{cp_follow_symlinks}</label>
|
||||
</div>
|
||||
|
||||
[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="{copy}">
|
||||
</fieldset>
|
||||
<div class="uk-margin">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{copy}">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
|
|
@ -3,27 +3,40 @@
|
|||
<h1>{create_thread_header}</h1>
|
||||
|
||||
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir]createthread">
|
||||
<fieldset>
|
||||
<legend>{form_thread_legend}</legend>
|
||||
<form class="uk-form-stacked" method="post" action="[doc_base_url][dir]createthread">
|
||||
|
||||
<p class="withnext">{title}:</p>
|
||||
<input class="edit" type="text" name="subject" value="[item_subject]">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_title_id">{title}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_title_id" type="text" name="subject" value="[item_subject]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[if thread_mount_arg_is "subject"]
|
||||
<p class="withnext">{suggested_url}:</p>
|
||||
<input class="edit" type="text" name="url" value="[item_url]">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_url_id">{suggested_url}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_url_id" type="text" name="url" value="[item_url]">
|
||||
</div>
|
||||
</div>
|
||||
[end]
|
||||
|
||||
[include "fun_emacs_post.html"]
|
||||
|
||||
[if not user_logged]
|
||||
<p class="withnext">{nick}:</p>
|
||||
<input class="edit" type="text" name="guestname" value="[item_guest_name]">
|
||||
|
||||
<p class="withnext">{rebus_how_is_it} [rebus_question]?</p>
|
||||
<input class="edit" type="text" name="rebus">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_nick_id">{nick}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_rebus_id">{rebus_how_is_it} [rebus_question]?</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_rebus_id" type="text" name="rebus">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[include "antispam.html"]
|
||||
[end]
|
||||
|
@ -31,9 +44,12 @@
|
|||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
|
||||
<input class="submit" type="submit" value="{button_thread_submit}">
|
||||
</fieldset>
|
||||
<div class="uk-margin">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{button_thread_submit}">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -8,116 +8,180 @@
|
|||
|
||||
|
||||
|
||||
<form method="post" action="[doc_base_url][dir][if item_is][item_url]/editticket[else]createticket[end]" enctype="multipart/form-data">
|
||||
<form class="uk-form-stacked" 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 class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_title_id">{title}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_title_id" type="text" name="subject" value="[item_subject]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
[if 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>
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_ticket_select_id_[ticket_tab_param_id]">[filter fil_firstup][ticket_tab_param_name][end]</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<select class="uk-select" id="winix_ticket_select_id_[ticket_tab_param_id]" 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>
|
||||
</div>
|
||||
</div>
|
||||
[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]">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_ticket_input_id_[ticket_tab_param_id]">[filter fil_firstup][ticket_tab_param_name][end]</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_ticket_input_id_[ticket_tab_param_id]" type="text" name="ticketparam[ticket_tab_param_id]" value="[ticket_tab_value]">
|
||||
</div>
|
||||
</div>
|
||||
[end]
|
||||
|
||||
|
||||
[if ticket_tab_type_is "multistring"]
|
||||
<textarea name="ticketparam[ticket_tab_param_id]" rows="10" cols="60">[ticket_tab_value]</textarea>
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_ticket_textarea_id_[ticket_tab_param_id]">[filter fil_firstup][ticket_tab_param_name][end]</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<textarea class="uk-textarea" id="winix_ticket_textarea_id_[ticket_tab_param_id]" name="ticketparam[ticket_tab_param_id]" rows="10" cols="60">[ticket_tab_value]</textarea>
|
||||
</div>
|
||||
</div>
|
||||
[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 class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_ticket_images_id_[ticket_tab_param_id]">[filter fil_firstup][ticket_tab_param_name][end]</label>
|
||||
|
||||
<div uk-form-custom="target: true">
|
||||
<input type="file" id="winix_ticket_images_id_[ticket_tab_param_id]" name="ticketparam[ticket_tab_param_id]" multiple>
|
||||
<input class="uk-input" type="text" placeholder="{form_ticket_select_file}" disabled>
|
||||
</div>
|
||||
|
||||
<button class="uk-button uk-button-default" type="submit" name="fileuploadsubmit">{add}</button>
|
||||
</div>
|
||||
[end]
|
||||
|
||||
|
||||
<div class="uk-margin">
|
||||
<div class="uk-child-width-1-3@m" uk-grid uk-lightbox="animation: slide">
|
||||
[for ticket_tab_file_tab]
|
||||
<div class="uk-inline">
|
||||
<a class="uk-inline" href="[doc_base_url][ticket_tab_file_tab_path]" data-caption="[ticket_tab_file_tab_path]">
|
||||
<img src="[doc_base_url][ticket_tab_file_tab_path]/-/thumb" alt="[ticket_tab_file_tab_path]">
|
||||
</a>
|
||||
|
||||
<button class="uk-button uk-button-default uk-button-small uk-position-small uk-position-top-right uk-overlay uk-overlay-default uk-padding-small uk-padding-remove-top uk-padding-remove-bottom"
|
||||
type="submit"
|
||||
name="ticketdeletefile_[ticket_tab_file_tab_itemid]"
|
||||
data-uk-tooltip="title: {ticket_delete_file}">
|
||||
|
||||
<span uk-icon="trash"></span>
|
||||
</button>
|
||||
</div>
|
||||
[end]
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<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"]
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_ticket_files_id_[ticket_tab_param_id]">[filter fil_firstup][ticket_tab_param_name][end]</label>
|
||||
|
||||
<div uk-form-custom="target: true">
|
||||
<input type="file" id="winix_ticket_files_id_[ticket_tab_param_id]" name="ticketparam[ticket_tab_param_id]" multiple>
|
||||
<input class="uk-input" type="text" placeholder="{form_ticket_select_file}" disabled>
|
||||
</div>
|
||||
|
||||
<button class="uk-button uk-button-default" type="submit" name="fileuploadsubmit">{add}</button>
|
||||
</div>
|
||||
|
||||
[if ticket_tab_file_tab]
|
||||
<div class="uk-margin">
|
||||
<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}">
|
||||
<button class="uk-button uk-button-default uk-button-small"
|
||||
type="submit"
|
||||
name="ticketdeletefile_[ticket_tab_file_tab_itemid]"
|
||||
value="{ticket_delete_file}"
|
||||
data-uk-tooltip="title: {ticket_delete_file}">
|
||||
|
||||
<span uk-icon="trash"></span>
|
||||
</button>
|
||||
</li>
|
||||
[end]
|
||||
</ul>
|
||||
</div>
|
||||
[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}
|
||||
<div class="uk-alert-warning" uk-alert>
|
||||
<p>{ticket_value_not_set}</p>
|
||||
</div>
|
||||
[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 class="uk-margin">
|
||||
<label for="winix_content_id">{form_emacs_content_ticket}</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<textarea class="uk-textarea" id="winix_content_id" rows="10" cols="60" name="itemcontent">[item_content]</textarea>
|
||||
</div>
|
||||
</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_other]<option[if item_content_type_is "other"] selected[end] value="4">{form_emacs_content_type_other}</option>[end]
|
||||
</select>
|
||||
<div class="uk-margin">
|
||||
<label for="winix_content_type_id">{form_emacs_content_type}</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<select class="uk-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_other]<option[if item_content_type_is "other"] selected[end] value="4">{form_emacs_content_type_other}</option>[end]
|
||||
</select>
|
||||
</div>
|
||||
</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 class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_nick_id">{nick}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_rebus_id">{rebus_how_is_it} [rebus_question]?</p>
|
||||
<input id="winix_rebus_id" type="text" name="rebus">
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_rebus_id">{rebus_how_is_it} [rebus_question]?</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_rebus_id" type="text" name="rebus">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[include "antispam.html"]
|
||||
|
@ -128,8 +192,9 @@
|
|||
<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]">
|
||||
<div class="uk-margin">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="[if item_is]{form_ticket_edit_submit}[else]{form_ticket_create_submit}[end]">
|
||||
</div>
|
||||
|
||||
|
||||
</form>
|
||||
|
|
|
@ -3,22 +3,28 @@
|
|||
<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]">
|
||||
<form class="uk-form-stacked uk-width-1-2@s" method="post" action="[doc_base_url][dir]default">
|
||||
|
||||
<p>
|
||||
<label><input class="" type="checkbox" name="makeredirect"[if dir_last_is_link_redirect] checked="checked"[end]>{default_make_redirect}</label>
|
||||
</p>
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_url">{url}</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_url" type="text" name="linkto" value="[dir_last_link_to]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="uk-margin">
|
||||
<label><input class="uk-checkbox uk-margin-small-right" type="checkbox" name="makeredirect"[if dir_last_is_link_redirect] checked="checked"[end]>{default_make_redirect}</label>
|
||||
</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}">
|
||||
</fieldset>
|
||||
<div class="uk-margin">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{change}">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
|
|
|
@ -4,39 +4,51 @@
|
|||
|
||||
|
||||
|
||||
<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]>
|
||||
<form class="uk-form-stacked" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]emacs">
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_title_id">{title}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_title_id" type="text" name="subject" value="[item_subject]" [if not item_is]autofocus [end]>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_url_id">{suggested_url}:</label>
|
||||
<input id="winix_url_id" type="text" name="url" value="[item_url]">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_url_id">{suggested_url}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_url_id" type="text" name="url" value="[item_url]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[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 class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_nick_id">{nick}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_rebus_id">{rebus_how_is_it} [rebus_question]?</label>
|
||||
<input id="winix_rebus_id" type="text" name="rebus">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_rebus_id">{rebus_how_is_it} [rebus_question]?</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_rebus_id" type="text" name="rebus">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[include "antispam.html"]
|
||||
[end]
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<div class="uk-form-controls">
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
</div>
|
||||
[end]
|
||||
|
||||
<input type="submit" value="[if item_is]{change}[else]{add}[end]">
|
||||
<div class="uk-margin uk-form-controls">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="[if item_is]{change}[else]{add}[end]">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
|
|
|
@ -1,21 +1,24 @@
|
|||
|
||||
<div class="winix_input_a">
|
||||
<div class="uk-margin">
|
||||
|
||||
[if winix_function_is "upload"]
|
||||
<label for="winix_content_id">{upload_content}</label>
|
||||
<label class="uk-form-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]
|
||||
[if mount_type_is "cms"]<label class="uk-form-label" for="winix_content_id">{form_emacs_content_cms}</label>[end]
|
||||
[if mount_type_is "thread"]<label class="uk-form-label" for="winix_content_id">{form_emacs_content_thread}</label>[end]
|
||||
[if mount_type_is "ticket"]<label class="uk-form-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 class="uk-form-controls">
|
||||
[# CodeMirror doesn't work correctly inside fieldset tag -- horizontal scroll is broken]
|
||||
<textarea class="uk-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>
|
||||
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_contenttype_id">{form_emacs_content_type}</label>
|
||||
<select name="contenttype" id="winix_contenttype_id">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_contenttype_id">{form_emacs_content_type}</label>
|
||||
<select class="uk-select" name="contenttype" id="winix_contenttype_id">
|
||||
<option[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]
|
||||
|
|
|
@ -5,51 +5,61 @@
|
|||
|
||||
[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="uk-form-stacked uk-width-1-2@s" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]env[if winix_function_param_is "a"]/a[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>
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_env_user_select">
|
||||
[if winix_function_param_is "a"]
|
||||
{env_change_admin_env_for_user}
|
||||
[else]
|
||||
{env_change_env_for_user}
|
||||
[end]
|
||||
</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<select class="uk-select" id="winix_env_user_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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="changeuser">
|
||||
<input class="submit" type="submit" value="{env_change_user}">
|
||||
|
||||
<div class="uk-margin">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{env_change_user}">
|
||||
</div>
|
||||
|
||||
[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}">
|
||||
<form class="uk-margin-medium uk-form-stacked" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]env[if winix_function_param_is "a"]/a[end]">
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
<div class="uk-margin">
|
||||
<div class="uk-form-controls">
|
||||
<textarea class="uk-textarea" rows="20" name="envvar">[if winix_function_param_is "a"][env_user_admin_env_str][else][env_user_env_str][end]</textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
<input type="hidden" name="userid" value="[env_user_id]">
|
||||
|
||||
<div class="uk-margin">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{change}">
|
||||
</div>
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
|
|
|
@ -11,17 +11,20 @@
|
|||
|
||||
|
||||
|
||||
<form action="[doc_base_url][dir][if item_is][item_url]/[end]export" method="post">
|
||||
<form class="uk-form-stacked" 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">
|
||||
<div class="uk-margin">
|
||||
<label><input class="uk-checkbox uk-margin-small-right" type="checkbox" name="staticfilestoo">{export_checkbox_static_file_too}</label>
|
||||
</div>
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
<div class="uk-margin">
|
||||
<button class="uk-button uk-button-primary" type="submit">{export_button}</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
|
|
|
@ -4,12 +4,14 @@
|
|||
[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 one gallery_has_not_mount_type [gallery_mount_type_arg_is "uikit"]]
|
||||
|
||||
[if gallery_tab]
|
||||
<ul class="galleryimages">
|
||||
<ul class="uk-child-width-1-2@s uk-child-width-1-3@m uk-child-width-1-4@l uk-grid" data-uk-lightbox="animation: slide">
|
||||
[for gallery_tab]
|
||||
<li><a rel="lightbox\[gallery\]" href="[gallery_tab_link]"><img src="[gallery_tab_link]/-/thumb" alt="[gallery_tab_subject]"></a></li>
|
||||
<li class="uk-margin-small">
|
||||
<a href="[gallery_tab_link]"><img src="[gallery_tab_link]/-/thumb" alt="[gallery_tab_subject]"></a>
|
||||
</li>
|
||||
[end]
|
||||
</ul>
|
||||
[end]
|
||||
|
@ -17,7 +19,24 @@
|
|||
[end]
|
||||
|
||||
|
||||
[if gallery_mount_type_arg_is "galleria"]
|
||||
[if gallery_mount_type_arg_is "lightbox"]
|
||||
[# https://lokeshdhakar.com/projects/lightbox2/ ]
|
||||
|
||||
[if gallery_tab]
|
||||
<ul class="uk-child-width-1-2@s uk-child-width-1-3@m uk-child-width-1-4@l uk-grid">
|
||||
[for gallery_tab]
|
||||
<li class="uk-margin-small">
|
||||
<a href="[gallery_tab_link]" data-lightbox="gallery"><img src="[gallery_tab_link]/-/thumb" alt="[gallery_tab_subject]"></a>
|
||||
</li>
|
||||
[end]
|
||||
</ul>
|
||||
[end]
|
||||
|
||||
[end]
|
||||
|
||||
|
||||
[if gallery_mount_type_arg_is "galleriajs"]
|
||||
[# https://galleriajs.github.io/]
|
||||
|
||||
[if gallery_tab]
|
||||
<ul class="galleryimages" style="width: [gallery_width]; height: [gallery_height];">
|
||||
|
@ -25,21 +44,30 @@
|
|||
<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>
|
||||
|
||||
|
||||
[if gallery_mount_theme_arg_is "azur"]
|
||||
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/galleriajs/1.6.1/dist/themes/azur/galleria.azur.min.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>
|
||||
[if gallery_mount_theme_arg_is "twelve"]
|
||||
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/galleriajs/1.6.1/dist/themes/twelve/galleria.twelve.min.js');</script>
|
||||
[else]
|
||||
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/aino-galleria/themes/classic/galleria.classic.js');</script>
|
||||
[if gallery_mount_theme_arg_is "folio"]
|
||||
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/galleriajs/1.6.1/dist/themes/folio/galleria.folio.min.js');</script>
|
||||
[else]
|
||||
[if gallery_mount_theme_arg_is "fullscreen"]
|
||||
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/galleriajs/1.6.1/dist/themes/fullscreen/galleria.fullscreen.min.js');</script>
|
||||
[else]
|
||||
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/galleriajs/1.6.1/dist/themes/classic/galleria.classic.min.js');</script>
|
||||
[end]
|
||||
[else]
|
||||
[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]
|
||||
|
@ -47,120 +75,4 @@
|
|||
[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>
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
<div class="winix">
|
||||
|
||||
|
||||
<h1>Kadrowanie obrazów</h1>
|
||||
<h1>{imgcrop_header}</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]
|
||||
|
||||
[if winix_function_param_is "thumb"]
|
||||
<p>{imgcrop_crop_only_thumb_info}</p>
|
||||
[else]
|
||||
[if winix_function_param_is "newthumb"]
|
||||
<p>{imgcrop_create_new_thumb_info}</p>
|
||||
[else]
|
||||
<p>{imgcrop_crop_only_original_img_info}</p>
|
||||
[end]
|
||||
[end]
|
||||
|
||||
<script type="text/javascript">
|
||||
var winix_jcrop;
|
||||
</script>
|
||||
|
@ -31,12 +31,11 @@
|
|||
|
||||
[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]
|
||||
[if false] [# !! IMPROVE ME not implemented yet]
|
||||
<div class="uk-margin">
|
||||
<label><input class="uk-checkbox uk-margin-small-right" type="checkbox" name="createthumbtoo">{imgcrop_create_new_thumb_too_info}</label>
|
||||
</div>
|
||||
[end]
|
||||
|
||||
[end]
|
||||
|
||||
|
@ -44,12 +43,15 @@
|
|||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
<input type="submit" value="Kadruj">
|
||||
<div class="uk-margin">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="Kadruj">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
[else]
|
||||
<p>To nie jest obrazek.</p>
|
||||
<p>{imgcrop_no_image_info}</p>
|
||||
[end]
|
||||
|
||||
|
||||
|
@ -72,33 +74,35 @@
|
|||
[else]
|
||||
|
||||
[if item_tab]
|
||||
<ul class="winix_imgcrop_list">
|
||||
[for item_tab]
|
||||
<table class="uk-table uk-table-responsive uk-table-divider uk-table-justify">
|
||||
[for item_tab]
|
||||
<tr>
|
||||
|
||||
<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>
|
||||
<td data-uk-lightbox="animation: slide">
|
||||
<a href="[item_tab_link]">
|
||||
<img src="[item_tab_link][if item_tab_has_thumb]/-/thumb[end]" alt="[item_tab_subject]">
|
||||
</a>
|
||||
</td>
|
||||
|
||||
|
||||
</li>
|
||||
<td>
|
||||
[item_tab_url]
|
||||
</td>
|
||||
|
||||
[end]
|
||||
</ul>
|
||||
<td>
|
||||
|
||||
<ul class="uk-nav uk-width-medium">
|
||||
<li class="uk-margin-small"><a class="uk-button uk-button-default uk-button-small uk-text-small" href="[item_tab_link]/imgcrop/postredirect:[filter fil_urlencode][doc_base_url][dir]imgcrop[end]">{imgcrop_table_option_crop_image}</a></li>
|
||||
<li class="uk-margin-small"><a class="uk-button uk-button-default uk-button-small uk-text-small" href="[item_tab_link]/imgcrop/thumb/postredirect:[filter fil_urlencode][doc_base_url][dir]imgcrop[end]">{imgcrop_table_option_crop_thumb}</a></li>
|
||||
<li class="uk-margin-small"><a class="uk-button uk-button-default uk-button-small uk-text-small" href="[item_tab_link]/imgcrop/newthumb/postredirect:[filter fil_urlencode][doc_base_url][dir]imgcrop[end]">{imgcrop_table_option_create_new_thumb}</a></li>
|
||||
</ul>
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
</tr>
|
||||
[end]
|
||||
</table>
|
||||
[end]
|
||||
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
[if ipban_tab]
|
||||
|
||||
<table class="ipban_table">
|
||||
<table class="uk-table uk-table-divider uk-table-small">
|
||||
|
||||
<tr>
|
||||
<th>{ipban_col_id}</th>
|
||||
|
@ -35,15 +35,15 @@
|
|||
<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>
|
||||
<td><a class="uk-button uk-button-default uk-button-small" 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>
|
||||
<div class="uk-margin">
|
||||
<a class="uk-button uk-button-default" href="[doc_base_url][dir][if item_is][item_url]/[end]ipban/removeip:all">{ipban_remove_all_ip}</a>
|
||||
</div>
|
||||
|
||||
[else]
|
||||
<p>{ipban_ban_list_empty}</p>
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<div class="winix">
|
||||
|
||||
<h1 class="simple">{last_header}</h1>
|
||||
<h1>{last_header}</h1>
|
||||
|
||||
[if last_tab]
|
||||
<table>
|
||||
<table class="uk-table uk-table-divider uk-table-small uk-table-responsive">
|
||||
<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>
|
||||
|
|
|
@ -2,35 +2,50 @@
|
|||
|
||||
<h1>{ln_header}</h1>
|
||||
|
||||
<p>{ln_info}: [dir]</p>
|
||||
|
||||
<form id="additem" method="post" action="[doc_base_url][dir]ln">
|
||||
<fieldset>
|
||||
<legend>{form_ln_legend}</legend>
|
||||
|
||||
<p>{ln_info}: [dir]</p>
|
||||
<form class="uk-form-stacked uk-width-1-2@s" method="post" action="[doc_base_url][dir]ln">
|
||||
|
||||
<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]">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_suggested_url">{suggested_url}</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_suggested_url" type="text" name="url" value="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_link_to">{ln_to}</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_link_to" type="text" name="linkto" value="[dir][if item_is][item_url][end]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="uk-margin-small">
|
||||
<label><input class="uk-radio uk-margin-small-right" type="radio" name="linktype" checked="checked" value="0">{ln_hardlink}</label>
|
||||
</div>
|
||||
|
||||
<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>
|
||||
<div class="uk-margin-small">
|
||||
<label><input class="uk-radio uk-margin-small-right" type="radio" name="linktype" value="1">{ln_symlink}</label>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
<label><input class="" type="checkbox" name="makeredirect">{ln_make_redirect}</label>
|
||||
</p>
|
||||
<div class="uk-margin">
|
||||
<label><input class="uk-checkbox uk-margin-small-right" type="checkbox" name="makeredirect">{ln_make_redirect}</label>
|
||||
</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}">
|
||||
</fieldset>
|
||||
<div class="uk-margin">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{change}">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
|
|
|
@ -9,26 +9,27 @@
|
|||
[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>
|
||||
<form class="uk-form-stacked uk-width-1-2@s" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]locale">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_locale_select">{locale_select}:</label>
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
<div class="uk-form-controls">
|
||||
<select id="winix_locale_select" name="localeid" class="uk-select">
|
||||
[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>
|
||||
</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}">
|
||||
</fieldset>
|
||||
<div class="uk-margin uk-form-controls">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{change}">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
|
|
|
@ -1,47 +1,91 @@
|
|||
<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>
|
||||
<div class="uk-width-large uk-padding-small">
|
||||
<h1>{login_header}</h1>
|
||||
|
||||
<p class="uk-margin-top">
|
||||
{login_currently_logged_as} <strong>[user_name]</strong>
|
||||
</p>
|
||||
|
||||
<div class="uk-margin-top">
|
||||
<a href="[doc_base_url][if dir_can_read_exec][dir][if any item_is item_can_read][item_url]/[end][else]/[end]logout" class="uk-button uk-button-primary uk-width-small">{login_logout_button}</a>
|
||||
</div>
|
||||
</div>
|
||||
[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>
|
||||
<div class="uk-width-1-1 uk-padding-small uk-alert-danger">
|
||||
<p>{login_cannot_login_from_this_ip}<br>
|
||||
{login_cannot_login_available} [ipban_current_ip_expires_time]</p>
|
||||
</div>
|
||||
[else]
|
||||
|
||||
<form method="post" action="[login_path]login">
|
||||
[# login template: https://zzseba78.github.io/Kick-Off/login.html, a little modified: removed pills from borders ]
|
||||
<div class="uk-width-medium uk-padding-small">
|
||||
<!-- login -->
|
||||
<form class="toggle-class" action="[login_path]login" method="POST">
|
||||
|
||||
<div class="winix_input_b">
|
||||
<input type="text" name="login">
|
||||
</div>
|
||||
<div class="uk-margin-small">
|
||||
<div class="uk-inline uk-width-1-1">
|
||||
<span class="uk-form-icon uk-form-icon-flip" data-uk-icon="icon: user"></span>
|
||||
<input class="uk-input" required placeholder="{login_username}" type="text" name="login">
|
||||
</div>
|
||||
</div>
|
||||
<div class="uk-margin-small">
|
||||
<div class="uk-inline uk-width-1-1">
|
||||
<span class="uk-form-icon uk-form-icon-flip" data-uk-icon="icon: lock"></span>
|
||||
<input class="uk-input" required placeholder="{login_password}" type="password" name="password">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="winix_input_b">
|
||||
<input type="password" name="password">
|
||||
</div>
|
||||
[if login_should_use_captcha]
|
||||
<div class="uk-margin-small">
|
||||
<div class="uk-inline uk-width-1-1">
|
||||
<span class="uk-form-icon uk-form-icon-flip" data-uk-icon="icon: lifesaver"></span>
|
||||
<input class="uk-input" required placeholder="{rebus_how_is_it} [rebus_question]?" type="text" name="rebus">
|
||||
</div>
|
||||
</div>
|
||||
[end]
|
||||
|
||||
<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>
|
||||
<div class="uk-margin-small">
|
||||
<label><input class="uk-checkbox uk-margin-small-right" type="checkbox" name="rememberme">{login_remember_me}</label>
|
||||
</div>
|
||||
<div class="uk-margin-bottom">
|
||||
<button type="submit" class="uk-button uk-button-primary uk-width-1-1">{login_button}</button>
|
||||
</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">
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
</form>
|
||||
<!-- /login -->
|
||||
|
||||
|
||||
<!-- recover password -->
|
||||
<form class="toggle-class" action="#[# not implemented yet]" hidden>
|
||||
<div class="uk-margin-small">
|
||||
<div class="uk-inline uk-width-1-1">
|
||||
<span class="uk-form-icon uk-form-icon-flip" data-uk-icon="icon: mail"></span>
|
||||
<input class="uk-input" placeholder="{login_forgot_password_email}" required type="text">
|
||||
</div>
|
||||
</div>
|
||||
<div class="uk-margin-bottom">
|
||||
<button type="submit" class="uk-button uk-button-primary uk-width-1-1">{login_forgot_password_button}</button>
|
||||
</div>
|
||||
</form>
|
||||
<!-- /recover password -->
|
||||
|
||||
<!-- action buttons -->
|
||||
<div>
|
||||
<div class="uk-text-center">
|
||||
<a class="uk-link-reset uk-text-small toggle-class" data-uk-toggle="target: .toggle-class ;animation: uk-animation-fade">{login_forgot_password_question}</a>
|
||||
<a class="uk-link-reset uk-text-small toggle-class" data-uk-toggle="target: .toggle-class ;animation: uk-animation-fade" hidden><span data-uk-icon="arrow-left"></span> {login_back_to_login_form}</a>
|
||||
</div>
|
||||
</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>
|
||||
<!-- action buttons -->
|
||||
</div>
|
||||
|
||||
[end]
|
||||
|
||||
|
|
|
@ -1,24 +1,40 @@
|
|||
<div class="winix">
|
||||
|
||||
<div class="winix"[if winix_function_param_is "ckeditor_browse"] style="padding: 1.5em;"[end]>
|
||||
|
||||
|
||||
[# !! IMPROVE ME: move this html code to a ckeditor template]
|
||||
[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">
|
||||
|
||||
<div class="uk-margin">
|
||||
<ul class="uk-breadcrumb">
|
||||
[for dir_tab]
|
||||
<li>
|
||||
<a href="[doc_base_url][dir_tab_link]ls/ckeditor_browse/CKEditor:itemcontent/CKEditorFuncNum:[ls_ckeditor_funnum_browse]">
|
||||
[if cmp dir_tab_url ""]
|
||||
[# !! IMPROVE ME it would be better to have a flag of some kind to indicate that this is a root dir]
|
||||
{ls_root_dir_name}
|
||||
[else]
|
||||
[dir_tab_url]
|
||||
[end]
|
||||
</a>
|
||||
</li>
|
||||
[end]
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="uk-flex uk-margin-medium">
|
||||
<div class="uk-width-1-4">
|
||||
|
||||
[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>
|
||||
<ul class="uk-list uk-list-disc uk-list-collapse">
|
||||
[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>
|
||||
<a href="[doc_base_url][dir_parent]ls/ckeditor_browse/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>
|
||||
<a href="[doc_base_url][dir][dir_childs_tab_url]/ls/ckeditor_browse/CKEditor:itemcontent/CKEditorFuncNum:[ls_ckeditor_funnum_browse]">[dir_childs_tab_url]/</a>
|
||||
[end]
|
||||
</li>
|
||||
[end]
|
||||
|
@ -27,15 +43,14 @@
|
|||
|
||||
</div>
|
||||
|
||||
<div id="winix_ls_browse_rightcolumn">
|
||||
<div class="">
|
||||
|
||||
[if item_tab]
|
||||
|
||||
<h2>{ls_pictures_in_dir} [dir]</h2>
|
||||
<ul>
|
||||
|
||||
<ul class="uk-list uk-list-collapse" data-uk-grid>
|
||||
|
||||
[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>
|
||||
<li><a href="javascript:select('[item_tab_link]')"><img data-src="[item_tab_link]/-/thumb" alt="[item_tab_subject]" height="120" data-uk-img></a></li>
|
||||
[end]
|
||||
|
||||
</ul>
|
||||
|
@ -44,11 +59,12 @@
|
|||
[end]
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
[else]
|
||||
|
||||
<h1>{ls_header}</h1>
|
||||
|
||||
[# !! improve me: we need a 'l' flag to a file too, now it's working for dirs only]
|
||||
[if not item_is]
|
||||
|
||||
[if winix_function_param_is "l"]
|
||||
|
@ -59,7 +75,15 @@
|
|||
|
||||
[if one dir_childs_tab item_tab]
|
||||
|
||||
<table>
|
||||
<table class="uk-table uk-table-divider uk-table-small uk-table-justify uk-table-responsive">
|
||||
<tr>
|
||||
<th>{ls_type}</th>
|
||||
<th>{ls_permissions}</th>
|
||||
<th>{ls_owner}</th>
|
||||
<th>{ls_group}</th>
|
||||
<th>{ls_name}</th>
|
||||
</tr>
|
||||
|
||||
[for dir_childs_tab]
|
||||
<tr>
|
||||
<td>d</td>
|
||||
|
@ -95,7 +119,7 @@
|
|||
[dir_childs_tab "with_parent"]
|
||||
|
||||
[if dir_childs_tab]
|
||||
<ul>
|
||||
<ul class="uk-list uk-list-disc uk-list-collapse">
|
||||
[for dir_childs_tab]
|
||||
<li>
|
||||
[if dir_childs_is_parent]
|
||||
|
@ -107,9 +131,9 @@
|
|||
[end]
|
||||
</ul>
|
||||
[end]
|
||||
|
||||
[# !! IMPROVE ME those two lists (above and below) can be combined together]
|
||||
[if item_tab]
|
||||
<ul>
|
||||
<ul class="uk-list uk-list-disc uk-list-collapse">
|
||||
[for item_tab]
|
||||
<li><a href="[doc_base_url][dir][item_tab_url]">[item_tab_url]</a></li>
|
||||
[end]
|
||||
|
@ -120,8 +144,9 @@
|
|||
|
||||
[else]
|
||||
|
||||
<ul>
|
||||
<li><a href="[doc_base_url][dir][item_url]">[item_url]</a></li>
|
||||
[#!! improve me: may it would be better to not use a list here?]
|
||||
<ul class="uk-list uk-list-disc uk-list-collapse">
|
||||
<li><a href="[doc_base_url][dir][item_url]">[item_url]</a></li>
|
||||
</ul>
|
||||
|
||||
[end]
|
||||
|
|
|
@ -4,29 +4,23 @@
|
|||
|
||||
<h2>{man_winix_funcions}</h2>
|
||||
|
||||
<table>
|
||||
<ul class="uk-list uk-list-disc">
|
||||
|
||||
[for man_winixfun_tab]
|
||||
<tr>
|
||||
<td>[man_winixfun_tab_index]</td>
|
||||
<td>[man_winixfun_tab_name]</td>
|
||||
</tr>
|
||||
<li>[man_winixfun_tab_name]</li>
|
||||
[end]
|
||||
|
||||
</table>
|
||||
</ul>
|
||||
|
||||
|
||||
<h2>{man_ezc_functions}</h2>
|
||||
|
||||
<table>
|
||||
<ul class="uk-list uk-list-disc">
|
||||
|
||||
[for man_ezcfun_tab]
|
||||
<tr>
|
||||
<td>[man_ezcfun_tab_index]</td>
|
||||
<td>[man_ezcfun_tab_name]</td>
|
||||
</tr>
|
||||
<li>[man_ezcfun_tab_name]</li>
|
||||
[end]
|
||||
|
||||
</table>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -1,62 +1,52 @@
|
|||
<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>
|
||||
<h1>
|
||||
[if winix_function_param_is "a"]
|
||||
{meta_admin_header}
|
||||
[else]
|
||||
<form method="post" action="[doc_base_url][dir]meta/a">
|
||||
{meta_header}
|
||||
[end]
|
||||
</h1>
|
||||
|
||||
<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"]">
|
||||
<form class="uk-form-stacked" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]meta[if winix_function_param_is "a"]/a[end]">
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_meta_textarea">
|
||||
[if winix_function_param_is "a"]
|
||||
[if item_is]
|
||||
{meta_admin_for_page}:
|
||||
[else]
|
||||
{meta_admin_for_dir}:
|
||||
[end]
|
||||
[else]
|
||||
[if item_is]
|
||||
{meta_for_page}:
|
||||
[else]
|
||||
{meta_for_dir}:
|
||||
[end]
|
||||
[end]
|
||||
|
||||
</form>
|
||||
[# !! IMPROVE ME give some message if there is a root directory]
|
||||
[item_url]
|
||||
|
||||
</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<textarea class="uk-textarea" id="winix_meta_textarea" rows="20" name="itemmeta">[if winix_function_param_is "a"][if item_is][item_admin_meta_str][else][dir_last_admin_meta_str][end][else][if item_is][item_meta_str][else][dir_last_meta_str][end][end]</textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="uk-margin">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{change}">
|
||||
</div>
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
</form>
|
||||
|
||||
[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>
|
||||
|
|
|
@ -2,22 +2,33 @@
|
|||
|
||||
<h1>{mkdir_header}</h1>
|
||||
|
||||
<form class="uk-form-stacked uk-width-1-2@s" method="post" action="[doc_base_url][dir]mkdir">
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_title">{title}</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_title" type="text" name="subject" value="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<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="">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_url">{suggested_url}</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_url" type="text" name="url" value="">
|
||||
</div>
|
||||
</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="{add}">
|
||||
</fieldset>
|
||||
<div class="uk-margin">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{add}">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -3,9 +3,12 @@
|
|||
<h1>{mount_header}</h1>
|
||||
|
||||
|
||||
<h2>{mount_current}:</h2>
|
||||
<h2>{mount_current}</h2>
|
||||
|
||||
|
||||
|
||||
<table class="uk-table uk-table-divider uk-table-small uk-table-responsive">
|
||||
|
||||
<table class="winix_mountpoints">
|
||||
<tr>
|
||||
<th>{mount_type}</th>
|
||||
<th>{mount_dir}</th>
|
||||
|
@ -25,10 +28,11 @@
|
|||
|
||||
|
||||
|
||||
<h2>{mount_table}:</h2>
|
||||
<h2>{mount_table}</h2>
|
||||
|
||||
[if mount_tab]
|
||||
<table class="winix_mountpoints">
|
||||
<table class="uk-table uk-table-divider uk-table-small uk-table-responsive">
|
||||
|
||||
|
||||
<tr>
|
||||
<th>{mount_type}</th>
|
||||
|
|
|
@ -2,30 +2,36 @@
|
|||
|
||||
<h1>{mv_header}</h1>
|
||||
|
||||
<p>
|
||||
[if item_is]{mv_page} [item_url]:[else]{mv_dir} [dir_without_slash][end]
|
||||
</p>
|
||||
|
||||
<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]">
|
||||
|
||||
<form class="uk-form-stacked uk-width-1-2@s" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]mv">
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_url">{suggested_url}</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_url" type="text" name="dst_path" value="[dir_without_slash][if item_is]/[item_url][end]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
[if not item_is]
|
||||
<label><input type="checkbox" name="c"[if winix_function_param_is "c"]checked="checked"[end]>{mv_only_content}</label>
|
||||
<div class="uk-margin">
|
||||
<label><input class="uk-checkbox uk-margin-small-right" type="checkbox" name="c"[if winix_function_param_is "c"] checked="checked"[end]>{mv_only_content}</label>
|
||||
</div>
|
||||
[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>
|
||||
<div class="uk-margin">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{move}">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -3,51 +3,57 @@
|
|||
[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]">
|
||||
<form class="uk-form-stacked" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]nicedit">
|
||||
|
||||
[if one [mount_type_is "cms"] [any [mount_type_is "thread"] [thread_mount_arg_is "subject"]]]
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_title_id">{title}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_title_id" type="text" name="subject" value="[item_subject]" [if not item_is]autofocus [end]>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_url_id">{suggested_url}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_url_id" type="text" name="url" value="[item_url]">
|
||||
</div>
|
||||
</div>
|
||||
[end]
|
||||
|
||||
<div class="uk-margin">
|
||||
[if mount_type_is "cms"]<label class="uk-form-label" for="winix_content_id">{form_emacs_content_cms}</label>[end]
|
||||
[if mount_type_is "thread"]<label class="uk-form-label" for="winix_content_id">{form_emacs_content_thread}</label>[end]
|
||||
[if mount_type_is "ticket"]<label class="uk-form-label" for="winix_content_id">{form_emacs_content_ticket}</label>[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">
|
||||
<div class="uk-form-controls">
|
||||
<textarea class="uk-textarea" rows="[if mount_type_is "cms"]30[else]10[end]" cols="60" name="itemcontent" id="winix_nicedit">[item_content]</textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<input type="hidden" name="contenttype" value="2">
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
new nicEditor(\{fullPanel:true, iconsPath:'[doc_base_url_common]/nicedit/nicEditorIcons.gif', uploadURI:'[doc_base_url][dir]upload/' \}).panelInstance('nicarea');
|
||||
new nicEditor(\{fullPanel:true, iconsPath:'[doc_base_url_common]/nicedit/0.9_r25/nicEditorIcons.gif', uploadURI:'[doc_base_url][dir]upload/' \}).panelInstance('winix_nicedit');
|
||||
</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">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_nick_id">{nick}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_rebus_id">{rebus_how_is_it} [rebus_question]?</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_rebus_id" type="text" name="rebus">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[include "antispam.html"]
|
||||
[end]
|
||||
|
@ -56,8 +62,10 @@
|
|||
<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>
|
||||
<div class="uk-margin">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="[if item_is]{change}[else]{add}[end]">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
|
|
|
@ -5,63 +5,92 @@
|
|||
|
||||
[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="">
|
||||
<form class="uk-form-stacked" method="post" action="[doc_base_url][dir]passwd/resetpassword">
|
||||
|
||||
<p class="withnext">{passwd_confirm_new_password}:</p>
|
||||
<input class="edit" type="password" name="passwordconfirm" value="">
|
||||
<div class="uk-margin">
|
||||
<input type="hidden" name="login" value="[passwd_resetpass_login]">
|
||||
<input type="hidden" name="code" value="[passwd_resetpass_code]">
|
||||
|
||||
<input class="submit" type="submit" value="{passwd_submit}">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_password_new">{passwd_new_password}</label>
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_password_new" type="password" name="passwordnew" value="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_password_confirm">{passwd_confirm_new_password}</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_password_confirm" type="password" name="passwordconfirm" value="">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="uk-margin">
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{passwd_submit}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
</div>
|
||||
</form>
|
||||
|
||||
[else]
|
||||
|
||||
<form method="post" action="[doc_base_url][dir]passwd">
|
||||
<form class="uk-form-stacked" 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 class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_user_login">{passwd_login}</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<select class="uk-select" id="winix_user_login" name="login">
|
||||
[for user_tab]
|
||||
<option [if user_tab_is_current]selected[end]>[user_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
</div>
|
||||
</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 class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_current_password">{passwd_current_password}:</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_current_password" type="password" name="passwordcur" value="">
|
||||
</div>
|
||||
</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 class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_new_password">{passwd_new_password}:</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_new_password" type="password" name="passwordnew" value="">
|
||||
</div>
|
||||
</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 class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_new_password_confirm">{passwd_confirm_new_password}:</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_new_password_confirm" type="password" name="passwordconfirm" value="">
|
||||
</div>
|
||||
</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}">
|
||||
<div class="uk-margin">
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{passwd_submit}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
|
|
|
@ -2,126 +2,172 @@
|
|||
|
||||
[# this template is for following functions: priv, chmod, chown]
|
||||
|
||||
|
||||
<h1>{priv_header}</h1>
|
||||
|
||||
[if winix_function_param_is "r"]
|
||||
<p>{priv_change_in_dir}: [dir]</p>
|
||||
[end]
|
||||
|
||||
|
||||
[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">
|
||||
<form class="uk-form-stacked uk-width-1-2@s" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end][winix_function]">
|
||||
|
||||
[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>
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_user_select">{user}</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<select class="uk-select" id="winix_user_select" name="user">
|
||||
[for priv_user_tab]
|
||||
<option[if priv_user_tab_isdefault] selected[end]>[priv_user_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_group_select">{group}</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<select class="uk-select" id="winix_group_select" name="group">
|
||||
[for priv_group_tab]
|
||||
<option[if priv_group_tab_isdefault] selected[end]>[priv_group_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[end]
|
||||
|
||||
[if priv_show_form_chmod]
|
||||
<tr><th>{permissions}:</th><td><input class="privileges" type="text" name="privileges" value="[priv_privileges]"></td></tr>
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_user_permissions">{permissions}</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_user_permissions" type="text" name="privileges" value="[priv_privileges]">
|
||||
</div>
|
||||
</div>
|
||||
[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>
|
||||
<div class="uk-margin">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{change}">
|
||||
</div>
|
||||
|
||||
</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>
|
||||
<form class="uk-form-stacked uk-width-1-2@s" method="post" action="[doc_base_url][dir][winix_function]/r">
|
||||
|
||||
<h2>{priv_for_all_files}:</h2>
|
||||
<table class="withoutborder">
|
||||
<h2>{priv_for_all_files}</h2>
|
||||
|
||||
[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>
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_files_user_select">{user}</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<select class="uk-select" id="winix_files_user_select" name="userfile">
|
||||
[for priv_user_tab]
|
||||
<option[if priv_user_tab_isdefault] selected[end]>[priv_user_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<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>
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_files_group_select">{group}</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<select class="uk-select" id="winix_files_group_select" name="groupfile">
|
||||
[for priv_group_tab]
|
||||
<option[if priv_group_tab_isdefault] selected[end]>[priv_group_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
[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>
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_files_permissions">{permissions}</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_files_permissions" type="text" name="privilegesfile" value="[priv_privileges_for_files]">
|
||||
</div>
|
||||
</div>
|
||||
[end]
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
<h2>{priv_for_all_dirs}:</h2>
|
||||
<table class="withoutborder">
|
||||
<h2>{priv_for_all_dirs}</h2>
|
||||
|
||||
[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>
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_dirs_user_select">{user}</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<select class="uk-select" id="winix_dirs_user_select" name="userdir">
|
||||
[for priv_user_tab]
|
||||
<option[if priv_user_tab_isdefault] selected[end]>[priv_user_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<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>
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_dirs_group_select">{group}</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<select class="uk-select" id="winix_dirs_group_select" name="groupdir">
|
||||
[for priv_group_tab]
|
||||
<option[if priv_group_tab_isdefault] selected[end]>[priv_group_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
[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>
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_dirs_permissions">{permissions}</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_dirs_permissions" type="text" name="privilegesdir" value="[priv_privileges_for_dirs]">
|
||||
</div>
|
||||
</div>
|
||||
[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>
|
||||
<div class="uk-margin-medium-top">
|
||||
<div class="uk-form-controls">
|
||||
<label><input class="uk-checkbox uk-margin-small-right" type="checkbox" name="changesubdirs">{priv_change_all}</label>
|
||||
</div>
|
||||
|
||||
<div class="uk-form-controls uk-margin-small-top">
|
||||
[# !! improve me: for root directory dir_without_slash returns nothing, may would be better to show a slash?]
|
||||
<label><input class="uk-checkbox uk-margin-small-right" type="checkbox" name="changecurrentdir">{priv_change_current_dir}: [dir_without_slash]</label>
|
||||
</div>
|
||||
</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}">
|
||||
<div class="uk-margin-medium-top">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{change}">
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
[end]
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<div class="winix">
|
||||
|
||||
<h1>Pw</h1>
|
||||
<h1>{pw_header}</h1>
|
||||
|
||||
[if user_tab]
|
||||
<table class="tablec">
|
||||
<table class="uk-table uk-table-divider uk-table-small uk-table-responsive">
|
||||
<tr>
|
||||
<th>{pw_table_no}</th>
|
||||
<th>{pw_table_login}</th>
|
||||
|
@ -14,7 +14,7 @@
|
|||
</tr>
|
||||
|
||||
[for user_tab]
|
||||
<tr class="[if index "odd"]roweven[else]rowodd[end]">
|
||||
<tr>
|
||||
<td>[user_tab_index]</td>
|
||||
<td>[user_tab_name]</td>
|
||||
<td>[if user_tab_is_super_user]{pw_table_yes}[end]</td>
|
||||
|
|
|
@ -3,30 +3,37 @@
|
|||
<h1>{thread_header_reply}</h1>
|
||||
|
||||
|
||||
<form method="post" action="[doc_base_url][dir][item_url]/reply">
|
||||
<form class="uk-form-stacked" method="post" action="[doc_base_url][dir][item_url]/reply">
|
||||
|
||||
[if thread_mount_arg_is "subject"]
|
||||
<div class="winix_input_a">
|
||||
<label for="">{title}:</label>
|
||||
<input type="text" name="subject" value="">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_title_id">{title}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_title_id" type="text" name="subject" value="[item_subject]" [if not item_is]autofocus [end]>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="">{suggested_url}:</label>
|
||||
<input type="text" name="url" value="">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_url_id">{suggested_url}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_url_id" type="text" name="url" value="[item_url]">
|
||||
</div>
|
||||
</div>
|
||||
[end]
|
||||
|
||||
|
||||
<div class="winix_input_a">
|
||||
[if mount_type_is "thread"]<label for="winix_content_id">{form_emacs_content_thread}</label>[end]
|
||||
<textarea id="winix_content_id" rows="10" cols="60" name="itemcontent"></textarea>
|
||||
|
||||
|
||||
<div class="uk-margin">
|
||||
[if mount_type_is "thread"]<label for="winix_content_id">{form_emacs_content_thread}</label>[end]
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<textarea class="uk-textarea" id="winix_content_id" rows="10" cols="60" name="itemcontent"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="">{form_emacs_content_type}</label>
|
||||
<select name="contenttype">
|
||||
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_contenttype_id">{form_emacs_content_type}</label>
|
||||
<select class="uk-select" name="contenttype" id="winix_contenttype_id">
|
||||
<option value="0">{form_emacs_content_type_text}</option>
|
||||
<option selected value="1">{form_emacs_content_type_formatted_text}</option>
|
||||
[if user_can_use_html]<option value="2">{form_emacs_content_type_html}</option>[end]
|
||||
|
@ -34,20 +41,24 @@
|
|||
[if user_can_use_other]<option value="4">{form_emacs_content_type_other}</option>[end]
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[if not user_logged]
|
||||
<div class="winix_input_a">
|
||||
<label for="">{nick}:</label>
|
||||
<input type="text" name="guestname" value="">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_nick_id">{nick}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="">{rebus_how_is_it} [rebus_question]?</p>
|
||||
<input type="text" name="rebus">
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_rebus_id">{rebus_how_is_it} [rebus_question]?</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_rebus_id" type="text" name="rebus">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
[include "antispam.html"]
|
||||
[end]
|
||||
|
||||
|
@ -55,8 +66,10 @@
|
|||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
|
||||
<input type="submit" value="{add}">
|
||||
|
||||
<div class="uk-margin">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{add}">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
|
|
|
@ -2,44 +2,44 @@
|
|||
|
||||
<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>
|
||||
<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]
|
||||
[# !! IMPROVE ME for root dir one has to privide 'c' parameter in order to show the form]
|
||||
{rm_root}
|
||||
[else]
|
||||
{rm_dir}: [dir_without_slash]
|
||||
[end]
|
||||
|
||||
[end]
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
<form class="uk-form-stacked" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]rm[if not item_is]/r[end]">
|
||||
|
||||
[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>
|
||||
<label><input class="uk-checkbox uk-margin-small-right" type="checkbox" name="c" [if winix_function_param_is "c"]checked="checked"[end]>{rm_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="{rm_submit}">
|
||||
<div class="uk-margin">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{rm_submit}">
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -4,18 +4,20 @@
|
|||
|
||||
[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>
|
||||
<form class="uk-form-stacked" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]rmuser">
|
||||
|
||||
[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>
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_select_user_id">{rmuser_selectuser}</label>
|
||||
<div class="uk-form-controls">
|
||||
<select class="uk-select uk-width-1-2@s" id="winix_select_user_id" name="userid">
|
||||
[for user_tab]
|
||||
<option value="[user_tab_id]">[user_tab_name]</option>
|
||||
[end]
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[else]
|
||||
<p>{rmuser_removecurrent}</p>
|
||||
|
@ -26,8 +28,10 @@
|
|||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
<input type="submit" value="{rmuser_submit}">
|
||||
</fieldset>
|
||||
<div class="uk-margin">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{rmuser_submit}">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
[end]
|
||||
|
|
|
@ -3,15 +3,7 @@
|
|||
<div>
|
||||
|
||||
[if mount_page_arg_is "subject"]
|
||||
[if mount_page_arg_is "info"]
|
||||
<h1 class="withinfo">
|
||||
[else]
|
||||
<h1>
|
||||
[end]
|
||||
|
||||
[item_subject]
|
||||
</h1>
|
||||
|
||||
<h1>[item_subject]</h1>
|
||||
[end]
|
||||
|
||||
[if mount_page_arg_is "info"]
|
||||
|
|
|
@ -3,28 +3,36 @@
|
|||
<h1>{seo_title}</h1>
|
||||
|
||||
|
||||
<form method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]seo">
|
||||
<form class="uk-form-stacked" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]seo">
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_title_id">{title}:</label>
|
||||
<input id="winix_title_id" type="text" name="subject" value="[item_subject]" autofocus>
|
||||
</div>
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_description_id">{seo_description}:</label>
|
||||
<input id="winix_description_id" type="text" name="description" value="[item_meta "seo" "description"]">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_title_id">{title}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_title_id" type="text" name="subject" value="[item_subject]" autofocus>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="winix_input_a">
|
||||
<label for="winix_keywords_id">{seo_keywords}:</label>
|
||||
<input id="winix_keywords_id" type="text" name="keywords" value="[item_meta "seo" "keywords"]">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_description_id">{seo_description}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_description_id" type="text" name="description" value="[item_meta "seo" "description"]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_keywords_id">{seo_keywords}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_keywords_id" type="text" name="keywords" value="[item_meta "seo" "keywords"]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
<input type="submit" value="{change}">
|
||||
<div class="uk-margin">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{change}">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
|
|
|
@ -5,22 +5,20 @@
|
|||
|
||||
|
||||
[if thread_can_create]
|
||||
<div class="winix_itemoptions_b">
|
||||
<ul>
|
||||
<li><a href="[doc_base_url][dir]createthread" rel="nofollow">{thread_create_new}</a></li>
|
||||
</ul>
|
||||
<div class="uk-margin">
|
||||
<a class="uk-button uk-button-primary" href="[doc_base_url][dir]createthread" rel="nofollow">{thread_create_new}</a>
|
||||
</div>
|
||||
[end]
|
||||
|
||||
|
||||
[if thread_sort_tab]
|
||||
<table class="winix_forum">
|
||||
<table class="uk-table uk-table-divider uk-table-small uk-table-responsive">
|
||||
<tr><th>{thread_tab_title}</th><th>{thread_tab_author}</th><th>{thread_tab_replies}</th><th>{thread_tab_last_post}</th></tr>
|
||||
[for thread_sort_tab]
|
||||
<tr>
|
||||
<td><a href="[doc_base_url][dir][thread_sort_tab_url]">[thread_sort_tab_subject]</a></td> [# dodac sprawdzanie subject empty]
|
||||
<td class="smallfont">[thread_sort_tab_user]</td><td class="smallfont">[thread_sort_tab_replies]</td>
|
||||
<td class="smallfont">[thread_sort_tab_last_item_date_modification_nice] ([thread_sort_tab_last_item_user])</td>
|
||||
<td>[thread_sort_tab_user]</td><td class="smallfont">[thread_sort_tab_replies]</td>
|
||||
<td>[thread_sort_tab_last_item_date_modification_nice] ([thread_sort_tab_last_item_user])</td>
|
||||
</tr>
|
||||
[end]
|
||||
</table>
|
||||
|
|
|
@ -5,16 +5,15 @@
|
|||
|
||||
|
||||
[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 class="uk-margin">
|
||||
<a class="uk-button uk-button-primary" href="[doc_base_url][dir]createticket" rel="nofollow">{ticket_create_new}</a>
|
||||
</div>
|
||||
[end]
|
||||
|
||||
|
||||
[if tickets_tab]
|
||||
<table class="winix_tickets_tab">
|
||||
<div class="uk-overflow-auto">
|
||||
<table class="uk-table uk-table-divider uk-table-small uk-table-responsive uk-text-small">
|
||||
|
||||
<tr>
|
||||
<th>{tickets_header_name}</th>
|
||||
|
@ -33,7 +32,7 @@
|
|||
|
||||
[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>
|
||||
<td><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"]
|
||||
|
@ -54,6 +53,7 @@
|
|||
[end]
|
||||
|
||||
</table>
|
||||
</div>
|
||||
[end]
|
||||
|
||||
|
||||
|
|
|
@ -1,54 +1,71 @@
|
|||
<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>
|
||||
<div class="winix">
|
||||
|
||||
<h1>{sort_header}</h1>
|
||||
|
||||
|
||||
[if item_is]
|
||||
|
||||
<form class="uk-form-stacked" id="winix_sortable_form" action="[doc_base_url][dir][item_url]/sort" method="post">
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_sort_index">{sort_current_sortindex}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_sort_index" type="text" name="sortindex" value="[item_sort]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="uk-margin">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{change}">
|
||||
</div>
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
|
||||
</form>
|
||||
|
||||
[else]
|
||||
|
||||
<p>
|
||||
[if winix_function_param_is "index"]
|
||||
{sort_info_multi_index}
|
||||
[else]
|
||||
{sort_info_multi}
|
||||
[end]
|
||||
</p>
|
||||
|
||||
[if item_tab]
|
||||
<form class="uk-form-stacked" id="winix_sortable_form" action="[doc_base_url][dir]sort" method="post">
|
||||
<ul class="uk-list" id="winix_sort_items" data-uk-sortable>
|
||||
[for item_tab]
|
||||
<li class="uk-tile uk-tile-muted uk-padding-small uk-padding-remove-top uk-padding-remove-bottom" id="winix_sort_item_[item_tab_index]" style="cursor: move;">
|
||||
<input class="[if not [winix_function_param_is "index"]]uk-hidden [end]uk-input uk-width-1-6 uk-margin-small-right" 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 item_tab_type_is_dir]/[end] [if not [is item_tab_subject ""]]<span class="uk-text-meta">({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]
|
||||
|
||||
[if winix_function_param_is "index"]
|
||||
<div class="uk-margin">
|
||||
<button class="uk-button uk-button-default auk-button-primary" type="button" id="winix_sort_renumerate">renumeruj</button>
|
||||
</div>
|
||||
[end]
|
||||
|
||||
<div class="uk-margin">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{change}">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
[end]
|
||||
|
||||
[end]
|
||||
|
||||
</div>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<h1 class="simple">{stat_header}</h1>
|
||||
|
||||
<table class="withoutborder">
|
||||
<table class="uk-table uk-table-small uk-table-divider uk-width-1-2@m">
|
||||
|
||||
<tr><th>{stat_item_type}:</th> <td>
|
||||
[if stat_item_type_is_file]{stat_item_type_file}[end]
|
||||
|
|
|
@ -3,18 +3,22 @@
|
|||
<h1>{subject_header}</h1>
|
||||
|
||||
|
||||
<form method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]subject">
|
||||
<form class="uk-form-stacked" 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 class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_title_id">{title}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_title_id" type="text" name="subject" value="[if item_is][item_subject][else][dir_last_subject][end]">
|
||||
</div>
|
||||
</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}">
|
||||
<div class="uk-margin">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{change}">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
|
|
|
@ -44,28 +44,33 @@
|
|||
|
||||
|
||||
|
||||
<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>
|
||||
<form class="uk-form-stacked uk-width-1-2@s" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]template">
|
||||
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_select_template">{template_form_info}</label>
|
||||
|
||||
<div class="uk-form-controls">
|
||||
<select class="uk-select" id="winix_select_template" name="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>
|
||||
</div>
|
||||
</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}">
|
||||
</fieldset>
|
||||
<div class="uk-margin">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{change}">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
|
|
|
@ -1,45 +1,56 @@
|
|||
<div class="winix">
|
||||
|
||||
[if mount_page_arg_is "subject"]<h1[if mount_page_arg_is "info"] class="winix_withinfo"[end]>[item_subject]</h1>[end]
|
||||
[if false]
|
||||
[if mount_page_arg_is "info"][include "item_info.html"][end]
|
||||
|
||||
|
||||
[if thread_can_reply]
|
||||
<div class="winix_itemoptions_b">
|
||||
<ul>
|
||||
<li><a href="[doc_base_url][dir][item_url]/reply" rel="nofollow">{thread_reply_in_this_thread}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
[end]
|
||||
|
||||
[if not [thread_mount_arg_is "sort_desc"]]
|
||||
<div class="winix_threadbox">
|
||||
[if item_can_write]<a class="winix_threadedit" href="[item_link]/emacs" rel="nofollow">\[{edit}\]</a>[end]
|
||||
<div class="uk-margin">
|
||||
[if item_can_write]<a class="uk-button uk-button-default uk-button-small" href="[item_link]/emacs" rel="nofollow">{edit}</a>[end]
|
||||
[if thread_mount_arg_is "subject"]<h2[if thread_mount_arg_is "info"] class="winix_withinfo"[end]>[item_subject]</h2>[end]
|
||||
[if thread_mount_arg_is "info"][include "item_info.html"][end]
|
||||
[item_print_content]
|
||||
</div>
|
||||
[end]
|
||||
|
||||
[if thread_mount_arg_is "sort_desc"]
|
||||
[if thread_can_reply]
|
||||
<div class="uk-margin">
|
||||
<a class="uk-button uk-button-primary" href="[doc_base_url][dir][item_url]/reply" rel="nofollow">{thread_reply_in_this_thread}</a>
|
||||
</div>
|
||||
[end]
|
||||
[end]
|
||||
|
||||
|
||||
[for thread_sort_tab]
|
||||
<div class="winix_threadbox[if index "even"] winix_threadboxcolor[end]">
|
||||
[if thread_sort_tab_can_write]<a class="winix_threadedit" href="[thread_sort_tab_link]/emacs" rel="nofollow">\[{edit}\]</a>[end]
|
||||
<div class="uk-margin [if index "odd"]uk-tile-default[else]uk-tile-muted uk-padding-small[end]">
|
||||
[if thread_sort_tab_can_write]<a class="uk-button uk-button-default uk-button-small" href="[thread_sort_tab_link]/emacs" rel="nofollow">{edit}</a>[end]
|
||||
[if thread_mount_arg_is "subject"]<h2[if thread_mount_arg_is "info"] class="winix_withinfo"[end]>[thread_sort_tab_subject]</h2>[end]
|
||||
[if thread_mount_arg_is "info"][include "thread_sort_tab_info.html"][end]
|
||||
[thread_sort_tab_print_content]
|
||||
</div>
|
||||
[end]
|
||||
|
||||
|
||||
|
||||
|
||||
[if thread_mount_arg_is "sort_desc"]
|
||||
<div class="winix_threadbox">
|
||||
[if item_can_write]<a class="winix_threadedit" href="[item_link]/emacs" rel="nofollow">\[{edit}\]</a>[end]
|
||||
<div class="uk-margin">
|
||||
[if item_can_write]<a class="uk-button uk-button-default uk-button-small" href="[item_link]/emacs" rel="nofollow">{edit}</a>[end]
|
||||
[if thread_mount_arg_is "subject"]<h2[if thread_mount_arg_is "info"] class="winix_withinfo"[end]>[item_subject]</h2>[end]
|
||||
[if thread_mount_arg_is "info"][include "item_info.html"][end]
|
||||
[item_print_content]
|
||||
</div>
|
||||
[end]
|
||||
|
||||
[if not [thread_mount_arg_is "sort_desc"]]
|
||||
[if thread_can_reply]
|
||||
<div class="uk-margin">
|
||||
<a class="uk-button uk-button-primary" href="[doc_base_url][dir][item_url]/reply" rel="nofollow">{thread_reply_in_this_thread}</a>
|
||||
</div>
|
||||
[end]
|
||||
[end]
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -5,22 +5,24 @@
|
|||
|
||||
|
||||
|
||||
<div class="winix_ticket">
|
||||
<div class="uk-section uk-section-muted uk-padding">
|
||||
[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>
|
||||
<table class="uk-table uk-table-small">
|
||||
[for ticket_tab]
|
||||
[if ticket_tab_has_value]
|
||||
|
||||
<tr>
|
||||
<th>[filter fil_firstup][ticket_tab_param_name]:[end]</th>
|
||||
<td>
|
||||
<th class="uk-width-auto">[filter fil_firstup][ticket_tab_param_name]:[end]</th>
|
||||
<td class="uk-width-expand">
|
||||
|
||||
[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]
|
||||
<div class="uk-child-width-1-3@m" uk-grid uk-lightbox="animation: slide">
|
||||
[for ticket_tab_file_tab]
|
||||
<a class="uk-inline" href="[doc_base_url][ticket_tab_file_tab_path]" data-caption="[ticket_tab_file_tab_path]">
|
||||
<img src="[doc_base_url][ticket_tab_file_tab_path]/-/thumb" alt="[ticket_tab_file_tab_path]">
|
||||
</a>
|
||||
[end]
|
||||
</div>
|
||||
[end]
|
||||
|
||||
[if ticket_tab_type_is "files"]
|
||||
|
@ -47,16 +49,9 @@
|
|||
|
||||
|
||||
[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]">
|
||||
<div class="uk-margin [if index "even"]uk-tile-default[else]uk-tile-muted uk-padding-small[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]
|
||||
|
@ -64,6 +59,12 @@
|
|||
</div>
|
||||
[end]
|
||||
|
||||
[if thread_can_reply]
|
||||
<div class="uk-margin">
|
||||
<a class="uk-button uk-button-primary" href="[doc_base_url][dir][item_url]/reply" rel="nofollow">{thread_reply_in_this_thread}</a>
|
||||
</div>
|
||||
[end]
|
||||
|
||||
[end]
|
||||
|
||||
|
||||
|
|
|
@ -9,25 +9,26 @@
|
|||
[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>
|
||||
<form class="uk-form-stacked" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]timezone">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_timezone_select">{timezone_select}:</label>
|
||||
|
||||
[if winix_function_param_is "postredirect"]
|
||||
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
|
||||
[end]
|
||||
<div class="uk-form-controls">
|
||||
<select id="winix_timezone_select" name="timezoneid" class="uk-select">
|
||||
[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>
|
||||
</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}">
|
||||
</fieldset>
|
||||
<div class="uk-margin uk-form-controls">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="{change}">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
|
|
|
@ -2,43 +2,52 @@
|
|||
|
||||
[if item_is]<h1>{edit}</h1>[else]<h1>{add}</h1>[end]
|
||||
|
||||
<form class="uk-form-stacked">
|
||||
|
||||
[if one [mount_type_is "cms"] [any [mount_type_is "thread"] [thread_mount_arg_is "subject"]]]
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_title_id">{title}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_title_id" type="text" name="subject" value="[item_subject]" [if not item_is]autofocus [end]>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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]">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_url_id">{suggested_url}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_url_id" type="text" name="url" value="[item_url]">
|
||||
</div>
|
||||
</div>
|
||||
[end]
|
||||
|
||||
[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]
|
||||
<div class="uk-margin">
|
||||
[if mount_type_is "cms"]<label class="uk-form-label" for="winix_content_id">{form_emacs_content_cms}</label>[end]
|
||||
[if mount_type_is "thread"]<label class="uk-form-label" for="winix_content_id">{form_emacs_content_thread}</label>[end]
|
||||
[if mount_type_is "ticket"]<label class="uk-form-label" for="winix_content_id">{form_emacs_content_ticket}</label>[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]
|
||||
<div class="uk-form-controls">
|
||||
<div style="border-top: 1px solid #dadada; border-bottom: 1px solid #dadada; padding: 0.2em 0 0.2em 0; margin: 1em 0 1em 0;" id="winix-editor-content" data-winix-post-name="itemcontent">[item_print_content]</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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">
|
||||
<div class="uk-form-controls">
|
||||
<input id="contenttype" type="hidden" name="contenttype" value="2">
|
||||
</div>
|
||||
|
||||
[if not user_logged]
|
||||
<p class="withnext">{nick}:</p>
|
||||
<input class="edit" type="text" name="guestname" value="[item_guest_name]">
|
||||
|
||||
<p class="withnext">{rebus_how_is_it} [rebus_question]?</p>
|
||||
<input class="edit" type="text" name="rebus">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_nick_id">{nick}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_rebus_id">{rebus_how_is_it} [rebus_question]?</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_rebus_id" type="text" name="rebus">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[include "antispam.html"]
|
||||
[end]
|
||||
|
@ -47,8 +56,35 @@
|
|||
<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>
|
||||
<div class="uk-margin">
|
||||
<div class="uk-form-controls uk-inline">
|
||||
|
||||
<button class="uk-button uk-button-primary winix_update_button"
|
||||
data-winix-function-path="[doc_base_url][dir][if item_is][item_url]/[end]tinymce"
|
||||
data-winix-content-tinymce-instances="winix-editor-content"
|
||||
data-winix-content-inputs="winix_url_id,winix_title_id,contenttype"
|
||||
data-winix-progressbar-id="winix-editor-progressbar"
|
||||
data-winix-messages-status-success-id="winix-editor-messages-status-success"
|
||||
data-winix-messages-status-error-id="winix-editor-messages-status-error"
|
||||
>
|
||||
{tinymce_update_button}
|
||||
</button>
|
||||
|
||||
<div id="winix-editor-progressbar" class="uk-invisible uk-position-center-right-out uk-margin-small-left">
|
||||
<img src="[doc_base_url_common]/progressbars/progressbar_fading_lines_16x16.gif" alt="{tinymce_update_progressbar_img_alt}">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="winix-editor-messages-status-success" class="winix-editor-messages-status-success">
|
||||
</div>
|
||||
|
||||
<div id="winix-editor-messages-status-error" class="winix-editor-messages-status-error">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
|
|
|
@ -6,11 +6,12 @@
|
|||
|
||||
[if sys_plugin_tab]
|
||||
|
||||
{uname_available_plugins}:
|
||||
<ul>
|
||||
|
||||
<h2>{uname_available_plugins}</h2>
|
||||
|
||||
<ul class="uk-list">
|
||||
|
||||
[for sys_plugin_tab]
|
||||
<li>[if sys_plugin_tab_has_name][sys_plugin_tab_name][else]<{uname_plugin_unknown}>[end]</li>
|
||||
<li>[if sys_plugin_tab_has_name][sys_plugin_tab_name][else]<{uname_plugin_unknown}>[end]</li>
|
||||
[end]
|
||||
|
||||
</ul>
|
||||
|
|
|
@ -19,98 +19,188 @@
|
|||
<noscript><input type="hidden" name="redirect" value="https://blueimp.github.io/jQuery-File-Upload/"></noscript>
|
||||
[end]
|
||||
|
||||
[# 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>
|
||||
<div class="row fileupload-buttonbar">
|
||||
<div class="col-lg-7">
|
||||
<!-- The fileinput-button span is used to style the file input field as button -->
|
||||
<span class="btn btn-success fileinput-button">
|
||||
<i class="glyphicon glyphicon-plus"></i>
|
||||
<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]
|
||||
<button type="submit" class="btn btn-primary start">
|
||||
<i class="glyphicon glyphicon-upload"></i>
|
||||
<span>{upload_button_start_upload}</span>
|
||||
</button>
|
||||
<button type="reset" class="btn btn-warning cancel">
|
||||
<i class="glyphicon glyphicon-ban-circle"></i>
|
||||
<span>{upload_button_cancel_upload}</span>
|
||||
</button>
|
||||
<button type="button" class="btn btn-danger delete">
|
||||
<i class="glyphicon glyphicon-trash"></i>
|
||||
<span>{upload_button_delete}</span>
|
||||
</button>
|
||||
|
||||
[# to the checkbox added form-check-input class and style element]
|
||||
<input type="checkbox" class="toggle form-check-input" style="transform: none;">
|
||||
|
||||
<!-- 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>
|
||||
<!-- The global progress state -->
|
||||
<div class="col-lg-5 fileupload-progress fade">
|
||||
<!-- The global progress bar -->
|
||||
<div
|
||||
class="progress progress-striped active"
|
||||
role="progressbar"
|
||||
aria-valuemin="0"
|
||||
aria-valuemax="100"
|
||||
>
|
||||
<div
|
||||
class="progress-bar progress-bar-success"
|
||||
style="width: 0%;"
|
||||
></div>
|
||||
</div>
|
||||
<!-- The extended global progress state -->
|
||||
<div class="progress-extended"> </div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
[# The table listing the files available for upload/download]
|
||||
<table role="presentation"><tbody class="files"></tbody></table>
|
||||
|
||||
<!-- The table listing the files available for upload/download -->
|
||||
<table role="presentation" class="table table-striped">
|
||||
<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
|
||||
id="blueimp-gallery"
|
||||
class="blueimp-gallery blueimp-gallery-controls"
|
||||
aria-label="image gallery"
|
||||
aria-modal="true"
|
||||
role="dialog"
|
||||
data-filter=":even"
|
||||
>
|
||||
<div class="slides" aria-live="polite"></div>
|
||||
<h3 class="title"></h3>
|
||||
<a
|
||||
class="prev"
|
||||
aria-controls="blueimp-gallery"
|
||||
aria-label="previous slide"
|
||||
aria-keyshortcuts="ArrowLeft"
|
||||
></a>
|
||||
<a
|
||||
class="next"
|
||||
aria-controls="blueimp-gallery"
|
||||
aria-label="next slide"
|
||||
aria-keyshortcuts="ArrowRight"
|
||||
></a>
|
||||
<a
|
||||
class="close"
|
||||
aria-controls="blueimp-gallery"
|
||||
aria-label="close"
|
||||
aria-keyshortcuts="Escape"
|
||||
></a>
|
||||
<a
|
||||
class="play-pause"
|
||||
aria-controls="blueimp-gallery"
|
||||
aria-label="play slideshow"
|
||||
aria-keyshortcuts="Space"
|
||||
aria-pressed="false"
|
||||
role="button"
|
||||
></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">Processing...</p>
|
||||
<div class="progress"></div>
|
||||
</td>
|
||||
<td>
|
||||
\{% if (!i && !o.options.autoUpload) \{ %\}
|
||||
<button class="start" disabled>Start</button>
|
||||
\{% \} %\}
|
||||
\{% if (!i) \{ %\}
|
||||
<button class="cancel">Cancel</button>
|
||||
\{% \} %\}
|
||||
</td>
|
||||
</tr>
|
||||
\{% \} %\}</script>
|
||||
\{% for (var i=0, file; file=o.files\[i\]; i++) \{ %\}
|
||||
<tr class="template-upload fade\{%=o.options.loadImageFileTypes.test(file.type)?' image':''%\}">
|
||||
<td>
|
||||
<span class="preview"></span>
|
||||
</td>
|
||||
<td>
|
||||
<p class="name">\{%=file.name%\}</p>
|
||||
<strong class="error text-danger"></strong>
|
||||
</td>
|
||||
<td>
|
||||
<p class="size">{upload_processing}</p>
|
||||
<div class="progress progress-striped active" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="0"><div class="progress-bar progress-bar-success" style="width:0%;"></div></div>
|
||||
</td>
|
||||
<td>
|
||||
\{% if (!o.options.autoUpload && o.options.edit && o.options.loadImageFileTypes.test(file.type)) \{ %\}
|
||||
<button class="btn btn-success edit" data-index="\{%=i%\}" disabled>
|
||||
<i class="glyphicon glyphicon-edit"></i>
|
||||
<span>{upload_button_edit}</span>
|
||||
</button>
|
||||
\{% \} %\}
|
||||
\{% if (!i && !o.options.autoUpload) \{ %\}
|
||||
<button class="btn btn-primary start" disabled>
|
||||
<i class="glyphicon glyphicon-upload"></i>
|
||||
<span>{upload_button_start_upload}</span>
|
||||
</button>
|
||||
\{% \} %\}
|
||||
\{% if (!i) \{ %\}
|
||||
<button class="btn btn-warning cancel">
|
||||
<i class="glyphicon glyphicon-ban-circle"></i>
|
||||
<span>{upload_button_cancel_upload}</span>
|
||||
</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">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\}'\{% \} %\}>Delete</button>
|
||||
<input type="checkbox" name="delete" value="1" class="toggle">
|
||||
</td>
|
||||
</tr>
|
||||
\{% \} %\}</script>
|
||||
\{% for (var i=0, file; file=o.files\[i\]; i++) \{ %\}
|
||||
<tr class="template-download fade\{%=file.thumbnailUrl?' image':''%\}">
|
||||
<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">
|
||||
\{% if (file.url) \{ %\}
|
||||
<a href="\{%=file.url%\}" title="\{%=file.name%\}" download="\{%=file.name%\}" \{%=file.thumbnailUrl?'data-gallery':''%\}>\{%=file.name%\}</a>
|
||||
\{% \} else \{ %\}
|
||||
<span>\{%=file.name%\}</span>
|
||||
\{% \} %\}
|
||||
</p>
|
||||
\{% if (file.error) \{ %\}
|
||||
<div><span class="label label-danger">{upload_error}</span> \{%=file.error%\}</div>
|
||||
\{% \} %\}
|
||||
</td>
|
||||
<td>
|
||||
<span class="size">\{%=o.formatFileSize(file.size)%\}</span>
|
||||
</td>
|
||||
<td>
|
||||
\{% if (file.deleteUrl) \{ %\}
|
||||
|
||||
[# added one div to inline the button with the checkbox]
|
||||
[# to the checkbox added form-check-input class and style element]
|
||||
|
||||
<div class="form-inline" style="white-space: nowrap;">
|
||||
<button class="btn btn-danger delete" data-type="\{%=file.deleteType%\}" data-url="\{%=file.deleteUrl%\}"\{% if (file.deleteWithCredentials) \{ %\} data-xhr-fields='\{"withCredentials":true\}'\{% \} %\}>
|
||||
<i class="glyphicon glyphicon-trash"></i>
|
||||
<span>{upload_button_delete}</span>
|
||||
</button>
|
||||
<input type="checkbox" name="delete" value="1" class="toggle form-check-input" style="transform: none;">
|
||||
</div>
|
||||
|
||||
|
||||
\{% \} else \{ %\}
|
||||
<button class="btn btn-warning cancel">
|
||||
<i class="glyphicon glyphicon-ban-circle"></i>
|
||||
<span>{upload_button_cancel}</span>
|
||||
</button>
|
||||
\{% \} %\}
|
||||
</td>
|
||||
</tr>
|
||||
\{% \} %\}</script>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
|
@ -129,8 +219,6 @@
|
|||
'/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');
|
||||
|
|
|
@ -2,20 +2,40 @@
|
|||
|
||||
<h1>{uptime_header}</h1>
|
||||
|
||||
<p>{uptime_current_time}: [winix_cur_time]<br>
|
||||
{uptime_up}:
|
||||
<table class="uk-table uk-table-divider uk-table-small uk-table-justify uk-width-2-3@s uk-width-1-2@m">
|
||||
|
||||
<tr>
|
||||
<th>{uptime_current_time}</th><td>[winix_cur_time]</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>{uptime_up}</th>
|
||||
<td>
|
||||
[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>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>{uptime_how_many_sessions}</th><td>[winix_how_many_sessions]</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>{uptime_users_logged}</th><td>[winix_users_logged]</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>{load_avg}</th><td>[winix_loadavg_now], [winix_loadavg_1], [winix_loadavg_5], [winix_loadavg_15]</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>{req_per_sec}</th><td>[winix_req_per_sec_now], [winix_req_per_sec_1], [winix_req_per_sec_5], [winix_req_per_sec_15]</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
</div>
|
||||
|
|
|
@ -3,44 +3,55 @@
|
|||
[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]">
|
||||
<form class="uk-form-stacked" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]vim">
|
||||
|
||||
|
||||
[if one [mount_type_is "cms"] [any [mount_type_is "thread"] [thread_mount_arg_is "subject"]]]
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_title_id">{title}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_title_id" type="text" name="subject" value="[item_subject]" [if not item_is]autofocus [end]>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_url_id">{suggested_url}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_url_id" type="text" name="url" value="[item_url]">
|
||||
</div>
|
||||
</div>
|
||||
[end]
|
||||
|
||||
<div class="uk-margin">
|
||||
[if mount_type_is "cms"]<label class="uk-form-label" for="winix_content_id">{form_emacs_content_cms}</label>[end]
|
||||
[if mount_type_is "thread"]<label class="uk-form-label" for="winix_content_id">{form_emacs_content_thread}</label>[end]
|
||||
[if mount_type_is "ticket"]<label class="uk-form-label" for="winix_content_id">{form_emacs_content_ticket}</label>[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]
|
||||
<div class="uk-form-controls">
|
||||
<textarea class="multitext" rows="[if mount_type_is "cms"]30[else]10[end]" cols="60" name="itemcontent">[item_content]</textarea>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
[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]
|
||||
<div class="uk-form-controls">
|
||||
<input type="hidden" name="contenttype" value="2">
|
||||
</div>
|
||||
|
||||
[if not user_logged]
|
||||
<p class="withnext">{nick}:</p>
|
||||
<input class="edit" type="text" name="guestname" value="[item_guest_name]">
|
||||
|
||||
<p class="withnext">{rebus_how_is_it} [rebus_question]?</p>
|
||||
<input class="edit" type="text" name="rebus">
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_nick_id">{nick}</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="uk-margin">
|
||||
<label class="uk-form-label" for="winix_rebus_id">{rebus_how_is_it} [rebus_question]?</label>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-input" id="winix_rebus_id" type="text" name="rebus">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
[include "antispam.html"]
|
||||
[end]
|
||||
|
@ -49,8 +60,10 @@
|
|||
<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>
|
||||
<div class="uk-form-controls">
|
||||
<input class="uk-button uk-button-primary" type="submit" value="[if item_is]{change}[else]{add}[end]">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
|
||||
[if who_tab]
|
||||
<table class="who">
|
||||
<table class="uk-table uk-table-divider uk-table-small uk-table-justify uk-table-responsive">
|
||||
<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>
|
||||
|
|
|
@ -1,24 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
[# minimalistic template]
|
||||
|
||||
<html lang="{language}">
|
||||
<html lang="{winix_html_lang_attr}">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>[doc_title]</title>
|
||||
[include "index_head_functions_add.html"]
|
||||
<title>[doc_title]</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div>
|
||||
[include "slog.html"]
|
||||
<div class="uk-container uk-container-small">
|
||||
|
||||
[# 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>
|
||||
<div class="uk-margin-top" data-uk-height-viewport="expand: true">
|
||||
[include "slog.html"]
|
||||
[content]
|
||||
</div>
|
||||
|
||||
<div class="uk-margin-top uk-margin-bottom uk-text-center">
|
||||
<span class="uk-text-small uk-text-muted">
|
||||
© [current_year] [doc_base_url] - <a href="https://gitea.ttmath.org/tomasz.sowa/winix" title="{winix_backend_tooltip}" target="_blank" data-uk-tooltip>{winix_backend_info} [sys_ver_major].[sys_ver_minor].[sys_ver_revision]</a>
|
||||
| {winix_frontend_info} <a href="http://getuikit.com" title="{winix_frontend_tooltip}" target="_blank" data-uk-tooltip><span data-uk-icon="uikit"></span></a>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
[include "index_bottom_adder.html"]
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
[# minimalistic template]
|
||||
|
||||
<html lang="{winix_html_lang_attr}">
|
||||
|
||||
<head>
|
||||
[include "index_head_functions_add.html"]
|
||||
<title>[doc_title]</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
[include "slog.html"]
|
||||
[content]
|
||||
[include "index_bottom_adder.html"]
|
||||
</body>
|
||||
</html>
|
|
@ -1,74 +1,47 @@
|
|||
[# other stuff needed by a specific function]
|
||||
[# rename me to index_head_adder.html]
|
||||
|
||||
|
||||
[def winix_has_uikit "true"]
|
||||
[def winix_has_jquery "false"]
|
||||
|
||||
|
||||
[# IMPROME ME we can add some conditionales such as 'do_not_set_charset']
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
[# UIkit CSS]
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/uikit/uikit-3.6.16/css/uikit.min.css">
|
||||
|
||||
[# UIkit JS]
|
||||
<script src="[doc_base_url_common]/uikit/uikit-3.6.16/js/uikit.min.js"></script>
|
||||
<script src="[doc_base_url_common]/uikit/uikit-3.6.16/js/uikit-icons.min.js"></script>
|
||||
|
||||
|
||||
[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 "seo"]
|
||||
[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 type="text/javascript" src="[doc_base_url_common]/codemirror/5.59.2/lib/codemirror.js"></script>
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/codemirror/5.59.2/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>
|
||||
<script src="[doc_base_url_common]/codemirror/5.59.2/mode/css/css.js"></script>
|
||||
<script src="[doc_base_url_common]/codemirror/5.59.2/mode/javascript/javascript.js"></script>
|
||||
<script src="[doc_base_url_common]/codemirror/5.59.2/mode/xml/xml.js"></script>
|
||||
<script src="[doc_base_url_common]/codemirror/5.59.2/mode/htmlmixed/htmlmixed.js"></script>
|
||||
|
||||
<!--<link rel="stylesheet" href="[doc_base_url_common]/codemirror-5.1/theme/base16-light.css" type="text/css">-->
|
||||
<!--<link rel="stylesheet" href="[doc_base_url_common]/codemirror/5.59.2/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">
|
||||
<script src="[doc_base_url_common]/codemirror/5.59.2/addon/display/fullscreen.js"></script>
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/codemirror/5.59.2/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">
|
||||
<script src="[doc_base_url_common]/codemirror/5.59.2/addon/search/search.js"></script>
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/codemirror/5.59.2/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.59.2/addon/fold/xml-fold.js"></script>
|
||||
<script src="[doc_base_url_common]/codemirror/5.59.2/addon/edit/matchtags.js"></script>
|
||||
|
||||
<script src="[doc_base_url_common]/codemirror-5.1/addon/selection/active-line.js"></script>
|
||||
<script src="[doc_base_url_common]/codemirror/5.59.2/addon/selection/active-line.js"></script>
|
||||
|
||||
<style>
|
||||
|
||||
|
@ -136,69 +109,65 @@ cm.save()
|
|||
|
||||
|
||||
[if winix_function_is "ckeditor"]
|
||||
[def winix_has_jquery "true"]
|
||||
<script type="text/javascript" src="[doc_base_url_common]/ckeditor_4.9.2/ckeditor.js"></script>
|
||||
<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]/jquery/1.12.4/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="[doc_base_url_common]/winix/update_button.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>
|
||||
<script type="text/javascript" src="[doc_base_url]/common/tiny_mce/5.6.2/tinymce.min.js"></script>
|
||||
|
||||
[# tinymce can use a special theme called 'mobile' - it is used when /mobile param is provided]
|
||||
<script type="text/javascript" src="[doc_base_url]/var/tinymce.js[if winix_function_param_is "mobile"]/-/mobile[end]"></script>
|
||||
|
||||
[def winix_has_jquery "true"]
|
||||
<script type="text/javascript" src="[doc_base_url_common]/jquery/1.12.4/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="[doc_base_url_common]/winix/update_button.js"></script>
|
||||
[end]
|
||||
|
||||
|
||||
[if winix_function_is "nicedit"]
|
||||
<script type="text/javascript" src="[doc_base_url_common]/nicedit/nicEdit.js"></script>
|
||||
<script type="text/javascript" src="[doc_base_url_common]/nicedit/0.9_r25/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">
|
||||
[# info from version 0.5-rc1: 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 ]
|
||||
|
||||
[def winix_has_jquery "true"]
|
||||
<script type="text/javascript" src="[doc_base_url_common]/jquery/1.12.4/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="[doc_base_url_common]/wymeditor/1.1.1/wymeditor/jquery.wymeditor.min.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="[doc_base_url_common]/wymeditor/1.1.1/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>
|
||||
[if gallery_mount_type_arg_is "lightbox"]
|
||||
[# https://lokeshdhakar.com/projects/lightbox2/ ]
|
||||
|
||||
[def winix_has_jquery "true"]
|
||||
<script type="text/javascript" src="[doc_base_url_common]/jquery/1.12.4/jquery.min.js"></script>
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/lightbox/2.11.3/dist/css/lightbox.min.css" type="text/css">
|
||||
<script src="[doc_base_url_common]/lightbox/2.11.3/dist/js/lightbox.min.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>
|
||||
[if gallery_mount_type_arg_is "galleriajs"]
|
||||
[# https://galleriajs.github.io/ ]
|
||||
[# formerly called aino-gallery ]
|
||||
|
||||
[def winix_has_jquery "true"]
|
||||
<script type="text/javascript" src="[doc_base_url_common]/jquery/1.12.4/jquery.min.js"></script>
|
||||
<script src="[doc_base_url_common]/galleriajs/1.6.1/dist/galleria.min.js" type="text/javascript"></script>
|
||||
[end]
|
||||
|
||||
[end]
|
||||
|
@ -206,9 +175,8 @@ cm.save()
|
|||
|
||||
|
||||
[if winix_function_is "upload"]
|
||||
[# http://blueimp.github.io/jQuery-File-Upload/jquery-ui.html]
|
||||
[# https://blueimp.github.io/jQuery-File-Upload/]
|
||||
[# 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\]>
|
||||
|
@ -216,79 +184,68 @@ cm.save()
|
|||
<!\[endif\]-->
|
||||
|
||||
|
||||
<!-- jQuery UI styles -->
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/jquery-file-upload/9.28.0/others/jquery-ui.css">
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/bootstrap/3.3.7/css/bootstrap.min.css">
|
||||
|
||||
<!-- Generic page styles -->
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/jquery-file-upload/9.28.0/css/style.css">
|
||||
[# in doc_base_url_common/jquery-file-upload/10.31.0_extra/blueimp-gallery/ is download_all_files.sh script in order to download all necessary files]
|
||||
<!-- blueimp Gallery styles -->
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/jquery-file-upload/10.31.0_extra/blueimp-gallery/blueimp-gallery.min.css">
|
||||
|
||||
[if false]
|
||||
<style>
|
||||
/* Adjust the jQuery UI widget font-size: */
|
||||
.ui-widgetREMOVEME \{
|
||||
font-size: 0.95em;
|
||||
\}
|
||||
</style>
|
||||
[# CSS to style the file input field as button and adjust the Bootstrap progress bars]
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/jquery-file-upload/10.31.0/css/jquery.fileupload.css">
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/jquery-file-upload/10.31.0/css/jquery.fileupload-ui.css">
|
||||
|
||||
[# CSS adjustments for browsers with JavaScript disabled]
|
||||
<noscript>
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/jquery-file-upload/10.31.0/css/jquery.fileupload-noscript.css">
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/jquery-file-upload/10.31.0/css/jquery.fileupload-ui-noscript.css">
|
||||
</noscript>
|
||||
|
||||
|
||||
[def winix_has_jquery "true"]
|
||||
<script src="[doc_base_url_common]/jquery/1.12.4/jquery.min.js"></script>
|
||||
|
||||
|
||||
<!-- The jQuery UI widget factory, can be omitted if jQuery UI is already included -->
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/10.31.0/js/vendor/jquery.ui.widget.js"></script>
|
||||
|
||||
<!-- The Templates plugin is included to render the upload/download listings -->
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/10.31.0_extra/tmpl.min.js"></script>
|
||||
<!-- The Load Image plugin is included for the preview images and image resizing functionality -->
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/10.31.0_extra/load-image.all.min.js"></script>
|
||||
<!-- The Canvas to Blob plugin is included for image resizing functionality -->
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/10.31.0_extra/canvas-to-blob.min.js"></script>
|
||||
<!-- blueimp Gallery script -->
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/10.31.0_extra/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]/jquery-file-upload/10.31.0/js/jquery.iframe-transport.js"></script>
|
||||
<!-- The basic File Upload plugin -->
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/10.31.0/js/jquery.fileupload.js"></script>
|
||||
<!-- The File Upload processing plugin -->
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/10.31.0/js/jquery.fileupload-process.js"></script>
|
||||
<!-- The File Upload image preview & resize plugin -->
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/10.31.0/js/jquery.fileupload-image.js"></script>
|
||||
<!-- The File Upload audio preview plugin -->
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/10.31.0/js/jquery.fileupload-audio.js"></script>
|
||||
<!-- The File Upload video preview plugin -->
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/10.31.0/js/jquery.fileupload-video.js"></script>
|
||||
<!-- The File Upload validation plugin -->
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/10.31.0/js/jquery.fileupload-validate.js"></script>
|
||||
<!-- The File Upload user interface plugin -->
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/10.31.0/js/jquery.fileupload-ui.js"></script>
|
||||
|
||||
[if false]
|
||||
[# the code to run the plugin we have in fun_upload.html]
|
||||
<!-- The main application script -->
|
||||
<!--
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/10.31.0/js/demo.js"></script>
|
||||
-->
|
||||
[end]
|
||||
|
||||
<!-- blueimp Gallery styles -->
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/jquery-file-upload/9.28.0/others/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]/jquery-file-upload/9.28.0/css/jquery.fileupload.css">
|
||||
<link rel="stylesheet" href="[doc_base_url_common]/jquery-file-upload/9.28.0/css/jquery.fileupload-ui.css">
|
||||
|
||||
<!-- CSS adjustments for browsers with JavaScript disabled -->
|
||||
<noscript><link rel="stylesheet" href="[doc_base_url_common]/jquery-file-upload/9.28.0/css/jquery.fileupload-noscript.css"></noscript>
|
||||
<noscript><link rel="stylesheet" href="[doc_base_url_common]/jquery-file-upload/9.28.0/css/jquery.fileupload-ui-noscript.css"></noscript>
|
||||
|
||||
|
||||
<!--
|
||||
[# it doesn't work with this jquery]
|
||||
<script src="[doc_base_url_common]/jquery/jquery-3.2.1.slim.min.js"></script>
|
||||
-->
|
||||
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/9.28.0/others/jquery.min.js"></script>
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/9.28.0/others/jquery-ui.min.js"></script>
|
||||
|
||||
<!-- The Templates plugin is included to render the upload/download listings -->
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/9.28.0/others/tmpl.min.js"></script>
|
||||
|
||||
<!-- The Load Image plugin is included for the preview images and image resizing functionality -->
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/9.28.0/others/load-image.all.min.js"></script>
|
||||
|
||||
<!-- The Canvas to Blob plugin is included for image resizing functionality -->
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/9.28.0/others/canvas-to-blob.min.js"></script>
|
||||
|
||||
<!-- blueimp Gallery script -->
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/9.28.0/others/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]/jquery-file-upload/9.28.0/js/jquery.iframe-transport.js"></script>
|
||||
|
||||
<!-- The basic File Upload plugin -->
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/9.28.0/js/jquery.fileupload.js"></script>
|
||||
|
||||
<!-- The File Upload processing plugin -->
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/9.28.0/js/jquery.fileupload-process.js"></script>
|
||||
|
||||
<!-- The File Upload image preview & resize plugin -->
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/9.28.0/js/jquery.fileupload-image.js"></script>
|
||||
|
||||
<!-- The File Upload audio preview plugin -->
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/9.28.0/js/jquery.fileupload-audio.js"></script>
|
||||
|
||||
<!-- The File Upload video preview plugin -->
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/9.28.0/js/jquery.fileupload-video.js"></script>
|
||||
|
||||
<!-- The File Upload validation plugin -->
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/9.28.0/js/jquery.fileupload-validate.js"></script>
|
||||
|
||||
<!-- The File Upload user interface plugin -->
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/9.28.0/js/jquery.fileupload-ui.js"></script>
|
||||
|
||||
<!-- The File Upload jQuery UI plugin -->
|
||||
<script src="[doc_base_url_common]/jquery-file-upload/9.28.0/js/jquery.fileupload-jquery-ui.js"></script>
|
||||
<!-- 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]/jquery-file-upload/10.31.0/js/cors/jquery.xdr-transport.js"></script>
|
||||
<!\[endif\]-->
|
||||
|
||||
[end]
|
||||
|
||||
|
@ -296,17 +253,16 @@ cm.save()
|
|||
|
||||
[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>
|
||||
<script type="text/javascript" src="[doc_base_url_common]/winix/winix_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">
|
||||
[def winix_has_jquery "true"]
|
||||
<script type="text/javascript" src="[doc_base_url_common]/jquery/1.12.4/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="[doc_base_url_common]/jcrop/0.9.15/js/jquery.Jcrop.min.js"></script>
|
||||
<link type="text/css" rel="stylesheet" href="[doc_base_url_common]/jcrop/0.9.15/css/jquery.Jcrop.min.css">
|
||||
[end]
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<p class="winix_iteminfo">
|
||||
<p class="uk-text-meta">
|
||||
{added_by}: [item_user], [item_date_creation_nice][if not item_dates_equal],
|
||||
{last_modified}[if item_users_different] {by}: [item_modification_user],[else]:[end]
|
||||
[item_date_modification_nice][end]
|
||||
|
|
|
@ -1,39 +0,0 @@
|
|||
[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]
|
|
@ -1,4 +1,4 @@
|
|||
<p class="[if index "odd"]winix_itemtabinfo[else][if thread_mount_arg_is "subject"]winix_itemtabinfo[else]winix_itemtabinfo2[end][end]">
|
||||
<p class="uk-text-meta">
|
||||
|
||||
{added_by}: [item_tab_user], [item_tab_date_creation_nice][if not item_tab_dates_equal],
|
||||
{last_modified}[if item_tab_users_different] {by}: [item_tab_modification_user],[else]:[end]
|
||||
|
|
|
@ -1,30 +1,27 @@
|
|||
[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]
|
||||
<div class="uk-margin [if slog_tab_is_error] uk-alert-danger[end][if slog_tab_is_warning] uk-alert-warning[end][if slog_tab_is_info] uk-alert-success[end]" data-uk-alert>
|
||||
|
||||
[if slog_tab_is_warning]
|
||||
{slog_warning}:
|
||||
[end]
|
||||
<a class="uk-alert-close" data-uk-close></a>
|
||||
|
||||
[if slog_tab_is_error]
|
||||
{slog_error}:
|
||||
[end]
|
||||
[if slog_tab_is_info]
|
||||
{slog_info}:
|
||||
[end]
|
||||
|
||||
</th>
|
||||
<td>
|
||||
[slog_tab_print]
|
||||
</td>
|
||||
</tr>
|
||||
[if slog_tab_is_warning]
|
||||
{slog_warning}:
|
||||
[end]
|
||||
|
||||
[if slog_tab_is_error]
|
||||
{slog_error}:
|
||||
[end]
|
||||
|
||||
[slog_tab_print]
|
||||
|
||||
</div>
|
||||
|
||||
[end]
|
||||
|
||||
</table>
|
||||
[end]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<p class="[if index "even"]winix_itemtabinfo[else][if thread_mount_arg_is "subject"]winix_itemtabinfo[else]winix_itemtabinfo2[end][end]">
|
||||
<p class="uk-text-meta">
|
||||
|
||||
{added_by}: [thread_sort_tab_user], [thread_sort_tab_date_creation_nice][if not thread_sort_tab_dates_equal],
|
||||
{last_modified}[if thread_sort_tab_users_different] {by}: [thread_sort_tab_modification_user],[else]:[end]
|
||||
|
|
|
@ -1,11 +1,14 @@
|
|||
winix_locale_id = "0"
|
||||
locale_name = "english"
|
||||
|
||||
language = en
|
||||
charset = UTF-8
|
||||
winix_html_lang_attr = en
|
||||
|
||||
winix_backend_info = Powered by winix
|
||||
winix_backend_tooltip = Winix - a web framework
|
||||
winix_frontend_info = Built with
|
||||
winix_frontend_tooltip = Visit UIkit 3 site
|
||||
|
||||
logged_as = logged as
|
||||
logged_as_long = You are logged as
|
||||
|
||||
display_guest_name = guest
|
||||
unknown = unknown
|
||||
|
@ -24,11 +27,21 @@ account_already_activated = This account is already activated
|
|||
account_cannot_be_activated = This account cannot be activated, please contact with the system administrator
|
||||
account_email_sent = An email with an activation link has been sent to you
|
||||
|
||||
account_header = My Account
|
||||
account_logged_as = You are logged as:
|
||||
account_not_logged = You are not logged in.
|
||||
account_admin = Root
|
||||
account_admin_yes = yes
|
||||
account_groups = Groups
|
||||
account_timezone = Time zone
|
||||
account_language = Language
|
||||
|
||||
|
||||
export_header = Export
|
||||
export_transer_file_info = Press Export to transfer the file to an external ftp server
|
||||
export_transer_dir_info = Press Export to transfer the directory to an external ftp server
|
||||
export_checkbox_static_file_too = "Export static files too (images etc.)"
|
||||
|
||||
export_button = Export
|
||||
|
||||
code_expired = The code has expired
|
||||
password_cannot_be_changed = The password cannot be changed, please contact with the system administrator
|
||||
|
@ -40,7 +53,6 @@ email_sent_to = An email has been sent to:
|
|||
logout = logout
|
||||
|
||||
|
||||
remember_me = Remember me
|
||||
|
||||
home_page = Home page
|
||||
|
||||
|
@ -74,7 +86,6 @@ cat_file_url = File url
|
|||
|
||||
|
||||
create_thread_header = Create thread
|
||||
form_thread_legend = Thread form
|
||||
button_thread_submit = Create thread
|
||||
|
||||
url = Url
|
||||
|
@ -104,6 +115,12 @@ create_ticket_header = Create a new ticket
|
|||
|
||||
|
||||
|
||||
|
||||
ckeditor_update_button = Update
|
||||
ckeditor_update_progressbar_img_alt = Progressbar
|
||||
|
||||
|
||||
|
||||
form_ticket_type = Ticket type
|
||||
form_ticket_status = Status
|
||||
form_ticket_priority = Priority
|
||||
|
@ -114,16 +131,15 @@ form_ticket_progress = "Progress (0-100)"
|
|||
form_ticket_create_submit = Create a new ticket
|
||||
form_ticket_edit_submit = Edit a ticket
|
||||
|
||||
form_ticket_select_file = Select file
|
||||
|
||||
env_header = Environment variables for a user
|
||||
form_env_legend = Environment variables form
|
||||
env_change_env_for_user = Change environment variables for user
|
||||
env_change_admin_env_for_user = Change admin environment variables for user
|
||||
env_change_user = Change user
|
||||
|
||||
default_header = Default item in a directory
|
||||
default_make_redirect = Make redirect
|
||||
form_default_legend = Default item form
|
||||
|
||||
ln_header = Link
|
||||
ln_info = Create a link in directory
|
||||
|
@ -131,7 +147,7 @@ ln_to = Link pointing to
|
|||
ln_hardlink = hardlink
|
||||
ln_symlink = symbolic link
|
||||
ln_make_redirect = "Make redirect (only for symbolic links)"
|
||||
form_ln_legend = Link form
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -158,8 +174,13 @@ last_none = There is no anything information.
|
|||
|
||||
|
||||
ls_header = Directory listing
|
||||
ls_pictures_in_dir = Pictures in directory
|
||||
ls_no_picture = There are not any pictures in this directory
|
||||
ls_type = Type
|
||||
ls_permissions = Permissions
|
||||
ls_owner = Owner
|
||||
ls_group = Group
|
||||
ls_name = Name
|
||||
ls_root_dir_name = Root dir
|
||||
|
||||
ipban_header = IP Banned
|
||||
ipban_col_id = Id
|
||||
|
@ -182,6 +203,16 @@ ipban_remove_all_ip = Remove all IP's from the list
|
|||
ipban_ban_list_empty = There are not any IP addresses banned at the moment.
|
||||
ipban_your_ip_is_banned = Your IP address is banned on this server until to:
|
||||
|
||||
imgcrop_header = Image cropping
|
||||
imgcrop_crop_only_thumb_info = "Crop the thumbnail of the photo, the original (large) image will not be modified."
|
||||
imgcrop_create_new_thumb_info = "Select a frame on the photo with the mouse, a new thumbnail will be created from this part, the original (large) image will not be modified."
|
||||
imgcrop_crop_only_original_img_info = "Crop the original image (the thumbnail will not be modified)."
|
||||
imgcrop_create_new_thumb_too_info = Also create a new thumbnail
|
||||
imgcrop_no_image_info = imgcrop can only be applied to image files.
|
||||
imgcrop_table_option_crop_image = Image cropping
|
||||
imgcrop_table_option_crop_thumb = Thumbnail cropping
|
||||
imgcrop_table_option_create_new_thumb = Create a new thumbnail
|
||||
|
||||
|
||||
man_header = Man
|
||||
man_winix_funcions = Winix functions
|
||||
|
@ -190,10 +221,13 @@ man_ezc_functions = EZC templates functions
|
|||
|
||||
meta_header = Meta
|
||||
meta_admin_header = Admin meta
|
||||
meta_for_dir = Additional information for directory
|
||||
meta_for_page = Additional information for page
|
||||
meta_admin_for_dir = Additional administrative information for directory
|
||||
meta_admin_for_page = Additional administrative information for page
|
||||
|
||||
|
||||
mkdir_header = Make directory
|
||||
mkdir_form_legend = Make directory form
|
||||
|
||||
html_lang_attr_value = "en"
|
||||
language_orphans = ()
|
||||
|
@ -210,7 +244,6 @@ passwd_password_changed = The password has been changed
|
|||
|
||||
|
||||
priv_header = Permissions
|
||||
priv_form_legend = Permissions
|
||||
priv_change_in_dir = Change permissions for all items in the following directory
|
||||
priv_for_all_files = For all files to
|
||||
priv_for_all_dirs = For all directories to
|
||||
|
@ -225,7 +258,8 @@ pw_table_is_active = Is active
|
|||
pw_table_is_suspended = Is suspended
|
||||
pw_table_is_banned = Is banned
|
||||
pw_table_yes = yes
|
||||
pw_table_no = no
|
||||
|
||||
# !! is it used anymore?
|
||||
pw_password_changed = Your password has been changed
|
||||
|
||||
|
||||
|
@ -239,7 +273,6 @@ reload_menu = plugin menu cache
|
|||
|
||||
|
||||
rm_header = Remove
|
||||
rm_form_legend = Remove form
|
||||
rm_file = Do you really want to remove file
|
||||
rm_symlink = Do you really want to remove symlink
|
||||
rm_dir = Do you really want to remove directory
|
||||
|
@ -256,8 +289,7 @@ rm_content_use_r_option = Content of a directory can be removed only with 'r' pa
|
|||
|
||||
|
||||
rmuser_header = Remove user
|
||||
rmuser_legend = Remove user form
|
||||
rmuser_selectuser = Select a user
|
||||
rmuser_selectuser = Choose a user to delete
|
||||
rmuser_submit = Remove
|
||||
rmuser_removecurrent = Are you really want to remove your account from our service?
|
||||
|
||||
|
@ -291,7 +323,6 @@ template_header = Template
|
|||
template_info_file = Current html template for this file
|
||||
template_info_dir = Current html template for this directory
|
||||
template_from_mount_point = is taken from the mount point
|
||||
template_form_legend = Template form
|
||||
template_form_info = Select a new template
|
||||
template_form_from_mount_point = from the mount point
|
||||
|
||||
|
@ -304,7 +335,10 @@ upload_button_cancel_upload = Cancel upload
|
|||
upload_button_delete = Delete
|
||||
upload_button_processing = Processing...
|
||||
upload_button_download = Download
|
||||
upload_button_edit = Edit
|
||||
upload_error = Error:
|
||||
upload_processing = Processing...
|
||||
|
||||
|
||||
who_header = Sessions
|
||||
who_tab_index = Ind.
|
||||
|
@ -331,7 +365,6 @@ admin_sort = "Sort items (sort)"
|
|||
locale_header = Locale
|
||||
locale_your_locale = Current language
|
||||
locale_has_incorrect_id = You don't have a correct language set
|
||||
locale_form_legend = Locale form
|
||||
locale_select = Select language
|
||||
|
||||
|
||||
|
@ -340,7 +373,16 @@ login_cannot_login_from_this_ip = We are sorry but you cannot login from this IP
|
|||
#We are sorry but there were too many incorrect login attempts from your IP address.
|
||||
|
||||
login_cannot_login_available = The login process will be available since:
|
||||
|
||||
login_currently_logged_as = You are logged as:
|
||||
login_username = Username
|
||||
login_password = Password
|
||||
login_remember_me = Remember me
|
||||
login_button = Log in
|
||||
login_forgot_password_question = Forgot your password?
|
||||
login_back_to_login_form = Back to Login
|
||||
login_forgot_password_email = E-mail
|
||||
login_forgot_password_button = Change password
|
||||
login_logout_button = Logout
|
||||
|
||||
uptime_header = Uptime
|
||||
uptime_current_time = current time
|
||||
|
@ -350,15 +392,13 @@ uptime_users_logged = logged users
|
|||
uptime_days = days
|
||||
|
||||
|
||||
adduser_header_add = Add a user
|
||||
adduser_header_add = Add a new user
|
||||
adduser_header_register = Register
|
||||
adduser_form_legend = Register user form
|
||||
adduser_login = Login
|
||||
adduser_password = Password
|
||||
adduser_confirm_password = Confirm password
|
||||
adduser_email = You can also provide your email address. If you ever forget your password we will be able send you the password back.
|
||||
adduser_need_email = You have to provide your email address.
|
||||
adduser_need_email2 = We send you an email with an activation link
|
||||
adduser_need_email = You have to provide your email address. We send you an email with an activation link
|
||||
adduser_submit = Add user
|
||||
register_user_submit = Register
|
||||
adduser_err_login_empty = Provide a login please.
|
||||
|
@ -387,7 +427,6 @@ mount_current = Current mount point
|
|||
|
||||
|
||||
mv_header = Move
|
||||
mv_form_legend = Move form
|
||||
mv_page = Move page
|
||||
mv_dir = Move directory
|
||||
mv_only_content = Move only content of the directory
|
||||
|
@ -399,16 +438,15 @@ mv_dir_content_can_be_moved_to_dir = Directory content can be moved only to an o
|
|||
mv_cannot_move_to_inside = A directory cannot be moved to inside it
|
||||
mv_incorrect_dst_path = Incorrect destination path
|
||||
mv_incorrect_dir = Incorrect directory
|
||||
mv_file_exists = Such file already exists
|
||||
|
||||
|
||||
timezone_header = Time Zone
|
||||
timezone_form_legend = Time Zone form
|
||||
timezone_select = Select your time zone
|
||||
timezone_your_zone = Your current time zone is
|
||||
timezone_has_incorrect_id = You don't have a correct time zone set
|
||||
|
||||
cp_header = Copy
|
||||
cp_form_legend = Copy form
|
||||
cp_page = Copy page
|
||||
cp_dir = Copy directory
|
||||
cp_only_content = Copy only content of the directory
|
||||
|
@ -433,6 +471,7 @@ slog_turn_over = Session's log turned over due to size greater than
|
|||
sort_header = Sort
|
||||
sort_current_sortindex = Current sort index
|
||||
sort_info_multi = Set an order of items by using the mouse.
|
||||
sort_info_multi_index = Set an order of items by providing an index number. You can also set an order of items by using the mouse and then clicking the renumerate button.
|
||||
sort_item_subject = Subject:
|
||||
|
||||
stat_header = Stat
|
||||
|
@ -453,6 +492,8 @@ stat_template_from_mount_point = from the mount point
|
|||
subject_header = Edit subject
|
||||
|
||||
|
||||
tinymce_update_button = Update
|
||||
tinymce_update_progressbar_img_alt = Progressbar
|
||||
|
||||
uname_header = Uname
|
||||
uname_available_plugins = Available plugins
|
||||
|
|
103
winixd/locale/pl
103
winixd/locale/pl
|
@ -1,12 +1,14 @@
|
|||
winix_locale_id = "1"
|
||||
locale_name = "polski"
|
||||
|
||||
winix_html_lang_attr = pl
|
||||
|
||||
language = pl
|
||||
charset = UTF-8
|
||||
winix_backend_info = Napędzany przez Winix
|
||||
winix_backend_tooltip = Winix - www framework
|
||||
winix_frontend_info = Zbudowany z
|
||||
winix_frontend_tooltip = Odwiedź stronę UIkit 3
|
||||
|
||||
logged_as = zalogowany jako
|
||||
logged_as_long = Aktualnie jesteś zalogowany jako
|
||||
|
||||
display_guest_name = gość
|
||||
unknown = nie znany
|
||||
|
@ -26,12 +28,21 @@ account_already_activated = To konto jest już aktywowane
|
|||
account_cannot_be_activated = To konto nie może być aktywowane, proszę skontaktować się z administratorem
|
||||
account_email_sent = Wysłaliśmy Tobie email z linkiem aktywacyjnym
|
||||
|
||||
account_header = Moje konto
|
||||
account_logged_as = Jesteś zalogowany jako:
|
||||
account_not_logged = Nie jesteś zalogowany.
|
||||
account_admin = Administrator
|
||||
account_admin_yes = tak
|
||||
account_groups = Grupy
|
||||
account_timezone = Strefa czasowa
|
||||
account_language = Język
|
||||
|
||||
|
||||
export_header = Export
|
||||
export_transer_file_info = Wciśnij przycisk Export aby wysłać ten plik na zewnętrzny serwer ftp
|
||||
export_transer_dir_info = Wciśnij przycisk Export aby wysłać podany katalog na zewnętrzny serwer ftp
|
||||
export_checkbox_static_file_too = "Wyślij także pliki statyczne (zdjęcia itp.)"
|
||||
|
||||
export_button = Export
|
||||
|
||||
code_expired = Ten kod stracił już swoją ważność
|
||||
password_cannot_be_changed = Niestety nie możemy zmienić hasła dla tego konta, proszę skontaktować się z administratorem
|
||||
|
@ -45,7 +56,6 @@ email_sent_to = Wiadomość została wysłana do:
|
|||
logout = wyloguj
|
||||
|
||||
|
||||
remember_me = Zapamiętaj mnie
|
||||
|
||||
home_page = Strona główna
|
||||
|
||||
|
@ -80,7 +90,6 @@ cat_file_url = Adres pliku
|
|||
|
||||
|
||||
create_thread_header = Załóż wątek
|
||||
form_thread_legend = Wypełnij wszystkie pozycje formularza
|
||||
button_thread_submit = Załóż wątek
|
||||
|
||||
url = Url
|
||||
|
@ -110,6 +119,13 @@ create_ticket_header = Nowe zgłoszenie
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
ckeditor_update_button = Aktualizuj
|
||||
ckeditor_update_progressbar_img_alt = Progressbar
|
||||
|
||||
|
||||
|
||||
form_ticket_type = Rodzaj zgłoszenia
|
||||
form_ticket_status = Status
|
||||
form_ticket_priority = Priorytet
|
||||
|
@ -120,16 +136,16 @@ form_ticket_progress = "Postęp prac (0-100)"
|
|||
form_ticket_create_submit = Załóż zgłoszenie
|
||||
form_ticket_edit_submit = Edytuj zgłoszenie
|
||||
|
||||
form_ticket_select_file = Wybierz plik
|
||||
|
||||
env_header = Zmienne środowiskowe
|
||||
form_env_legend = Formularz zmiany zmiennych środowiskowych dla użytkownika
|
||||
env_change_env_for_user = Zmień zmienne środowiskowe dla użytkownika
|
||||
env_change_admin_env_for_user = Zmień zmienne środowiskowe administracyjne dla użytkownika
|
||||
env_change_user = Zmień użytkownika
|
||||
|
||||
|
||||
default_header = Domyślna pozycja w katalogu
|
||||
default_header = Domyślny element w katalogu
|
||||
default_make_redirect = Wykonaj przekierowanie
|
||||
form_default_legend = Formularz zmiany pozycji domyślnej
|
||||
|
||||
ln_header = Link
|
||||
ln_info = Stwórz link w katalogu
|
||||
|
@ -137,14 +153,14 @@ ln_to = Link wskazujący na
|
|||
ln_hardlink = hard link
|
||||
ln_symlink = link symboliczny
|
||||
ln_make_redirect = "Wykonaj przekierowanie (jedynie dla linków symbolicznych)"
|
||||
form_ln_legend = Formularz zmiany linku
|
||||
|
||||
|
||||
form_emacs_content_cms = Zawartość:
|
||||
form_emacs_content_thread = Post:
|
||||
form_emacs_content_ticket = Opis:
|
||||
|
||||
form_emacs_content_type = Rodzaj wiadomości:
|
||||
form_emacs_content_cms = Zawartość
|
||||
form_emacs_content_thread = Post
|
||||
form_emacs_content_ticket = Opis
|
||||
|
||||
form_emacs_content_type = Rodzaj wiadomości
|
||||
|
||||
form_emacs_content_type_text = text
|
||||
form_emacs_content_type_formatted_text = sformatowany text
|
||||
|
@ -162,9 +178,13 @@ last_none = Nie ma dostępnych żadnych informacji.
|
|||
|
||||
|
||||
ls_header = Zawartość katalogu
|
||||
ls_pictures_in_dir = Obrazy w katalogu
|
||||
ls_no_picture = W tym katalogu nie ma żadnego obrazu
|
||||
|
||||
ls_type = Typ
|
||||
ls_permissions = Uprawnienia
|
||||
ls_owner = Właściciel
|
||||
ls_group = Grupa
|
||||
ls_name = Nazwa
|
||||
ls_root_dir_name = Katalog główny
|
||||
|
||||
ipban_header = Lista zbanowanych adresów IP
|
||||
ipban_col_id = L.p.
|
||||
|
@ -187,9 +207,22 @@ ipban_remove_all_ip = Usuń wszystkie adresy IP z listy
|
|||
ipban_ban_list_empty = W tej chwili nie ma żadnych zbanowanych adresów IP.
|
||||
ipban_your_ip_is_banned = Twój adres IP jest zablokowany aż do:
|
||||
|
||||
imgcrop_header = Kadrowanie obrazów
|
||||
imgcrop_crop_only_thumb_info = "Kadruj miniaturę zdjęcia, obraz oryginalny (duży) nie zostanie zmodyfikowany."
|
||||
imgcrop_create_new_thumb_info = "Zaznacz myszką kadr na zdjęciu, z tej części zostanie stworzona nowa miniatura, obraz oryginalny (duży) nie zostanie zmodyfikowany."
|
||||
imgcrop_crop_only_original_img_info = "Kadruj oryginalny obraz (miniatura nie zostanie zmodyfikowana)."
|
||||
imgcrop_create_new_thumb_too_info = Stwórz także nową miniaturę
|
||||
imgcrop_no_image_info = imgcrop może być zastosowany tylko do plików graficznych.
|
||||
imgcrop_table_option_crop_image = Kadruj zdjęcie
|
||||
imgcrop_table_option_crop_thumb = Kadruj miniature
|
||||
imgcrop_table_option_create_new_thumb = Stwórz nową miniature
|
||||
|
||||
meta_header = Meta
|
||||
meta_admin_header = Admin meta
|
||||
meta_for_dir = Dodatkowe informacje dla katalogu
|
||||
meta_for_page = Dodatkowe informacje dla strony
|
||||
meta_admin_for_dir = Dodatkowe informacje administracyjne dla katalogu
|
||||
meta_admin_for_page = Dodatkowe informacje administracyjne dla strony
|
||||
|
||||
|
||||
man_header = Man
|
||||
|
@ -198,7 +231,6 @@ man_ezc_functions = Funkcje szablonów EZC
|
|||
|
||||
|
||||
mkdir_header = Stwórz katalog
|
||||
mkdir_form_legend = Wypełnij wszystkie pozycje formularza
|
||||
|
||||
html_lang_attr_value = "pl"
|
||||
|
||||
|
@ -233,7 +265,6 @@ passwd_password_changed = Hasło zostało zmienione
|
|||
|
||||
|
||||
priv_header = Zmień uprawnienia dostępu
|
||||
priv_form_legend = Uprawnienia
|
||||
priv_change_in_dir = Zmień hurtowo uprawnienia w katalogu
|
||||
priv_for_all_files = Dla wszystkich plików na
|
||||
priv_for_all_dirs = Dla wszystkich katalogów na
|
||||
|
@ -249,7 +280,8 @@ pw_table_is_active = Aktywny
|
|||
pw_table_is_suspended = Wstrzymany
|
||||
pw_table_is_banned = Zbanowany
|
||||
pw_table_yes = tak
|
||||
pw_table_no = nie
|
||||
|
||||
# !! is it used anymore?
|
||||
pw_password_changed = Twoje hasło zostało zmienione
|
||||
|
||||
|
||||
|
@ -263,7 +295,6 @@ reload_menu = cache pluginu 'menu'
|
|||
|
||||
|
||||
rm_header = Usuń
|
||||
rm_form_legend = Formularz usuwania
|
||||
rm_file = Czy napewno usunąć plik
|
||||
rm_symlink = Czy napewno usunąć symlink
|
||||
rm_dir = Czy napewno usunąć katalog
|
||||
|
@ -279,8 +310,7 @@ rm_cannot_remove_root_dir = Nie możesz usunąć głównego katalogu
|
|||
rm_content_use_r_option = Zawartość katalogu może zostać usunięta tylko z użyciem parametru 'r'
|
||||
|
||||
rmuser_header = Usuń użytkownika
|
||||
rmuser_legend = Formularz usunięcia użytkownika
|
||||
rmuser_selectuser = Wybierz użytkownika
|
||||
rmuser_selectuser = Wybierz użytkownika do usunięcia
|
||||
rmuser_submit = Usuń
|
||||
rmuser_removecurrent = Naprawdę chcesz usunąć swoje konto z naszego serwisu?
|
||||
|
||||
|
@ -312,7 +342,6 @@ template_header = Szablon
|
|||
template_info_file = Bieżący szablon dla tego pliku
|
||||
template_info_dir = Bieżący szablon dla tego katalogu
|
||||
template_from_mount_point = jest brany z punktu montowania
|
||||
template_form_legend = Formularz zmiany szablonu
|
||||
template_form_info = Wybierz nowy szablon
|
||||
template_form_from_mount_point = z punktu montowania
|
||||
|
||||
|
@ -326,7 +355,9 @@ upload_button_cancel_upload = Przerwij wysyłanie
|
|||
upload_button_delete = Usuń
|
||||
upload_button_processing = Wysyłanie...
|
||||
upload_button_download = Ściągnij
|
||||
upload_button_edit = Edytuj
|
||||
upload_error = Błąd:
|
||||
upload_processing = Przygotowywanie...
|
||||
|
||||
who_header = Lista sesji
|
||||
who_tab_index = L.p.
|
||||
|
@ -352,7 +383,6 @@ admin_sort = "Sortuj elementy (sort)"
|
|||
locale_header = Ustawienia językowe
|
||||
locale_your_locale = Bieżący język
|
||||
locale_has_incorrect_id = Nie masz prawidłowo ustawionego bieżącego języka
|
||||
locale_form_legend = Formularz ustawienia języka
|
||||
locale_select = Wybierz język
|
||||
|
||||
|
||||
|
@ -361,6 +391,16 @@ login_cannot_login_from_this_ip = Przepraszamy ale nie możesz się zalogować z
|
|||
#Przepraszamy ale z twojego adresu IP było zbyt wiele prób nieprawidłowego logowania.
|
||||
|
||||
login_cannot_login_available = Ponowne logowanie będzie możliwe dopiero od:
|
||||
login_currently_logged_as = Aktualnie jesteś zalogowany jako:
|
||||
login_username = Użytkownik
|
||||
login_password = Hasło
|
||||
login_remember_me = Zapamiętaj mnie
|
||||
login_button = Zaloguj
|
||||
login_forgot_password_question = Zapomniałeś hasła?
|
||||
login_back_to_login_form = Powrót do logowania
|
||||
login_forgot_password_email = E-mail
|
||||
login_forgot_password_button = Zmień hasło
|
||||
login_logout_button = Wyloguj
|
||||
|
||||
uptime_header = Czas pracy systemu
|
||||
uptime_current_time = aktualna godzina
|
||||
|
@ -372,13 +412,11 @@ uptime_days = dni
|
|||
|
||||
adduser_header_add = Dodaj użytkownika
|
||||
adduser_header_register = Zarejestruj się
|
||||
adduser_form_legend = Formularz rejestracji nowego użytkownika
|
||||
adduser_login = Login
|
||||
adduser_password = Hasło
|
||||
adduser_confirm_password = Potwierdź hasło
|
||||
adduser_email = Możesz także podać swój email. Jeśli zapomnisz kiedyś hasła to hasło zostanie wysłane na podany email
|
||||
adduser_need_email = Wymagamy abyś podał nam swój adres email,
|
||||
adduser_need_email2 = na ten adres wyślemy wiadomość z linkiem aktywacyjnym
|
||||
adduser_need_email = Wymagamy abyś podał nam swój adres email, na ten adres wyślemy wiadomość z linkiem aktywacyjnym.
|
||||
adduser_submit = Dodaj użytkownika
|
||||
register_user_submit = Rejestruj
|
||||
adduser_err_login_empty = Proszę podać login.
|
||||
|
@ -393,7 +431,7 @@ adduser_err_password_too_big = Hasło nie może być większe niż
|
|||
adduser_err_password_too_big2 = znaków
|
||||
adduser_err_email_too_big = Adres email nie może być większy niż
|
||||
adduser_err_email_too_big2 = znaków
|
||||
adduser_auto_activate = Automatically activate this account
|
||||
adduser_auto_activate = Aktywuj automatycznie to konto
|
||||
adduser_err_email_incorrect = Podany email jest nieprawidłowy
|
||||
|
||||
|
||||
|
@ -407,7 +445,6 @@ mount_current = Bieżący punkt montowania
|
|||
|
||||
|
||||
mv_header = Przenieś
|
||||
mv_form_legend = Formularz zmiany
|
||||
mv_page = Przenieś stronę
|
||||
mv_dir = Przenieś katalog
|
||||
mv_only_content = Przenieś tylko zawartość katalogu
|
||||
|
@ -419,17 +456,15 @@ mv_dir_content_can_be_moved_to_dir = Zawartość katalogu może zostać przenies
|
|||
mv_cannot_move_to_inside = Nie mogę przenieść katalogu do jego środka
|
||||
mv_incorrect_dst_path = Nieprawidłowa ścieżka docelowa
|
||||
mv_incorrect_dir = Nieprawidłowy katalog
|
||||
|
||||
mv_file_exists = Podany plik już istnieje
|
||||
|
||||
timezone_header = Strefa czasowa
|
||||
timezone_form_legend = Formularz wyboru strefy czasowej
|
||||
timezone_select = Wybierz swoją strefę czasową
|
||||
timezone_your_zone = Twoja aktualna strefa czasowa to
|
||||
timezone_has_incorrect_id = Nie masz prawidłowo ustawionej strefy czasowej
|
||||
|
||||
|
||||
cp_header = Kopiuj
|
||||
cp_form_legend = Formularz kopiowania
|
||||
cp_page = Kopiuj stronę
|
||||
cp_dir = Kopiuj katalog
|
||||
cp_only_content = Kopiuj tylko zawartość katalogu
|
||||
|
@ -453,6 +488,7 @@ slog_turn_over = Log sesji wyczyszczony w związku z przekroczeniem wielkości
|
|||
sort_header = Sortuj
|
||||
sort_current_sortindex = Bieżący indeks sortowania
|
||||
sort_info_multi = Ustaw kolejność elementów przeciągając je przy pomocy myszki.
|
||||
sort_info_multi_index = Ustaw kolejność elementów podająć ich indeks. Możesz także ustawić kolejność elementów przeciągając je przy pomocy myszki i następnie kliknąć przycisk Renumeruj.
|
||||
sort_item_subject = Tytuł:
|
||||
|
||||
stat_header = Stat
|
||||
|
@ -473,6 +509,9 @@ stat_template_from_mount_point = z punktu montowania
|
|||
subject_header = Zmień tytuł
|
||||
|
||||
|
||||
tinymce_update_button = Aktualizuj
|
||||
tinymce_update_progressbar_img_alt = Progressbar
|
||||
|
||||
uname_header = Nazwa systemu
|
||||
uname_available_plugins = Dostępne pluginy
|
||||
uname_plugin_unknown = Plugin nie ustawił swojej nazwy
|
||||
|
|
|
@ -91,8 +91,9 @@ void template_init()
|
|||
// the first item in the html template is an empty string
|
||||
// added in the html template
|
||||
temp_tab.clear();
|
||||
temp_tab.push_back(config->templates_index); // index: 0
|
||||
temp_tab.push_back(config->templates_index_raw); // index: 1
|
||||
temp_tab.push_back(config->templates_index); // index: 0 (indices are used in template.cpp in functions) !! IMPROVE ME it should be done better
|
||||
temp_tab.push_back(config->templates_index_generic);// index: 1
|
||||
temp_tab.push_back(config->templates_index_raw); // index: 2
|
||||
|
||||
Mount::ParamRow & par = system->mounts.pmount->param[system->mounts.MountParHtmlTemplate()];
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008-2018, Tomasz Sowa
|
||||
* Copyright (c) 2008-2021, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -46,7 +46,8 @@ namespace TemplatesFunctions
|
|||
{
|
||||
|
||||
size_t pat_index; // main index pattern
|
||||
size_t pat_index_raw; // pattern for a raw content
|
||||
size_t pat_index_generic; // generic index pattern, without any css-site styles, only main css (uikit)
|
||||
size_t pat_index_raw; // pattern for a raw content (raw content without html, body markup)
|
||||
size_t pat_err_404; // 404 error
|
||||
size_t pat_err_per_denied; // permission denied error
|
||||
|
||||
|
@ -964,6 +965,7 @@ using namespace TemplatesFunctions;
|
|||
ezc_blocks.Clear();
|
||||
|
||||
pat_index = patterns.Add(config->templates_index);
|
||||
pat_index_generic = patterns.Add(config->templates_index_generic);
|
||||
pat_index_raw = patterns.Add(config->templates_index_raw);
|
||||
pat_err_404 = patterns.Add(L"err_404.html"); // !! IMPROVE ME name to the config
|
||||
pat_err_per_denied = patterns.Add(L"err_per_denied.html"); // !! IMPROVE ME name to the config
|
||||
|
@ -1031,6 +1033,11 @@ using namespace TemplatesFunctions;
|
|||
index = patterns.Get(pat_index, TemplatesFunctions::locale.GetCurLang());
|
||||
}
|
||||
else
|
||||
if( template_name == config->templates_index_generic )
|
||||
{
|
||||
index = patterns.Get(pat_index_generic, TemplatesFunctions::locale.GetCurLang());
|
||||
}
|
||||
else
|
||||
if( template_name == config->templates_index_raw )
|
||||
{
|
||||
index = patterns.Get(pat_index_raw, TemplatesFunctions::locale.GetCurLang());
|
||||
|
@ -1058,9 +1065,9 @@ using namespace TemplatesFunctions;
|
|||
|
||||
Ezc::Pattern * index = 0;
|
||||
|
||||
if( (cur->request->function == &functions->fun_cat || cur->request->function == &functions->fun_run) && !cur->request->last_item->html_template.empty() )
|
||||
if( !cur->request->html_template.empty() )
|
||||
{
|
||||
index = SelectIndexPattern(cur->request->last_item->html_template);
|
||||
index = SelectIndexPattern(cur->request->html_template);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008-2018, Tomasz Sowa
|
||||
* Copyright (c) 2008-2021, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -67,7 +67,8 @@ class Functions;
|
|||
namespace TemplatesFunctions
|
||||
{
|
||||
extern size_t pat_index;
|
||||
extern size_t pat_index_fullscreen;
|
||||
extern size_t pat_index_generic;
|
||||
extern size_t pat_index_raw;
|
||||
extern size_t pat_err_404;
|
||||
extern size_t pat_err_per_denied;
|
||||
|
||||
|
|
Loading…
Reference in New Issue