Compare commits

..

35 Commits

Author SHA1 Message Date
tomasz.sowa 3d7ece15f8 changed version to 0.7.2 2021-02-18 21:07:05 +01:00
tomasz.sowa 541597f355 fixed: in TimeZone::SetTzDst() was used operator && instead of || 2021-02-17 18:36:50 +01:00
tomasz.sowa 5fe843d76b set -std=c++20 in Makefile 2021-02-17 18:07:05 +01:00
tomasz.sowa 3191369ece added 'using PT::FileLog::init' to FileLog to suppress clang warning:
warning: 'Winix::FileLog::init' hides overloaded virtual function [-Woverloaded-virtual]
2021-02-17 18:06:00 +01:00
tomasz.sowa a4de11d69c fixed: Image did not use 'savelog' when creating logs
before commit 4832c7db4b the logs were lost, but after 4832c7db4b
the logs were printed when winix shuts down

in 4832c7db4b at the end of BaseThread::StartRoutine()
has been added a call to save_log()
2021-02-17 16:17:36 +01:00
tomasz.sowa 4832c7db4b fixed: clang address sanitizer reports that there is an use after free bug at the end when winix shuts down:
==3859==ERROR: AddressSanitizer: heap-use-after-free on address 0x61b0000053e0 at pc 0x000800697160 bp 0x7fffffffcfb0 sp 0x7fffffffcfa8
READ of size 8 at 0x61b0000053e0 thread T0
    #0 0x80069715f in PT::MemBuffer<wchar_t, 256ul, 4096ul>::empty() const /usr/home/tomek/roboczy/prog/web.ttmath.org/../pikotools/membuffer/membuffer.h:675:9
    #1 0x80069700d in PT::TextStreamBase<wchar_t, 256ul, 4096ul>::empty() const /usr/home/tomek/roboczy/prog/web.ttmath.org/../pikotools/textstream/textstream.h:161:16
    #2 0x8009af0e3 in PT::FileLog::save_log(PT::TextStreamBase<wchar_t, 256ul, 4096ul>*) /usr/home/tomek/roboczy/prog/pikotools/log/filelog.cpp:105:14
    #3 0x8009b3f8a in PT::Log::save_log() /usr/home/tomek/roboczy/prog/pikotools/log/log.cpp:461:13
    #4 0x8009b3d72 in PT::Log::save_log_and_clear() /usr/home/tomek/roboczy/prog/pikotools/log/log.cpp:448:2
    #5 0x8009b0627 in PT::Log::~Log() /usr/home/tomek/roboczy/prog/pikotools/log/log.cpp:62:2
    #6 0x8007288e7 in Winix::Log::~Log() /usr/home/tomek/roboczy/prog/winix/winixd/core/log.cpp:56:1
    #7 0x8007eac96 in Winix::WinixBase::~WinixBase() /usr/home/tomek/roboczy/prog/winix/winixd/core/winixbase.cpp:51:1
    #8 0x8007eb097 in Winix::WinixModel::~WinixModel() /usr/home/tomek/roboczy/prog/winix/winixd/core/winixmodel.cpp:52:1
    #9 0x80069e552 in Winix::BaseThread::~BaseThread() /usr/home/tomek/roboczy/prog/winix/winixd/core/basethread.cpp:54:1
    #10 0x2f8132 in Winix::Job::~Job() /usr/home/tomek/roboczy/prog/web.ttmath.org/../winix/winixd/core/job.h:54:7
    #11 0x2e0c8a in Winix::System::~System() /usr/home/tomek/roboczy/prog/web.ttmath.org/../winix/winixd/core/system.h:67:7
    #12 0x2df017 in Winix::App::~App() /usr/home/tomek/roboczy/prog/web.ttmath.org/../winix/winixd/core/app.h:70:7
    #13 0x800cc9f50 in __cxa_finalize /hddraidzfs/usr/src/lib/libc/stdlib/atexit.c:238:5
    #14 0x800c5ef10 in exit /hddraidzfs/usr/src/lib/libc/stdlib/exit.c:74:2
    #15 0x25c935 in _start /hddraidzfs/usr/src/lib/csu/amd64/crt1.c:76:2

0x61b0000053e0 is located 1632 bytes inside of 1656-byte region [0x61b000004d80,0x61b0000053f8)
freed by thread T0 here:
    #0 0x2dc07d in operator delete(void*) /hddraidzfs/usr/src/contrib/llvm-project/compiler-rt/lib/asan/asan_new_delete.cpp:160:3
    #1 0x8007c3b2c in Winix::ThreadManager::StopAll() /usr/home/tomek/roboczy/prog/winix/winixd/core/threadmanager.cpp:189:3
    #2 0x800647474 in Winix::App::WaitForThreads() /usr/home/tomek/roboczy/prog/winix/winixd/core/app.cpp:2122:24
    #3 0x800647311 in Winix::App::Close() /usr/home/tomek/roboczy/prog/winix/winixd/core/app.cpp:340:2
    #4 0x2dec7c in main /usr/home/tomek/roboczy/prog/winix/winixd/main/main.cpp:224:6
    #5 0x25c92e in _start /hddraidzfs/usr/src/lib/csu/amd64/crt1.c:76:7
    #6 0x80033efff  (<unknown module>)

previously allocated by thread T0 here:
    #0 0x2db81d in operator new(unsigned long) /hddraidzfs/usr/src/contrib/llvm-project/compiler-rt/lib/asan/asan_new_delete.cpp:99:3
    #1 0x8007c17c3 in Winix::ThreadManager::Add(Winix::BaseThread*, wchar_t const*) /usr/home/tomek/roboczy/prog/winix/winixd/core/threadmanager.cpp:77:26
    #2 0x8007b0b81 in Winix::System::Init() /usr/home/tomek/roboczy/prog/winix/winixd/core/system.cpp:170:17
    #3 0x8006468d4 in Winix::App::Init() /usr/home/tomek/roboczy/prog/winix/winixd/core/app.cpp:295:9
    #4 0x2deb7e in main /usr/home/tomek/roboczy/prog/winix/winixd/main/main.cpp:206:11
    #5 0x25c92e in _start /hddraidzfs/usr/src/lib/csu/amd64/crt1.c:76:7
    #6 0x80033efff  (<unknown module>)

in ThreadManager::StopAll() there is item.thread_item_data pointer which was freed (the pointer was pointing to an object with a log_buffer)
but internal Log buffer from item.object was pointing to that object and when thread_tab.clear() was called then the d-ctor was called
and then save_log_and_clear() method was called and tried to use the freed object.
2021-02-17 15:58:05 +01:00
tomasz.sowa be83d62f96 changed html in index templates: [include "index_head_functions_add.html"] -> [include "index_head_adder.html"] 2021-02-16 20:10:29 +01:00
tomasz.sowa 3fd2ef1da4 renamed: html/index_head_functions_add.html -> html/index_head_adder.html 2021-02-16 20:01:38 +01:00
tomasz.sowa d861384889 Merge pull request 'uikit' (#3) from uikit into master
Reviewed-on: #3
2021-02-16 19:52:36 +01:00
tomasz.sowa cfd8e88e57 changed markup in fun_thread.html, removed item_options.html (was not used by winix)
WIP: #2
2021-02-16 19:44:57 +01:00
tomasz.sowa 8169cb5a7e added uikit markup for uname winix function
WIP: #2
2021-02-16 19:28:42 +01:00
tomasz.sowa 8c85cd7346 added uikit markup for stat winix function
WIP: #2
2021-02-16 19:25:36 +01:00
tomasz.sowa 4e202833b2 added uikit markup for rmuser winix function
WIP: #2
2021-02-16 19:21:53 +01:00
tomasz.sowa 4a163bd170 added uikit markup for pw winix function
WIP: #2
2021-02-16 19:12:15 +01:00
tomasz.sowa 85fbc1b882 added uikit markup for man winix function
WIP: #2
2021-02-16 19:03:01 +01:00
tomasz.sowa 61810ff6f9 added uikit markup for last winix function
WIP: #2
2021-02-16 18:56:18 +01:00
tomasz.sowa 3a4a29f56d added uikit markup for ipban winix function
WIP: #2
2021-02-16 18:53:12 +01:00
tomasz.sowa 1fb7ece1b3 fixed: in imgcrop: data-uk-lightbox interfere with menu buttons
WIP: #2
2021-02-16 18:46:39 +01:00
tomasz.sowa f3879dd3a4 added lightbox effect on images in imgcrop winix function
WIP: #2
2021-02-16 18:40:48 +01:00
tomasz.sowa 561014886f added uikit markup for imgcrop winix function
WIP: #2
2021-02-16 18:35:55 +01:00
tomasz.sowa a2b19547a3 fixed: in Functions::CheckSpecialFile() after parsing new mount points
the cur->mount pointer was pointing at the old mount object
(which may no longer exists)
2021-02-16 17:23:36 +01:00
tomasz.sowa 93477091d1 added uikit markup for gallery winix funcion (gallery plugin)
- the main gallery is now 'uikit'
- lightbox updated to version 2.11.3 (now it is using jQuery, beforehand prototype.js was used)
- aino-gallery is called galleriajs now (and updated to 1.6.1)
- themes from galleriajs were removed and some new themes has been added (azur, twelve, folio, fullscreen)
- removed some old mount types for galleries (galleriathumb, galleria1.2.9, galleriathumb1.2.9)

WIP: #2
2021-02-16 16:31:52 +01:00
tomasz.sowa 64d3c62945 added uikit markup for export winix function (plugin export)
WIP: #2
2021-02-16 13:11:39 +01:00
tomasz.sowa 134e27f70a modified login template - removed uk-border-pill class
WIP: #2
2021-02-16 12:56:15 +01:00
tomasz.sowa 5205aa089b modified index templates
some meta information moved to index_head_functions_add.html

WIP: #2
2021-02-16 12:55:35 +01:00
tomasz.sowa b5b9655c1e modified buttons in thread winix function
WIP: #2
2021-02-16 12:54:05 +01:00
tomasz.sowa 173d0894fa modified buttons in showthreads winix function
WIP: #2
2021-02-16 12:52:49 +01:00
tomasz.sowa de6b050fb5 fixed comment in ls html template 2021-02-16 12:51:06 +01:00
tomasz.sowa 37da5e81c5 added uikit markup for createticket, showtickets, ticket winix functions (plugin ticket)
WIP: #2
2021-02-15 19:52:03 +01:00
tomasz.sowa ae8637d455 added uikit markup for: createthread, reply, showthreads and thread winix functions 2021-02-12 18:57:14 +01:00
tomasz.sowa 22a45697fa added uikit markup for subject winix function 2021-02-09 18:48:48 +01:00
tomasz.sowa 55462fca9f added uikit markup for uptime winix function 2021-02-09 18:26:30 +01:00
tomasz.sowa 2799a66c16 added uikit markup for who winix function 2021-02-09 18:11:37 +01:00
tomasz.sowa 9832b17fc2 updated uikit to 3.6.16 2021-02-09 18:10:01 +01:00
tomasz.sowa 8146f42492 added uikit markup for seo winix function 2021-02-08 02:01:37 +01:00
49 changed files with 610 additions and 570 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ endif
# CXX = g++-4.8 # CXX = g++-4.8
ifndef CXXFLAGS ifndef CXXFLAGS
CXXFLAGS = -Wall -O0 -g -fPIC -pthread -std=c++17 -I/usr/local/include -I/usr/include/postgresql -DEZC_HAS_SPECIAL_STREAM CXXFLAGS = -Wall -O0 -g -fPIC -pthread -std=c++20 -I/usr/local/include -I/usr/include/postgresql -DEZC_HAS_SPECIAL_STREAM
endif endif
ifndef AR ifndef AR
+1
View File
@@ -254,6 +254,7 @@ void * BaseThread::StartRoutine(void * this_object)
} }
} }
base->save_log();
pthread_exit(0); pthread_exit(0);
return 0; return 0;
} }
+5 -1
View File
@@ -5,7 +5,7 @@
*/ */
/* /*
* Copyright (c) 2018, Tomasz Sowa * Copyright (c) 2018-2021, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@@ -58,6 +58,10 @@ public:
void set_synchro(Synchro * synchro); void set_synchro(Synchro * synchro);
// using PT::FileLog::init to suppress clang warning:
// warning: 'Winix::FileLog::init' hides overloaded virtual function [-Woverloaded-virtual]
using PT::FileLog::init;
void init(const std::wstring & log_file, bool log_stdout, int log_level, bool save_each_line, size_t log_time_zone_id); void init(const std::wstring & log_file, bool log_stdout, int log_level, bool save_each_line, size_t log_time_zone_id);
void set_time_zones(TimeZones * time_zones); void set_time_zones(TimeZones * time_zones);
+2
View File
@@ -581,6 +581,8 @@ void Image::CreateImage()
<< ", 'convert' process returned: " << res << logend; << ", 'convert' process returned: " << res << logend;
} }
} }
log << logsave;
} }
+6 -1
View File
@@ -5,7 +5,7 @@
*/ */
/* /*
* Copyright (c) 2009-2018, Tomasz Sowa * Copyright (c) 2009-2021, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@@ -222,6 +222,11 @@ void Mounts::ReadMounts(const std::wstring & mounts)
mount_parser.Parse(mounts, mount_tab); mount_parser.Parse(mounts, mount_tab);
CalcCurMount(); CalcCurMount();
// IMPROVE ME
// cur->mount is pointing to the empty mount (it is set in functions.cpp in CheckSpecialFile method)
// may would be better to call WINIX_FSTAB_CHANGED after the cur->mount is set?
// some plugins are using 'cur' object
plugin->Call((Session*)0, WINIX_FSTAB_CHANGED); plugin->Call((Session*)0, WINIX_FSTAB_CHANGED);
} }
+4
View File
@@ -186,6 +186,10 @@ void ThreadManager::StopAll()
item.object->WaitForThread(); item.object->WaitForThread();
log << log4 << "TM: thread " << id << " terminated" << logend; log << log4 << "TM: thread " << id << " terminated" << logend;
// the thread is stopped and we can set the thread log buffer pointing to
// the main log buffer (from the main thread)
item.object->set_log_buffer(log.GetLogBuffer());
delete item.thread_item_data; delete item.thread_item_data;
id += 1; id += 1;
} }
+1 -1
View File
@@ -259,7 +259,7 @@ bool TimeZone::SetTzDst(PT::Space & year)
int year_int = Toi(year.name); int year_int = Toi(year.name);
if( year_int < 1970 && year_int > 10000 ) if( year_int < 1970 || year_int > 10000 )
return false; return false;
dst.has_dst = year.Bool(L"has_dst", false); dst.has_dst = year.Bool(L"has_dst", false);
+1 -1
View File
@@ -42,7 +42,7 @@ namespace Winix
#define WINIX_VER_MAJOR 0 #define WINIX_VER_MAJOR 0
#define WINIX_VER_MINOR 7 #define WINIX_VER_MINOR 7
#define WINIX_VER_REVISION 1 #define WINIX_VER_REVISION 2
+8 -1
View File
@@ -5,7 +5,7 @@
*/ */
/* /*
* Copyright (c) 2018, Tomasz Sowa * Copyright (c) 2018-2021, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@@ -90,6 +90,13 @@ void WinixBase::set_dependency(WinixBase * winix_base)
void WinixBase::save_log()
{
log << logsave;
}
} }
+3 -1
View File
@@ -5,7 +5,7 @@
*/ */
/* /*
* Copyright (c) 2018, Tomasz Sowa * Copyright (c) 2018-2021, Tomasz Sowa
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@@ -65,6 +65,8 @@ public:
void set_dependency(WinixBase * winix_base); void set_dependency(WinixBase * winix_base);
void save_log();
protected: protected:
+2
View File
@@ -168,7 +168,9 @@ Error Functions::CheckSpecialFile(const Item & item)
{ {
log << log3 << "Functions: reloading mount points" << logend; log << log3 << "Functions: reloading mount points" << logend;
cur->mount = system->mounts.GetEmptyMount();
system->mounts.ReadMounts(item.content); system->mounts.ReadMounts(item.content);
cur->mount = system->mounts.pmount;
templates->ReadNewIndexTemplates(); templates->ReadNewIndexTemplates();
templates->ReadNewChangeTemplates(); templates->ReadNewChangeTemplates();
+1 -1
View File
@@ -1,4 +1,4 @@
<p class="winix_iteminfo"> <p class="uk-text-meta">
{added_by}: [dir_last_user], [dir_last_date_creation_nice] {added_by}: [dir_last_user], [dir_last_date_creation_nice]
[if not dir_last_dates_equal] [if not dir_last_dates_equal]
+3 -3
View File
@@ -6,14 +6,14 @@
[if one [mount_type_is "cms"] [any [mount_type_is "thread"] [thread_mount_arg_is "subject"]]] [if one [mount_type_is "cms"] [any [mount_type_is "thread"] [thread_mount_arg_is "subject"]]]
<div class="uk-margin"> <div class="uk-margin">
<label class="uk-form-label" for="winix_title_id">{title}:</label> <label class="uk-form-label" for="winix_title_id">{title}</label>
<div class="uk-form-controls"> <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]> <input class="uk-input" id="winix_title_id" type="text" name="subject" value="[item_subject]" [if not item_is]autofocus [end]>
</div> </div>
</div> </div>
<div class="uk-margin"> <div class="uk-margin">
<label class="uk-form-label" for="winix_url_id">{suggested_url}:</label> <label class="uk-form-label" for="winix_url_id">{suggested_url}</label>
<div class="uk-form-controls"> <div class="uk-form-controls">
<input class="uk-input" id="winix_url_id" type="text" name="url" value="[item_url]"> <input class="uk-input" id="winix_url_id" type="text" name="url" value="[item_url]">
</div> </div>
@@ -40,7 +40,7 @@
[if not user_logged] [if not user_logged]
<div class="uk-margin"> <div class="uk-margin">
<label class="uk-form-label" for="winix_nick_id">{nick}:</label> <label class="uk-form-label" for="winix_nick_id">{nick}</label>
<div class="uk-form-controls"> <div class="uk-form-controls">
<input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]"> <input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]">
</div> </div>
+31 -15
View File
@@ -3,27 +3,40 @@
<h1>{create_thread_header}</h1> <h1>{create_thread_header}</h1>
<form class="uk-form-stacked" method="post" action="[doc_base_url][dir]createthread">
<form id="additem" method="post" action="[doc_base_url][dir]createthread">
<fieldset>
<legend>{form_thread_legend}</legend>
<p class="withnext">{title}:</p> <div class="uk-margin">
<input class="edit" type="text" name="subject" value="[item_subject]"> <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"] [if thread_mount_arg_is "subject"]
<p class="withnext">{suggested_url}:</p> <div class="uk-margin">
<input class="edit" type="text" name="url" value="[item_url]"> <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] [end]
[include "fun_emacs_post.html"] [include "fun_emacs_post.html"]
[if not user_logged] [if not user_logged]
<p class="withnext">{nick}:</p> <div class="uk-margin">
<input class="edit" type="text" name="guestname" value="[item_guest_name]"> <label class="uk-form-label" for="winix_nick_id">{nick}</label>
<div class="uk-form-controls">
<p class="withnext">{rebus_how_is_it} [rebus_question]?</p> <input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]">
<input class="edit" type="text" name="rebus"> </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"] [include "antispam.html"]
[end] [end]
@@ -31,9 +44,12 @@
[if winix_function_param_is "postredirect"] [if winix_function_param_is "postredirect"]
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]"> <input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
[end] [end]
<input class="submit" type="submit" value="{button_thread_submit}"> <div class="uk-margin">
</fieldset> <input class="uk-button uk-button-primary" type="submit" value="{button_thread_submit}">
</div>
</form> </form>
</div> </div>
+121 -56
View File
@@ -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"> <div class="uk-margin">
<label for="winix_title_id">{title}:</label> <label class="uk-form-label" for="winix_title_id">{title}</label>
<input id="winix_title_id" type="text" name="subject" value="[item_subject]"> <div class="uk-form-controls">
<input class="uk-input" id="winix_title_id" type="text" name="subject" value="[item_subject]">
</div>
</div> </div>
[if ticket_tab] [if ticket_tab]
<table class="winix_create_ticket">
[for ticket_tab] [for ticket_tab]
<tr>
<th>[filter fil_firstup][ticket_tab_param_name]:[end]</th>
<td>
[if ticket_tab_type_is "select"] [if ticket_tab_type_is "select"]
<select name="ticketparam[ticket_tab_param_id]"> <div class="uk-margin">
[for ticket_tab_select_tab] <label class="uk-form-label" for="winix_ticket_select_id_[ticket_tab_param_id]">[filter fil_firstup][ticket_tab_param_name][end]</label>
<option [if ticket_tab_select_tab_is_selected]selected [end]value="[ticket_tab_select_tab_id]">[ticket_tab_select_tab_name]</option>
[end] <div class="uk-form-controls">
</select> <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] [end]
[if one [ticket_tab_type_is "integer"] [ticket_tab_type_is "progress"] [ticket_tab_type_is "string"]] [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] [end]
[if ticket_tab_type_is "multistring"] [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] [end]
[if ticket_tab_type_is "images"] [if ticket_tab_type_is "images"]
[for ticket_tab_file_tab] <div class="uk-margin">
<div class="winix_create_ticket_file_row"> <label class="uk-form-label" for="winix_ticket_images_id_[ticket_tab_param_id]">[filter fil_firstup][ticket_tab_param_name][end]</label>
<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 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> </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] [end]
[if ticket_tab_type_is "files"] [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] [if ticket_tab_file_tab]
<div class="uk-margin">
<ul> <ul>
[for ticket_tab_file_tab] [for ticket_tab_file_tab]
<li> <li>
<a href="[doc_base_url][ticket_tab_file_tab_path]/download">[ticket_tab_file_tab_path]</a> <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] <button class="uk-button uk-button-default uk-button-small"
<input type="submit" name="ticketdeletefile_[ticket_tab_file_tab_itemid]" value="{ticket_delete_file}"> 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> </li>
[end] [end]
</ul> </ul>
</div>
[end] [end]
<input size="30" type="file" name="ticketparam[ticket_tab_param_id]" multiple>
<input type="submit" name="fileuploadsubmit" value="{add}">
[end] [end]
[if any_not [ticket_tab_type_is "images"] [ticket_tab_type_is "files"] ticket_is_creating_new ticket_tab_has_value] [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] [end]
</td>
</tr>
[end] [end]
</table>
[end] [end]
[# FIXME !! change names form_emacs_content_thread and form_emacs_content_ticket] [# FIXME !! change names form_emacs_content_thread and form_emacs_content_ticket]
<div class="winix_input_a"> <div class="uk-margin">
<label for="winix_content_id">{form_emacs_content_ticket}</label> <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-form-controls">
<textarea class="uk-textarea" id="winix_content_id" rows="10" cols="60" name="itemcontent">[item_content]</textarea>
</div>
</div> </div>
<div class="winix_input_a"> <div class="uk-margin">
<label for="winix_content_type_id">{form_emacs_content_type}</label> <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> <div class="uk-form-controls">
<option[if item_content_type_is "formatted text"] selected[end] value="1">{form_emacs_content_type_formatted_text}</option> <select class="uk-select" id="winix_content_type_id" name="contenttype">
[if user_can_use_html]<option[if item_content_type_is "html"] selected[end] value="2">{form_emacs_content_type_html}</option>[end] <option[if item_content_type_is "text"] selected[end] value="0">{form_emacs_content_type_text}</option>
[if user_can_use_bbcode]<option[if item_content_type_is "bbcode"] selected[end] value="3">{form_emacs_content_type_bbcode}</option>[end] <option[if item_content_type_is "formatted text"] selected[end] value="1">{form_emacs_content_type_formatted_text}</option>
[if user_can_use_other]<option[if item_content_type_is "other"] selected[end] value="4">{form_emacs_content_type_other}</option>[end] [if user_can_use_html]<option[if item_content_type_is "html"] selected[end] value="2">{form_emacs_content_type_html}</option>[end]
</select> [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> </div>
[if not user_logged] [if not user_logged]
<div class="winix_input_a"> <div class="uk-margin">
<label for="winix_nick_id">{nick}:</label> <label class="uk-form-label" for="winix_nick_id">{nick}</label>
<input id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]"> <div class="uk-form-controls">
<input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]">
</div>
</div> </div>
<div class="winix_input_a"> <div class="uk-margin">
<label for="winix_rebus_id">{rebus_how_is_it} [rebus_question]?</p> <label class="uk-form-label" for="winix_rebus_id">{rebus_how_is_it} [rebus_question]?</label>
<input id="winix_rebus_id" type="text" name="rebus"> <div class="uk-form-controls">
<input class="uk-input" id="winix_rebus_id" type="text" name="rebus">
</div>
</div> </div>
[include "antispam.html"] [include "antispam.html"]
@@ -128,8 +192,9 @@
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]"> <input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
[end] [end]
<div class="uk-margin">
<input type="submit" value="[if item_is]{form_ticket_edit_submit}[else]{form_ticket_create_submit}[end]"> <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> </form>
+3 -3
View File
@@ -7,14 +7,14 @@
<form class="uk-form-stacked" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]emacs"> <form class="uk-form-stacked" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]emacs">
<div class="uk-margin"> <div class="uk-margin">
<label class="uk-form-label" for="winix_title_id">{title}:</label> <label class="uk-form-label" for="winix_title_id">{title}</label>
<div class="uk-form-controls"> <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]> <input class="uk-input" id="winix_title_id" type="text" name="subject" value="[item_subject]" [if not item_is]autofocus [end]>
</div> </div>
</div> </div>
<div class="uk-margin"> <div class="uk-margin">
<label class="uk-form-label" for="winix_url_id">{suggested_url}:</label> <label class="uk-form-label" for="winix_url_id">{suggested_url}</label>
<div class="uk-form-controls"> <div class="uk-form-controls">
<input class="uk-input" id="winix_url_id" type="text" name="url" value="[item_url]"> <input class="uk-input" id="winix_url_id" type="text" name="url" value="[item_url]">
</div> </div>
@@ -24,7 +24,7 @@
[if not user_logged] [if not user_logged]
<div class="uk-margin"> <div class="uk-margin">
<label class="uk-form-label" for="winix_nick_id">{nick}:</label> <label class="uk-form-label" for="winix_nick_id">{nick}</label>
<div class="uk-form-controls"> <div class="uk-form-controls">
<input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]"> <input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]">
</div> </div>
+8 -5
View File
@@ -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> <div class="uk-margin">
<label><input class="uk-checkbox uk-margin-small-right" type="checkbox" name="staticfilestoo">{export_checkbox_static_file_too}</label>
<br><br> </div>
<input type="submit" value="Export">
[if winix_function_param_is "postredirect"] [if winix_function_param_is "postredirect"]
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]"> <input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
[end] [end]
<div class="uk-margin">
<button class="uk-button uk-button-primary" type="submit">{export_button}</button>
</div>
</form> </form>
+39 -127
View File
@@ -4,12 +4,14 @@
[if mount_page_arg_is "info"][include "dir_last_info.html"][end] [if mount_page_arg_is "info"][include "dir_last_info.html"][end]
[if one gallery_has_not_mount_type [gallery_mount_type_arg_is "lightbox"]] [if one gallery_has_not_mount_type [gallery_mount_type_arg_is "uikit"]]
[if gallery_tab] [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] [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] [end]
</ul> </ul>
[end] [end]
@@ -17,7 +19,24 @@
[end] [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] [if gallery_tab]
<ul class="galleryimages" style="width: [gallery_width]; height: [gallery_height];"> <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> <li><a href="[gallery_tab_link]"><img src="[gallery_tab_link]/-/thumb" alt="[gallery_tab_subject]"></a></li>
[end] [end]
</ul> </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] [else]
[if gallery_mount_theme_arg_is "white"] [if gallery_mount_theme_arg_is "twelve"]
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/aino-galleria/themes/white/galleria.white.js');</script> <script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/galleriajs/1.6.1/dist/themes/twelve/galleria.twelve.min.js');</script>
[else] [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]
[end] [end]
[if not [winix_function_param_is "image"]] [if not [winix_function_param_is "image"]]
<script type="text/javascript">$('.galleryimages').galleria();</script> <script type="text/javascript">$('.galleryimages').galleria();</script>
[else] [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> <script type="text/javascript">var url = window.document.URL.toString(); var num = 0; var re = /\/image:(\d+)/; var numarr = re.exec(url); if( numarr && numarr.length == 2 ) \{var num = numarr\[1\];\}; $('.galleryimages').galleria(\{show: num\});</script>
[end] [end]
[end] [end]
@@ -47,120 +75,4 @@
[end] [end]
[if gallery_mount_type_arg_is "galleria1.2.9"]
[if gallery_tab]
<ul class="galleryimages" style="width: [gallery_width]; height: [gallery_height];">
[for gallery_tab]
<li><a href="[gallery_tab_link]"><img src="[gallery_tab_link]/-/thumb" alt="[gallery_tab_subject]"></a></li>
[end]
</ul>
[if gallery_mount_theme_arg_is "transparent"]
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/galleria/themes/transparent/galleria.transparent.js');</script>
[if not [winix_function_param_is "image"]]
<script type="text/javascript">Galleria.configure(\{showInfo:false\}); Galleria.run('.galleryimages');</script>
[else]
<script type="text/javascript">Galleria.configure(\{showInfo:false, show: [winix_function_param_value "image"]\}); Galleria.run('.galleryimages');</script>
[end]
[else]
[if gallery_mount_theme_arg_is "transparentinfo"]
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/galleria/themes/transparentinfo/galleria.transparent.js');</script>
[if not [winix_function_param_is "image"]]
<script type="text/javascript">Galleria.configure(\{\}); Galleria.run('.galleryimages');</script>
[else]
<script type="text/javascript">Galleria.configure(\{show: [winix_function_param_value "image"]\}); Galleria.run('.galleryimages');</script>
[end]
[else]
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/galleria/themes/classic/galleria.classic.js');</script>
[if not [winix_function_param_is "image"]]
<script type="text/javascript">Galleria.configure(\{\}); Galleria.run('.galleryimages');</script>
[else]
<script type="text/javascript">Galleria.configure(\{show: [winix_function_param_value "image"]\}); Galleria.run('.galleryimages');</script>
[end]
[end]
[end]
[end]
[end]
[if gallery_mount_type_arg_is "galleriathumb"]
[if not [winix_function_param_is "image"]]
[if gallery_tab]
<ul class="galleryimages">
[for gallery_tab]
<li><a href="[doc_base_url][dir]-/image:[gallery_tab_index]"><img src="[gallery_tab_link]/-/thumb" alt="[gallery_tab_subject]"></a></li>
[end]
</ul>
[end]
[else]
[if gallery_tab]
<ul class="galleryimages" style="width: [gallery_width]; height: [gallery_height];">
[for gallery_tab]
<li><a href="[gallery_tab_link]"><img src="[gallery_tab_link]/-/thumb" alt="[gallery_tab_subject]"></a></li>
[end]
</ul>
[if gallery_mount_theme_arg_is "white"]
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/aino-galleria/themes/white/galleria.white.js');</script>
[else]
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/aino-galleria/themes/classic/galleria.classic.js');</script>
[end]
<script type="text/javascript">$('.galleryimages').galleria(\{show_info:false, show: [winix_function_param_value "image"]\});</script>
[end]
[end]
[end]
[if gallery_mount_type_arg_is "galleriathumb1.2.9"]
[if not [winix_function_param_is "image"]]
[if gallery_tab]
<ul class="galleryimages">
[for gallery_tab]
<li><a href="[doc_base_url][dir]-/image:[gallery_tab_index]"><img src="[gallery_tab_link]/-/thumb" alt="[gallery_tab_subject]"></a></li>
[end]
</ul>
[end]
[else]
[if gallery_tab]
<ul class="galleryimages" style="width: [gallery_width]; height: [gallery_height];">
[for gallery_tab]
<li><a href="[gallery_tab_link]"><img src="[gallery_tab_link]/-/thumb" alt="[gallery_tab_subject]"></a></li>
[end]
</ul>
[if gallery_mount_theme_arg_is "transparent"]
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/galleria/themes/transparent/galleria.transparent.js');</script>
<script type="text/javascript">Galleria.configure(\{showInfo:false, show: [winix_function_param_value "image"]\}); Galleria.run('.galleryimages');</script>
[else]
[if gallery_mount_theme_arg_is "transparentinfo"]
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/galleria/themes/transparentinfo/galleria.transparent.js');</script>
<script type="text/javascript">Galleria.configure(\{show: [winix_function_param_value "image"]\}); Galleria.run('.galleryimages');</script>
[end]
[end]
[end]
[end]
[end]
</div> </div>
+46 -42
View File
@@ -1,22 +1,22 @@
<div class="winix"> <div class="winix">
<h1>Kadrowanie obrazów</h1> <h1>{imgcrop_header}</h1>
[if item_is] [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 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"> <script type="text/javascript">
var winix_jcrop; var winix_jcrop;
</script> </script>
@@ -31,12 +31,11 @@
[if any_not [winix_function_param_is "thumb"] [winix_function_param_is "newthumb"]] [if any_not [winix_function_param_is "thumb"] [winix_function_param_is "newthumb"]]
[if false] [if false] [# !! IMPROVE ME not implemented yet]
<div class="winix_input_b"> <div class="uk-margin">
<input type="checkbox" name="createthumbtoo" id="winix_createthumbtooid"> <label><input class="uk-checkbox uk-margin-small-right" type="checkbox" name="createthumbtoo">{imgcrop_create_new_thumb_too_info}</label>
<label for="winix_createthumbtooid">Stwórz także nową miniaturę</label> </div>
</div> [end]
[end]
[end] [end]
@@ -44,12 +43,15 @@
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]"> <input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
[end] [end]
<input type="submit" value="Kadruj"> <div class="uk-margin">
<input class="uk-button uk-button-primary" type="submit" value="Kadruj">
</div>
</form> </form>
[else] [else]
<p>To nie jest obrazek.</p> <p>{imgcrop_no_image_info}</p>
[end] [end]
@@ -72,33 +74,35 @@
[else] [else]
[if item_tab] [if item_tab]
<ul class="winix_imgcrop_list"> <table class="uk-table uk-table-responsive uk-table-divider uk-table-justify">
[for item_tab] [for item_tab]
<tr>
<li> <td data-uk-lightbox="animation: slide">
<a href="[item_tab_link]">
<div class="winix_imgcrop_list_image"> <img src="[item_tab_link][if item_tab_has_thumb]/-/thumb[end]" alt="[item_tab_subject]">
<img src="[item_tab_link][if item_tab_has_thumb]/-/thumb[end]" alt="[item_tab_subject]"> </a>
</div> </td>
<div class="winix_imgcrop_list_imageurl">
[item_tab_url]
</div>
<div class="winix_imgcrop_list_options">
<ul>
<li><a href="[item_tab_link]/imgcrop/postredirect:[filter fil_urlencode][doc_base_url][dir]imgcrop[end]">Kadruj zdjęcie</a></li>
<li><a href="[item_tab_link]/imgcrop/thumb/postredirect:[filter fil_urlencode][doc_base_url][dir]imgcrop[end]">Kadruj miniature</a></li>
<li><a href="[item_tab_link]/imgcrop/newthumb/postredirect:[filter fil_urlencode][doc_base_url][dir]imgcrop[end]">Kadruj i stwórz nową miniature</a></li>
</ul>
</div>
</li> <td>
[item_tab_url]
</td>
[end] <td>
</ul>
<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] [end]
+5 -5
View File
@@ -4,7 +4,7 @@
[if ipban_tab] [if ipban_tab]
<table class="ipban_table"> <table class="uk-table uk-table-divider uk-table-small">
<tr> <tr>
<th>{ipban_col_id}</th> <th>{ipban_col_id}</th>
@@ -35,15 +35,15 @@
<td>[if ipban_tab_has_active_flag]{ipban_has_active_flag}[end]</td> <td>[if ipban_tab_has_active_flag]{ipban_has_active_flag}[end]</td>
<td>[ipban_tab_last_used]</td> <td>[ipban_tab_last_used]</td>
<td>[ipban_tab_expires]</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> </tr>
[end] [end]
</table> </table>
<p> <div class="uk-margin">
<a href="[doc_base_url][dir][if item_is][item_url]/[end]ipban/removeip:all">{ipban_remove_all_ip}</a> <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>
</p> </div>
[else] [else]
<p>{ipban_ban_list_empty}</p> <p>{ipban_ban_list_empty}</p>
+2 -2
View File
@@ -1,9 +1,9 @@
<div class="winix"> <div class="winix">
<h1 class="simple">{last_header}</h1> <h1>{last_header}</h1>
[if last_tab] [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> <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] [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> <tr><td>[last_tab_name]</td><td>[last_tab_ip]</td><td>[last_tab_start]</td><td>[last_tab_end]</td></tr>
+32 -33
View File
@@ -9,7 +9,7 @@
</p> </p>
<div class="uk-margin-top"> <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-border-pill uk-width-small">{login_logout_button}</a> <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>
</div> </div>
[else] [else]
@@ -21,45 +21,44 @@
</div> </div>
[else] [else]
[# 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"> <div class="uk-width-medium uk-padding-small">
<!-- login --> <!-- login -->
<form class="toggle-class" action="[login_path]login" method="POST"> <form class="toggle-class" action="[login_path]login" method="POST">
<fieldset class="uk-fieldset">
<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 uk-border-pill" 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 uk-border-pill" required placeholder="{login_password}" type="password" name="password">
</div>
</div>
[if login_should_use_captcha] <div class="uk-margin-small">
<div class="uk-margin-small"> <div class="uk-inline uk-width-1-1">
<div class="uk-inline uk-width-1-1"> <span class="uk-form-icon uk-form-icon-flip" data-uk-icon="icon: user"></span>
<span class="uk-form-icon uk-form-icon-flip" data-uk-icon="icon: lifesaver"></span> <input class="uk-input" required placeholder="{login_username}" type="text" name="login">
<input class="uk-input uk-border-pill" required placeholder="{rebus_how_is_it} [rebus_question]?" type="text" name="rebus">
</div>
</div> </div>
[end] </div>
<div class="uk-margin-small">
<div class="uk-margin-small"> <div class="uk-inline uk-width-1-1">
<label><input class="uk-checkbox" type="checkbox" name="rememberme"> {login_remember_me}</label> <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="uk-margin-bottom"> </div>
<button type="submit" class="uk-button uk-button-primary uk-border-pill uk-width-1-1">{login_button}</button>
[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>
</div>
[end]
[if winix_function_param_is "postredirect"] <div class="uk-margin-small">
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]"> <label><input class="uk-checkbox uk-margin-small-right" type="checkbox" name="rememberme">{login_remember_me}</label>
[end] </div>
<div class="uk-margin-bottom">
<button type="submit" class="uk-button uk-button-primary uk-width-1-1">{login_button}</button>
</div>
[if winix_function_param_is "postredirect"]
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
[end]
</fieldset>
</form> </form>
<!-- /login --> <!-- /login -->
@@ -69,11 +68,11 @@
<div class="uk-margin-small"> <div class="uk-margin-small">
<div class="uk-inline uk-width-1-1"> <div class="uk-inline uk-width-1-1">
<span class="uk-form-icon uk-form-icon-flip" data-uk-icon="icon: mail"></span> <span class="uk-form-icon uk-form-icon-flip" data-uk-icon="icon: mail"></span>
<input class="uk-input uk-border-pill" placeholder="{login_forgot_password_email}" required type="text"> <input class="uk-input" placeholder="{login_forgot_password_email}" required type="text">
</div> </div>
</div> </div>
<div class="uk-margin-bottom"> <div class="uk-margin-bottom">
<button type="submit" class="uk-button uk-button-primary uk-border-pill uk-width-1-1">{login_forgot_password_button}</button> <button type="submit" class="uk-button uk-button-primary uk-width-1-1">{login_forgot_password_button}</button>
</div> </div>
</form> </form>
<!-- /recover password --> <!-- /recover password -->
+2 -2
View File
@@ -131,7 +131,7 @@
[end] [end]
</ul> </ul>
[end] [end]
[# !! IMPROVE ME those two lists (above and below) can be combined together [# !! IMPROVE ME those two lists (above and below) can be combined together]
[if item_tab] [if item_tab]
<ul class="uk-list uk-list-disc uk-list-collapse"> <ul class="uk-list uk-list-disc uk-list-collapse">
[for item_tab] [for item_tab]
@@ -144,7 +144,7 @@
[else] [else]
[!! improve me: may it would be better to not use a list here?] [#!! improve me: may it would be better to not use a list here?]
<ul class="uk-list uk-list-disc uk-list-collapse"> <ul class="uk-list uk-list-disc uk-list-collapse">
<li><a href="[doc_base_url][dir][item_url]">[item_url]</a></li> <li><a href="[doc_base_url][dir][item_url]">[item_url]</a></li>
</ul> </ul>
+6 -12
View File
@@ -4,29 +4,23 @@
<h2>{man_winix_funcions}</h2> <h2>{man_winix_funcions}</h2>
<table> <ul class="uk-list uk-list-disc">
[for man_winixfun_tab] [for man_winixfun_tab]
<tr> <li>[man_winixfun_tab_name]</li>
<td>[man_winixfun_tab_index]</td>
<td>[man_winixfun_tab_name]</td>
</tr>
[end] [end]
</table> </ul>
<h2>{man_ezc_functions}</h2> <h2>{man_ezc_functions}</h2>
<table> <ul class="uk-list uk-list-disc">
[for man_ezcfun_tab] [for man_ezcfun_tab]
<tr> <li>[man_ezcfun_tab_name]</li>
<td>[man_ezcfun_tab_index]</td>
<td>[man_ezcfun_tab_name]</td>
</tr>
[end] [end]
</table> </ul>
</div> </div>
+3 -3
View File
@@ -1,9 +1,9 @@
<div class="winix"> <div class="winix">
<h1>Pw</h1> <h1>{pw_header}</h1>
[if user_tab] [if user_tab]
<table class="tablec"> <table class="uk-table uk-table-divider uk-table-small uk-table-responsive">
<tr> <tr>
<th>{pw_table_no}</th> <th>{pw_table_no}</th>
<th>{pw_table_login}</th> <th>{pw_table_login}</th>
@@ -14,7 +14,7 @@
</tr> </tr>
[for user_tab] [for user_tab]
<tr class="[if index "odd"]roweven[else]rowodd[end]"> <tr>
<td>[user_tab_index]</td> <td>[user_tab_index]</td>
<td>[user_tab_name]</td> <td>[user_tab_name]</td>
<td>[if user_tab_is_super_user]{pw_table_yes}[end]</td> <td>[if user_tab_is_super_user]{pw_table_yes}[end]</td>
+43 -30
View File
@@ -3,30 +3,37 @@
<h1>{thread_header_reply}</h1> <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"] [if thread_mount_arg_is "subject"]
<div class="winix_input_a"> <div class="uk-margin">
<label for="">{title}:</label> <label class="uk-form-label" for="winix_title_id">{title}</label>
<input type="text" name="subject" value=""> <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>
<div class="winix_input_a"> <div class="uk-margin">
<label for="">{suggested_url}:</label> <label class="uk-form-label" for="winix_url_id">{suggested_url}</label>
<input type="text" name="url" value=""> <div class="uk-form-controls">
<input class="uk-input" id="winix_url_id" type="text" name="url" value="[item_url]">
</div>
</div> </div>
[end] [end]
<div class="winix_input_a"> <div class="uk-margin">
[if mount_type_is "thread"]<label for="winix_content_id">{form_emacs_content_thread}</label>[end] [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-form-controls">
<textarea class="uk-textarea" id="winix_content_id" rows="10" cols="60" name="itemcontent"></textarea>
</div>
</div> </div>
<div class="winix_input_a"> <div class="uk-margin">
<label for="">{form_emacs_content_type}</label> <label class="uk-form-label" for="winix_contenttype_id">{form_emacs_content_type}</label>
<select name="contenttype"> <select class="uk-select" name="contenttype" id="winix_contenttype_id">
<option value="0">{form_emacs_content_type_text}</option> <option value="0">{form_emacs_content_type_text}</option>
<option selected value="1">{form_emacs_content_type_formatted_text}</option> <option selected value="1">{form_emacs_content_type_formatted_text}</option>
[if user_can_use_html]<option value="2">{form_emacs_content_type_html}</option>[end] [if user_can_use_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] [if user_can_use_other]<option value="4">{form_emacs_content_type_other}</option>[end]
</select> </select>
</div> </div>
[if not user_logged] [if not user_logged]
<div class="winix_input_a"> <div class="uk-margin">
<label for="">{nick}:</label> <label class="uk-form-label" for="winix_nick_id">{nick}</label>
<input type="text" name="guestname" value=""> <div class="uk-form-controls">
<input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]">
</div>
</div> </div>
<div class="winix_input_a"> <div class="uk-margin">
<label for="">{rebus_how_is_it} [rebus_question]?</p> <label class="uk-form-label" for="winix_rebus_id">{rebus_how_is_it} [rebus_question]?</label>
<input type="text" name="rebus"> <div class="uk-form-controls">
<input class="uk-input" id="winix_rebus_id" type="text" name="rebus">
</div>
</div> </div>
[include "antispam.html"] [include "antispam.html"]
[end] [end]
@@ -55,8 +66,10 @@
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]"> <input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
[end] [end]
<input type="submit" value="{add}"> <div class="uk-margin">
<input class="uk-button uk-button-primary" type="submit" value="{add}">
</div>
</form> </form>
+15 -11
View File
@@ -4,18 +4,20 @@
[if user_logged] [if user_logged]
<form id="additem" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]rmuser"> <form class="uk-form-stacked" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]rmuser">
<fieldset>
<legend>{rmuser_legend}</legend>
[if user_super_user] [if user_super_user]
<p class="withnext">{rmuser_selectuser}:</p> <div class="uk-margin">
<select name="userid"> <label class="uk-form-label" for="winix_select_user_id">{rmuser_selectuser}</label>
[for user_tab] <div class="uk-form-controls">
<option value="[user_tab_id]">[user_tab_name]</option> <select class="uk-select uk-width-1-2@s" id="winix_select_user_id" name="userid">
[end] [for user_tab]
</select> <option value="[user_tab_id]">[user_tab_name]</option>
[end]
</select>
</div>
</div>
[else] [else]
<p>{rmuser_removecurrent}</p> <p>{rmuser_removecurrent}</p>
@@ -26,8 +28,10 @@
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]"> <input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
[end] [end]
<input type="submit" value="{rmuser_submit}"> <div class="uk-margin">
</fieldset> <input class="uk-button uk-button-primary" type="submit" value="{rmuser_submit}">
</div>
</form> </form>
[end] [end]
+1 -9
View File
@@ -3,15 +3,7 @@
<div> <div>
[if mount_page_arg_is "subject"] [if mount_page_arg_is "subject"]
[if mount_page_arg_is "info"] <h1>[item_subject]</h1>
<h1 class="withinfo">
[else]
<h1>
[end]
[item_subject]
</h1>
[end] [end]
[if mount_page_arg_is "info"] [if mount_page_arg_is "info"]
+21 -13
View File
@@ -3,28 +3,36 @@
<h1>{seo_title}</h1> <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"> <div class="uk-margin">
<label for="winix_title_id">{title}:</label> <label class="uk-form-label" for="winix_title_id">{title}</label>
<input id="winix_title_id" type="text" name="subject" value="[item_subject]" autofocus> <div class="uk-form-controls">
</div> <input class="uk-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> </div>
<div class="winix_input_a"> <div class="uk-margin">
<label for="winix_keywords_id">{seo_keywords}:</label> <label class="uk-form-label" for="winix_description_id">{seo_description}</label>
<input id="winix_keywords_id" type="text" name="keywords" value="[item_meta "seo" "keywords"]"> <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> </div>
[if winix_function_param_is "postredirect"] [if winix_function_param_is "postredirect"]
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]"> <input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
[end] [end]
<input type="submit" value="{change}"> <div class="uk-margin">
<input class="uk-button uk-button-primary" type="submit" value="{change}">
</div>
</form> </form>
+5 -7
View File
@@ -5,22 +5,20 @@
[if thread_can_create] [if thread_can_create]
<div class="winix_itemoptions_b"> <div class="uk-margin">
<ul> <a class="uk-button uk-button-primary" href="[doc_base_url][dir]createthread" rel="nofollow">{thread_create_new}</a>
<li><a href="[doc_base_url][dir]createthread" rel="nofollow">{thread_create_new}</a></li>
</ul>
</div> </div>
[end] [end]
[if thread_sort_tab] [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> <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] [for thread_sort_tab]
<tr> <tr>
<td><a href="[doc_base_url][dir][thread_sort_tab_url]">[thread_sort_tab_subject]</a></td> [# dodac sprawdzanie subject empty] <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>[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_last_item_date_modification_nice] ([thread_sort_tab_last_item_user])</td>
</tr> </tr>
[end] [end]
</table> </table>
+6 -6
View File
@@ -5,16 +5,15 @@
[if ticket_can_create] [if ticket_can_create]
<div class="winix_itemoptions_b"> <div class="uk-margin">
<ul> <a class="uk-button uk-button-primary" href="[doc_base_url][dir]createticket" rel="nofollow">{ticket_create_new}</a>
<li><a href="[doc_base_url][dir]createticket" rel="nofollow">{ticket_create_new}</a></li>
</ul>
</div> </div>
[end] [end]
[if tickets_tab] [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> <tr>
<th>{tickets_header_name}</th> <th>{tickets_header_name}</th>
@@ -33,7 +32,7 @@
[for tickets_tab] [for tickets_tab]
<tr> <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]&lt;[tickets_tab_url]&gt;[end]</a></td> <td><a href="[doc_base_url][dir][tickets_tab_url]">[if not tickets_tab_subject_empty][tickets_tab_subject][else]&lt;[tickets_tab_url]&gt;[end]</a></td>
[for tickets_tab_conf_tab] [for tickets_tab_conf_tab]
[if any_not [tickets_tab_conf_tab_type_is "images"] [tickets_tab_conf_tab_type_is "files"]] [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"] [if tickets_tab_conf_tab_type_is "progress"]
@@ -54,6 +53,7 @@
[end] [end]
</table> </table>
</div>
[end] [end]
+1 -1
View File
@@ -2,7 +2,7 @@
<h1 class="simple">{stat_header}</h1> <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> <tr><th>{stat_item_type}:</th> <td>
[if stat_item_type_is_file]{stat_item_type_file}[end] [if stat_item_type_is_file]{stat_item_type_file}[end]
+9 -5
View File
@@ -3,18 +3,22 @@
<h1>{subject_header}</h1> <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"> <div class="uk-margin">
<label for="winix_title_id">{title}</label> <label class="uk-form-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-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> </div>
[if winix_function_param_is "postredirect"] [if winix_function_param_is "postredirect"]
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]"> <input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
[end] [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> </form>
+25 -14
View File
@@ -1,45 +1,56 @@
<div class="winix"> <div class="winix">
[if mount_page_arg_is "subject"]<h1[if mount_page_arg_is "info"] class="winix_withinfo"[end]>[item_subject]</h1>[end] [if mount_page_arg_is "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 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] [end]
[if not [thread_mount_arg_is "sort_desc"]] [if not [thread_mount_arg_is "sort_desc"]]
<div class="winix_threadbox"> <div class="uk-margin">
[if item_can_write]<a class="winix_threadedit" href="[item_link]/emacs" rel="nofollow">\[{edit}\]</a>[end] [if item_can_write]<a class="uk-button uk-button-default uk-button-small" href="[item_link]/emacs" rel="nofollow">{edit}</a>[end]
[if thread_mount_arg_is "subject"]<h2[if thread_mount_arg_is "info"] class="winix_withinfo"[end]>[item_subject]</h2>[end] [if thread_mount_arg_is "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] [if thread_mount_arg_is "info"][include "item_info.html"][end]
[item_print_content] [item_print_content]
</div> </div>
[end] [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] [for thread_sort_tab]
<div class="winix_threadbox[if index "even"] winix_threadboxcolor[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="winix_threadedit" href="[thread_sort_tab_link]/emacs" rel="nofollow">\[{edit}\]</a>[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 "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] [if thread_mount_arg_is "info"][include "thread_sort_tab_info.html"][end]
[thread_sort_tab_print_content] [thread_sort_tab_print_content]
</div> </div>
[end] [end]
[if thread_mount_arg_is "sort_desc"] [if thread_mount_arg_is "sort_desc"]
<div class="winix_threadbox"> <div class="uk-margin">
[if item_can_write]<a class="winix_threadedit" href="[item_link]/emacs" rel="nofollow">\[{edit}\]</a>[end] [if item_can_write]<a class="uk-button uk-button-default uk-button-small" href="[item_link]/emacs" rel="nofollow">{edit}</a>[end]
[if thread_mount_arg_is "subject"]<h2[if thread_mount_arg_is "info"] class="winix_withinfo"[end]>[item_subject]</h2>[end] [if thread_mount_arg_is "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] [if thread_mount_arg_is "info"][include "item_info.html"][end]
[item_print_content] [item_print_content]
</div> </div>
[end] [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> </div>
+18 -17
View File
@@ -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] [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] [for ticket_tab]
[if ticket_tab_has_value] [if ticket_tab_has_value]
<tr> <tr>
<th>[filter fil_firstup][ticket_tab_param_name]:[end]</th> <th class="uk-width-auto">[filter fil_firstup][ticket_tab_param_name]:[end]</th>
<td> <td class="uk-width-expand">
[if ticket_tab_type_is "images"] [if ticket_tab_type_is "images"]
[for ticket_tab_file_tab] <div class="uk-child-width-1-3@m" uk-grid uk-lightbox="animation: slide">
<a href="[doc_base_url][ticket_tab_file_tab_path]" rel="lightbox\[a\]"> [for ticket_tab_file_tab]
<img src="[doc_base_url][ticket_tab_file_tab_path]/-/thumb" alt="[ticket_tab_file_tab_path]" height="150"> <a class="uk-inline" href="[doc_base_url][ticket_tab_file_tab_path]" data-caption="[ticket_tab_file_tab_path]">
</a> <img src="[doc_base_url][ticket_tab_file_tab_path]/-/thumb" alt="[ticket_tab_file_tab_path]">
[end] </a>
[end]
</div>
[end] [end]
[if ticket_tab_type_is "files"] [if ticket_tab_type_is "files"]
@@ -47,16 +49,9 @@
[if winix_has_plugin "thread"] [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] [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_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 "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] [if thread_mount_arg_is "info"][include "thread_sort_tab_info.html"][end]
@@ -64,6 +59,12 @@
</div> </div>
[end] [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] [end]
+3 -3
View File
@@ -6,14 +6,14 @@
[if one [mount_type_is "cms"] [any [mount_type_is "thread"] [thread_mount_arg_is "subject"]]] [if one [mount_type_is "cms"] [any [mount_type_is "thread"] [thread_mount_arg_is "subject"]]]
<div class="uk-margin"> <div class="uk-margin">
<label class="uk-form-label" for="winix_title_id">{title}:</label> <label class="uk-form-label" for="winix_title_id">{title}</label>
<div class="uk-form-controls"> <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]> <input class="uk-input" id="winix_title_id" type="text" name="subject" value="[item_subject]" [if not item_is]autofocus [end]>
</div> </div>
</div> </div>
<div class="uk-margin"> <div class="uk-margin">
<label class="uk-form-label" for="winix_url_id">{suggested_url}:</label> <label class="uk-form-label" for="winix_url_id">{suggested_url}</label>
<div class="uk-form-controls"> <div class="uk-form-controls">
<input class="uk-input" id="winix_url_id" type="text" name="url" value="[item_url]"> <input class="uk-input" id="winix_url_id" type="text" name="url" value="[item_url]">
</div> </div>
@@ -36,7 +36,7 @@
[if not user_logged] [if not user_logged]
<div class="uk-margin"> <div class="uk-margin">
<label class="uk-form-label" for="winix_nick_id">{nick}:</label> <label class="uk-form-label" for="winix_nick_id">{nick}</label>
<div class="uk-form-controls"> <div class="uk-form-controls">
<input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]"> <input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]">
</div> </div>
+5 -4
View File
@@ -6,11 +6,12 @@
[if sys_plugin_tab] [if sys_plugin_tab]
{uname_available_plugins}: <h2>{uname_available_plugins}</h2>
<ul>
<ul class="uk-list">
[for sys_plugin_tab] [for sys_plugin_tab]
<li>[if sys_plugin_tab_has_name][sys_plugin_tab_name][else]&lt;{uname_plugin_unknown}&gt;[end]</li> <li>[if sys_plugin_tab_has_name][sys_plugin_tab_name][else]&lt;{uname_plugin_unknown}&gt;[end]</li>
[end] [end]
</ul> </ul>
+28 -8
View File
@@ -2,20 +2,40 @@
<h1>{uptime_header}</h1> <h1>{uptime_header}</h1>
<p>{uptime_current_time}: [winix_cur_time]<br> <table class="uk-table uk-table-divider uk-table-small uk-table-justify uk-width-2-3@s uk-width-1-2@m">
{uptime_up}:
<tr>
<th>{uptime_current_time}</th><td>[winix_cur_time]</td>
</tr>
<tr>
<th>{uptime_up}</th>
<td>
[if uptime_more_than_one_day] [if uptime_more_than_one_day]
[uptime_days] {uptime_days} [uptime_days] {uptime_days}
[else] [else]
[uptime_hours] [uptime_hours]
[end] [end]
<br> </td>
{uptime_how_many_sessions}: [winix_how_many_sessions]<br> </tr>
{uptime_users_logged}: [winix_users_logged]<br>
{load_avg}: [winix_loadavg_now], [winix_loadavg_1], [winix_loadavg_5], [winix_loadavg_15]<br> <tr>
{req_per_sec}: [winix_req_per_sec_now], [winix_req_per_sec_1], [winix_req_per_sec_5], [winix_req_per_sec_15] <th>{uptime_how_many_sessions}</th><td>[winix_how_many_sessions]</td>
</p> </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> </div>
+3 -3
View File
@@ -8,14 +8,14 @@
[if one [mount_type_is "cms"] [any [mount_type_is "thread"] [thread_mount_arg_is "subject"]]] [if one [mount_type_is "cms"] [any [mount_type_is "thread"] [thread_mount_arg_is "subject"]]]
<div class="uk-margin"> <div class="uk-margin">
<label class="uk-form-label" for="winix_title_id">{title}:</label> <label class="uk-form-label" for="winix_title_id">{title}</label>
<div class="uk-form-controls"> <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]> <input class="uk-input" id="winix_title_id" type="text" name="subject" value="[item_subject]" [if not item_is]autofocus [end]>
</div> </div>
</div> </div>
<div class="uk-margin"> <div class="uk-margin">
<label class="uk-form-label" for="winix_url_id">{suggested_url}:</label> <label class="uk-form-label" for="winix_url_id">{suggested_url}</label>
<div class="uk-form-controls"> <div class="uk-form-controls">
<input class="uk-input" id="winix_url_id" type="text" name="url" value="[item_url]"> <input class="uk-input" id="winix_url_id" type="text" name="url" value="[item_url]">
</div> </div>
@@ -40,7 +40,7 @@
[if not user_logged] [if not user_logged]
<div class="uk-margin"> <div class="uk-margin">
<label class="uk-form-label" for="winix_nick_id">{nick}:</label> <label class="uk-form-label" for="winix_nick_id">{nick}</label>
<div class="uk-form-controls"> <div class="uk-form-controls">
<input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]"> <input class="uk-input" id="winix_nick_id" type="text" name="guestname" value="[item_guest_name]">
</div> </div>
+1 -1
View File
@@ -4,7 +4,7 @@
[if who_tab] [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> <tr><th>{who_tab_index}</th><th>{user}</th><th>{who_tab_start}</th><th>{who_tab_last_active}</th></tr>
[for who_tab] [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> <tr><td>[who_tab_lp]</td><td>[who_tab_user]</td><td>[who_tab_time]</td><td>[who_tab_last_time]</td></tr>
+16 -25
View File
@@ -1,40 +1,31 @@
<!DOCTYPE html> <!DOCTYPE html>
[# minimalistic template] [# minimalistic template]
<html lang="{language}"> <html lang="{winix_html_lang_attr}">
<head> <head>
[include "index_head_functions_add.html"] [include "index_head_adder.html"]
<meta charset="UTF-8">
<title>[doc_title]</title> <title>[doc_title]</title>
</head> </head>
[if winix_function_is "login"] <body>
[# login template: https://zzseba78.github.io/Kick-Off/login.html ]
<body class="uk-flex uk-flex-center uk-flex-middle uk-background-muted uk-height-viewport" data-uk-height-viewport>
<div>
[else]
<body class="uk-flex uk-flex-center">
<div class="uk-width-2xlarge">
[end]
<div class="uk-container uk-container-small">
<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 class="uk-position-fixed uk-position-bottom-center uk-position-small uk-visible@m uk-position-z-index">
<span class="uk-text-small uk-text-muted">
© [current_year] [doc_base_url] - <a href="https://gitea.ttmath.org/tomasz.sowa/winix" title="Winix - a web framework" target="_blank" data-uk-tooltip>Powered by winix [sys_ver_major].[sys_ver_minor].[sys_ver_revision]</a>
| Built with <a href="http://getuikit.com" title="Visit UIkit 3 site" target="_blank" data-uk-tooltip><span data-uk-icon="uikit"></span></a>
</span>
</div> </div>
[include "slog.html"] [include "index_bottom_adder.html"]
[# each winix function has div.winix in its template defined -- only functions: cat and run don't have div.winix]
[# so you can easly use 'content' with your own template]
[# and when using other winix functions you automatically get proper styling]
[content]
</div>
[include "index_bottom_adder.html"]
</body> </body>
</html> </html>
+2 -3
View File
@@ -1,11 +1,10 @@
<!DOCTYPE html> <!DOCTYPE html>
[# minimalistic template] [# minimalistic template]
<html lang="{language}"> <html lang="{winix_html_lang_attr}">
<head> <head>
[include "index_head_functions_add.html"] [include "index_head_adder.html"]
<meta charset="UTF-8">
<title>[doc_title]</title> <title>[doc_title]</title>
</head> </head>
@@ -1,15 +1,17 @@
[# rename me to index_head_adder.html]
[def winix_has_uikit "true"] [def winix_has_uikit "true"]
[def winix_has_jquery "false"] [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] [# UIkit CSS]
<link rel="stylesheet" href="[doc_base_url_common]/uikit/uikit-3.6.14/css/uikit.min.css"> <link rel="stylesheet" href="[doc_base_url_common]/uikit/uikit-3.6.16/css/uikit.min.css">
[# UIkit JS] [# UIkit JS]
<script src="[doc_base_url_common]/uikit/uikit-3.6.14/js/uikit.min.js"></script> <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.14/js/uikit-icons.min.js"></script> <script src="[doc_base_url_common]/uikit/uikit-3.6.16/js/uikit-icons.min.js"></script>
@@ -144,37 +146,25 @@ cm.save()
[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 winix_function_is "gallery"]
[if one gallery_has_not_mount_type [gallery_mount_type_arg_is "lightbox"]] [if gallery_mount_type_arg_is "lightbox"]
<link rel="stylesheet" href="[doc_base_url_common]/lightbox/lightbox.css" type="text/css" media="screen"> [# https://lokeshdhakar.com/projects/lightbox2/ ]
<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> [def winix_has_jquery "true"]
<script src="[doc_base_url_common]/lightbox/js/lightbox.js" type="text/javascript"></script> <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] [end]
[if one [gallery_mount_type_arg_is "galleria"] [gallery_mount_type_arg_is "galleriathumb"]] [if gallery_mount_type_arg_is "galleriajs"]
[# https://galleriajs.github.io/ ]
[# formerly called aino-gallery ]
[def winix_has_jquery "true"] [def winix_has_jquery "true"]
<script type="text/javascript" src="[doc_base_url_common]/jquery-1.4.4.min.js"></script> <script type="text/javascript" src="[doc_base_url_common]/jquery/1.12.4/jquery.min.js"></script>
<script src="[doc_base_url_common]/aino-galleria/galleria-1.2.2.min.js" type="text/javascript"></script> <script src="[doc_base_url_common]/galleriajs/1.6.1/dist/galleria.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"]]
[def winix_has_jquery "true"]
<script type="text/javascript" src="[doc_base_url_common]/jquery-1.9.1.min.js"></script>
<script src="[doc_base_url_common]/galleria/galleria-1.2.9.min.js" type="text/javascript"></script>
[end] [end]
[end] [end]
@@ -267,9 +257,9 @@ cm.save()
[if winix_function_is "imgcrop"] [if winix_function_is "imgcrop"]
[def winix_has_jquery "true"] [def winix_has_jquery "true"]
<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]/jcrop-0.9.12/js/jquery.Jcrop.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.12/css/jquery.Jcrop.css"> <link type="text/css" rel="stylesheet" href="[doc_base_url_common]/jcrop/0.9.15/css/jquery.Jcrop.min.css">
[end] [end]
+1 -1
View File
@@ -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], {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] {last_modified}[if item_users_different] {by}: [item_modification_user],[else]:[end]
[item_date_modification_nice][end] [item_date_modification_nice][end]
-39
View File
@@ -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 -1
View File
@@ -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], {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] {last_modified}[if item_tab_users_different] {by}: [item_tab_modification_user],[else]:[end]
+1 -1
View File
@@ -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], {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] {last_modified}[if thread_sort_tab_users_different] {by}: [thread_sort_tab_modification_user],[else]:[end]
+21 -7
View File
@@ -1,8 +1,12 @@
winix_locale_id = "0" winix_locale_id = "0"
locale_name = "english" locale_name = "english"
language = en winix_html_lang_attr = en
charset = UTF-8
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 = logged as
@@ -37,7 +41,7 @@ export_header = Export
export_transer_file_info = Press Export to transfer the file to an external ftp server 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_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_checkbox_static_file_too = "Export static files too (images etc.)"
export_button = Export
code_expired = The code has expired code_expired = The code has expired
password_cannot_be_changed = The password cannot be changed, please contact with the system administrator password_cannot_be_changed = The password cannot be changed, please contact with the system administrator
@@ -82,7 +86,6 @@ cat_file_url = File url
create_thread_header = Create thread create_thread_header = Create thread
form_thread_legend = Thread form
button_thread_submit = Create thread button_thread_submit = Create thread
url = Url url = Url
@@ -128,6 +131,7 @@ form_ticket_progress = "Progress (0-100)"
form_ticket_create_submit = Create a new ticket form_ticket_create_submit = Create a new ticket
form_ticket_edit_submit = Edit a ticket form_ticket_edit_submit = Edit a ticket
form_ticket_select_file = Select file
env_header = Environment variables for a user env_header = Environment variables for a user
env_change_env_for_user = Change environment variables for user env_change_env_for_user = Change environment variables for user
@@ -199,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_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: 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_header = Man
man_winix_funcions = Winix functions man_winix_funcions = Winix functions
@@ -244,7 +258,8 @@ pw_table_is_active = Is active
pw_table_is_suspended = Is suspended pw_table_is_suspended = Is suspended
pw_table_is_banned = Is banned pw_table_is_banned = Is banned
pw_table_yes = yes pw_table_yes = yes
pw_table_no = no
# !! is it used anymore?
pw_password_changed = Your password has been changed pw_password_changed = Your password has been changed
@@ -274,8 +289,7 @@ rm_content_use_r_option = Content of a directory can be removed only with 'r' pa
rmuser_header = Remove user rmuser_header = Remove user
rmuser_legend = Remove user form rmuser_selectuser = Choose a user to delete
rmuser_selectuser = Select a user
rmuser_submit = Remove rmuser_submit = Remove
rmuser_removecurrent = Are you really want to remove your account from our service? rmuser_removecurrent = Are you really want to remove your account from our service?
+24 -11
View File
@@ -1,9 +1,12 @@
winix_locale_id = "1" winix_locale_id = "1"
locale_name = "polski" locale_name = "polski"
winix_html_lang_attr = pl
language = pl winix_backend_info = Napędzany przez Winix
charset = UTF-8 winix_backend_tooltip = Winix - www framework
winix_frontend_info = Zbudowany z
winix_frontend_tooltip = Odwiedź stronę UIkit 3
logged_as = zalogowany jako logged_as = zalogowany jako
@@ -39,7 +42,7 @@ export_header = Export
export_transer_file_info = Wciśnij przycisk Export aby wysłać ten plik na zewnętrzny serwer ftp 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_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_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ść 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 password_cannot_be_changed = Niestety nie możemy zmienić hasła dla tego konta, proszę skontaktować się z administratorem
@@ -87,7 +90,6 @@ cat_file_url = Adres pliku
create_thread_header = Załóż wątek create_thread_header = Załóż wątek
form_thread_legend = Wypełnij wszystkie pozycje formularza
button_thread_submit = Załóż wątek button_thread_submit = Załóż wątek
url = Url url = Url
@@ -134,6 +136,8 @@ form_ticket_progress = "Postęp prac (0-100)"
form_ticket_create_submit = Załóż zgłoszenie form_ticket_create_submit = Załóż zgłoszenie
form_ticket_edit_submit = Edytuj zgłoszenie form_ticket_edit_submit = Edytuj zgłoszenie
form_ticket_select_file = Wybierz plik
env_header = Zmienne środowiskowe env_header = Zmienne środowiskowe
env_change_env_for_user = Zmień zmienne środowiskowe 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_admin_env_for_user = Zmień zmienne środowiskowe administracyjne dla użytkownika
@@ -152,11 +156,11 @@ ln_make_redirect = "Wykonaj przekierowanie (jedynie dla linków symbolicznych)"
form_emacs_content_cms = Zawartość: form_emacs_content_cms = Zawartość
form_emacs_content_thread = Post: form_emacs_content_thread = Post
form_emacs_content_ticket = Opis: form_emacs_content_ticket = Opis
form_emacs_content_type = Rodzaj wiadomości: form_emacs_content_type = Rodzaj wiadomości
form_emacs_content_type_text = text form_emacs_content_type_text = text
form_emacs_content_type_formatted_text = sformatowany text form_emacs_content_type_formatted_text = sformatowany text
@@ -203,6 +207,15 @@ 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_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: 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_header = Meta
meta_admin_header = Admin meta meta_admin_header = Admin meta
@@ -267,7 +280,8 @@ pw_table_is_active = Aktywny
pw_table_is_suspended = Wstrzymany pw_table_is_suspended = Wstrzymany
pw_table_is_banned = Zbanowany pw_table_is_banned = Zbanowany
pw_table_yes = tak pw_table_yes = tak
pw_table_no = nie
# !! is it used anymore?
pw_password_changed = Twoje hasło zostało zmienione pw_password_changed = Twoje hasło zostało zmienione
@@ -296,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' rm_content_use_r_option = Zawartość katalogu może zostać usunięta tylko z użyciem parametru 'r'
rmuser_header = Usuń użytkownika rmuser_header = Usuń użytkownika
rmuser_legend = Formularz usunięcia użytkownika rmuser_selectuser = Wybierz użytkownika do usunięcia
rmuser_selectuser = Wybierz użytkownika
rmuser_submit = Usuń rmuser_submit = Usuń
rmuser_removecurrent = Naprawdę chcesz usunąć swoje konto z naszego serwisu? rmuser_removecurrent = Naprawdę chcesz usunąć swoje konto z naszego serwisu?