Compare commits
28 Commits
37da5e81c5
...
0.7.2
| Author | SHA1 | Date | |
|---|---|---|---|
| 3d7ece15f8 | |||
| 541597f355 | |||
| 5fe843d76b | |||
| 3191369ece | |||
| a4de11d69c | |||
| 4832c7db4b | |||
| be83d62f96 | |||
| 3fd2ef1da4 | |||
| d861384889 | |||
| cfd8e88e57 | |||
| 8169cb5a7e | |||
| 8c85cd7346 | |||
| 4e202833b2 | |||
| 4a163bd170 | |||
| 85fbc1b882 | |||
| 61810ff6f9 | |||
| 3a4a29f56d | |||
| 1fb7ece1b3 | |||
| f3879dd3a4 | |||
| 561014886f | |||
| a2b19547a3 | |||
| 93477091d1 | |||
| 64d3c62945 | |||
| 134e27f70a | |||
| 5205aa089b | |||
| b5b9655c1e | |||
| 173d0894fa | |||
| de6b050fb5 |
+1
-1
@@ -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
|
||||||
|
|||||||
@@ -254,6 +254,7 @@ void * BaseThread::StartRoutine(void * this_object)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
base->save_log();
|
||||||
pthread_exit(0);
|
pthread_exit(0);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
@@ -581,6 +581,8 @@ void Image::CreateImage()
|
|||||||
<< ", 'convert' process returned: " << res << logend;
|
<< ", 'convert' process returned: " << res << logend;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log << logsave;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+38
-126
@@ -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];">
|
||||||
@@ -26,20 +45,29 @@
|
|||||||
[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]
|
||||||
|
[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]
|
[else]
|
||||||
<script type="text/javascript">Galleria.loadTheme('[doc_base_url_common]/aino-galleria/themes/classic/galleria.classic.js');</script>
|
|
||||||
[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>
|
||||||
|
|||||||
@@ -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 any item_is item_filetype_is_image]
|
||||||
|
|
||||||
[if winix_function_param_is "thumb"]
|
[if winix_function_param_is "thumb"]
|
||||||
<p>Kadruj miniaturę zdjęcia, obraz oryginalny (duży) nie zostanie zmodyfikowany.</p>.
|
<p>{imgcrop_crop_only_thumb_info}</p>
|
||||||
[else]
|
[else]
|
||||||
[if winix_function_param_is "newthumb"]
|
[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>.
|
<p>{imgcrop_create_new_thumb_info}</p>
|
||||||
[else]
|
[else]
|
||||||
<p>Kadruj oryginalny obraz (miniatura nie zostanie zmodyfikowana).</p>.
|
<p>{imgcrop_crop_only_original_img_info}</p>
|
||||||
[end]
|
[end]
|
||||||
[end]
|
[end]
|
||||||
|
|
||||||
[if any item_is item_filetype_is_image]
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var winix_jcrop;
|
var winix_jcrop;
|
||||||
</script>
|
</script>
|
||||||
@@ -31,10 +31,9 @@
|
|||||||
|
|
||||||
[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]
|
||||||
|
|
||||||
@@ -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]">
|
||||||
</div>
|
</a>
|
||||||
|
</td>
|
||||||
|
|
||||||
<div class="winix_imgcrop_list_imageurl">
|
|
||||||
|
<td>
|
||||||
[item_tab_url]
|
[item_tab_url]
|
||||||
</div>
|
</td>
|
||||||
|
|
||||||
<div class="winix_imgcrop_list_options">
|
<td>
|
||||||
|
|
||||||
<ul>
|
<ul class="uk-nav uk-width-medium">
|
||||||
<li><a href="[item_tab_link]/imgcrop/postredirect:[filter fil_urlencode][doc_base_url][dir]imgcrop[end]">Kadruj zdjęcie</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/postredirect:[filter fil_urlencode][doc_base_url][dir]imgcrop[end]">{imgcrop_table_option_crop_image}</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 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><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>
|
<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>
|
</ul>
|
||||||
</div>
|
|
||||||
|
</td>
|
||||||
|
|
||||||
|
|
||||||
</li>
|
</tr>
|
||||||
|
|
||||||
[end]
|
[end]
|
||||||
</ul>
|
</table>
|
||||||
[end]
|
[end]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
+10
-11
@@ -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,21 +21,21 @@
|
|||||||
</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-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: user"></span>
|
||||||
<input class="uk-input uk-border-pill" required placeholder="{login_username}" type="text" name="login">
|
<input class="uk-input" required placeholder="{login_username}" type="text" name="login">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<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: lock"></span>
|
<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">
|
<input class="uk-input" required placeholder="{login_password}" type="password" name="password">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -43,23 +43,22 @@
|
|||||||
<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: lifesaver"></span>
|
<span class="uk-form-icon uk-form-icon-flip" data-uk-icon="icon: lifesaver"></span>
|
||||||
<input class="uk-input uk-border-pill" required placeholder="{rebus_how_is_it} [rebus_question]?" type="text" name="rebus">
|
<input class="uk-input" required placeholder="{rebus_how_is_it} [rebus_question]?" type="text" name="rebus">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
[end]
|
[end]
|
||||||
|
|
||||||
<div class="uk-margin-small">
|
<div class="uk-margin-small">
|
||||||
<label><input class="uk-checkbox" type="checkbox" name="rememberme"> {login_remember_me}</label>
|
<label><input class="uk-checkbox uk-margin-small-right" type="checkbox" name="rememberme">{login_remember_me}</label>
|
||||||
</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_button}</button>
|
<button type="submit" class="uk-button uk-button-primary uk-width-1-1">{login_button}</button>
|
||||||
</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]
|
||||||
|
|
||||||
</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 -->
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
<div class="uk-form-controls">
|
||||||
|
<select class="uk-select uk-width-1-2@s" id="winix_select_user_id" name="userid">
|
||||||
[for user_tab]
|
[for user_tab]
|
||||||
<option value="[user_tab_id]">[user_tab_name]</option>
|
<option value="[user_tab_id]">[user_tab_name]</option>
|
||||||
[end]
|
[end]
|
||||||
</select>
|
</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]
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
[if thread_can_create]
|
[if thread_can_create]
|
||||||
<div class="uk-margin">
|
<div class="uk-margin">
|
||||||
<a class="uk-button uk-button-default" href="[doc_base_url][dir]createthread" rel="nofollow">{thread_create_new}</a>
|
<a class="uk-button uk-button-primary" href="[doc_base_url][dir]createthread" rel="nofollow">{thread_create_new}</a>
|
||||||
</div>
|
</div>
|
||||||
[end]
|
[end]
|
||||||
|
|
||||||
|
|||||||
@@ -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]
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
[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="uk-button uk-button-default uk-button-small" 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]
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
[if thread_mount_arg_is "sort_desc"]
|
[if thread_mount_arg_is "sort_desc"]
|
||||||
[if thread_can_reply]
|
[if thread_can_reply]
|
||||||
<div class="uk-margin">
|
<div class="uk-margin">
|
||||||
<a class="uk-button uk-button-default" href="[doc_base_url][dir][item_url]/reply" rel="nofollow">{thread_reply_in_this_thread}</a>
|
<a class="uk-button uk-button-primary" href="[doc_base_url][dir][item_url]/reply" rel="nofollow">{thread_reply_in_this_thread}</a>
|
||||||
</div>
|
</div>
|
||||||
[end]
|
[end]
|
||||||
[end]
|
[end]
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
|
|
||||||
[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="uk-button uk-button-default uk-button-small" 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]
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
[if not [thread_mount_arg_is "sort_desc"]]
|
[if not [thread_mount_arg_is "sort_desc"]]
|
||||||
[if thread_can_reply]
|
[if thread_can_reply]
|
||||||
<div class="uk-margin">
|
<div class="uk-margin">
|
||||||
<a class="uk-button uk-button-default" href="[doc_base_url][dir][item_url]/reply" rel="nofollow">{thread_reply_in_this_thread}</a>
|
<a class="uk-button uk-button-primary" href="[doc_base_url][dir][item_url]/reply" rel="nofollow">{thread_reply_in_this_thread}</a>
|
||||||
</div>
|
</div>
|
||||||
[end]
|
[end]
|
||||||
[end]
|
[end]
|
||||||
|
|||||||
@@ -6,8 +6,9 @@
|
|||||||
|
|
||||||
[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]<{uname_plugin_unknown}>[end]</li>
|
<li>[if sys_plugin_tab_has_name][sys_plugin_tab_name][else]<{uname_plugin_unknown}>[end]</li>
|
||||||
|
|||||||
+11
-20
@@ -1,38 +1,29 @@
|
|||||||
<!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-position-fixed uk-position-bottom-center uk-position-small uk-visible@m uk-position-z-index">
|
<div class="uk-margin-top uk-margin-bottom uk-text-center">
|
||||||
<span class="uk-text-small uk-text-muted">
|
<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>
|
© [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>
|
||||||
| Built with <a href="http://getuikit.com" title="Visit UIkit 3 site" target="_blank" data-uk-tooltip><span data-uk-icon="uikit"></span></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>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
[include "slog.html"]
|
|
||||||
|
|
||||||
[# each winix function has div.winix in its template defined -- only functions: cat and run don't have div.winix]
|
|
||||||
[# so you can easly use 'content' with your own template]
|
|
||||||
[# and when using other winix functions you automatically get proper styling]
|
|
||||||
[content]
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
[include "index_bottom_adder.html"]
|
[include "index_bottom_adder.html"]
|
||||||
|
|||||||
@@ -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,9 +1,11 @@
|
|||||||
[# 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.16/css/uikit.min.css">
|
<link rel="stylesheet" href="[doc_base_url_common]/uikit/uikit-3.6.16/css/uikit.min.css">
|
||||||
|
|
||||||
@@ -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"]
|
||||||
[def winix_has_jquery "true"]
|
[# https://galleriajs.github.io/ ]
|
||||||
<script type="text/javascript" src="[doc_base_url_common]/jquery-1.4.4.min.js"></script>
|
[# formerly called aino-gallery ]
|
||||||
<script src="[doc_base_url_common]/aino-galleria/galleria-1.2.2.min.js" type="text/javascript"></script>
|
|
||||||
[end]
|
|
||||||
|
|
||||||
[if one [gallery_mount_type_arg_is "galleria1.2.9"] [gallery_mount_type_arg_is "galleriathumb1.2.9"]]
|
|
||||||
[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 src="[doc_base_url_common]/galleria/galleria-1.2.9.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]
|
[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,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]
|
|
||||||
+20
-6
@@ -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
|
||||||
@@ -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?
|
||||||
|
|
||||||
|
|||||||
+18
-6
@@ -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
|
||||||
@@ -204,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
|
||||||
@@ -268,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
|
||||||
|
|
||||||
|
|
||||||
@@ -297,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?
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user