├── inc ├── data │ └── .gitkeep ├── lang │ ├── nl_dutch │ │ ├── .lock │ │ └── admin │ │ │ └── general.ini │ ├── es_spanish │ │ ├── .lock │ │ └── admin │ │ │ └── general.ini │ ├── fr_french │ │ ├── .lock │ │ └── admin │ │ │ └── general.ini │ ├── id_indonesian │ │ ├── .lock │ │ └── admin │ │ │ └── general.ini │ ├── it_italian │ │ ├── .lock │ │ └── admin │ │ │ └── general.ini │ ├── pt_portuguese │ │ ├── .lock │ │ └── admin │ │ │ └── general.ini │ ├── ru_russian │ │ ├── .lock │ │ └── admin │ │ │ └── general.ini │ ├── se_swedish │ │ ├── .lock │ │ └── admin │ │ │ └── general.ini │ ├── tr_turkish │ │ ├── .lock │ │ └── admin │ │ │ └── general.ini │ ├── en_english │ │ └── admin │ │ │ └── general.ini │ └── pl_polski │ │ └── admin │ │ └── general.ini ├── modules │ ├── sample │ │ ├── lang │ │ │ ├── en_english.ini │ │ │ ├── id_indonesian.ini │ │ │ ├── nl_dutch.ini │ │ │ ├── pl_polski.ini │ │ │ ├── se_swedish.ini │ │ │ ├── tr_turkish.ini │ │ │ ├── es_spanish.ini │ │ │ ├── fr_french.ini │ │ │ ├── it_italian.ini │ │ │ ├── ru_russian.ini │ │ │ ├── pt_portuguese.ini │ │ │ └── admin │ │ │ │ ├── fr_french.ini │ │ │ │ ├── ru_russian.ini │ │ │ │ ├── tr_turkish.ini │ │ │ │ ├── en_english.ini │ │ │ │ ├── pt_portuguese.ini │ │ │ │ ├── id_indonesian.ini │ │ │ │ ├── se_swedish.ini │ │ │ │ ├── es_spanish.ini │ │ │ │ ├── nl_dutch.ini │ │ │ │ ├── it_italian.ini │ │ │ │ └── pl_polski.ini │ │ ├── view │ │ │ └── admin │ │ │ │ └── index.html │ │ ├── Info.php │ │ └── Admin.php │ ├── pages │ │ ├── lang │ │ │ ├── nl_dutch.ini │ │ │ ├── se_swedish.ini │ │ │ ├── tr_turkish.ini │ │ │ ├── en_english.ini │ │ │ ├── es_spanish.ini │ │ │ ├── fr_french.ini │ │ │ ├── pt_portuguese.ini │ │ │ ├── id_indonesian.ini │ │ │ ├── it_italian.ini │ │ │ ├── pl_polski.ini │ │ │ ├── ru_russian.ini │ │ │ └── admin │ │ │ │ ├── en_english.ini │ │ │ │ ├── tr_turkish.ini │ │ │ │ ├── id_indonesian.ini │ │ │ │ ├── se_swedish.ini │ │ │ │ ├── pl_polski.ini │ │ │ │ ├── it_italian.ini │ │ │ │ ├── fr_french.ini │ │ │ │ ├── nl_dutch.ini │ │ │ │ ├── ru_russian.ini │ │ │ │ ├── es_spanish.ini │ │ │ │ └── pt_portuguese.ini │ │ └── ReadMe.md │ ├── blog │ │ ├── img │ │ │ ├── default.jpg │ │ │ └── indicator.gif │ │ ├── ReadMe.md │ │ ├── css │ │ │ └── admin │ │ │ │ └── blog.css │ │ ├── view │ │ │ ├── feed.xml │ │ │ └── disqus.html │ │ └── lang │ │ │ ├── tr_turkish.ini │ │ │ ├── en_english.ini │ │ │ ├── ru_russian.ini │ │ │ ├── se_swedish.ini │ │ │ ├── pt_portuguese.ini │ │ │ ├── fr_french.ini │ │ │ ├── id_indonesian.ini │ │ │ ├── nl_dutch.ini │ │ │ ├── es_spanish.ini │ │ │ ├── it_italian.ini │ │ │ └── pl_polski.ini │ ├── users │ │ ├── img │ │ │ └── default.png │ │ ├── lang │ │ │ └── admin │ │ │ │ ├── en_english.ini │ │ │ │ ├── id_indonesian.ini │ │ │ │ ├── tr_turkish.ini │ │ │ │ ├── it_italian.ini │ │ │ │ ├── pt_portuguese.ini │ │ │ │ ├── se_swedish.ini │ │ │ │ ├── es_spanish.ini │ │ │ │ ├── nl_dutch.ini │ │ │ │ ├── pl_polski.ini │ │ │ │ ├── ru_russian.ini │ │ │ │ └── fr_french.ini │ │ └── Site.php │ ├── langswitcher │ │ ├── ReadMe.md │ │ ├── lang │ │ │ └── admin │ │ │ │ ├── pt_portuguese.ini │ │ │ │ ├── en_english.ini │ │ │ │ ├── pl_polski.ini │ │ │ │ ├── ru_russian.ini │ │ │ │ ├── es_spanish.ini │ │ │ │ ├── nl_dutch.ini │ │ │ │ ├── tr_turkish.ini │ │ │ │ ├── id_indonesian.ini │ │ │ │ ├── fr_french.ini │ │ │ │ ├── it_italian.ini │ │ │ │ └── se_swedish.ini │ │ ├── view │ │ │ └── switcher.html │ │ └── Info.php │ ├── devbar │ │ ├── Dump.php │ │ ├── lang │ │ │ └── admin │ │ │ │ ├── pt_portuguese.ini │ │ │ │ ├── en_english.ini │ │ │ │ ├── it_italian.ini │ │ │ │ ├── pl_polski.ini │ │ │ │ ├── nl_dutch.ini │ │ │ │ ├── id_indonesian.ini │ │ │ │ ├── ru_russian.ini │ │ │ │ ├── fr_french.ini │ │ │ │ └── es_spanish.ini │ │ ├── ReadMe.md │ │ └── Info.php │ ├── searchbox │ │ ├── lang │ │ │ ├── admin │ │ │ │ ├── ru_russian.ini │ │ │ │ ├── id_indonesian.ini │ │ │ │ ├── pl_polski.ini │ │ │ │ ├── en_english.ini │ │ │ │ ├── es_spanish.ini │ │ │ │ ├── pt_portuguese.ini │ │ │ │ ├── fr_french.ini │ │ │ │ └── nl_dutch.ini │ │ │ ├── nl_dutch.ini │ │ │ ├── en_english.ini │ │ │ ├── id_indonesian.ini │ │ │ ├── pl_polski.ini │ │ │ ├── ru_russian.ini │ │ │ ├── es_spanish.ini │ │ │ ├── fr_french.ini │ │ │ ├── pt_portuguese.ini │ │ │ └── it_italian.ini │ │ ├── ReadMe.md │ │ ├── view │ │ │ ├── results.html │ │ │ └── input.html │ │ └── Info.php │ ├── settings │ │ ├── ReadMe.md │ │ ├── inc │ │ │ └── RecursiveDotFilterIterator.php │ │ ├── css │ │ │ └── admin │ │ │ │ └── settings.css │ │ ├── Site.php │ │ └── view │ │ │ └── admin │ │ │ └── themes.html │ ├── sitemap │ │ ├── lang │ │ │ └── admin │ │ │ │ ├── ru_russian.ini │ │ │ │ ├── en_english.ini │ │ │ │ ├── nl_dutch.ini │ │ │ │ ├── pt_portuguese.ini │ │ │ │ ├── id_indonesian.ini │ │ │ │ ├── es_spanish.ini │ │ │ │ ├── fr_french.ini │ │ │ │ └── pl_polski.ini │ │ ├── ReadMe.md │ │ ├── view │ │ │ └── sitemap.xml │ │ └── Info.php │ ├── carousel │ │ ├── lang │ │ │ └── admin │ │ │ │ ├── ru_russian.ini │ │ │ │ ├── se_swedish.ini │ │ │ │ ├── it_italian.ini │ │ │ │ ├── pt_portuguese.ini │ │ │ │ ├── en_english.ini │ │ │ │ ├── nl_dutch.ini │ │ │ │ ├── tr_turkish.ini │ │ │ │ ├── es_spanish.ini │ │ │ │ ├── pl_polski.ini │ │ │ │ ├── id_indonesian.ini │ │ │ │ └── fr_french.ini │ │ ├── ReadMe.md │ │ ├── Info.php │ │ ├── view │ │ │ └── carousel.html │ │ └── Site.php │ ├── statistics │ │ ├── phpbrowserdetector │ │ │ ├── DetectorInterface.php │ │ │ ├── InvalidArgumentException.php │ │ │ ├── UserAgent.php │ │ │ ├── AcceptLanguage.php │ │ │ └── LanguageDetector.php │ │ ├── DB.php │ │ ├── assets │ │ │ └── css │ │ │ │ └── style.css │ │ └── lang │ │ │ └── admin │ │ │ ├── en_english.ini │ │ │ ├── id_indonesian.ini │ │ │ ├── ru_russian.ini │ │ │ ├── nl_dutch.ini │ │ │ ├── pt_portuguese.ini │ │ │ ├── es_spanish.ini │ │ │ ├── fr_french.ini │ │ │ └── pl_polski.ini │ ├── dashboard │ │ ├── lang │ │ │ └── admin │ │ │ │ ├── tr_turkish.ini │ │ │ │ ├── en_english.ini │ │ │ │ ├── pt_portuguese.ini │ │ │ │ ├── es_spanish.ini │ │ │ │ ├── it_italian.ini │ │ │ │ ├── id_indonesian.ini │ │ │ │ ├── se_swedish.ini │ │ │ │ ├── nl_dutch.ini │ │ │ │ ├── pl_polski.ini │ │ │ │ ├── ru_russian.ini │ │ │ │ └── fr_french.ini │ │ └── Info.php │ ├── contact │ │ ├── lang │ │ │ ├── tr_turkish.ini │ │ │ ├── en_english.ini │ │ │ ├── ru_russian.ini │ │ │ ├── it_italian.ini │ │ │ ├── fr_french.ini │ │ │ ├── id_indonesian.ini │ │ │ ├── es_spanish.ini │ │ │ ├── pt_portuguese.ini │ │ │ ├── nl_dutch.ini │ │ │ ├── se_swedish.ini │ │ │ ├── pl_polski.ini │ │ │ └── admin │ │ │ │ ├── en_english.ini │ │ │ │ ├── ru_russian.ini │ │ │ │ ├── tr_turkish.ini │ │ │ │ ├── id_indonesian.ini │ │ │ │ ├── nl_dutch.ini │ │ │ │ ├── pt_portuguese.ini │ │ │ │ ├── se_swedish.ini │ │ │ │ ├── es_spanish.ini │ │ │ │ ├── it_italian.ini │ │ │ │ ├── fr_french.ini │ │ │ │ └── pl_polski.ini │ │ └── Info.php │ ├── snippets │ │ ├── lang │ │ │ └── admin │ │ │ │ ├── id_indonesian.ini │ │ │ │ ├── se_swedish.ini │ │ │ │ ├── en_english.ini │ │ │ │ ├── pt_portuguese.ini │ │ │ │ ├── nl_dutch.ini │ │ │ │ ├── pl_polski.ini │ │ │ │ ├── tr_turkish.ini │ │ │ │ ├── it_italian.ini │ │ │ │ ├── ru_russian.ini │ │ │ │ ├── es_spanish.ini │ │ │ │ └── fr_french.ini │ │ ├── Site.php │ │ └── Info.php │ ├── navigation │ │ ├── view │ │ │ ├── admin │ │ │ │ └── form.nav.html │ │ │ └── nav.html │ │ └── lang │ │ │ └── admin │ │ │ ├── tr_turkish.ini │ │ │ ├── id_indonesian.ini │ │ │ ├── en_english.ini │ │ │ ├── nl_dutch.ini │ │ │ ├── se_swedish.ini │ │ │ ├── fr_french.ini │ │ │ ├── pt_portuguese.ini │ │ │ ├── ru_russian.ini │ │ │ ├── es_spanish.ini │ │ │ ├── pl_polski.ini │ │ │ └── it_italian.ini │ ├── galleries │ │ ├── view │ │ │ └── gallery.html │ │ └── lang │ │ │ └── admin │ │ │ ├── tr_turkish.ini │ │ │ ├── se_swedish.ini │ │ │ └── en_english.ini │ └── modules │ │ └── Info.php ├── jscripts │ ├── editor │ │ ├── images │ │ │ ├── h1.png │ │ │ ├── h2.png │ │ │ ├── h3.png │ │ │ ├── bold.png │ │ │ ├── clean.png │ │ │ ├── code.png │ │ │ ├── image.png │ │ │ ├── link.png │ │ │ ├── menu.png │ │ │ ├── handle.png │ │ │ ├── italic.png │ │ │ ├── picture.png │ │ │ ├── quotes.png │ │ │ ├── stroke.png │ │ │ ├── submenu.png │ │ │ ├── list-item.png │ │ │ ├── paragraph.png │ │ │ ├── list-bullet.png │ │ │ └── list-numeric.png │ │ ├── sets │ │ │ ├── markdown │ │ │ │ ├── set.min.css │ │ │ │ └── set.min.js │ │ │ └── html │ │ │ │ ├── set.min.css │ │ │ │ └── set.min.js │ │ └── markitup.highlight.min.js │ ├── wysiwyg │ │ └── font │ │ │ ├── summernote.eot │ │ │ ├── summernote.ttf │ │ │ └── summernote.woff │ ├── lightbox │ │ └── lightbox.min.css │ └── tinynav.min.js ├── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 └── core │ ├── AdminModule.php │ ├── defines.php │ ├── lib │ ├── Event.php │ ├── Autoloader.php │ └── Widget.php │ └── SiteModule.php ├── uploads ├── index.html └── .htaccess ├── .gitignore ├── favicon.ico ├── themes ├── batblog │ ├── preview.png │ ├── img │ │ ├── profile.jpg │ │ └── default-bg.jpg │ ├── manifest.json │ ├── inc │ │ └── footer.html │ ├── js │ │ └── theme.js │ └── index.html ├── default │ ├── preview.png │ ├── img │ │ └── default-bg.jpg │ ├── manifest.json │ ├── js │ │ └── theme.js │ └── index.html └── admin │ └── img │ └── unknown_theme.png ├── admin └── .htaccess ├── .htaccess ├── index.php └── LICENSE.txt /inc/data/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /uploads/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/lang/nl_dutch/.lock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/lang/es_spanish/.lock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/lang/fr_french/.lock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/lang/id_indonesian/.lock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/lang/it_italian/.lock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/lang/pt_portuguese/.lock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/lang/ru_russian/.lock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/lang/se_swedish/.lock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/lang/tr_turkish/.lock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | admin/tmp/ 2 | tmp/ 3 | uploads/ 4 | inc/data/*.sdb 5 | -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/favicon.ico -------------------------------------------------------------------------------- /inc/modules/sample/lang/en_english.ini: -------------------------------------------------------------------------------- 1 | title = "Sample module title" -------------------------------------------------------------------------------- /inc/modules/sample/lang/id_indonesian.ini: -------------------------------------------------------------------------------- 1 | title = "Judul modul contoh" -------------------------------------------------------------------------------- /inc/modules/sample/lang/nl_dutch.ini: -------------------------------------------------------------------------------- 1 | title = "Voorbeeld moduletitel" -------------------------------------------------------------------------------- /inc/modules/sample/lang/pl_polski.ini: -------------------------------------------------------------------------------- 1 | title = "Testowa strona modułu" -------------------------------------------------------------------------------- /inc/modules/sample/lang/se_swedish.ini: -------------------------------------------------------------------------------- 1 | title = "Exempel på modultitel" -------------------------------------------------------------------------------- /inc/modules/sample/lang/tr_turkish.ini: -------------------------------------------------------------------------------- 1 | title = "Örnek modül başlığı" -------------------------------------------------------------------------------- /inc/modules/sample/lang/es_spanish.ini: -------------------------------------------------------------------------------- 1 | title = "Título del Módulo de Ejemplo" -------------------------------------------------------------------------------- /inc/modules/sample/lang/fr_french.ini: -------------------------------------------------------------------------------- 1 | title = "Titre du module d’exemple" -------------------------------------------------------------------------------- /inc/modules/sample/lang/it_italian.ini: -------------------------------------------------------------------------------- 1 | title = "Esempio di titolo del modulo" -------------------------------------------------------------------------------- /inc/modules/sample/lang/ru_russian.ini: -------------------------------------------------------------------------------- 1 | title = "Заголовок модуля примера" -------------------------------------------------------------------------------- /inc/modules/pages/lang/nl_dutch.ini: -------------------------------------------------------------------------------- 1 | not_found = "Sorry, pagina bestaat niet." -------------------------------------------------------------------------------- /inc/modules/pages/lang/se_swedish.ini: -------------------------------------------------------------------------------- 1 | not_found = "Ledsen, sidan finns inte." -------------------------------------------------------------------------------- /inc/modules/pages/lang/tr_turkish.ini: -------------------------------------------------------------------------------- 1 | not_found = "Üzgünüm, sayfa bulunamadı." -------------------------------------------------------------------------------- /inc/modules/sample/lang/pt_portuguese.ini: -------------------------------------------------------------------------------- 1 | title = "Título do módulo de exemplo" -------------------------------------------------------------------------------- /inc/modules/pages/lang/en_english.ini: -------------------------------------------------------------------------------- 1 | not_found = "Sorry, page does not exist." -------------------------------------------------------------------------------- /inc/modules/pages/lang/es_spanish.ini: -------------------------------------------------------------------------------- 1 | not_found = "Disculpas, la página no existe." -------------------------------------------------------------------------------- /inc/modules/pages/lang/fr_french.ini: -------------------------------------------------------------------------------- 1 | not_found = "Désolé, la page n’existe pas." -------------------------------------------------------------------------------- /inc/modules/pages/lang/pt_portuguese.ini: -------------------------------------------------------------------------------- 1 | not_found = "Desculpe, a página não existe." -------------------------------------------------------------------------------- /inc/modules/pages/lang/id_indonesian.ini: -------------------------------------------------------------------------------- 1 | not_found = "Maaf, halaman tidak ditemukan." -------------------------------------------------------------------------------- /inc/modules/pages/lang/it_italian.ini: -------------------------------------------------------------------------------- 1 | not_found = "Spiacenti, la pagina non esiste." -------------------------------------------------------------------------------- /inc/modules/pages/lang/pl_polski.ini: -------------------------------------------------------------------------------- 1 | not_found = "Żądana strona nie została odnaleziona." -------------------------------------------------------------------------------- /inc/modules/pages/lang/ru_russian.ini: -------------------------------------------------------------------------------- 1 | not_found = "Извините, такой страницы не существует." -------------------------------------------------------------------------------- /uploads/.htaccess: -------------------------------------------------------------------------------- 1 | Options -Indexes 2 | 3 | SetHandler default-handler 4 | AddType text/plain php -------------------------------------------------------------------------------- /themes/batblog/preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/themes/batblog/preview.png -------------------------------------------------------------------------------- /themes/default/preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/themes/default/preview.png -------------------------------------------------------------------------------- /themes/batblog/img/profile.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/themes/batblog/img/profile.jpg -------------------------------------------------------------------------------- /inc/jscripts/editor/images/h1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/jscripts/editor/images/h1.png -------------------------------------------------------------------------------- /inc/jscripts/editor/images/h2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/jscripts/editor/images/h2.png -------------------------------------------------------------------------------- /inc/jscripts/editor/images/h3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/jscripts/editor/images/h3.png -------------------------------------------------------------------------------- /inc/modules/blog/img/default.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/modules/blog/img/default.jpg -------------------------------------------------------------------------------- /inc/modules/blog/img/indicator.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/modules/blog/img/indicator.gif -------------------------------------------------------------------------------- /inc/modules/users/img/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/modules/users/img/default.png -------------------------------------------------------------------------------- /themes/admin/img/unknown_theme.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/themes/admin/img/unknown_theme.png -------------------------------------------------------------------------------- /themes/batblog/img/default-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/themes/batblog/img/default-bg.jpg -------------------------------------------------------------------------------- /themes/default/img/default-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/themes/default/img/default-bg.jpg -------------------------------------------------------------------------------- /inc/jscripts/editor/images/bold.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/jscripts/editor/images/bold.png -------------------------------------------------------------------------------- /inc/jscripts/editor/images/clean.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/jscripts/editor/images/clean.png -------------------------------------------------------------------------------- /inc/jscripts/editor/images/code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/jscripts/editor/images/code.png -------------------------------------------------------------------------------- /inc/jscripts/editor/images/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/jscripts/editor/images/image.png -------------------------------------------------------------------------------- /inc/jscripts/editor/images/link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/jscripts/editor/images/link.png -------------------------------------------------------------------------------- /inc/jscripts/editor/images/menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/jscripts/editor/images/menu.png -------------------------------------------------------------------------------- /inc/jscripts/editor/images/handle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/jscripts/editor/images/handle.png -------------------------------------------------------------------------------- /inc/jscripts/editor/images/italic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/jscripts/editor/images/italic.png -------------------------------------------------------------------------------- /inc/jscripts/editor/images/picture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/jscripts/editor/images/picture.png -------------------------------------------------------------------------------- /inc/jscripts/editor/images/quotes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/jscripts/editor/images/quotes.png -------------------------------------------------------------------------------- /inc/jscripts/editor/images/stroke.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/jscripts/editor/images/stroke.png -------------------------------------------------------------------------------- /inc/jscripts/editor/images/submenu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/jscripts/editor/images/submenu.png -------------------------------------------------------------------------------- /inc/modules/langswitcher/ReadMe.md: -------------------------------------------------------------------------------- 1 | Paste `{$langSwitcher}` in a template file to display select box with available languages. -------------------------------------------------------------------------------- /inc/jscripts/editor/images/list-item.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/jscripts/editor/images/list-item.png -------------------------------------------------------------------------------- /inc/jscripts/editor/images/paragraph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/jscripts/editor/images/paragraph.png -------------------------------------------------------------------------------- /inc/jscripts/wysiwyg/font/summernote.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/jscripts/wysiwyg/font/summernote.eot -------------------------------------------------------------------------------- /inc/jscripts/wysiwyg/font/summernote.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/jscripts/wysiwyg/font/summernote.ttf -------------------------------------------------------------------------------- /inc/jscripts/wysiwyg/font/summernote.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/jscripts/wysiwyg/font/summernote.woff -------------------------------------------------------------------------------- /inc/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /inc/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /inc/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /inc/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /inc/jscripts/editor/images/list-bullet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/jscripts/editor/images/list-bullet.png -------------------------------------------------------------------------------- /inc/jscripts/editor/images/list-numeric.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sruupl/batflat/HEAD/inc/jscripts/editor/images/list-numeric.png -------------------------------------------------------------------------------- /inc/modules/devbar/Dump.php: -------------------------------------------------------------------------------- 1 | 2 | {loop: $results} 3 |
4 |
{$value.title}
5 |
{$value.content|cut:160}
6 |
7 | {/loop} 8 | -------------------------------------------------------------------------------- /inc/modules/langswitcher/lang/admin/it_italian.ini: -------------------------------------------------------------------------------- 1 | module_name = "Selettore della lingua" 2 | module_desc = "Consente ai visitatori di cambiare la lingua." 3 | autodetect = "Identifica automaticamente la lingua impostata nel browser" -------------------------------------------------------------------------------- /inc/modules/searchbox/lang/nl_dutch.ini: -------------------------------------------------------------------------------- 1 | placeholder = "Zoek naar..." 2 | results_for = "Zoekresultaten voor '%s'" 3 | too_short_phrase = "De zoekterm is te kort! Vul minstens %d tekens in." 4 | no_results = "Geen resultaat gevonden voor '%s'." -------------------------------------------------------------------------------- /inc/modules/sample/lang/admin/ru_russian.ini: -------------------------------------------------------------------------------- 1 | module_name = "Пример модуля" 2 | module_desc = "Это пример структуры модуля в Batflat." 3 | 4 | index = "Сомтри сюда!" 5 | example = "Привет мир!" 6 | button = "Перейти на страницу примера модуля" -------------------------------------------------------------------------------- /inc/modules/sample/lang/admin/tr_turkish.ini: -------------------------------------------------------------------------------- 1 | module_name = "Örnek modül" 2 | module_desc = "Batflat modül yapısı ve kullanımına örnektir." 3 | 4 | index = "Buraya bak!" 5 | example = "Merhaba Dünya!" 6 | button = "Modül ana sayfasına git." -------------------------------------------------------------------------------- /inc/modules/searchbox/lang/en_english.ini: -------------------------------------------------------------------------------- 1 | placeholder = "Search for..." 2 | results_for = "Search results for '%s'" 3 | too_short_phrase = "The phrase you entered is too short! Please enter at least %d characters." 4 | no_results = "No results found for '%s'." -------------------------------------------------------------------------------- /admin/.htaccess: -------------------------------------------------------------------------------- 1 | # Prevent directory listings 2 | Options -Indexes 3 | 4 | # URL rewrites 5 | 6 | RewriteEngine On 7 | RewriteCond %{REQUEST_FILENAME} !-f 8 | RewriteCond %{REQUEST_FILENAME} !-d 9 | RewriteRule ^ index.php [L] 10 | -------------------------------------------------------------------------------- /inc/modules/langswitcher/lang/admin/se_swedish.ini: -------------------------------------------------------------------------------- 1 | module_name = "langSwitcher" 2 | module_desc = "Tillåter att besökare byter språk. Klistra in {noparse}{$langSwitcher}{/noparse} för att visa." 3 | autodetect = "Automatiskt identifiera webläsarens språk" -------------------------------------------------------------------------------- /inc/modules/searchbox/lang/id_indonesian.ini: -------------------------------------------------------------------------------- 1 | placeholder = "Kata cari..." 2 | results_for = "Hasil pencarian '%s'" 3 | too_short_phrase = "Kata yang anda ketik terlalu pendek! Silahkan ketik paling sedikit %d karakter." 4 | no_results = "Tidak ada hasil untuk '%s'." -------------------------------------------------------------------------------- /inc/modules/sample/lang/admin/en_english.ini: -------------------------------------------------------------------------------- 1 | module_name = "Sample module" 2 | module_desc = "This is an example of module structure and usage in Batflat." 3 | 4 | index = "Look here!" 5 | example = "Hello World!" 6 | button = "Go to sample module front page" -------------------------------------------------------------------------------- /inc/modules/sample/lang/admin/pt_portuguese.ini: -------------------------------------------------------------------------------- 1 | module_name = "Módulo de exemplo" 2 | module_desc = "Este é um exemplo de estrutura e utilização de módulo no Batflat." 3 | index = "Olhe aqui!" 4 | example = "Olá, mundo!" 5 | button = "Ir para a página pública do módulo de exemplo" -------------------------------------------------------------------------------- /inc/modules/searchbox/lang/pl_polski.ini: -------------------------------------------------------------------------------- 1 | placeholder = "Szukaj..." 2 | results_for = "Wyniki wyszukiwania dla '%s'" 3 | too_short_phrase = "Wprowadzona fraza jest zbyt krótka! Podaj minimum %d znaki." 4 | no_results = "Nie znaleziono wyników dotyczących zapytania '%s'." -------------------------------------------------------------------------------- /inc/modules/dashboard/lang/admin/en_english.ini: -------------------------------------------------------------------------------- 1 | module_name = "Dashboard" 2 | module_desc = "Fast access to modules and news." 3 | 4 | news = "News" 5 | rss_fail_title = "Connection timeout" 6 | rss_fail_desc = "Unable to download latest news from Batflat.org." -------------------------------------------------------------------------------- /inc/modules/sample/lang/admin/id_indonesian.ini: -------------------------------------------------------------------------------- 1 | module_name = "Modul contoh" 2 | module_desc = "Ini adalah contoh struktur dan penggunaan modul pada Batflat." 3 | 4 | index = "Lihat di sini!" 5 | example = "Halo dunia!" 6 | button = "Buka halaman depan modul contoh" -------------------------------------------------------------------------------- /inc/modules/sample/lang/admin/se_swedish.ini: -------------------------------------------------------------------------------- 1 | module_name = "Exempelmodul" 2 | module_desc = "Detta är en exempelmodul för struktur och användande i denna CMS." 3 | 4 | index = "Titta här!" 5 | example = "Hej världen!!" 6 | button = "Gå till exempelmoduls startsida" -------------------------------------------------------------------------------- /inc/modules/searchbox/lang/ru_russian.ini: -------------------------------------------------------------------------------- 1 | placeholder = "Искать ..." 2 | results_for = "Искать результат для '%s'" 3 | too_short_phrase = "Фраза которую вы ввели слишком короткая! Пожалуйста введите как минимум %d символов." 4 | no_results = "Результат для '%s' не найден." -------------------------------------------------------------------------------- /inc/modules/dashboard/lang/admin/pt_portuguese.ini: -------------------------------------------------------------------------------- 1 | module_name = "Painel" 2 | module_desc = "Acesso rápido aos módulos e notícias." 3 | news = "Notícias" 4 | rss_fail_title = "Tempo de conexão excedido" 5 | rss_fail_desc = "Não foi possível baixar as últimas notícias de Batflat.org." -------------------------------------------------------------------------------- /inc/modules/sample/lang/admin/es_spanish.ini: -------------------------------------------------------------------------------- 1 | module_name = "Módulo Ejemplo" 2 | module_desc = "Este es un ejemplo de estructura y uso de módulo en Batflat." 3 | 4 | index = "¡Mira aquí!" 5 | example = "¡Hola, Mundo!" 6 | button = "Ir a la portada del módulo de ejemplo" -------------------------------------------------------------------------------- /inc/modules/dashboard/lang/admin/es_spanish.ini: -------------------------------------------------------------------------------- 1 | module_name = "Escritorio" 2 | module_desc = "Rápido acceso a módulos y novedades." 3 | 4 | news = "Novedades" 5 | rss_fail_title = "Conexión caducada" 6 | rss_fail_desc = "Imposible descargar las novedades de Batflat.org." -------------------------------------------------------------------------------- /inc/modules/dashboard/lang/admin/it_italian.ini: -------------------------------------------------------------------------------- 1 | module_name = "Dashboard" 2 | module_desc = "Gestione di moduli e notizie." 3 | 4 | news = "Novità" 5 | rss_fail_title = "Connessione in timeout" 6 | rss_fail_desc = "Impossibile scaricare le ultime notizie da Batflat.org." -------------------------------------------------------------------------------- /inc/modules/searchbox/lang/es_spanish.ini: -------------------------------------------------------------------------------- 1 | placeholder = "Buscar..." 2 | results_for = "Resultado para la búsqueda '%s'" 3 | too_short_phrase = "¡La frase indicada es muy breve! Por favor, indique al menos %d caracteres." 4 | no_results = "No se han encontrado resultados para '%s'." -------------------------------------------------------------------------------- /inc/modules/dashboard/lang/admin/id_indonesian.ini: -------------------------------------------------------------------------------- 1 | module_name = "Dashboard" 2 | module_desc = "Akses cepat pada modul dan berita." 3 | 4 | news = "Berita" 5 | rss_fail_title = "Koneksi gagal" 6 | rss_fail_desc = "Tidak dapat mengunduh berita terbaru dari Batflat.org." 7 | -------------------------------------------------------------------------------- /inc/modules/dashboard/lang/admin/se_swedish.ini: -------------------------------------------------------------------------------- 1 | module_name = "Dashboard" 2 | module_desc = "Hantering av moduler och nyheter." 3 | 4 | news = "Nyheter" 5 | rss_fail_title = "Anslutning avbröts" 6 | rss_fail_desc = "Kunde inte ladda ner senaste nyheterna från Batflat.org." -------------------------------------------------------------------------------- /inc/modules/langswitcher/view/switcher.html: -------------------------------------------------------------------------------- 1 |
2 | 7 |
-------------------------------------------------------------------------------- /inc/modules/searchbox/lang/fr_french.ini: -------------------------------------------------------------------------------- 1 | placeholder = "Recherche pour ..." 2 | results_for = "Résultats de recherche pour '%s'" 3 | too_short_phrase = "La phrase renseignée est trop courte ! Veuillez renseigner au moins %d caractères." 4 | no_results = "Pas de résultat trouvé pour '%s'." -------------------------------------------------------------------------------- /inc/modules/searchbox/lang/pt_portuguese.ini: -------------------------------------------------------------------------------- 1 | placeholder = "Pesquisar..." 2 | results_for = "Resultados de pesquisa por '%s'" 3 | too_short_phrase = "A frase que você inseriu é muito curta! Por favor, insira ao menos %d caracteres." 4 | no_results = "Nenhum resultado encontraro para '%s'." -------------------------------------------------------------------------------- /inc/modules/dashboard/lang/admin/nl_dutch.ini: -------------------------------------------------------------------------------- 1 | module_name = "Dashboard" 2 | module_desc = "Snel toegang tot modules en nieuws." 3 | 4 | news = "Nieuws" 5 | rss_fail_title = "Connection timeout" 6 | rss_fail_desc = "Niet in staat om het laatste nieuws van Batflat.org te laden." -------------------------------------------------------------------------------- /inc/modules/sample/lang/admin/nl_dutch.ini: -------------------------------------------------------------------------------- 1 | module_name = "Voorbeeldmodule" 2 | module_desc = "Dit is een voorbeeld van een modulestructuur en gebruik in Batflat." 3 | 4 | index = "Kijk hier!" 5 | example = "Hallo Wereld!" 6 | button = "Ga naar de voorpagina van de voorbeeldmodule" 7 | -------------------------------------------------------------------------------- /inc/modules/searchbox/lang/it_italian.ini: -------------------------------------------------------------------------------- 1 | placeholder = "Cerca per..." 2 | results_for = "Risultati trovati per '%s' " 3 | too_short_phrase = "La parole inserite sono troppo corte! Inserisci una frase che contenga almeno %d caratteri." 4 | no_results = "Non sono stati trovati risultati'%s'." -------------------------------------------------------------------------------- /inc/modules/dashboard/lang/admin/pl_polski.ini: -------------------------------------------------------------------------------- 1 | module_name = "Ekran startowy" 2 | module_desc = "Szybki dostęp do modułów i aktualności." 3 | 4 | news = "Aktualności" 5 | rss_fail_title = "Upłnął czas żądania" 6 | rss_fail_desc = "Nie można pobrać aktualności ze strony Batflat.org." -------------------------------------------------------------------------------- /inc/modules/dashboard/lang/admin/ru_russian.ini: -------------------------------------------------------------------------------- 1 | module_name = "Панель управления" 2 | module_desc = "Быстрый доступ к модулям и новостям." 3 | 4 | news = "Новости" 5 | rss_fail_title = "Время соединения истекло" 6 | rss_fail_desc = "Невозможно загрузить последние новости Batflat.org." -------------------------------------------------------------------------------- /inc/modules/sample/lang/admin/it_italian.ini: -------------------------------------------------------------------------------- 1 | module_name = "Modulo d’esempio" 2 | module_desc = "Questo è un modulo di esempio per la struttura e l’utilizzo di Batflat." 3 | 4 | index = "Guarda qui!" 5 | example = "Ciao Mondo!" 6 | button = "Vai alla pagina principale del modulo di esempio" -------------------------------------------------------------------------------- /inc/modules/settings/inc/RecursiveDotFilterIterator.php: -------------------------------------------------------------------------------- 1 | current()->getFilename(), 0, 1); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /inc/modules/sample/lang/admin/pl_polski.ini: -------------------------------------------------------------------------------- 1 | module_name = "Przykładowy moduł" 2 | module_desc = "To jest przykładowy moduł, dzięki któremu poznasz podstawę tworzenia modułów dla Batflata." 3 | 4 | index = "Zobacz tutaj!" 5 | example = "Witaj świecie!" 6 | button = "Przejdź do przykładowej podstrony modułu" -------------------------------------------------------------------------------- /inc/modules/dashboard/lang/admin/fr_french.ini: -------------------------------------------------------------------------------- 1 | module_name = "Tableau de bord" 2 | module_desc = "Accès rapide aux modules et au actualités." 3 | 4 | news = "Actualités" 5 | rss_fail_title = "Connection dépassée" 6 | rss_fail_desc = "Impossible de télécharger les dernières news depuis Batflat.org" 7 | -------------------------------------------------------------------------------- /inc/modules/statistics/DB.php: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 | 6 | 7 |
8 | -------------------------------------------------------------------------------- /inc/modules/blog/ReadMe.md: -------------------------------------------------------------------------------- 1 | `{$blog.title}` — displays the title of the blog 2 | 3 | `{$blog.desc}` — displays the blog description 4 | 5 | `{$blog.posts}` — array with the posts of the blog 6 | 7 | `{$post}` — array with the data of current post 8 | 9 | `{$prev.url}` — address of the previous page of the pagination 10 | 11 | `{$next.url}` — address of the next page of the pagination 12 | 13 | `{$latestPosts}` — array with the latest posts 14 | 15 | `{$allTags}` — array with all tags -------------------------------------------------------------------------------- /inc/modules/pages/ReadMe.md: -------------------------------------------------------------------------------- 1 | `{$page.title}` — displays the title of the page 2 | 3 | `{$page.desc}` — displays the page description 4 | 5 | `{$page.content}` — displays the contents of the page 6 | 7 | `{$pages}` — array with the data of all pages 8 | 9 | `{$pages.ID}` — array with the data of specific page 10 | 11 | If you want to make a "one page" website, you can use the loop: 12 | 13 | ``` 14 | {loop: $pages} 15 |

{$value.title}

16 |

{$value.content}

17 | {/loop} 18 | ``` -------------------------------------------------------------------------------- /inc/modules/blog/css/admin/blog.css: -------------------------------------------------------------------------------- 1 | #textarea-tabs { 2 | border-bottom: 0; 3 | } 4 | #textarea-tabs > li > a 5 | { 6 | border-top: 0; 7 | } 8 | #textarea-tabs > li.active > a, 9 | #textarea-tabs > li.active > a:hover, 10 | #textarea-tabs > li.active > a:focus { 11 | border-color: #ccc; 12 | border-top: 0; 13 | } 14 | #textarea-tabs.markItUp { 15 | margin-top: -5px; 16 | } 17 | .markItUpFooter { 18 | position: relative; 19 | z-index: 1; 20 | } -------------------------------------------------------------------------------- /inc/modules/sitemap/view/sitemap.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | {loop: $urls} 8 | 9 | {$value.url} 10 | {if: !empty($value.lastmod)}{$value.lastmod}{/if} 11 | 12 | 13 | {/loop} 14 | -------------------------------------------------------------------------------- /inc/modules/contact/lang/tr_turkish.ini: -------------------------------------------------------------------------------- 1 | full_name = "Ad ve soyad" 2 | email = "E-posta" 3 | subject = "Konu" 4 | message = "Mesaj" 5 | send = "Gönder" 6 | send_success = "Mesaj başarıyla gönderildi." 7 | send_failure = "Mesaj gönderilemedi. Sunucuda mail() fonksiyonu devre dışı olabilir." 8 | wrong_email = "E-posta adresi hatalı." 9 | empty_inputs = "Mesajı gönderebilmek için tüm gerekli alanları doldurun." 10 | antiflood = "Yeni bir mesaj göndermek için bir süre beklemeniz gerekir." -------------------------------------------------------------------------------- /inc/modules/snippets/lang/admin/id_indonesian.ini: -------------------------------------------------------------------------------- 1 | module_name = "Kode" 2 | module_desc = "Menampilkan potongan kode anda di halaman." 3 | 4 | add = "Tambah" 5 | edit = "Sunting kode" 6 | save_success = "Kode berhasil disimpan." 7 | save_failure = "Gagal menyimpan kode." 8 | content = "Isi" 9 | delete_success = "Kode berhasil dihapus." 10 | delete_failure = "Tidak dapat menghapus kode." 11 | delete_confirm = "Yakin ingin menghapus kode terpilih?" 12 | already_exists = "Kode dengan nama itu sudah ada." -------------------------------------------------------------------------------- /themes/batblog/inc/footer.html: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 | 16 | 17 | {loop: $bat.footer}{$value}{/loop} 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /inc/modules/snippets/lang/admin/se_swedish.ini: -------------------------------------------------------------------------------- 1 | module_name = "Snippets" 2 | module_desc = "Visa skräddarsydd kod på en sida." 3 | 4 | add = "Lägg till" 5 | edit = "Editera" 6 | save_success = "Snippet sparades lyckosamt." 7 | save_failure = "Kunde inte spara snippet." 8 | content = "Innehåll" 9 | delete_success = "Snippet raderades lyckosamt." 10 | delete_failure = "Kunde inte radera snippet." 11 | delete_confirm = "Är du säker på att du vill radera markerad snippet?" 12 | already_exists = "Snippet med samma namn finns redan." -------------------------------------------------------------------------------- /inc/modules/snippets/lang/admin/en_english.ini: -------------------------------------------------------------------------------- 1 | module_name = "Snippets" 2 | module_desc = "Displays your own pieces of code on the page." 3 | 4 | add = "Add" 5 | edit = "Edit snippet" 6 | save_success = "Snippet successfully saved." 7 | save_failure = "Failed to save snippet." 8 | content = "Content" 9 | delete_success = "Snippet successfully deleted." 10 | delete_failure = "Unable to delete snippet." 11 | delete_confirm = "Are you sure you want to delete selected snippet?" 12 | already_exists = "Snippet with that name already exists." -------------------------------------------------------------------------------- /inc/modules/snippets/lang/admin/pt_portuguese.ini: -------------------------------------------------------------------------------- 1 | module_name = "Fragmentos" 2 | module_desc = "Exibe seu próprios fragmentos de código na página." 3 | add = "Adicionar" 4 | edit = "Editar fragmento" 5 | save_success = "Fragmento salvo com sucesso" 6 | save_failure = "Falha ao salvar fragmento." 7 | content = "Conteúdo" 8 | delete_success = "Fragmento deletado com sucesso." 9 | delete_failure = "Não foi possível deletar o fragmento." 10 | delete_confirm = "Você tem certeza que deseja deletar o fragmento selecionado?" 11 | already_exists = "Já existe um fragmento com este nome." -------------------------------------------------------------------------------- /inc/modules/contact/lang/en_english.ini: -------------------------------------------------------------------------------- 1 | full_name = "Firstname and surname" 2 | email = "E-mail" 3 | subject = "Subject" 4 | message = "Message" 5 | send = "Send" 6 | send_success = "Mail successfully sent. I will contact you soon." 7 | send_failure = "Unable to send a message. Probably mail() function is disabled on the server." 8 | wrong_email = "Submited e-mail address is incorrect." 9 | empty_inputs = "Fill all required fields to send a message." 10 | antiflood = "You have to wait a while before you will send another message." -------------------------------------------------------------------------------- /inc/modules/contact/lang/ru_russian.ini: -------------------------------------------------------------------------------- 1 | full_name = "Имя и Фамилия" 2 | email = "E-mail" 3 | subject = "Тема" 4 | message = "Сообщение" 5 | send = "Отправить" 6 | send_success = "Сообщение отправлено. Я свяжусь с вами в ближайшее время." 7 | send_failure = "Не могу отправить сообщение. Возможно функция mail( ) запрещена на сервере." 8 | wrong_email = "E-mail адрес неверный." 9 | empty_inputs = "Заполните все необходимые поля для отправки сообщения." 10 | antiflood = "Вы должны подождать немного прежде чем отправить другое сообщение." -------------------------------------------------------------------------------- /inc/modules/snippets/lang/admin/nl_dutch.ini: -------------------------------------------------------------------------------- 1 | module_name = "Snippets" 2 | module_desc = "Geeft uw eigen stukjes code op de pagina weer." 3 | 4 | add = "Toevoegen" 5 | edit = "Snippet bewerken" 6 | save_success = "Snippet is opgeslagen." 7 | save_failure = "Kan snippet niet opslaan." 8 | content = "Inhoud" 9 | delete_success = "Snippet verwijderd." 10 | delete_failure = "Kan snippet niet verwijderen." 11 | delete_confirm = "Weet je zeker dat je de geselecteerde snippet wilt verwijderen?" 12 | already_exists = "Snippet met die naam bestaat al." -------------------------------------------------------------------------------- /inc/modules/snippets/lang/admin/pl_polski.ini: -------------------------------------------------------------------------------- 1 | module_name = "Skrawki" 2 | module_desc = "Wyświetla własne skrawki kodu na stronie." 3 | 4 | add = "Dodaj nowy" 5 | edit = "Edycja skrawka" 6 | save_success = "Pomyślnie zapisano skrawek." 7 | save_failure = "Nie udało się zapisać skrawka." 8 | content = "Zawartość" 9 | delete_success = "Pomyślnie usunięto skrawek." 10 | delete_failure = "Nie udało się usunąć skrawka." 11 | delete_confirm = "Czy na pewno chcesz usunąć wybrany skrawek?" 12 | already_exists = "Skrawek o takiej nazwie już istnieje." -------------------------------------------------------------------------------- /inc/modules/snippets/lang/admin/tr_turkish.ini: -------------------------------------------------------------------------------- 1 | module_name = "Kod Parçaları" 2 | module_desc = "Kendi kod parçalarınızı listeler." 3 | 4 | add = "Ekle" 5 | edit = "Kod parçası düzenle" 6 | save_success = "Kod parçası başarıyla kaydedildi." 7 | save_failure = "Kod parçası kaydedilemedi." 8 | content = "İçeril" 9 | delete_success = "Kod parçası başarıyla silindi." 10 | delete_failure = "Kod parçası silinemedi." 11 | delete_confirm = "Kod parçasını silmek istediğinize emin misiniz?" 12 | already_exists = "Bu isimde bir kod parçası zaten mevcut." -------------------------------------------------------------------------------- /inc/modules/snippets/lang/admin/it_italian.ini: -------------------------------------------------------------------------------- 1 | module_name = "Porzioni di codice" 2 | module_desc = "Mostra i tuoi pezzi di codice sulla pagina." 3 | 4 | add = "Aggiungi" 5 | edit = "Modifica" 6 | save_success = "Snippet salvato con successo." 7 | save_failure = "Impossibile salvare lo snippet." 8 | content = "Contenuto" 9 | delete_success = "Snippet eliminato con successo." 10 | delete_failure = "Impossibile eliminare lo snippet." 11 | delete_confirm = "Sicuri di voler eliminare lo snippet selezionato?" 12 | already_exists = "Snippet già esistente." -------------------------------------------------------------------------------- /inc/modules/snippets/lang/admin/ru_russian.ini: -------------------------------------------------------------------------------- 1 | module_name = "Фрагменты" 2 | module_desc = "Позволяют отображать ваш код на страницах сайта" 3 | 4 | add = "Добавить" 5 | edit = "Редактировать" 6 | save_success = "Фрагмент успешно сохранён." 7 | save_failure = "Ошибка сохранения фрагмента." 8 | content = "Содержимое" 9 | delete_success = "Фрагмент успешно удалён." 10 | delete_failure = "Ошибка удаления фрагмента." 11 | delete_confirm = "Вы уверены что хотите удалить выбранные фрагменты?" 12 | already_exists = "Фрагмент с таким именем уже существует." -------------------------------------------------------------------------------- /inc/modules/contact/lang/it_italian.ini: -------------------------------------------------------------------------------- 1 | full_name = "Nome e cognome" 2 | email = "E-mail" 3 | subject = "Oggetto" 4 | message = "Messaggio" 5 | send = "Invia" 6 | send_success = "Grazie! Il messaggio è stato inviato. Sarai contattato in breve tempo." 7 | send_failure = "Impossibile inviare il messaggio. Probabilmente la funzione mail() è disabilitata sul server." 8 | wrong_email = "Indirizzo email non corretto." 9 | empty_inputs = "Per inviare un messaggio compila tutti i campi richiesti." 10 | antiflood = "Non è possibile inviare più messaggi in breve tempo. Si prega di attendere." -------------------------------------------------------------------------------- /inc/modules/contact/lang/fr_french.ini: -------------------------------------------------------------------------------- 1 | full_name = "Nom et prénom" 2 | email = "E-mail" 3 | subject = "Sujet" 4 | message = "Message" 5 | send = "Envoi" 6 | send_success = "Le mail a bien été envoyé. Je vous contacterai dès que possible." 7 | send_failure = "Impossible d’envoyer le message. Peut être que la fonction mail() est désactivée sur le serveur." 8 | wrong_email = "L’email n’est pas correct." 9 | empty_inputs = "Remplissez tous les champs pour envoyer un message." 10 | antiflood = "Vous devez attendre un peu avant de renvoyer un autre message." -------------------------------------------------------------------------------- /inc/modules/snippets/lang/admin/es_spanish.ini: -------------------------------------------------------------------------------- 1 | module_name = "Aportes" 2 | module_desc = "Muestra tus aportaciones de código en esta página." 3 | 4 | add = "Añadir" 5 | edit = "Modificar aporte" 6 | save_success = "Aporte correctamente guardado." 7 | save_failure = "Fallo al guardar el Aporte." 8 | content = "Contenido" 9 | delete_success = "Aporte correctamente eliminado." 10 | delete_failure = "Imposible eliminar Aporte." 11 | delete_confirm = "¿Seguro que desea eliminar el Aporte seleccionado?" 12 | already_exists = "Un Aporte con ese nombre ya existe." -------------------------------------------------------------------------------- /inc/modules/contact/lang/id_indonesian.ini: -------------------------------------------------------------------------------- 1 | full_name = "Nama depan dan belakang" 2 | email = "E-mail" 3 | subject = "Perihal" 4 | message = "Pesan" 5 | send = "Kirim" 6 | send_success = "Pesan berhasil dikirimkan. Kami akan membalas secepatnya." 7 | send_failure = "Tidak dapat mengirimkan pesan. Mungkin sedang ada masalah pada sistem email di server ini." 8 | wrong_email = "Alamat e-mail anda tidak benar." 9 | empty_inputs = "Lengkapi semua kotak isian terlebih dahulu." 10 | antiflood = "Anda harus menunggu beberapa saat sebelum mengirimkan pesan lain-nya." -------------------------------------------------------------------------------- /inc/modules/contact/lang/es_spanish.ini: -------------------------------------------------------------------------------- 1 | full_name = "Nombre y apellido(s)" 2 | email = "E-mail" 3 | subject = "Asunto" 4 | message = "Mensaje" 5 | send = "Enviar" 6 | send_success = "Correo correctamente enviado. Responderemos pronto." 7 | send_failure = "Imposible enviar el mensaje. Quizá la función mail() esté deshabilitada en el servidor." 8 | wrong_email = "La dirección e-mail indicada no es correcta." 9 | empty_inputs = "Rellene todos los campos solicitados para enviar el mensaje." 10 | antiflood = "Se debe esperar un rato antes de volver a enviar otro mensaje." -------------------------------------------------------------------------------- /inc/modules/contact/lang/pt_portuguese.ini: -------------------------------------------------------------------------------- 1 | full_name = "Primeiro e último nomes" 2 | email = "E-mail" 3 | subject = "Assunto" 4 | message = "Mensagem" 5 | send = "Enviar" 6 | send_success = "Mensagem enviada com sucesso. Você receberá um retorno em breve." 7 | send_failure = "Não foi possível enviar a mensagem. Provavelmente a função mail() está desabilitada no servidor." 8 | wrong_email = "O endereço de e-mail fornecido está incorreto." 9 | empty_inputs = "Preencha todos os campos requeridos para enviar a mensagem." 10 | antiflood = "Você precisará aguardar um pouco antes que possa enviar outra mensagem." -------------------------------------------------------------------------------- /inc/modules/contact/lang/nl_dutch.ini: -------------------------------------------------------------------------------- 1 | full_name = "Voornaam en achternaam" 2 | email = "E-mail" 3 | subject = "Onderwerp" 4 | message = "Bericht" 5 | send = "Verstuur" 6 | send_success = "Bericht succesvol verzonden. Ik zal snel contact met je opnemen." 7 | send_failure = "Kan geen bericht verzenden. Waarschijnlijk is de functie mail() uitgeschakeld op de server." 8 | wrong_email = "Het ingevulde e-mailadres is onjuist." 9 | empty_inputs = "Vul alle verplichte velden in om een ​​bericht te verzenden." 10 | antiflood = "U moet even wachten voordat u een nieuw bericht verzendt." -------------------------------------------------------------------------------- /inc/modules/snippets/lang/admin/fr_french.ini: -------------------------------------------------------------------------------- 1 | module_name = "Fragments" 2 | module_desc = "Affiche vos propres morceaux de contenu sur la page." 3 | 4 | add = "Ajouter" 5 | edit = "Modifier le fragment" 6 | save_success = "Le fragment a été sauvé." 7 | save_failure = "Impossible de sauvegarder le fragment." 8 | content = "Contenu" 9 | delete_success = "Le fragment a été supprimé." 10 | delete_failure = "Impossible de supprimer le fragment." 11 | delete_confirm = "Êtes-vous sûr de vouloir supprimer le fragment sélectionné ?" 12 | already_exists = "Un fragment avec ce nom existe déjà." -------------------------------------------------------------------------------- /.htaccess: -------------------------------------------------------------------------------- 1 | # Prevent directory listings 2 | Options -Indexes 3 | 4 | # Prevent visitors from viewing files directly 5 | 6 | 7 | Order allow,deny 8 | Deny from all 9 | Satisfy All 10 | 11 | 12 | Require all denied 13 | 14 | 15 | 16 | # URL rewrites 17 | 18 | RewriteEngine On 19 | RewriteRule ^(inc/|themes/|tmp/).*\.(php|html)$ - [F,L] 20 | RewriteCond %{REQUEST_FILENAME} !-f 21 | RewriteCond %{REQUEST_FILENAME} !-d 22 | RewriteRule ^ index.php [L] 23 | 24 | -------------------------------------------------------------------------------- /inc/modules/contact/lang/se_swedish.ini: -------------------------------------------------------------------------------- 1 | full_name = "Fullständigt namn" 2 | email = "E-post" 3 | subject = "Ämne" 4 | message = "Meddelande" 5 | send = "Skicka" 6 | send_success = "Tack! Meddelandet är skickat. Du blir kontaktad inom kort." 7 | send_failure = "Kunde inte skicka meddelande. Förmodligen är mail() funktionen på servern inte aktiverad." 8 | wrong_email = "Epostadressen du angivit är inte korrekt formaterad." 9 | empty_inputs = "För att skicka ett meddelande. Fyll i alla fält som krävs." 10 | antiflood = "Du kan inte skicka flera meddelande inom för kort tid. Vänligen avvakta." -------------------------------------------------------------------------------- /inc/modules/contact/lang/pl_polski.ini: -------------------------------------------------------------------------------- 1 | full_name = "Imię i nazwisko" 2 | email = "Adres e-mail" 3 | subject = "Temat" 4 | message = "Wiadomość" 5 | send = "Wyślij" 6 | send_success = "Wiadomość została pomyślnie wysłana! Wkrótce się z Tobą skontaktujemy." 7 | send_failure = "Nie udało się wysłać wiadomości. Możliwe, że funkcja mail() jest wyłączona na serwerze." 8 | wrong_email = "Wprowadzony adres e-mail jest niepoprawny. Popraw go." 9 | empty_inputs = "Nie uzupełniono wszystkich wymaganych pól formularza. Popraw je." 10 | antiflood = "Przed chwilą wysłałeś już jednego maila. Musisz trochę poczekać." -------------------------------------------------------------------------------- /themes/default/js/theme.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | $("body").on("input propertychange", ".form-group", function(e) { 3 | $(this).toggleClass("form-group-with-value", !!$(e.target).val()); 4 | }).on("focus", ".form-group", function() { 5 | $(this).addClass("form-group-with-focus"); 6 | }).on("blur", ".form-group", function() { 7 | $(this).removeClass("form-group-with-focus"); 8 | }); 9 | }); 10 | 11 | jQuery(document).ready(function($) { 12 | $(window).scroll(function() { 13 | if ($(window).scrollTop() > 0) 14 | $(".navbar").addClass("is-fixed"); 15 | else 16 | $(".navbar").removeClass("is-fixed"); 17 | }); 18 | }); 19 | -------------------------------------------------------------------------------- /inc/modules/carousel/Info.php: -------------------------------------------------------------------------------- 1 | 6 | * @author Wojciech Król 7 | * @copyright 2017 Paweł Klockiewicz, Wojciech Król 8 | * @license https://batflat.org/license 9 | * @link https://batflat.org 10 | */ 11 | 12 | return [ 13 | 'name' => $core->lang['carousel']['module_name'], 14 | 'description' => $core->lang['carousel']['module_desc'], 15 | 'author' => 'Sruu.pl', 16 | 'version' => '1.0', 17 | 'compatibility' => '1.3.*', 18 | 'icon' => 'retweet', 19 | ]; 20 | -------------------------------------------------------------------------------- /inc/modules/dashboard/Info.php: -------------------------------------------------------------------------------- 1 | 6 | * @author Wojciech Król 7 | * @copyright 2017 Paweł Klockiewicz, Wojciech Król 8 | * @license https://batflat.org/license 9 | * @link https://batflat.org 10 | */ 11 | 12 | return [ 13 | 'name' => $core->lang['dashboard']['module_name'], 14 | 'description' => $core->lang['dashboard']['module_desc'], 15 | 'author' => 'Sruu.pl', 16 | 'version' => '1.1', 17 | 'compatibility' => '1.3.*', 18 | 'icon' => 'home' 19 | ]; 20 | -------------------------------------------------------------------------------- /inc/core/AdminModule.php: -------------------------------------------------------------------------------- 1 | 6 | * @author Wojciech Król 7 | * @copyright 2017 Paweł Klockiewicz, Wojciech Król 8 | * @license https://batflat.org/license 9 | * @link https://batflat.org 10 | */ 11 | 12 | namespace Inc\Core; 13 | 14 | /** 15 | * Admin class for administration panel 16 | */ 17 | abstract class AdminModule extends BaseModule 18 | { 19 | /** 20 | * Module navigation 21 | * 22 | * @return array 23 | */ 24 | public function navigation() 25 | { 26 | return []; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /inc/jscripts/lightbox/lightbox.min.css: -------------------------------------------------------------------------------- 1 | #bootstrap-media-lightbox-caption-container{position:absolute;bottom:10px;padding:0 20px;width:100%}#bootstrap-media-lightbox-caption{background:#000;color:#fff;padding:7px 15px;border-radius:30px;width:100%}#bootstrap-media-lightbox-backward{position:absolute;top:45%;left:20px;font-size:300%;color:#fff;cursor:pointer}#bootstrap-media-lightbox-forward{position:absolute;top:45%;right:20px;font-size:300%;color:#fff;cursor:pointer}#bootstrap-media-lightbox-close{position:absolute;top:10px;right:20px;cursor:pointer}#bootstrap-media-lightbox-close .glyphicon-remove-circle{color:#fff;font-size:180%}#bootstrap-media-lightbox-close .fa-stack{font-size:180%}#bootstrap-media-lightbox-close .fa-square{color:#696969} -------------------------------------------------------------------------------- /inc/modules/sample/view/admin/index.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
5 |

{$text}

6 |
7 |
8 |
9 |

{$lang.sample.example}

10 |
11 | {$lang.sample.button} 12 |
13 |
14 | 15 |
16 |
17 | -------------------------------------------------------------------------------- /inc/modules/blog/view/feed.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {$settings.title} 5 | {?= url() ?} 6 | {$settings.description} 7 | {loop: $posts} 8 | 9 | {$value.title} 10 | {$value.url} 11 | {$value.content|cut:250} 12 | {$value.published_at} 13 | {if: $value.cover_photo} 14 | 15 | {$value.cover_url} 16 | {$value.title} 17 | {?= url() ?} 18 | 19 | {/if} 20 | 21 | {/loop} 22 | 23 | -------------------------------------------------------------------------------- /inc/modules/blog/view/disqus.html: -------------------------------------------------------------------------------- 1 | {if: !empty($settings.blog.disqus)} 2 | {if: isset($isPost) && $post.comments == 1} 3 | 19 | {/if} 20 | {if: isset($isBlog) || isset($isPost)} 21 | 22 | {/if} 23 | {/if} -------------------------------------------------------------------------------- /inc/jscripts/tinynav.min.js: -------------------------------------------------------------------------------- 1 | /*! http://tinynav.viljamis.com v1.2 by @viljamis */ 2 | (function(a,k,g){a.fn.tinyNav=function(l){var c=a.extend({active:"selected",header:"",indent:"- ",label:""},l);return this.each(function(){g++;var h=a(this),b="tinynav"+g,f=".l_"+b,e=a(" 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /inc/modules/pages/lang/admin/en_english.ini: -------------------------------------------------------------------------------- 1 | module_name = "Pages" 2 | module_desc = "Management of sub-pages." 3 | 4 | pages_count = "Pages:" 5 | add_new = "Add new" 6 | new_page = "New page" 7 | edit_page = "Edit page" 8 | description = "Description" 9 | keywords = "Tags" 10 | content = "Content" 11 | view = "Preview" 12 | slug = "Slug" 13 | markdown = "Enable Markdown" 14 | save_success = "Page successfully saved." 15 | save_failure = "Failed to save page." 16 | delete_success = "Page successfully deleted." 17 | delete_failure = "Unable to delete page." 18 | delete_confirm = "Are you sure you want to delete this page?" 19 | page_exists = "Page slug already exists. Changes on the page have not been saved." 20 | editor_upload_fail = "Can’t load image. Probably unsupported type." -------------------------------------------------------------------------------- /inc/modules/navigation/view/nav.html: -------------------------------------------------------------------------------- 1 | {loop: $navigation.list} 2 | {if: !isset($value.children)} 3 |
  • 4 | {$value.name} 5 |
  • 6 | {else} 7 | 18 | {/if} 19 | {/loop} -------------------------------------------------------------------------------- /inc/modules/pages/lang/admin/tr_turkish.ini: -------------------------------------------------------------------------------- 1 | module_name = "Sayfalar" 2 | module_desc = "Sayfaların yönetimi." 3 | 4 | pages_count = "Sayfalar:" 5 | add_new = "Yeni ekle" 6 | new_page = "Yeni sayfa" 7 | edit_page = "Sayfa düzenle" 8 | description = "Açıklama" 9 | keywords = "Etiketler" 10 | content = "İçerik" 11 | view = "Önizleme" 12 | slug = "slug" 13 | markdown = "Markdown etkinleştir" 14 | save_success = "Sayfa başarıyla kaydedildi." 15 | save_failure = "Sayfa kaydedilemedi." 16 | delete_success = "Sayfa başarıyla silindi." 17 | delete_failure = "Sayfa silinemedi." 18 | delete_confirm = "Bu sayfayı silmek istediğinize emin misiniz?" 19 | page_exists = "Bu sayfa slag’ı zaten mevcut. Sayfadaki değişiklikler kaydedilmedi." 20 | editor_upload_fail = "Resim yüklenemedi. Desteklenmeyen resim türü olabilir." -------------------------------------------------------------------------------- /inc/modules/pages/lang/admin/id_indonesian.ini: -------------------------------------------------------------------------------- 1 | module_name = "Halaman" 2 | module_desc = "Pengelolaan of halaman." 3 | 4 | pages_count = "Halaman:" 5 | add_new = "Tambah baru" 6 | new_page = "Halaman baru" 7 | edit_page = "Sunting halaman" 8 | description = "Keterangan" 9 | keywords = "Tag" 10 | content = "Isi" 11 | view = "Pratinjau" 12 | slug = "Slug" 13 | markdown = "Aktifkan Markdown" 14 | save_success = "Halaman berhasil disimpan." 15 | save_failure = "Gagal menyimpan halaman." 16 | delete_success = "Halaman berhasil dihapus." 17 | delete_failure = "Tidak dapat menghapus halaman." 18 | delete_confirm = "Yakin ingin menghapus halaman ini?" 19 | page_exists = "Slug halaman sudah ada. Perubahan pada halaman tidak disimpan." 20 | editor_upload_fail = "Tidak dapat memuat gambar. Mungkin format tidak didukung." -------------------------------------------------------------------------------- /inc/modules/searchbox/Info.php: -------------------------------------------------------------------------------- 1 | 6 | * @author Wojciech Król 7 | * @copyright 2017 Paweł Klockiewicz, Wojciech Król 8 | * @license https://batflat.org/license 9 | * @link https://batflat.org 10 | */ 11 | 12 | return [ 13 | 'name' => 'SearchBox', 14 | 'description' => $core->lang['searchbox']['module_desc'], 15 | 'author' => 'Sruu.pl', 16 | 'version' => '1.0', 17 | 'compatibility' => '1.3.*', 18 | 'icon' => 'search', 19 | 20 | 'install' => function() use($core) 21 | { 22 | 23 | }, 24 | 'uninstall' => function() use($core) 25 | { 26 | 27 | } 28 | ]; -------------------------------------------------------------------------------- /inc/modules/snippets/Site.php: -------------------------------------------------------------------------------- 1 | 6 | * @author Wojciech Król 7 | * @copyright 2017 Paweł Klockiewicz, Wojciech Król 8 | * @license https://batflat.org/license 9 | * @link https://batflat.org 10 | */ 11 | 12 | namespace Inc\Modules\Snippets; 13 | 14 | use Inc\Core\SiteModule; 15 | 16 | class Site extends SiteModule 17 | { 18 | public function init() 19 | { 20 | $this->_importSnippets(); 21 | } 22 | 23 | private function _importSnippets() 24 | { 25 | $rows = $this->db('snippets')->toArray(); 26 | 27 | $snippets = []; 28 | foreach ($rows as $row) { 29 | $snippets[$row['slug']] = $row['content']; 30 | } 31 | 32 | return $this->tpl->set('snippet', $snippets); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /inc/modules/devbar/Info.php: -------------------------------------------------------------------------------- 1 | 6 | * @author Wojciech Król 7 | * @copyright 2017 Paweł Klockiewicz, Wojciech Król 8 | * @license https://batflat.org/license 9 | * @link https://batflat.org 10 | */ 11 | 12 | return [ 13 | 'name' => $core->lang['devbar']['module_name'], 14 | 'description' => $core->lang['devbar']['module_desc'], 15 | 'author' => 'Sruu.pl', 16 | 'version' => '1.0', 17 | 'compatibility' => '1.3.*', 18 | 'icon' => 'bug', 19 | 20 | 'install' => function() use($core) 21 | { 22 | 23 | }, 24 | 'uninstall' => function() use($core) 25 | { 26 | 27 | } 28 | ]; -------------------------------------------------------------------------------- /inc/modules/pages/lang/admin/se_swedish.ini: -------------------------------------------------------------------------------- 1 | module_name = "Sidor" 2 | module_desc = "Hantera sidor och undersidor." 3 | 4 | pages_count = "Sidor:" 5 | add_new = "Lägg till ny" 6 | new_page = "Ny sida" 7 | edit_page = "Redigera sidan" 8 | description = "Beskrivning" 9 | keywords = "Taggar" 10 | content = "Innehåll" 11 | view = "Förhandsvisa" 12 | slug = "Slug" 13 | markdown = "Aktivera markdown" 14 | save_success = "Sidan sparades korrekt." 15 | save_failure = "Misslyckades med att spara sidan." 16 | delete_success = "Sidan raderades korrekt." 17 | delete_failure = "Kunde inte radera sidan." 18 | delete_confirm = "Är du säker på att du vill radera sidan?" 19 | page_exists = "Sidans slug finns redan. Ändringar på sidan har inte sparats." 20 | editor_upload_fail = "Kan inte ladda bilden. Troligen en inte accepterad filtyp." -------------------------------------------------------------------------------- /inc/jscripts/editor/sets/markdown/set.min.css: -------------------------------------------------------------------------------- 1 | .markItUpSet-markdown .markItUpButton1 a{background-image:url(../../images/h1.png)}.markItUpSet-markdown .markItUpButton2 a{background-image:url(../../images/h2.png)}.markItUpSet-markdown .markItUpButton3 a{background-image:url(../../images/h3.png)}.markItUpSet-markdown .markItUpButton4 a{background-image:url(../../images/bold.png)}.markItUpSet-markdown .markItUpButton5 a{background-image:url(../../images/italic.png)}.markItUpSet-markdown .markItUpButton6 a{background-image:url(../../images/list-bullet.png)}.markItUpSet-markdown .markItUpButton7 a{background-image:url(../../images/list-numeric.png)}.markItUpSet-markdown .markItUpButton8 a{background-image:url(../../images/picture.png)}.markItUpSet-markdown .markItUpButton9 a{background-image:url(../../images/link.png)}.markItUpSet-markdown .markItUpButton10 a{background-image:url(../../images/quotes.png)}.markItUpSet-markdown .markItUpButton11 a{background-image:url(../../images/code.png)} -------------------------------------------------------------------------------- /inc/modules/pages/lang/admin/pl_polski.ini: -------------------------------------------------------------------------------- 1 | module_name = "Strony" 2 | module_desc = "Zarządzanie podstronami." 3 | 4 | pages_count = "Podstron:" 5 | add_new = "Dodaj nową" 6 | new_page = "Nowa strona" 7 | edit_page = "Edycja strony" 8 | description = "Opis" 9 | keywords = "Tagi" 10 | content = "Zawartość" 11 | view = "Zobacz" 12 | slug = "Nazwa odnośnika" 13 | markdown = "Włącz Markdown" 14 | save_success = "Pomyślnie zapisano stronę." 15 | save_failure = "Nie udało się zapisać strony." 16 | delete_success = "Pomyślnie usunięto stronę." 17 | delete_failure = "Nie udało się usunąć strony." 18 | delete_confirm = "Na pewno chcesz usunąć wybraną stronę?" 19 | page_exists = "Strona o takiej nazwie już istnieje. Strona nie została zapisana." 20 | editor_upload_fail = "Nie udało się załadować obrazu. Prawdopodobnie nieobsługiwany typ." -------------------------------------------------------------------------------- /inc/modules/pages/lang/admin/it_italian.ini: -------------------------------------------------------------------------------- 1 | module_name = "Pagine" 2 | module_desc = "Gestione delle sottopagine" 3 | 4 | pages_count = "Pagine:" 5 | add_new = "Aggiungi nuova" 6 | new_page = "Nuova pagina" 7 | edit_page = "Modifica pagina" 8 | description = "Descrizione" 9 | keywords = "Tag" 10 | content = "Contenuto" 11 | view = "Anteprima" 12 | slug = "Slug" 13 | markdown = "Abilita Markdown" 14 | save_success = "La pagina salvata correttamente." 15 | save_failure = "Impossibile salvare la pagina." 16 | delete_success = "Pagina eliminata correttamente." 17 | delete_failure = "Impossibile eliminare la pagina." 18 | delete_confirm = "Sicuri di voler eliminare la pagina?" 19 | page_exists = "Lo slug della pagina già esiste." 20 | editor_upload_fail = "Impossibile caricare l’immagine. Probabilmente questo formato non è supportato." -------------------------------------------------------------------------------- /inc/modules/sitemap/Info.php: -------------------------------------------------------------------------------- 1 | 6 | * @author Wojciech Król 7 | * @copyright 2017 Paweł Klockiewicz, Wojciech Król 8 | * @license https://batflat.org/license 9 | * @link https://batflat.org 10 | */ 11 | 12 | return [ 13 | 'name' => $core->lang['sitemap']['module_name'], 14 | 'description' => $core->lang['sitemap']['module_desc'], 15 | 'author' => 'Sruu.pl', 16 | 'version' => '1.0', 17 | 'compatibility' => '1.3.*', 18 | 'icon' => 'sitemap', 19 | 20 | 'install' => function() use($core) 21 | { 22 | 23 | }, 24 | 'uninstall' => function() use($core) 25 | { 26 | 27 | } 28 | ]; -------------------------------------------------------------------------------- /inc/modules/pages/lang/admin/fr_french.ini: -------------------------------------------------------------------------------- 1 | module_name = "Pages" 2 | module_desc = "Gérer les sous pages." 3 | 4 | pages_count = "Pages:" 5 | add_new = "Ajouter" 6 | new_page = "Nouvelle page" 7 | edit_page = "Modifier la page" 8 | description = "Description" 9 | keywords = "Mots clés" 10 | content = "Contenu" 11 | view = "Voir" 12 | slug = "Slug" 13 | markdown = "Activer Markdown" 14 | save_success = "Page sauvegardée avec succès." 15 | save_failure = "Echec de sauvegarde de la page." 16 | delete_success = "Page supprimée avec succès." 17 | delete_failure = "Inpossible de supprimer la page." 18 | delete_confirm = "Etes-vous sûr de vouloir supprimer cette page ?" 19 | page_exists = "Slug déjà existant. Les changements de la page n’ont pas été sauvegardés." 20 | editor_upload_fail = "Impossible d’afficher l’image. Le type est incorrect." -------------------------------------------------------------------------------- /inc/modules/pages/lang/admin/nl_dutch.ini: -------------------------------------------------------------------------------- 1 | module_name = "Pagina’s" 2 | module_desc = "Beheer van subpagina’s." 3 | 4 | pages_count = "Pagina’s:" 5 | add_new = "Voeg nieuw toe" 6 | new_page = "Nieuwe pagina" 7 | edit_page = "Pagina bewerken" 8 | description = "Beschrijving" 9 | keywords = "Tags" 10 | content = "Inhoud" 11 | view = "Voorbeeld" 12 | slug = "Slug" 13 | markdown = "Markdown inschakelen" 14 | save_success = "Pagina succesvol opgeslagen." 15 | save_failure = "Kan pagina niet opslaan." 16 | delete_success = "Pagina succesvol verwijderd." 17 | delete_failure = "Kan pagina niet verwijderen." 18 | delete_confirm = "Weet je zeker dat je deze pagina wilt verwijderen?" 19 | page_exists = "Paginaslug bestaat al. Wijzigingen op de pagina zijn niet opgeslagen." 20 | editor_upload_fail = "Kan afbeelding niet laden. Waarschijnlijk niet-ondersteund type." -------------------------------------------------------------------------------- /inc/modules/pages/lang/admin/ru_russian.ini: -------------------------------------------------------------------------------- 1 | module_name = "Страницы" 2 | module_desc = "Управление суб-страницами." 3 | 4 | pages_count = "Страницы:" 5 | add_new = "Добавить новую" 6 | new_page = "Новая страница" 7 | edit_page = "Редактировать страницу" 8 | description = "Описание" 9 | keywords = "Теги" 10 | content = "Содержание" 11 | view = "Предпросмотр" 12 | slug = "Слизняк" 13 | markdown = "Включить понижение" 14 | save_success = "Страница успешно сохранена." 15 | save_failure = "Ошибка сохранения страницы." 16 | delete_success = "Страница успешно удалена." 17 | delete_failure = "Невозможно удалить страницу." 18 | delete_confirm = "Вы уверены что хотите удалить страницу?" 19 | page_exists = "Заголовок для URL уже существует. Изменения на странице не сохранены." 20 | editor_upload_fail = "Не удалось загрузить изображение. Возможно, неподдерживаемый формат." -------------------------------------------------------------------------------- /inc/modules/pages/lang/admin/es_spanish.ini: -------------------------------------------------------------------------------- 1 | module_name = "Páginas" 2 | module_desc = "Gestión de sub-páginas." 3 | 4 | pages_count = "Páginas:" 5 | add_new = "Añadir nueva" 6 | new_page = "Nueva página" 7 | edit_page = "Modificar página" 8 | description = "Descripción" 9 | keywords = "Etiquetas" 10 | content = "Contenido" 11 | view = "Previsualizar" 12 | slug = "URL amigable" 13 | markdown = "Habilitar Markdown" 14 | save_success = "Página correctamente guardada." 15 | save_failure = "Fallo al guardar la página." 16 | delete_success = "Página correctamente eliminada." 17 | delete_failure = "Imposible eliminar la página." 18 | delete_confirm = "¿Seguro que desea eliminar esta página?" 19 | page_exists = "URL amigable de página ya existente. Los cambios en la página no se ha guardado." 20 | editor_upload_fail = "No puede cargar la imagen. Quizá sea de un tipo no soportado." -------------------------------------------------------------------------------- /inc/jscripts/editor/sets/markdown/set.min.js: -------------------------------------------------------------------------------- 1 | var markItUp_markdown={nameSpace:"markItUpSet-markdown",onShiftEnter:{keepDefault:!1,openWith:"\n\n"},onTab:{keepDefault:!1,replaceWith:" "},markupSet:[{key:"1",placeHolder:"H1",closeWith:function(a){return miu.markdownTitle(a,"=")}},{key:"2",placeHolder:"H2",closeWith:function(a){return miu.markdownTitle(a,"-")}},{openWith:"### ",placeHolder:"H3"},{separator:"---------------"},{key:"B",openWith:"**",closeWith:"**"},{key:"I",openWith:"_",closeWith:"_"},{separator:"---------------"},{openWith:"- "},{openWith:function(a){return a.line+". "}},{separator:"---------------"},{key:"P",replaceWith:"![[![Alternative text]!]]([![Url:!:http://]!])"},{key:"L",openWith:"[[![Name]!]",closeWith:"]([![Url:!:http://]!])"},{separator:"---------------"},{openWith:"> "},{openWith:"(!(\t|!|`)!)",closeWith:"(!(`)!)"}],afterInsert:function(a){$(a.textarea).trigger("input")}},miu={markdownTitle:function(a,b){for(heading="",n=$.trim(a.selection||a.placeHolder).length,i=0;i 2 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /inc/modules/pages/lang/admin/pt_portuguese.ini: -------------------------------------------------------------------------------- 1 | module_name = "Páginas" 2 | module_desc = "Gerenciamento de sub-páginas." 3 | pages_count = "Páginas:" 4 | add_new = "Adicionar" 5 | new_page = "Nova página" 6 | edit_page = "Editar página" 7 | description = "Descrição" 8 | keywords = "Etiquetas" 9 | content = "Conteúdo" 10 | view = "Pré-visualizar" 11 | slug = "Slug" 12 | markdown = "Ativar Markdown" 13 | save_success = "Página salva com sucesso." 14 | save_failure = "Falha ao salvar página." 15 | delete_success = "Página deletada com sucesso." 16 | delete_failure = "Não foi possível deletar a página." 17 | delete_confirm = "Você tem certeza que quer deletar esta página?" 18 | page_exists = "Já existe uma página com este slug. As modificações na página não foram salvas." 19 | editor_upload_fail = "Não foi possível enviar a foto. Ela provavelmente está em um formato não suportado." -------------------------------------------------------------------------------- /inc/modules/navigation/lang/admin/tr_turkish.ini: -------------------------------------------------------------------------------- 1 | module_name = "Menüler" 2 | module_desc = "Menü yönetimi" 3 | 4 | add_link = "Bağlantı ekle" 5 | edit_link = "Bağlantı düzenle" 6 | save_link_success = "Bağlantı başarıyla kaydedildi." 7 | save_link_failure = "Bağlantı kaydedilemedi." 8 | delete_link_success = "Bağlantı başarıyla silindi." 9 | delete_link_failure = "Bağlantı silinemedi." 10 | delete_link_confirm = "Bu bağlantıyı silmek istediğinize emin misiniz?" 11 | add_nav = "Menü ekle" 12 | edit_nav = "Menü düzenle" 13 | save_nav_success = "Menü başarıyla kaydedildi." 14 | save_nav_failure = "Menü kaydedilemedi." 15 | delete_nav_success = "Menü başarıyla silindi." 16 | delete_nav_failure = "Menü silinemedi." 17 | delete_nav_confirm = "Bu menüyü silmek istediğinize emin misiniz?" 18 | nav_already_exists = "Menü zaten kayıtlı." 19 | page = "Sayfa" 20 | url = "URL" 21 | class = "Ek CSS sınıfları" 22 | parent = "İlişkili" -------------------------------------------------------------------------------- /inc/modules/statistics/lang/admin/en_english.ini: -------------------------------------------------------------------------------- 1 | module_name = "Statistics" 2 | module_desc = "Provides simple statistics information about website." 3 | 4 | unique_today = "Unique today" 5 | today_visits = "Today visits" 6 | online = "Online" 7 | unique = "Unique" 8 | all_unique = "All unique" 9 | visits = "Visits" 10 | all_visits = "All visits" 11 | show = "Show all" 12 | all_referrals = "All referrals" 13 | yesterday = "Yesterday" 14 | 7days = "Latest 7 days" 15 | 30days = "Latest 30 days" 16 | total = "Total" 17 | target = "Target" 18 | pages = "Pages" 19 | os = "Operating Systems" 20 | browsers = "Browsers" 21 | countries = "Countries" 22 | referrals = "Referral URLs" 23 | direct_visit = "direct visit" 24 | url = "Url" 25 | all_pages = "All website visits" 26 | referrals_from = "All pages reffered from" 27 | from_address = "From url" 28 | stats_page = "Stats for page" -------------------------------------------------------------------------------- /inc/modules/users/lang/admin/en_english.ini: -------------------------------------------------------------------------------- 1 | module_name = "Users" 2 | module_desc = "Management user accounts." 3 | 4 | add_new = "Add user" 5 | new_user = "New user" 6 | edit_user = "Edit user" 7 | display_name = "Displayed name" 8 | description = "Short description about you" 9 | photo = "Avatar / Photo" 10 | email = "E-mail" 11 | new_password = "New password..." 12 | access = "Access" 13 | role = "Role" 14 | user = "User" 15 | admin = "Administrator" 16 | save_success = "User successfully saved." 17 | save_failure = "Failed to save user." 18 | delete_success = "User successfully deleted." 19 | delete_failure = "Unable to delete user." 20 | delete_confirm = "Are you sure you want to delete selected user?" 21 | user_already_exists = "Username already exist." 22 | wrong_email = "E-mail is incorrect!" 23 | too_short_pswd = "Minimum password length is 5 characters." -------------------------------------------------------------------------------- /inc/modules/users/Site.php: -------------------------------------------------------------------------------- 1 | 6 | * @author Wojciech Król 7 | * @copyright 2017 Paweł Klockiewicz, Wojciech Król 8 | * @license https://batflat.org/license 9 | * @link https://batflat.org 10 | */ 11 | 12 | namespace Inc\Modules\Users; 13 | 14 | use Inc\Core\SiteModule; 15 | 16 | class Site extends SiteModule 17 | { 18 | public function init() 19 | { 20 | $this->tpl->set('users', function () { 21 | $result = []; 22 | $users = $this->db('users')->select(['id', 'username', 'fullname', 'description', 'avatar', 'email'])->toArray(); 23 | 24 | foreach ($users as $key => $value) { 25 | $result[$value['id']] = $users[$key]; 26 | $result[$value['id']]['avatar'] = url('uploads/users/' . $value['avatar']); 27 | } 28 | 29 | return $result; 30 | }); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /inc/modules/langswitcher/Info.php: -------------------------------------------------------------------------------- 1 | 6 | * @author Wojciech Król 7 | * @copyright 2017 Paweł Klockiewicz, Wojciech Król 8 | * @license https://batflat.org/license 9 | * @link https://batflat.org 10 | */ 11 | 12 | return [ 13 | 'name' => $core->lang['langswitcher']['module_name'], 14 | 'description' => $core->lang['langswitcher']['module_desc'], 15 | 'author' => 'Sruu.pl', 16 | 'version' => '1.2', 17 | 'compatibility' => '1.3.*', 18 | 'icon' => 'flag', 19 | 'install' => function () use ($core) { 20 | $core->db()->pdo()->exec("INSERT INTO `settings` (`module`, `field`, `value`) VALUES ('settings', 'autodetectlang', 0)"); 21 | }, 22 | 'uninstall' => function () use ($core) { 23 | $core->db()->pdo()->exec("DELETE FROM `settings` WHERE `field` = 'autodetectlang'"); 24 | } 25 | ]; 26 | -------------------------------------------------------------------------------- /inc/modules/navigation/lang/admin/id_indonesian.ini: -------------------------------------------------------------------------------- 1 | module_name = "Navigasi" 2 | module_desc = "Pengelolaan elemen pada navigasi." 3 | 4 | add_link = "Tambah link" 5 | edit_link = "Sunting link" 6 | save_link_success = "Link berhasil disimpan." 7 | save_link_failure = "Gagal menyimpan link." 8 | delete_link_success = "Link berhasil dihapus." 9 | delete_link_failure = "Tidak dapat menghapus link." 10 | delete_link_confirm = "Yakin ingin menghapus link terpilih?" 11 | add_nav = "Tambah navigasi" 12 | edit_nav = "Sunting navigasi" 13 | save_nav_success = "Navigasi berhasil disimpan." 14 | save_nav_failure = "Gagal menyimpan navigasi." 15 | delete_nav_success = "Navigasi berhasil dihapus." 16 | delete_nav_failure = "Tidak dapat menghapus navigasi." 17 | delete_nav_confirm = "Yakin ingin menghapus navigasi terpilih?" 18 | nav_already_exists = "Navigasi sudah ada." 19 | page = "Halaman" 20 | url = "URL" 21 | class = "Class CSS tambahan" 22 | parent = "Induk" -------------------------------------------------------------------------------- /inc/modules/statistics/lang/admin/id_indonesian.ini: -------------------------------------------------------------------------------- 1 | module_name = "Statistik" 2 | module_desc = "Menyediakan statistik sederhana tentang website." 3 | 4 | unique_today = "Unik hari ini" 5 | today_visits = "Kunjungan hari ini" 6 | online = "Online" 7 | unique = "Unik" 8 | all_unique = "Semua unik" 9 | visits = "Kunjungan" 10 | all_visits = "Semua kunjungan" 11 | show = "Tampil semua" 12 | all_referrals = "All referensi" 13 | yesterday = "Kemarin" 14 | 7days = "7 hari terakhir" 15 | 30days = "30 hari terakhir" 16 | total = "Total" 17 | target = "Target" 18 | pages = "Halaman" 19 | os = "Sistem Operasi" 20 | browsers = "Browser" 21 | countries = "Negara" 22 | referrals = "URL referensi" 23 | direct_visit = "kunjungan langsung" 24 | url = "URl" 25 | all_pages = "Semua kunjungan website" 26 | referrals_from = "Semua halaman referensi" 27 | from_address = "URL sumber" 28 | stats_page = "Statistik untuk halaman" -------------------------------------------------------------------------------- /inc/modules/statistics/lang/admin/ru_russian.ini: -------------------------------------------------------------------------------- 1 | module_name = "Статистики" 2 | module_desc = "Предоставляет простую статистику по вебсайту." 3 | 4 | unique_today = "Сегодня уникальных" 5 | today_visits = "Визитов сегодня" 6 | online = "Сейчас" 7 | unique = "Уникальные" 8 | all_unique = "Все уникальные" 9 | visits = "Визиты" 10 | all_visits = "Все визиты" 11 | show = "Показать все" 12 | all_referrals = "Все источники" 13 | yesterday = "Вчера" 14 | 7days = "Последние 7 дней" 15 | 30days = "Последние 30 дней" 16 | total = "Всего" 17 | target = "Цель" 18 | pages = "Страницы" 19 | os = "Операционные Системы" 20 | browsers = "Браузеры" 21 | countries = "Страны" 22 | referrals = "СсылающиесяURL" 23 | direct_visit = "прямой переход" 24 | url = "Url" 25 | all_pages = "Все визиты на сайт" 26 | referrals_from = "Все страницы на которые ссылаются" 27 | from_address = "Из URL" 28 | stats_page = "Статистика для страницы" -------------------------------------------------------------------------------- /inc/modules/users/lang/admin/id_indonesian.ini: -------------------------------------------------------------------------------- 1 | module_name = "Pengguna" 2 | module_desc = "Pengelolaan akun pengguna." 3 | 4 | add_new = "Tambah pengguna" 5 | new_user = "Pengguna baru" 6 | edit_user = "Ubah pengguna" 7 | display_name = "Nama tampilan" 8 | description = "Kisah singkat tentang anda" 9 | photo = "Avatar / Foto" 10 | email = "E-mail" 11 | new_password = "Password baru..." 12 | access = "Akses" 13 | role = "Peran" 14 | user = "Pengguna" 15 | admin = "Administrator" 16 | save_success = "Pengguna berhasil disimpan." 17 | save_failure = "Gagak menyimpan pengguna." 18 | delete_success = "Pengguna berhasil disimpan." 19 | delete_failure = "Tak dapat menghapus pengguna." 20 | delete_confirm = "Anda yakin ingin menghapus pengguna terpilih?" 21 | user_already_exists = "Username sudah dipakai." 22 | wrong_email = "E-mail salah!" 23 | too_short_pswd = "Panjang password minimum 5 karakter." -------------------------------------------------------------------------------- /inc/modules/navigation/lang/admin/en_english.ini: -------------------------------------------------------------------------------- 1 | module_name = "Navigation" 2 | module_desc = "Management elements in navigation." 3 | 4 | add_link = "Add link" 5 | edit_link = "Edit link" 6 | save_link_success = "Link successfully saved." 7 | save_link_failure = "Failed to save link." 8 | delete_link_success = "Link successfully deleted." 9 | delete_link_failure = "Unable to delete link." 10 | delete_link_confirm = "Are you sure you want to delete link?" 11 | add_nav = "Add navigation" 12 | edit_nav = "Edit navigation" 13 | save_nav_success = "Navigation successfully saved." 14 | save_nav_failure = "Failed to save navigation." 15 | delete_nav_success = "Navigation successfully deleted." 16 | delete_nav_failure = "Unable to delete navigation." 17 | delete_nav_confirm = "Are you sure you want to delete navigation?" 18 | nav_already_exists = "Navigation already exists." 19 | page = "Page" 20 | url = "URL" 21 | class = "Additional CSS class" 22 | parent = "Parent" -------------------------------------------------------------------------------- /inc/modules/users/lang/admin/tr_turkish.ini: -------------------------------------------------------------------------------- 1 | module_name = "Kullanıcılar" 2 | module_desc = "Kullanıcı hesapları yönetimi" 3 | 4 | add_new = "Kullanıcı ekle" 5 | new_user = "Yeni kullanıcı" 6 | edit_user = "Kullanıcı düzenle" 7 | display_name = "Görünecek ad" 8 | description = "Sizi tanımlayan kısa metin" 9 | photo = "Avatar / Resim" 10 | email = "E-posta" 11 | new_password = "Yeni parolanız..." 12 | access = "Erişim" 13 | role = "Rol" 14 | user = "Kullanıcı" 15 | admin = "Yönetici" 16 | save_success = "Kullanıcı başarıyla kaydedildi." 17 | save_failure = "Kullanıcı kaydedilemedi." 18 | delete_success = "Kullanıcı başarıyla silindi." 19 | delete_failure = "Kullanıcı silinemedi." 20 | delete_confirm = "Seçilen kullanıcıyı silmek istediğinize emin misiniz?" 21 | user_already_exists = "Kullanıcı zaten kayıtlı." 22 | wrong_email = "E-posta hatalı!" 23 | too_short_pswd = "Parola en az 5 karakter olmalı." -------------------------------------------------------------------------------- /inc/modules/contact/lang/admin/en_english.ini: -------------------------------------------------------------------------------- 1 | module_name = "Contact" 2 | module_desc = "Display contact form on the page." 3 | 4 | recipient = "Recipient" 5 | custom = "-- Custom email address --" 6 | or_mail = "or custom e-mail address" 7 | example = "Example: contact@johndoe.com" 8 | save_success = "Contact data saved." 9 | save_failure = "Failed to save contact data." 10 | info = "Place this tag in website template" 11 | 12 | checkbox = "Required checkbox field" 13 | checkbox_content = "Content to accept" 14 | 15 | phpmailer_error = "Sorry, I can’t find PHPMailer class. Please, execute composer require phpmailer/phpmailer in your project terminal." 16 | 17 | driver = "Mail driver" 18 | mail = "mail() (default)" 19 | phpmailer = "PHPMailer (SMTP)" 20 | server = "Server" 21 | port = "Port" 22 | username = "Username" 23 | password = "Password" 24 | name = "Sender name" -------------------------------------------------------------------------------- /inc/jscripts/editor/sets/html/set.min.css: -------------------------------------------------------------------------------- 1 | .markItUpSet-html .markItUpButton1 a{background-image:url(../../images/h1.png)}.markItUpSet-html .markItUpButton2 a{background-image:url(../../images/h2.png)}.markItUpSet-html .markItUpButton3 a{background-image:url(../../images/h3.png)}.markItUpSet-html .markItUpButton4 a{background-image:url(../../images/paragraph.png)}.markItUpSet-html .markItUpButton5 a{background-image:url(../../images/bold.png)}.markItUpSet-html .markItUpButton6 a{background-image:url(../../images/italic.png)}.markItUpSet-html .markItUpButton7 a{background-image:url(../../images/stroke.png)}.markItUpSet-html .markItUpButton8 a{background-image:url(../../images/list-bullet.png)}.markItUpSet-html .markItUpButton9 a{background-image:url(../../images/list-numeric.png)}.markItUpSet-html .markItUpButton10 a{background-image:url(../../images/list-item.png)}.markItUpSet-html .markItUpButton11 a{background-image:url(../../images/picture.png)}.markItUpSet-html .markItUpButton12 a{background-image:url(../../images/link.png)}.markItUpSet-html .markItUpButton13 a{background-image:url(../../images/clean.png)} -------------------------------------------------------------------------------- /inc/modules/sample/Info.php: -------------------------------------------------------------------------------- 1 | 6 | * @author Wojciech Król 7 | * @copyright 2017 Paweł Klockiewicz, Wojciech Król 8 | * @license https://batflat.org/license 9 | * @link https://batflat.org 10 | */ 11 | 12 | return [ 13 | 'name' => $core->lang['sample']['module_name'], 14 | 'description' => $core->lang['sample']['module_desc'], 15 | 'author' => 'Sruu.pl', 16 | 'version' => '1.0', 17 | 'compatibility' => '1.3.*', // Compatibility with Batflat version 18 | 'icon' => 'code', // Icon from http://fontawesome.io/icons/ 19 | 20 | // Registering page for possible use as a homepage 21 | 'pages' => ['Sample Page' => 'sample'], 22 | 23 | 'install' => function () use ($core) { 24 | }, 25 | 'uninstall' => function () use ($core) { 26 | } 27 | ]; 28 | -------------------------------------------------------------------------------- /inc/modules/statistics/lang/admin/nl_dutch.ini: -------------------------------------------------------------------------------- 1 | module_name = "Statistieken" 2 | module_desc = "Biedt eenvoudige statistische informatie over de website." 3 | 4 | unique_today = "Uniek vandaag" 5 | today_visits = "Vandaag bezocht" 6 | online = "Online" 7 | unique = "Uniek" 8 | all_unique = "Allemaal uniek" 9 | visits = "Bezoeken" 10 | all_visits = "Alle bezoeken" 11 | show = "Toon alles" 12 | all_referrals = "Alle verwijzingen" 13 | yesterday = "Gisteren" 14 | 7days = "Laatste 7 dagen" 15 | 30days = "Laatste 30 dagen" 16 | total = "Totaal" 17 | target = "Target" 18 | pages = "Pagina’s" 19 | os = "Besturingssystemen" 20 | browsers = "Browsers" 21 | countries = "Landen" 22 | referrals = "Verwijzings-URL’s" 23 | direct_visit = "direct bezoek" 24 | url = "Url" 25 | all_pages = "Alle websitebezoeken" 26 | referrals_from = "Alle pagina’s waarnaar wordt verwezen" 27 | from_address = "Van url" 28 | stats_page = "Statistieken voor pagina" -------------------------------------------------------------------------------- /inc/modules/statistics/lang/admin/pt_portuguese.ini: -------------------------------------------------------------------------------- 1 | module_name = "Estatísticas" 2 | module_desc = "Provê informações estatísticas simples a respeito do site." 3 | unique_today = "Únicos hoje" 4 | today_visits = "Visitantes hoje" 5 | online = "Online" 6 | unique = "Únicos" 7 | all_unique = "Únicos totais" 8 | visits = "Visitas" 9 | all_visits = "Todas as visitas" 10 | show = "Ver tudo" 11 | all_referrals = "Todas as referências" 12 | yesterday = "Ontem" 13 | 7days = "Últimos 7 dias" 14 | 30days = "Últimos 30 dias" 15 | total = "Total" 16 | target = "Alvo" 17 | pages = "Páginas" 18 | os = "Sistemas Operacionais" 19 | browsers = "Navegadores" 20 | countries = "Países" 21 | referrals = "URLs de origem" 22 | direct_visit = "visita direta" 23 | url = "URL" 24 | all_pages = "Todas as visitas ao site" 25 | referrals_from = "Todas as referências externas" 26 | from_address = "URL de origem" 27 | stats_page = "Estatísticas para a página" -------------------------------------------------------------------------------- /inc/modules/users/lang/admin/it_italian.ini: -------------------------------------------------------------------------------- 1 | module_name = "Utenti" 2 | module_desc = "Gestione utenti." 3 | 4 | add_new = "Aggiungi utente" 5 | new_user = "Nuovo utente" 6 | edit_user = "Modifica utente" 7 | display_name = "Nome visibile" 8 | description = "Descrizione utente" 9 | photo = "Avatar" 10 | email = "E-mail" 11 | new_password = "Nuova password..." 12 | access = "Permessi" 13 | role = "Ruolo" 14 | user = "Utente" 15 | admin = "Amministratore" 16 | save_success = "Utente creato con successo." 17 | save_failure = "Impossibile creare l’utente" 18 | delete_success = "Utente eliminato con successo." 19 | delete_failure = "Impossibile eliminare l’utente" 20 | delete_confirm = "Sicuri di voler eliminare gli utenti selezionati?" 21 | user_already_exists = "Nome utente già esistente." 22 | wrong_email = "Indirizzo e-mail non corretto!" 23 | too_short_pswd = "Minimo 5 caratteri per la lunghezza della password." -------------------------------------------------------------------------------- /inc/modules/statistics/lang/admin/es_spanish.ini: -------------------------------------------------------------------------------- 1 | module_name = "Estadísticas" 2 | module_desc = "Proporciona información estadística sencilla sobre el sitio." 3 | 4 | unique_today = "Único de Hoy" 5 | today_visits = "Visita de Hoy" 6 | online = "Online" 7 | unique = "Único" 8 | all_unique = "Todos los únicos" 9 | visits = "Visitas" 10 | all_visits = "Todas visitas" 11 | show = "Ver todo" 12 | all_referrals = "Todos las referidas" 13 | yesterday = "Ayer" 14 | 7days = "Últimos 7 días" 15 | 30days = "Últimos 30 días" 16 | total = "Total" 17 | target = "Objetivo" 18 | pages = "Páginas" 19 | os = "Sistema Operativos" 20 | browsers = "Navegadores" 21 | countries = "Países" 22 | referrals = "URLs referidas" 23 | direct_visit = "visita directa" 24 | url = "Url" 25 | all_pages = "Todas las visitas al sitio" 26 | referrals_from = "Todas las páginas referidas desde" 27 | from_address = "Desde la url" 28 | stats_page = "Estadísticas por página" -------------------------------------------------------------------------------- /themes/default/index.html: -------------------------------------------------------------------------------- 1 | {template: inc/header.html} 2 | 3 | 4 |
    5 |
    6 |
    7 |
    8 |
    9 |

    {$page.title}

    10 |
    11 | {if: $page.desc}{$page.desc}{else}{$settings.description}{/if} 12 |
    13 |
    14 |
    15 |
    16 |
    17 | 18 | 19 |
    20 |
    21 |
    22 | {if: $bat.notify} 23 |
    {$bat.notify.text}
    24 | {/if} 25 | {$page.content} 26 |
    27 |
    28 |
    29 | 30 | {template: inc/footer.html} -------------------------------------------------------------------------------- /inc/modules/contact/lang/admin/ru_russian.ini: -------------------------------------------------------------------------------- 1 | module_name = "Контакты" 2 | module_desc = "Отображать контактную форму на странице." 3 | 4 | recipient = "Получатель" 5 | custom = "-- Свой e-mail --" 6 | or_mail = "или свой e-mail " 7 | example = "Пример: contact@johndoe.com" 8 | save_success = "Данные контактной формы сохранены." 9 | save_failure = "Ошибка сохранения." 10 | info = "Поместите этот код на страницу сайта" 11 | 12 | checkbox = "Required checkbox field" 13 | checkbox_content = "Content to accept" 14 | 15 | phpmailer_error = "Извините, не могу найти класс PHPMailer. Пожалуйста, выполните composer require phpmailer/phpmailer в вашем терминале." 16 | 17 | driver = "Почтовая служба" 18 | mail = "mail() (по умолчанию)" 19 | phpmailer = "PHPMailer (SMTP)" 20 | server = "Сервер" 21 | port = "Порт" 22 | username = "Имя пользователя" 23 | password = "Пароль" 24 | name = "Имя отправителя" -------------------------------------------------------------------------------- /inc/modules/contact/lang/admin/tr_turkish.ini: -------------------------------------------------------------------------------- 1 | module_name = "İletişim" 2 | module_desc = "Ekrana iletişim formu getirir." 3 | 4 | recipient = "Alıcı" 5 | custom = "-- Özel e-posta adresi --" 6 | or_mail = "veya özel e-posta adresi." 7 | example = "Örnek: contact@johndoe.com" 8 | save_success = "İletişim bilgisi kaydedildi." 9 | save_failure = "İletişim bilgisi kaydedilemedi." 10 | info = "Bu etiketi site şablonu içerisine yerleştirin" 11 | 12 | checkbox = "Required checkbox field" 13 | checkbox_content = "Content to accept" 14 | 15 | phpmailer_error = "Üzgünüm, PHPMailer sınıfı bulunamadı. Lütfen terminal ekranında composer require phpmailer/phpmailer kodunu çalıştırın." 16 | 17 | driver = "Posta sürücüsü" 18 | mail = "mail() (öntanımlı)" 19 | phpmailer = "PHPMailer (SMTP)" 20 | server = "Sunucu" 21 | port = "Port" 22 | username = "Kullanıcı" 23 | password = "Parola" 24 | name = "Gönderici adı" -------------------------------------------------------------------------------- /inc/modules/users/lang/admin/pt_portuguese.ini: -------------------------------------------------------------------------------- 1 | module_name = "Usuários" 2 | module_desc = "Gerenciar contas de usuário" 3 | add_new = "Adicionar usuário" 4 | new_user = "Novo usuário" 5 | edit_user = "Editar usuário" 6 | display_name = "Nome de exibição" 7 | description = "Breve descrição sobre você" 8 | photo = "Foto / Avatar" 9 | email = "E-mail" 10 | new_password = "Nova senha..." 11 | access = "Acesso" 12 | role = "Função" 13 | user = "Usuário" 14 | admin = "Administrador" 15 | save_success = "Usuário salvo com sucesso." 16 | save_failure = "Falha ao salvar usuário." 17 | delete_success = "Usuário deletado com sucesso." 18 | delete_failure = "Não foi possível deletar o usuário." 19 | delete_confirm = "Você tem certeza que quer deletar o usuário selecionado?" 20 | user_already_exists = "Nome de usuário em uso." 21 | wrong_email = "O e-mail está incorreto!" 22 | too_short_pswd = "O comprimento mínimo de senha é 5 caracteres." -------------------------------------------------------------------------------- /inc/modules/users/lang/admin/se_swedish.ini: -------------------------------------------------------------------------------- 1 | module_name = "Användare" 2 | module_desc = "Hantera användare." 3 | 4 | add_new = "Lägg till användare" 5 | new_user = "Ny användare" 6 | edit_user = "Editera användare" 7 | display_name = "Synligt namn" 8 | description = "En kort beskrivning av dig" 9 | photo = "Avatar/Foto" 10 | email = "E-post" 11 | new_password = "Nytt lösenord..." 12 | access = "Rättigheter" 13 | role = "Roll" 14 | user = "Användare" 15 | admin = "Administrator" 16 | save_success = "Användaren sparades korrekt." 17 | save_failure = "Misslyckades med att spara användaren." 18 | delete_success = "Användaren raderades korrekt." 19 | delete_failure = "Kunde inte radera användaren." 20 | delete_confirm = "Är du säker att du vill radera markerad användare?" 21 | user_already_exists = "Användarnamnet är upptaget." 22 | wrong_email = "Epostadressen är felaktig!" 23 | too_short_pswd = "Minimum 5 tecken i lösenordet." -------------------------------------------------------------------------------- /inc/modules/contact/lang/admin/id_indonesian.ini: -------------------------------------------------------------------------------- 1 | module_name = "Kontak" 2 | module_desc = "Menampilkan form kontak pada halaman." 3 | 4 | recipient = "Penerima" 5 | custom = "-- Alamat email disesuaikan --" 6 | or_mail = "atau alamat email disesuaikan" 7 | example = "Contoh: contact@johndoe.com" 8 | save_success = "Data kontak berhasil disimpan." 9 | save_failure = "Gagal menyimpan data kontak." 10 | info = "Taruh tag ini pada template website" 11 | 12 | checkbox = "Kotak harus diisi" 13 | checkbox_content = "Isi untuk diterima" 14 | 15 | phpmailer_error = "Maaf, sistem tidak menemukan class PHPMailer class. Silahkan jalankan composer require phpmailer/phpmailer di terminal anda." 16 | 17 | driver = "Mail driver" 18 | mail = "mail() (default)" 19 | phpmailer = "PHPMailer (SMTP)" 20 | server = "Server" 21 | port = "Port" 22 | username = "Username" 23 | password = "Password" 24 | name = "Nama pengirim" -------------------------------------------------------------------------------- /inc/modules/navigation/lang/admin/nl_dutch.ini: -------------------------------------------------------------------------------- 1 | module_name = "Navigatie" 2 | module_desc = "Beheerelementen in navigatie." 3 | 4 | add_link = "Voeg een link toe" 5 | edit_link = "Bewerk link" 6 | save_link_success = "Link succesvol opgeslagen." 7 | save_link_failure = "Kan link niet opslaan." 8 | delete_link_success = "Link succesvol verwijderd." 9 | delete_link_failure = "Kan link niet verwijderen." 10 | delete_link_confirm = "Weet je zeker dat je de link wilt verwijderen?" 11 | add_nav = "Voeg navigatie toe" 12 | edit_nav = "Bewerk navigatie" 13 | save_nav_success = "Navigatie succesvol opgeslagen." 14 | save_nav_failure = "Kan navigatie niet opslaan." 15 | delete_nav_success = "Navigatie succesvol verwijderd." 16 | delete_nav_failure = "Kan navigatie niet verwijderen." 17 | delete_nav_confirm = "Weet u zeker dat u de navigatie wilt verwijderen?" 18 | nav_already_exists = "Navigatie bestaat al." 19 | page = "Pagina" 20 | url = "URL" 21 | class = "Aanvullende CSS-klasse" 22 | parent = "Parent" -------------------------------------------------------------------------------- /inc/modules/navigation/lang/admin/se_swedish.ini: -------------------------------------------------------------------------------- 1 | module_name = "Navigation" 2 | module_desc = "Hantera elementen i navigationen." 3 | 4 | add_link = "Lägg till länk" 5 | edit_link = "Editera länk" 6 | save_link_success = "Länken sparades korrekt." 7 | save_link_failure = "Misslyckades med att spara länken." 8 | delete_link_success = "Länken raderades korrekt." 9 | delete_link_failure = "Kunde inte radera länken." 10 | delete_link_confirm = "Är du säker på att du vill radera länken?" 11 | add_nav = "Lägg till navigering" 12 | edit_nav = "Editera navigering" 13 | save_nav_success = "Navigering sparades korrekt." 14 | save_nav_failure = "Kunde inte spara navigeringen." 15 | delete_nav_success = "Navigering raderades korrekt." 16 | delete_nav_failure = "Kunde inte tabort navigering." 17 | delete_nav_confirm = "Är du säker på att du vill radera navigering?" 18 | nav_already_exists = "Navigeringen finns redan." 19 | page = "Sida" 20 | url = "URL" 21 | class = "Extra CSS class" 22 | parent = "Övergrupp" -------------------------------------------------------------------------------- /themes/batblog/js/theme.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | $("body").on("input propertychange", ".form-group", function(e) { 3 | $(this).toggleClass("form-group-with-value", !!$(e.target).val()); 4 | }).on("focus", ".form-group", function() { 5 | $(this).addClass("form-group-with-focus"); 6 | }).on("blur", ".form-group", function() { 7 | $(this).removeClass("form-group-with-focus"); 8 | }); 9 | }); 10 | 11 | jQuery(document).ready(function($) { 12 | $(window).scroll(function() { 13 | if ($(window).scrollTop() > 0) 14 | $(".navbar").addClass("is-fixed"); 15 | else 16 | $(".navbar").removeClass("is-fixed"); 17 | }); 18 | 19 | $("article .post-footer .pull-left a").click(function(e) { 20 | window.open($(this).attr('href'), "Share", "status = 1, height = 400, width = 640, resizable = 1") 21 | e.preventDefault(); 22 | }); 23 | $(window).resize(function() { 24 | $('.gallery > div').each(function() { 25 | $('.thumbnail', this).height( $(this).width() * 1 ); 26 | }); 27 | }).resize(); 28 | }); 29 | -------------------------------------------------------------------------------- /inc/modules/navigation/lang/admin/fr_french.ini: -------------------------------------------------------------------------------- 1 | module_name = "Menus" 2 | module_desc = "Gérer les éléments de navigation." 3 | 4 | add_link = "Ajouter un lien" 5 | edit_link = "Modifier un lien" 6 | save_link_success = "Lien sauvegardé avec succès." 7 | save_link_failure = "Echec de sauvegarde du lienk." 8 | delete_link_success = "Lien supprimé avec succès." 9 | delete_link_failure = "Impossible de supprimer le lien." 10 | delete_link_confirm = "Etês-vous sur de vouloir supprimer ce lien ?" 11 | add_nav = "Ajouter un menu" 12 | edit_nav = "Modifier un menu" 13 | save_nav_success = "Le menu a été sauvegardé avec succès." 14 | save_nav_failure = "Echec de sauvegarde du menu." 15 | delete_nav_success = "Menu supprimé avec succès." 16 | delete_nav_failure = "Impossible de supprimer le menu." 17 | delete_nav_confirm = "Etês-vous sur de vouloir supprimer le menu ?" 18 | nav_already_exists = "Le menu existe déjà." 19 | page = "Page" 20 | url = "URL" 21 | class = "Classe CSS suplémentaire" 22 | parent = "Parent" -------------------------------------------------------------------------------- /inc/modules/navigation/lang/admin/pt_portuguese.ini: -------------------------------------------------------------------------------- 1 | module_name = "Navegação" 2 | module_desc = "Gerencie os elementos na navegação." 3 | add_link = "Adicionar link" 4 | edit_link = "Editar link" 5 | save_link_success = "Link salvo com sucesso." 6 | save_link_failure = "Falha ao salvar link." 7 | delete_link_success = "Link deletado com sucesso." 8 | delete_link_failure = "Não foi possível deletar o link." 9 | delete_link_confirm = "Você tem certeza que quer deletar o link?" 10 | add_nav = "Adicionar navegação" 11 | edit_nav = "Editar navegação" 12 | save_nav_success = "Navegação salva com sucesso." 13 | save_nav_failure = "Falha ao salvar navegação." 14 | delete_nav_success = "Navegação deletada com sucesso." 15 | delete_nav_failure = "Não foi possível deletar a navegação." 16 | delete_nav_confirm = "Você tem certeza que quer deletar a navegação?" 17 | nav_already_exists = "Já existe uma navegação com este nome." 18 | page = "Página" 19 | url = "URL" 20 | class = "Classes CSS adicionais" 21 | parent = "Pai" -------------------------------------------------------------------------------- /inc/modules/users/lang/admin/es_spanish.ini: -------------------------------------------------------------------------------- 1 | module_name = "Usuarios" 2 | module_desc = "Gestión de cuentas de usuarios." 3 | 4 | add_new = "Añadir usuario" 5 | new_user = "Nuevo usuario" 6 | edit_user = "Modificar usuario" 7 | display_name = "Nombre mostrado" 8 | description = "Breve descripción sobre ti" 9 | photo = "Avatar / Foto" 10 | email = "E-mail" 11 | new_password = "Nueva contraseña..." 12 | access = "Accesso" 13 | role = "Rol" 14 | user = "Usuario" 15 | admin = "Administrador" 16 | save_success = "Usuario guardado correctamente." 17 | save_failure = "Fallo al guardar usuario." 18 | delete_success = "Usuario eliminado correctamente." 19 | delete_failure = "Imposible eliminar usuario." 20 | delete_confirm = "¿Seguro que desea eliminar el usuario seleccionado?" 21 | user_already_exists = "Usuario ya existente." 22 | wrong_email = "E-mail no es correcto!" 23 | too_short_pswd = "La longitud mínima de la contraseña es de 5 caracteres." -------------------------------------------------------------------------------- /inc/modules/users/lang/admin/nl_dutch.ini: -------------------------------------------------------------------------------- 1 | module_name = "Gebruikers" 2 | module_desc = "Beheer gebruikersaccounts." 3 | 4 | add_new = "Voeg gebruiker toe" 5 | new_user = "Nieuwe gebruiker" 6 | edit_user = "Bewerk gebruiker" 7 | display_name = "Naam weergeven" 8 | description = "Korte beschrijving over jou" 9 | photo = "Avatar / foto" 10 | email = "E-mail" 11 | new_password = "Nieuw wachtwoord..." 12 | access = "Toegang" 13 | role = "Rol" 14 | user = "Gebruiker" 15 | admin = "Beheerder" 16 | save_success = "Gebruiker succesvol opgeslagen." 17 | save_failure = "Kan gebruiker niet opslaan." 18 | delete_success = "Gebruiker succesvol verwijderd." 19 | delete_failure = "Kan gebruiker niet verwijderen." 20 | delete_confirm = "Weet je zeker dat je de geselecteerde gebruiker wilt verwijderen?" 21 | user_already_exists = "Gebruikersnaam bestaat al." 22 | wrong_email = "E-mail is onjuist!" 23 | too_short_pswd = "Minimale wachtwoordlengte is 5 tekens." -------------------------------------------------------------------------------- /inc/modules/navigation/lang/admin/ru_russian.ini: -------------------------------------------------------------------------------- 1 | module_name = "Навигации" 2 | module_desc = "Управление элементами навигации." 3 | 4 | add_link = "Добавить ссылку." 5 | edit_link = "Редактировать ссылку." 6 | save_link_success = "Ссылка успешно сохранена." 7 | save_link_failure = "Ошибка сохранения ссылки." 8 | delete_link_success = "Ссылка успешно удалена.." 9 | delete_link_failure = "Невозможно удалить ссылку." 10 | delete_link_confirm = "Вы уверены что хотите удалить ссылку" 11 | add_nav = "Добавить навигацию" 12 | edit_nav = "Редактировать навигацию" 13 | save_nav_success = "Навигация успешно сохранена." 14 | save_nav_failure = "Ошибка сохранения навигации." 15 | delete_nav_success = "Навигация успешно удалена." 16 | delete_nav_failure = "Невозможно удалить навигацию." 17 | delete_nav_confirm = "Вы уверены что хотите удалить навигацию ?" 18 | nav_already_exists = "Такая навигация уже существует." 19 | page = "Страница" 20 | url = "URL" 21 | class = "Дополнительный CSS класс" 22 | parent = "Родительская" -------------------------------------------------------------------------------- /themes/batblog/index.html: -------------------------------------------------------------------------------- 1 | {template: inc/header.html} 2 | 3 | 4 |
    5 |
    6 |
    7 |
    8 |
    9 |

    {$page.title}

    10 |
    11 | {if: $page.desc}{$page.desc}{else}{$settings.description}{/if} 12 |
    13 |
    14 |
    15 |
    16 |
    17 |
    18 |
    19 |
    20 | {if: $bat.notify} 21 |
    {$bat.notify.text}
    22 | {/if} 23 |
    24 | {$page.content} 25 |
    26 |
    27 | {template: inc/sidebar.html} 28 |
    29 |
    30 | 31 | {template: inc/footer.html} -------------------------------------------------------------------------------- /inc/modules/contact/lang/admin/nl_dutch.ini: -------------------------------------------------------------------------------- 1 | module_name = "Contact" 2 | module_desc = "Contactformulier op de pagina weergeven." 3 | 4 | recipient = "Ontvanger" 5 | custom = "-- Aangepast e-mailadres --" 6 | or_mail = "of een aangepast e-mailadres" 7 | example = "Voorbeeld: contact@johndoe.com" 8 | save_success = "Contactgegevens opgeslagen." 9 | save_failure = "Kan contactgegevens niet opslaan." 10 | info = "Plaats deze tag in een website sjabloon" 11 | 12 | checkbox = "Required checkbox field" 13 | checkbox_content = "Content to accept" 14 | 15 | phpmailer_error = "Sorry, ik kan de PHPMailer-klasse niet vinden. Voer alsjeblieft composer require phpmailer/phpmailer uit in je projectterminal." 16 | 17 | driver = "Mail driver" 18 | mail = "mail() (default)" 19 | phpmailer = "PHPMailer (SMTP)" 20 | server = "Server" 21 | port = "Port" 22 | username = "Gebruikersnaam" 23 | password = "Wachtwoord" 24 | name = "Naam afzender" -------------------------------------------------------------------------------- /inc/modules/contact/lang/admin/pt_portuguese.ini: -------------------------------------------------------------------------------- 1 | module_name = "Contato" 2 | module_desc = "Exibir formulário de contato na página." 3 | recipient = "Recipiente" 4 | custom = "-- Endereço de e-mail personalizado --" 5 | or_mail = "ou um endereço de e-mail personalizado" 6 | example = "Exemplo: contato@fulano.com" 7 | save_success = "Dados de contato salvos." 8 | save_failure = "Falha ao salvar dados de contato." 9 | info = "Coloque esta tag no modelo do site" 10 | checkbox = "Campo selecionável requerido" 11 | checkbox_content = "Conteúdo aceito" 12 | phpmailer_error = "Desculpe, não pude encontrar a classe PHPMailer. Por favor, execute composer require phpmailer/phpmailer no seu projeto pelo terminal." 13 | driver = "Driver de e-mail" 14 | mail = "mail() (padrão)" 15 | phpmailer = "PHPMailer (SMTP)" 16 | server = "Servidor" 17 | port = "Porta" 18 | username = "Usuário" 19 | password = "Senha" 20 | name = "Nome do remetente" -------------------------------------------------------------------------------- /inc/modules/statistics/lang/admin/fr_french.ini: -------------------------------------------------------------------------------- 1 | module_name = "Statistiques" 2 | module_desc = "Propose des statistiques simples générées à partir de ce site web." 3 | 4 | unique_today = "Visites uniques du jour" 5 | today_visits = "Visites du jour" 6 | online = "En ligne" 7 | unique = "Unique" 8 | all_unique = "Tous les uniques" 9 | visits = "Visites" 10 | all_visits = "Toutes les visites" 11 | show = "Tout montrer" 12 | all_referrals = "Tous les renvois" 13 | yesterday = "Hier" 14 | 7days = "7 derniers jours" 15 | 30days = "30 derniers jours" 16 | total = "Total" 17 | target = "Cible" 18 | pages = "Pages" 19 | os = "Systèmes d’exploitation" 20 | browsers = "Navigateurs web" 21 | countries = "Pays" 22 | referrals = "URLs de renvoi" 23 | direct_visit = "Visite directe" 24 | url = "Url" 25 | all_pages = "toutes les visites du site" 26 | referrals_from = "Toutes les pages renvoyées par" 27 | from_address = "Venant de l’url" 28 | stats_page = "Statistiques pour la page" -------------------------------------------------------------------------------- /inc/modules/contact/lang/admin/se_swedish.ini: -------------------------------------------------------------------------------- 1 | module_name = "Kontakt" 2 | module_desc = "Visa ett kontaktformulär på vald sida." 3 | 4 | recipient = "Mottagare" 5 | custom = "-- Valfri epostaddress --" 6 | or_mail = "eller valfri epostadress" 7 | example = "Exempel: contact@johndoe.com" 8 | save_success = "Kontaktinformationen sparades korrekt." 9 | save_failure = "Misslyckades att spara kontaktinformationen." 10 | info = "Placera denna kod i webbplatsens mall." 11 | 12 | checkbox = "Required checkbox field" 13 | checkbox_content = "Content to accept" 14 | 15 | phpmailer_error = "Ledsen, kan inte hitta PHPMailer class. Vänligen, aktivera composer require phpmailer/phpmailer i din projektmapp." 16 | 17 | driver = "Drivrutin för e-post" 18 | mail = "mail() (default)" 19 | phpmailer = "PHPMailer (SMTP)" 20 | server = "Server" 21 | port = "Port" 22 | username = "Användarnamn" 23 | password = "Lösenord" 24 | name = "Avsändarnamn" -------------------------------------------------------------------------------- /inc/modules/navigation/lang/admin/es_spanish.ini: -------------------------------------------------------------------------------- 1 | module_name = "Navegación" 2 | module_desc = "Gestionar elementos de navegación." 3 | 4 | add_link = "Añadir enlace" 5 | edit_link = "Modificar enlace" 6 | save_link_success = "Enlace correctamente guardado." 7 | save_link_failure = "Fallo al guardar el enlace." 8 | delete_link_success = "Enlace correctamente eliminado." 9 | delete_link_failure = "Imposible eliminar enlace." 10 | delete_link_confirm = "¿Seguro que desea eliminar el enlace?" 11 | add_nav = "Añadir navegación" 12 | edit_nav = "Modificar navigation" 13 | save_nav_success = "Navegación correctamente guardado." 14 | save_nav_failure = "Fallo al guardar navegación." 15 | delete_nav_success = "Navigation correctamente eliminado." 16 | delete_nav_failure = "Imposible eliminar navegación." 17 | delete_nav_confirm = "¿Seguro que desea eliminar la navegación?" 18 | nav_already_exists = "Navegación ya existente." 19 | page = "Página" 20 | url = "URL" 21 | class = "Clase CSS adicional" 22 | parent = "Superior" 23 | -------------------------------------------------------------------------------- /inc/modules/navigation/lang/admin/pl_polski.ini: -------------------------------------------------------------------------------- 1 | module_name = "Nawigacja" 2 | module_desc = "Zarządzanie elementami w nawigacji." 3 | 4 | add_link = "Dodaj odnośnik" 5 | edit_link = "Edycja odnośnika" 6 | save_link_success = "Pomyślnie zapisano odnośnik." 7 | save_link_failure = "Nie udało się zapisać odnośnika." 8 | delete_link_success = "Pomyślnie usunięto odnośnik." 9 | delete_link_failure = "Nie udało się usunąć odnośnika." 10 | delete_link_confirm = "Czy na pewno chcesz usunąć wybrany odnośnik?" 11 | add_nav = "Dodaj nawigację" 12 | edit_nav = "Edycja nawigacji" 13 | save_nav_success = "Pomyślnie zapisano nawigację." 14 | save_nav_failure = "Nie udało się zapisać nawigacji." 15 | delete_nav_success = "Pomyślnie usunięto nawigację." 16 | delete_nav_failure = "Nie udało się usunąć nawigacji." 17 | delete_nav_confirm = "Czy na pewno chcesz usunąć wybraną nawigację?" 18 | nav_already_exists = "Nawigacja o takiej nazwie już istnieje." 19 | page = "Strona" 20 | url = "URL" 21 | class = "Dodatkowa klasa CSS" 22 | parent = "Rodzic" -------------------------------------------------------------------------------- /inc/modules/statistics/lang/admin/pl_polski.ini: -------------------------------------------------------------------------------- 1 | module_name = "Statystyki strony" 2 | module_desc = "Dostarcza podstawowych informacji statystycznych na temat strony." 3 | 4 | unique_today = "Unikalnych dzisiaj" 5 | today_visits = "Wszystkie dzisiaj" 6 | online = "Obecnie online" 7 | unique = "Unikalnych" 8 | all_unique = "Wszystkie unikalne" 9 | visits = "Odwiedzin" 10 | all_visits = "Odwiedzin ogółem" 11 | show = "Pokaż więcej" 12 | all_referrals = "Wszystkie źródła" 13 | yesterday = "Wczoraj" 14 | 7days = "Ostatnie 7 dni" 15 | 30days = "Ostatnie 30 dni" 16 | total = "Wszystkich" 17 | target = "Adres docelowy" 18 | pages = "Podstrony" 19 | os = "System operacyjny" 20 | browsers = "Przeglądarka" 21 | countries = "Państwo" 22 | referrals = "Źródła" 23 | direct_visit = "wejście bezpośrednie" 24 | url = "Adres" 25 | all_pages = "Wszystkie podstrony" 26 | referrals_from = "Wszystkie odwiedzone strony ze źródła" 27 | from_address = "Z adresu" 28 | stats_page = "Statystyki dla postrony" -------------------------------------------------------------------------------- /inc/modules/users/lang/admin/pl_polski.ini: -------------------------------------------------------------------------------- 1 | module_name = "Użytkownicy" 2 | module_desc = "Zarządzanie kontami użytkowników." 3 | 4 | add_new = "Dodaj nowego" 5 | new_user = "Nowy użytkownik" 6 | edit_user = "Edycja użytkownika" 7 | display_name = "Nazwa wyświetlana" 8 | description = "Krótki opis Ciebie" 9 | photo = "Avatar / Zdjęcie" 10 | email = "Adres e-mail" 11 | new_password = "Nowe hasło..." 12 | access = "Dostęp" 13 | role = "Rola" 14 | user = "Użytkownik" 15 | admin = "Administrator" 16 | save_success = "Pomyślnie zapisano użytkownika." 17 | save_failure = "Nie udało się zapisać użytkownika." 18 | delete_success = "Pomyślnie usunięto użytkownika." 19 | delete_failure = "Nie udało się usunąć użytkownika." 20 | delete_confirm = "Na pewno chcesz usunąć wybranego użytkownika?" 21 | user_already_exists = "Użytkownik o takim loginie już istnieje." 22 | wrong_email = "Wprowadzono błędny adres e-mail!" 23 | too_short_pswd = "Hasło musi zawierać minimum 5 znaków." -------------------------------------------------------------------------------- /inc/modules/contact/lang/admin/es_spanish.ini: -------------------------------------------------------------------------------- 1 | module_name = "Contacto" 2 | module_desc = "Mostrar formulario de contacto en la página." 3 | 4 | recipient = "Recipiente" 5 | custom = "-- Dirección de email personalizada --" 6 | or_mail = "o dirección de email personalizada" 7 | example = "Ejemplo: contact@johndoe.com" 8 | save_success = "Datos de contacto guardados." 9 | save_failure = "Fallo al guardar los datos de contacto." 10 | info = "Ponga esta etiqueta en la plantilla del sitio" 11 | 12 | checkbox = "Required checkbox field" 13 | checkbox_content = "Content to accept" 14 | 15 | phpmailer_error = "Disculpas, pero no encuento la clase PHPMailer. Por favor, ejecute composer require phpmailer/phpmailer en su terminal." 16 | 17 | driver = "Mail driver" 18 | mail = "mail() (default)" 19 | phpmailer = "PHPMailer (SMTP)" 20 | server = "Servidor" 21 | port = "Puerto" 22 | username = "Usuario" 23 | password = "Contraseña" 24 | name = "Remitente" -------------------------------------------------------------------------------- /inc/modules/modules/Info.php: -------------------------------------------------------------------------------- 1 | 6 | * @author Wojciech Król 7 | * @copyright 2017 Paweł Klockiewicz, Wojciech Król 8 | * @license https://batflat.org/license 9 | * @link https://batflat.org 10 | */ 11 | 12 | return [ 13 | 'name' => $core->lang['modules']['module_name'], 14 | 'description' => $core->lang['modules']['module_desc'], 15 | 'author' => 'Sruu.pl', 16 | 'version' => '1.1', 17 | 'compatibility' => '1.3.*', 18 | 'icon' => 'plug', 19 | 20 | 'install' => function () use ($core) { 21 | $core->db()->pdo()->exec("CREATE TABLE IF NOT EXISTS `modules` ( 22 | `id` integer NOT NULL PRIMARY KEY AUTOINCREMENT, 23 | `dir` text NOT NULL, 24 | `sequence` integer DEFAULT 0 25 | )"); 26 | }, 27 | 'uninstall' => function () use ($core) { 28 | $core->db()->pdo()->exec("DROP TABLE `modules`"); 29 | } 30 | ]; 31 | -------------------------------------------------------------------------------- /inc/modules/users/lang/admin/ru_russian.ini: -------------------------------------------------------------------------------- 1 | module_name = "Пользователи" 2 | module_desc = "Управление пользовательскими аккаунтами" 3 | 4 | add_new = "Добавить пользователя" 5 | new_user = "Новый пользователь" 6 | edit_user = "Редактировать пользователя" 7 | display_name = "Отображаемое имя" 8 | description = "Коротко расскажите о себе" 9 | photo = "Аватар / Фото" 10 | email = "E-mail" 11 | new_password = "Ваш новый пароль..." 12 | access = "Доступ" 13 | role = "Роль" 14 | user = "Пользователь" 15 | admin = "Администратор" 16 | save_success = "Пользователь успешно сохранён." 17 | save_failure = "Ошибка сохранения пользователя." 18 | delete_success = "Пользователь успешно удалён." 19 | delete_failure = "Ошибка удаления пользователя." 20 | delete_confirm = "Вы уверены что хотите удалить выбранных пользователей?" 21 | user_already_exists = "Такое имя пользователя уже занято." 22 | wrong_email = "E-mail некорректен!" 23 | too_short_pswd = "Минимальная длинна пароля 5 символов." -------------------------------------------------------------------------------- /inc/modules/contact/lang/admin/it_italian.ini: -------------------------------------------------------------------------------- 1 | module_name = "Contatti" 2 | module_desc = "Visualizza il modulo di contatto nella pagina." 3 | 4 | recipient = "Destinatario" 5 | custom = "-- Indirizzo e-mail personalizzato --" 6 | or_mail = "o indirizzo e-mail personalizzato" 7 | example = "Esempio: contact@johndoe.com" 8 | save_success = "Dati di contatto salvati" 9 | save_failure = "Impossibile salvare i dati di contatto." 10 | info = "Inserisci questo tag nel template" 11 | 12 | checkbox = "Required checkbox field" 13 | checkbox_content = "Content to accept" 14 | 15 | phpmailer_error = "Spiacente, non riesco a trovare la classe PHPMailer. Per favore, esegui composer require phpmailer/phpmailer nel tuo terminale di progetto." 16 | 17 | driver = "Servizio E-mail" 18 | mail = "mail() (default)" 19 | phpmailer = "PHPMailer (SMTP)" 20 | server = "Server" 21 | port = "Porta" 22 | username = "Username" 23 | password = "Password" 24 | name = "Nome mittente" -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) Paweł Klockiewicz, Wojciech Król 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /inc/modules/navigation/lang/admin/it_italian.ini: -------------------------------------------------------------------------------- 1 | module_name = "Navigazione" 2 | module_desc = "Gestione degli elementi della navigazione." 3 | 4 | add_link = "Aggiungi link" 5 | edit_link = "Modifica link" 6 | save_link_success = "Link salvato correttamente." 7 | save_link_failure = "Impossibile salvare il link." 8 | delete_link_success = "Il link è stato eliminato correttamente." 9 | delete_link_failure = "Impossibile eliminare il link." 10 | delete_link_confirm = "Sicuri di voler eliminare il link?" 11 | add_nav = "Aggiungi navigazione" 12 | edit_nav = "modifica navigazione" 13 | save_nav_success = "Navigazione salvata correttamente." 14 | save_nav_failure = "Impossibile salvare la navigazione." 15 | delete_nav_success = "Navigazione cancellata correttamente." 16 | delete_nav_failure = "Impossibile cancellare la navigazione." 17 | delete_nav_confirm = "Sicuri di voler eliminare la navigazione?" 18 | nav_already_exists = "La navigazione già esiste." 19 | page = "Pagina" 20 | url = "URL" 21 | class = "Classe CSS aggiuntiva" 22 | parent = "Genitore" -------------------------------------------------------------------------------- /inc/modules/snippets/Info.php: -------------------------------------------------------------------------------- 1 | 6 | * @author Wojciech Król 7 | * @copyright 2017 Paweł Klockiewicz, Wojciech Król 8 | * @license https://batflat.org/license 9 | * @link https://batflat.org 10 | */ 11 | 12 | return [ 13 | 'name' => $core->lang['snippets']['module_name'], 14 | 'description' => $core->lang['snippets']['module_desc'], 15 | 'author' => 'Sruu.pl', 16 | 'version' => '1.2', 17 | 'compatibility' => '1.3.*', 18 | 'icon' => 'puzzle-piece', 19 | 'install' => function () use ($core) { 20 | $core->db()->pdo()->exec("CREATE TABLE IF NOT EXISTS `snippets` ( 21 | `id` integer NOT NULL PRIMARY KEY AUTOINCREMENT, 22 | `name` text NOT NULL, 23 | `slug` text NOT NULL, 24 | `content` text NOT NULL 25 | )"); 26 | }, 27 | 'uninstall' => function () use ($core) { 28 | $core->db()->pdo()->exec("DROP TABLE `snippets`"); 29 | } 30 | ]; 31 | -------------------------------------------------------------------------------- /inc/modules/users/lang/admin/fr_french.ini: -------------------------------------------------------------------------------- 1 | module_name = "Utilisateurs" 2 | module_desc = "Gestion des comptes utilisateurs." 3 | 4 | add_new = "Ajouter" 5 | new_user = "Nouvel utilisateur" 6 | edit_user = "Modifier l’utilisateur" 7 | display_name = "Nom affiché" 8 | description = "Courte description de vous" 9 | photo = "Avatar / Photo" 10 | email = "Adresse e-mail" 11 | new_password = "Nouveau mot de passe..." 12 | access = "Accès" 13 | role = "Rôle" 14 | user = "Utilisateur" 15 | admin = "Administrateur" 16 | save_success = "Utilisateur sauvegardé." 17 | save_failure = "La sauvegarde de l’utilisateur a échoué." 18 | delete_success = "Utilisateur supprimé." 19 | delete_failure = "Impossible de supprimer l’utilisateur." 20 | delete_confirm = "Êtes-vous sûr de vouloir supprimer l’utilisateur sélectionné ?" 21 | user_already_exists = "Le nom d’utilisateur existe déjà." 22 | wrong_email = "L’adresse e-mail est incorrecte." 23 | too_short_pswd = "Le mot de passe doit faire au moins 5 caractères." -------------------------------------------------------------------------------- /inc/modules/contact/lang/admin/fr_french.ini: -------------------------------------------------------------------------------- 1 | module_name = "Contact" 2 | module_desc = "Afficher le formulaire de contact dans une page." 3 | 4 | recipient = "Destinataire" 5 | custom = "-- Adresse email personnelle --" 6 | or_mail = "ou adresse email personnelle" 7 | example = "Example: contact@johndoe.com" 8 | save_success = "La configuration du mode de contact a été sauvegardée." 9 | save_failure = "Echec de sauvegarde de la configuration." 10 | info = "Placez cette balise dans le modèle su site" 11 | 12 | checkbox = "Required checkbox field" 13 | checkbox_content = "Content to accept" 14 | 15 | phpmailer_error = "Sorry, I can’t find PHPMailer class. Please, execute composer require phpmailer/phpmailer in your project terminal." 16 | 17 | driver = "Mail driver" 18 | mail = "mail() (default)" 19 | phpmailer = "PHPMailer (SMTP)" 20 | server = "Serveur" 21 | port = "Port" 22 | username = "Nom d’utilisateur" 23 | password = "Mot de passe" 24 | name = "Nom de l’expéditeur" -------------------------------------------------------------------------------- /inc/modules/sample/Admin.php: -------------------------------------------------------------------------------- 1 | 6 | * @author Wojciech Król 7 | * @copyright 2017 Paweł Klockiewicz, Wojciech Król 8 | * @license https://batflat.org/license 9 | * @link https://batflat.org 10 | */ 11 | 12 | namespace Inc\Modules\Sample; 13 | 14 | use Inc\Core\AdminModule; 15 | 16 | /** 17 | * Sample admin class 18 | */ 19 | class Admin extends AdminModule 20 | { 21 | /** 22 | * Module navigation 23 | * Items of the returned array will be displayed in the administration sidebar 24 | * 25 | * @return array 26 | */ 27 | public function navigation() 28 | { 29 | return [ 30 | $this->lang('index') => 'index', 31 | ]; 32 | } 33 | 34 | /** 35 | * GET: /admin/sample/index 36 | * Subpage method of the module 37 | * 38 | * @return string 39 | */ 40 | public function getIndex() 41 | { 42 | $text = 'Hello World'; 43 | return $this->draw('index.html', ['text' => $text]); 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /inc/modules/contact/lang/admin/pl_polski.ini: -------------------------------------------------------------------------------- 1 | module_name = "Kontakt" 2 | module_desc = "Wyświetla formularz kontaktowy na stronie." 3 | 4 | recipient = "Odbiorca" 5 | custom = "-- Własny adres mailowy --" 6 | or_mail = "lub adres e-mail" 7 | example = "Przykład: adam@nowak.com" 8 | save_success = "Pomyślnie zaktualizowano dane kontaktowe." 9 | save_failure = "Nie udało się zaktualizować danych kontaktowych." 10 | info = "Aby wyświetlić formularz na stronie, wklej tag" 11 | 12 | checkbox = "Obowiązkowe pole typu checkbox" 13 | checkbox_content = "Treść do zaakceptowania" 14 | 15 | phpmailer_error = "Klasa PHPMailer nie jest zainstalowana. Użyj composer require phpmailer/phpmailer aby zainstalować dodatkowy pakiet." 16 | 17 | driver = "Wybierz sterownik do wysyłania wiadomości" 18 | mail = "mail() (domyślne)" 19 | phpmailer = "PHPMailer (SMTP)" 20 | server = "Serwer poczty wychodzącej" 21 | port = "Port" 22 | username = "Nazwa użytkownika" 23 | password = "Hasło użytkownika" 24 | name = "Nazwa wyświetlana" -------------------------------------------------------------------------------- /inc/modules/carousel/view/carousel.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/modules/blog/lang/tr_turkish.ini: -------------------------------------------------------------------------------- 1 | post_draft = "Bu yazı henüz taslak. Yalnızca yönetici görebilir." 2 | post_time = "Bu yazı henüz yayınlanmadı. Yalnızca yönetici görebilir." 3 | latest_posts = "Son yazılar" 4 | categories = "Kategoriler" 5 | readmore = "Devamını oku" 6 | share = "Paylaş" 7 | posted = "%s tarafından %s tarihinde yazıldı" 8 | older = "Eski yazılar" 9 | newer = "Yeni yazılar" 10 | no_comments = "Yorum yok" 11 | 12 | today = "Bugün" 13 | yesterday = "Dün" 14 | 15 | janx = "Ocak" 16 | febx = "Şubat" 17 | marx = "Mart" 18 | aprx = "Nisan" 19 | mayx = "Mayıs" 20 | junx = "Haziran" 21 | julx = "Temmuz" 22 | augx = "Ağustos" 23 | sepx = "Eylül" 24 | octx = "Ekim" 25 | novx = "Kasım" 26 | decx = "Aralık" 27 | 28 | jan = "Ocak" 29 | feb = "Şubat" 30 | mar = "Mart" 31 | apr = "Nisan" 32 | may = "Mayıs" 33 | jun = "Haziran" 34 | jul = "Temmuz" 35 | aug = "Ağustos" 36 | sep = "Eylül" 37 | oct = "Ekim" 38 | nov = "Kasım" 39 | dec = "Aralık" -------------------------------------------------------------------------------- /inc/modules/blog/lang/en_english.ini: -------------------------------------------------------------------------------- 1 | post_draft = "This post has draft status. Only admin can see this." 2 | post_time = "This post is not published yet. Only admin can see this." 3 | latest_posts = "Latest posts" 4 | categories = "Categories" 5 | readmore = "Continue reading" 6 | share = "Share" 7 | posted = "Written by %s on %s" 8 | older = "Older posts" 9 | newer = "Newer posts" 10 | no_comments = "No comments" 11 | 12 | today = "Today" 13 | yesterday = "Yesterday" 14 | 15 | janx = "January" 16 | febx = "February" 17 | marx = "March" 18 | aprx = "April" 19 | mayx = "May" 20 | junx = "June" 21 | julx = "July" 22 | augx = "August" 23 | sepx = "September" 24 | octx = "October" 25 | novx = "November" 26 | decx = "December" 27 | 28 | jan = "January" 29 | feb = "February" 30 | mar = "March" 31 | apr = "April" 32 | may = "May" 33 | jun = "June" 34 | jul = "July" 35 | aug = "August" 36 | sep = "September" 37 | oct = "October" 38 | nov = "November" 39 | dec = "December" -------------------------------------------------------------------------------- /inc/modules/settings/view/admin/themes.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/core/defines.php: -------------------------------------------------------------------------------- 1 | 6 | * @author Wojciech Król 7 | * @copyright 2017 Paweł Klockiewicz, Wojciech Król 8 | * @license https://batflat.org/license 9 | * @link https://batflat.org 10 | */ 11 | 12 | if (!version_compare(PHP_VERSION, '5.5.0', '>=')) { 13 | exit("Batflat requires at least PHP 5.5"); 14 | } 15 | 16 | // Admin cat name 17 | define('ADMIN', 'admin'); 18 | 19 | // Themes path 20 | define('THEMES', BASE_DIR . '/themes'); 21 | 22 | // Modules path 23 | define('MODULES', BASE_DIR . '/inc/modules'); 24 | 25 | // Uploads path 26 | define('UPLOADS', BASE_DIR . '/uploads'); 27 | 28 | // Lock files 29 | define('FILE_LOCK', false); 30 | 31 | // Basic modules 32 | define('BASIC_MODULES', serialize([ 33 | 8 => 'settings', 34 | 0 => 'dashboard', 35 | 2 => 'pages', 36 | 3 => 'navigation', 37 | 7 => 'users', 38 | 1 => 'blog', 39 | 4 => 'galleries', 40 | 5 => 'snippets', 41 | 6 => 'modules', 42 | 9 => 'contact', 43 | 10 => 'langswitcher', 44 | 11 => 'devbar', 45 | ])); 46 | 47 | // HTML beautifier 48 | define('HTML_BEAUTY', false); 49 | 50 | // Developer mode 51 | define('DEV_MODE', false); -------------------------------------------------------------------------------- /inc/modules/blog/lang/ru_russian.ini: -------------------------------------------------------------------------------- 1 | post_draft = "Этот пост имеет статус черновик . Только администратор может его увидеть." 2 | post_time = "Этот пост еще не опубликован. Только администратор может его увидеть." 3 | latest_posts = "Последний пост" 4 | categories = "Категории" 5 | readmore = "Далее" 6 | share = "Поделиться" 7 | posted = "Написано %s - %s" 8 | older = "Старые посты" 9 | newer = "Новые посты" 10 | no_comments = "Нет комментариев" 11 | 12 | today = "Сегодня " 13 | yesterday = "Вчера" 14 | 15 | janx = "Январь" 16 | febx = "Февраль" 17 | marx = "Март" 18 | aprx = "Апрель" 19 | mayx = "Май" 20 | junx = "Июнь" 21 | julx = "Июль" 22 | augx = "Август" 23 | sepx = "Сентябрь" 24 | octx = "Октябрь" 25 | novx = "Ноябрь" 26 | decx = "Декабрь" 27 | 28 | jan = "Январь" 29 | feb = "Фев." 30 | mar = "Март" 31 | apr = "Апрель" 32 | may = "Май" 33 | jun = "Июнь" 34 | jul = "Июль" 35 | aug = "Август" 36 | sep = "Сентябрь" 37 | oct = "Октябрь" 38 | nov = "Ноябрь" 39 | dec = "Декабрь" -------------------------------------------------------------------------------- /inc/core/lib/Event.php: -------------------------------------------------------------------------------- 1 | 6 | * @author Wojciech Król 7 | * @copyright 2017 Paweł Klockiewicz, Wojciech Król 8 | * @license https://batflat.org/license 9 | * @link https://batflat.org 10 | */ 11 | 12 | namespace Inc\Core\Lib; 13 | 14 | /** 15 | * Events class 16 | */ 17 | class Event 18 | { 19 | /** @var array */ 20 | protected static $events = []; 21 | 22 | /** 23 | * Add new event handler 24 | * 25 | * @param string $name 26 | * @param callable $callback 27 | * @return void 28 | */ 29 | public static function add($name, callable $callback) 30 | { 31 | static::$events[$name][] = $callback; 32 | } 33 | 34 | /** 35 | * Execute registered event handlers 36 | * 37 | * @param string $name 38 | * @param array $params 39 | * @return bool 40 | */ 41 | public static function call($name, array $params = []) 42 | { 43 | $return = true; 44 | foreach (isset_or(static::$events[$name], []) as $value) { 45 | $return = $return && (call_user_func_array($value, $params) !== false); 46 | } 47 | return $return; 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /inc/modules/blog/lang/se_swedish.ini: -------------------------------------------------------------------------------- 1 | post_draft = "Detta inlägg har utkast som status. Endast administrator kan se detta." 2 | post_time = "Denna post är inte publicerad ännu. Endast administrator kan se detta." 3 | latest_posts = "Senaste inlägg" 4 | categories = "Kategorier" 5 | readmore = "Läs mer..." 6 | share = "Dela" 7 | posted = "Skrivet av %s - %s" 8 | older = "Äldre inlägg" 9 | newer = "Nyare inlägg" 10 | no_comments = "Inga kommentarer" 11 | 12 | today = "Idag" 13 | yesterday = "Igår" 14 | 15 | janx = "Januari" 16 | febx = "Februari" 17 | marx = "Mars" 18 | aprx = "April" 19 | mayx = "Maj" 20 | junx = "Juni" 21 | julx = "Juli" 22 | augx = "Augusti" 23 | sepx = "September" 24 | octx = "Oktober" 25 | novx = "November" 26 | decx = "December" 27 | 28 | jan = "Januari" 29 | feb = "Februari" 30 | mar = "Mars" 31 | apr = "April" 32 | may = "Maj" 33 | jun = "Juni" 34 | jul = "Juli" 35 | aug = "Augusti" 36 | sep = "September" 37 | oct = "Oktober" 38 | nov = "November" 39 | dec = "December" -------------------------------------------------------------------------------- /inc/jscripts/editor/sets/html/set.min.js: -------------------------------------------------------------------------------- 1 | var markItUp_html={nameSpace:"markItUpSet-html",onShiftEnter:{keepDefault:!1,replaceWith:"
    \n"},onCtrlEnter:{keepDefault:!1,openWith:"\n

    ",closeWith:"

    "},onTab:{keepDefault:!1,replaceWith:" "},markupSet:[{key:"1",openWith:'',closeWith:""},{key:"2",openWith:'',closeWith:""},{key:"3",openWith:'',closeWith:""},{openWith:'',closeWith:"

    "},{separator:"---------------"},{key:"B",openWith:"(!(|!|)!)",closeWith:"(!(|!|)!)"},{key:"I",openWith:"(!(|!|)!)",closeWith:"(!(|!|)!)"},{key:"S",openWith:"",closeWith:""},{separator:"---------------"},{openWith:"
  • ",closeWith:"
  • ",multiline:!0,openBlockWith:"
      \n",closeBlockWith:"\n
    "},{openWith:"
  • ",closeWith:"
  • ",multiline:!0,openBlockWith:"
      \n",closeBlockWith:"\n
    "},{openWith:"
  • ",closeWith:"
  • "},{separator:"---------------"},{key:"P",replaceWith:'[![Alternative text]!]'},{key:"L",openWith:'[![Name]!]',closeWith:""},{separator:"---------------"},{className:"clean",replaceWith:function(a){return a.selection.replace(/<(.*?)>/g,"")}}],afterInsert:function(a){$(a.textarea).trigger("input")}}; -------------------------------------------------------------------------------- /inc/modules/blog/lang/pt_portuguese.ini: -------------------------------------------------------------------------------- 1 | post_draft = "Esta notícia é um rascunho. Somente o administrador pode ver." 2 | post_time = "Esta notícia ainda não foi publicada. Somente o adminitrador pode ver." 3 | latest_posts = "Últimas notícias" 4 | categories = "Categorias" 5 | readmore = "Continuar lendo" 6 | share = "Compartilhar" 7 | posted = "Escrito por %s em %s" 8 | older = "Ver mais" 9 | newer = "Voltar" 10 | no_comments = "Nenhum comentário" 11 | 12 | today = "Hoje" 13 | yesterday = "Ontem" 14 | 15 | janx = "Janeiro" 16 | febx = "Fevereiro" 17 | marx = "Março" 18 | aprx = "Abril" 19 | mayx = "Maio" 20 | junx = "Junho" 21 | julx = "Julho" 22 | augx = "Agosto" 23 | sepx = "Setembro" 24 | octx = "Outubro" 25 | novx = "Novembro" 26 | decx = "Dezembro" 27 | 28 | jan = "Janeiro" 29 | feb = "Fevereiro" 30 | mar = "Março" 31 | apr = "Abril" 32 | may = "Maio" 33 | jun = "Junho" 34 | jul = "Julho" 35 | aug = "Agosto" 36 | sep = "Setembro" 37 | oct = "Outubro" 38 | nov = "Novembro" 39 | dec = "Dezembro" -------------------------------------------------------------------------------- /inc/jscripts/editor/markitup.highlight.min.js: -------------------------------------------------------------------------------- 1 | !function(a){a.fn.highlight=function(b){function i(b,c){var d=a(b).val(),e=j(d+"\n");a(c).html(e),a(c).each(function(a,b){hljs.highlightBlock(b)})}function j(a){return a.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function k(){var b=a("
    ").css({visibility:"hidden",width:100,overflow:"scroll"}).appendTo("body"),c=a("
    ").css({width:"100%"}).appendTo(b).outerWidth();return b.remove(),100-c}if(!document.documentMode&&!window.StyleMedia&&!/Mobi/i.test(navigator.userAgent)){var c=this,d=k();if(b=a.extend({whiteSpace:"pre-wrap",lang:c.data("lang")},b),b.lang)var e=b.lang;else var e=c.closest('div[class^="markItUpSet"]').attr("class").replace("markItUpSet-","");var f=document.createElement("div");a(f).addClass("markItUpHighlight"),a(c).wrap(f);var g=document.createElement("pre");a(g).addClass("markItUpSyntax").appendTo(c.parent());var h=document.createElement("code");a(h).addClass(e).appendTo(a(g)),a(g).css("white-space",b.whiteSpace),c.css("white-space",b.whiteSpace),c.attr("spellcheck",!1),c[0].scrollHeight>c[0].clientHeight?a(h).css("right",d):a(h).css("right",0),i(c,h),c.on("input mouseup",function(){this.scrollHeight>this.clientHeight?a(h).css("right",d):a(h).css("right",0),i(this,h)}),c.scroll(function(){a(h).css({top:-c.scrollTop(),left:-c.scrollLeft()})})}}}(jQuery); -------------------------------------------------------------------------------- /inc/modules/blog/lang/fr_french.ini: -------------------------------------------------------------------------------- 1 | post_draft = "Cet article est un brouillon. Seul l’administrateur peur le voir." 2 | post_time = "Cet article n’est pas encore publié. Seul l’administrateur peur le voir." 3 | latest_posts = "Derniers articles" 4 | categories = "Catégories" 5 | readmore = "Continuer la lecture" 6 | share = "Partager" 7 | posted = "Ecrit par %s le %s" 8 | older = "Ancien article" 9 | newer = "Nouvel article" 10 | no_comments = "Pas de commentaire" 11 | 12 | today = "Aujourd’hui" 13 | yesterday = "Hier" 14 | 15 | janx = "Janvier" 16 | febx = "Février" 17 | marx = "Mars" 18 | aprx = "Avril" 19 | mayx = "Mai" 20 | junx = "Juin" 21 | julx = "Juillet" 22 | augx = "Août" 23 | sepx = "Septembre" 24 | octx = "Octobre" 25 | novx = "Novembre" 26 | decx = "Décembre" 27 | 28 | jan = "Janvier" 29 | feb = "Février" 30 | mar = "Mars" 31 | apr = "Avril" 32 | may = "Mai" 33 | jun = "Juin" 34 | jul = "Juillet" 35 | aug = "Août" 36 | sep = "Septembre" 37 | oct = "Octobre" 38 | nov = "Novembre" 39 | dec = "Décembre" -------------------------------------------------------------------------------- /inc/modules/blog/lang/id_indonesian.ini: -------------------------------------------------------------------------------- 1 | post_draft = "Artikel ini dalam status draft. Hanya admin yang dapat melihat ini." 2 | post_time = "Artikel ini belum dipublikasi. Hanya admin yang dapat melihat ini." 3 | latest_posts = "Artikel terakhir" 4 | categories = "Kategori" 5 | readmore = "Lanjutkan membaca" 6 | share = "Bagikan" 7 | posted = "Ditulis oleh %s pada %s" 8 | older = "Artikel lama" 9 | newer = "Artikel baru" 10 | no_comments = "Belum ada komentar" 11 | 12 | today = "Hari ini" 13 | yesterday = "Kemarin" 14 | 15 | janx = "Januari" 16 | febx = "Februari" 17 | marx = "Maret" 18 | aprx = "April" 19 | mayx = "Mei" 20 | junx = "Juni" 21 | julx = "Juli" 22 | augx = "Agustus" 23 | sepx = "September" 24 | octx = "Oktober" 25 | novx = "Nopember" 26 | decx = "Desember" 27 | 28 | jan = "Januari" 29 | feb = "Februari" 30 | mar = "Maret" 31 | apr = "April" 32 | may = "Mey" 33 | jun = "Juni" 34 | jul = "Juli" 35 | aug = "Agustus" 36 | sep = "September" 37 | oct = "Oktober" 38 | nov = "Nopember" 39 | dec = "Desember" -------------------------------------------------------------------------------- /inc/modules/blog/lang/nl_dutch.ini: -------------------------------------------------------------------------------- 1 | post_draft = "Dit bericht heeft de status concept. Alleen de beheerder kan dit zien." 2 | post_time = "Dit bericht is nog niet gepubliceerd. Alleen de beheerder kan dit zien." 3 | latest_posts = "Laatste berichten" 4 | categories = "Categorieën" 5 | readmore = "Verder lezen" 6 | share = "Deel" 7 | posted = "Geplaatst op %s door %s" 8 | older = "Oudere berichten" 9 | newer = "Nieuwere berichten" 10 | no_comments = "Geen reacties" 11 | 12 | today = "Vandaag" 13 | yesterday = "Gisteren" 14 | 15 | janx = "januari" 16 | febx = "februari" 17 | marx = "maart" 18 | aprx = "april" 19 | mayx = "mei" 20 | junx = "juni" 21 | julx = "juli" 22 | augx = "augustus" 23 | sepx = "september" 24 | octx = "oktober" 25 | novx = "november" 26 | decx = "december" 27 | 28 | jan = "januari" 29 | feb = "februari" 30 | mar = "maart" 31 | apr = "april" 32 | may = "mei" 33 | jun = "juni" 34 | jul = "juli" 35 | aug = "augustus" 36 | sep = "september" 37 | oct = "oktober" 38 | nov = "november" 39 | dec = "december" -------------------------------------------------------------------------------- /inc/modules/blog/lang/es_spanish.ini: -------------------------------------------------------------------------------- 1 | post_draft = "Este artículo es un borrador. Sólo el administrador puede verlo." 2 | post_time = "Este artículo no está publicado aún. Sólo el administrador puede verlo." 3 | latest_posts = "Últimos artículos" 4 | categories = "Categorías" 5 | readmore = "Continuar leyendo" 6 | share = "Compartir" 7 | posted = "Escrito por %s el %s" 8 | older = "Artículos anteriores" 9 | newer = "Artículos recientes" 10 | no_comments = "Sin comentarios" 11 | 12 | today = "Hoy" 13 | yesterday = "Ayer" 14 | 15 | janx = "Enero" 16 | febx = "Febrero" 17 | marx = "Marzo" 18 | aprx = "Abril" 19 | mayx = "Mayo" 20 | junx = "Junio" 21 | julx = "Julio" 22 | augx = "Agosto" 23 | sepx = "Septiembre" 24 | octx = "Octubre" 25 | novx = "Noviembre" 26 | decx = "Diciembre" 27 | 28 | jan = "Enero" 29 | feb = "Febrero" 30 | mar = "Marzo" 31 | apr = "Abril" 32 | may = "Mayo" 33 | jun = "Junio" 34 | jul = "Julio" 35 | aug = "Agosto" 36 | sep = "Septiembre" 37 | oct = "Octubre" 38 | nov = "Noviembre" 39 | dec = "Diciembre" -------------------------------------------------------------------------------- /inc/modules/blog/lang/it_italian.ini: -------------------------------------------------------------------------------- 1 | post_draft = "Questa è una bozza. Solo l’amministratore può vederla." 2 | post_time = "Questo articolo non è ancora stato pubblicato. Solo l’amministratore può vederlo." 3 | latest_posts = "Ultimi articoli" 4 | categories = "categorie" 5 | readmore = "Leggi tutto" 6 | share = "Condividi" 7 | posted = "Scritto da %s il %s" 8 | older = "Articoli precedenti" 9 | newer = "Articoli successivi" 10 | no_comments = "Nessun commento" 11 | 12 | today = "Oggi" 13 | yesterday = "Ieri" 14 | 15 | janx = "Gennaio" 16 | febx = "Febbraio" 17 | marx = "Marzo" 18 | aprx = "Aprile" 19 | mayx = "Maggio" 20 | junx = "Giugno" 21 | julx = "Luglio" 22 | augx = "Agosto" 23 | sepx = "Settembre" 24 | octx = "Ottobre" 25 | novx = "Novembre" 26 | decx = "Dicembre" 27 | 28 | jan = "Gennaio" 29 | feb = "Febbraio" 30 | mar = "Marzo" 31 | apr = "Aprile" 32 | may = "Maggio" 33 | jun = "Giugno" 34 | jul = "Luglio" 35 | aug = "Agosto" 36 | sep = "Settembre" 37 | oct = "Ottobre" 38 | nov = "Novembre" 39 | dec = "Dicembre" -------------------------------------------------------------------------------- /inc/modules/blog/lang/pl_polski.ini: -------------------------------------------------------------------------------- 1 | post_draft = "Ten post jest oznaczony jako szkic. Tylko admin może go zobaczyć." 2 | post_time = "Ten post nie został jeszcze opublikowany. Tylko admin może go zobaczyć." 3 | latest_posts = "Ostatnie posty" 4 | categories = "Kategorie" 5 | readmore = "Czytaj więcej" 6 | share = "Udostępnij" 7 | posted = "Napisane przez %s w dniu %s" 8 | older = "Starsze wpisy" 9 | newer = "Nowsze wpisy" 10 | no_comments = "Brak komentarzy" 11 | 12 | today = "Dziś" 13 | yesterday = "Wczoraj" 14 | 15 | janx = "Stycznia" 16 | febx = "Lutego" 17 | marx = "Marca" 18 | aprx = "Kwietnia" 19 | mayx = "Maja" 20 | junx = "Czerwca" 21 | julx = "Lipca" 22 | augx = "Sierpnia" 23 | sepx = "Września" 24 | octx = "Października" 25 | novx = "Listopada" 26 | decx = "Grudnia" 27 | 28 | jan = "Styczeń" 29 | feb = "Luty" 30 | mar = "Marzec" 31 | apr = "Kwiecień" 32 | may = "Maj" 33 | jun = "Czerwiec" 34 | jul = "Lipiec" 35 | aug = "Sierpień" 36 | sep = "Wrzesień" 37 | oct = "Październik" 38 | nov = "Listopad" 39 | dec = "Grudzień" -------------------------------------------------------------------------------- /inc/lang/tr_turkish/admin/general.ini: -------------------------------------------------------------------------------- 1 | hello = "Merhaba %s" 2 | add = "Ekle" 3 | save = "Kaydet" 4 | cancel = "İptal" 5 | say_yes = "Evet" 6 | say_no = "Hayır" 7 | close = "Kapat" 8 | manage = "Yönet" 9 | upload = "Yükle" 10 | delete = "Sil" 11 | edit = "Düzenle" 12 | change = "Değiştir" 13 | login_failure = "Kullanıcı veya parola hatalı!" 14 | login_attempts = "Fazla sayıda deneme yaptınız. Lütfen %s dakika bekleyin." 15 | sign_in = "Giriş" 16 | remember_me = "Beni hatırla" 17 | username = "Kullanıcı adı" 18 | password = "Parola" 19 | actions = "Eylemler" 20 | title = "Başlık" 21 | name = "Ad" 22 | lang = "Dil" 23 | theme = "Tema" 24 | template = "Şablon" 25 | can_be_empty = "Boş olabilir" 26 | empty_inputs = "Tüm gerekli alanları doldurun!" 27 | logout = "Güvenli çıkış" 28 | show_site = "Siteyi göster" 29 | settings = "Ayarlar" 30 | unsaved_warning = "Kaydetmediğiniz değişiklikler var! Ayrılmak istediğinize emin misiniz?" 31 | update_available = "Güncelleme var" 32 | file = "Dosya" 33 | unknown_method = "İstenen yol bulunamadı." -------------------------------------------------------------------------------- /inc/modules/statistics/phpbrowserdetector/UserAgent.php: -------------------------------------------------------------------------------- 1 | setUserAgentString($userAgentString); 19 | } 20 | } 21 | 22 | /** 23 | * @param string $userAgentString 24 | * 25 | * @return $this 26 | */ 27 | public function setUserAgentString($userAgentString) 28 | { 29 | $this->userAgentString = (string)$userAgentString; 30 | 31 | return $this; 32 | } 33 | 34 | /** 35 | * @return string 36 | */ 37 | public function getUserAgentString() 38 | { 39 | if (null === $this->userAgentString) { 40 | $this->createUserAgentString(); 41 | } 42 | 43 | return $this->userAgentString; 44 | } 45 | 46 | /** 47 | * @return string 48 | */ 49 | public function createUserAgentString() 50 | { 51 | $userAgentString = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : null; 52 | $this->setUserAgentString($userAgentString); 53 | 54 | return $userAgentString; 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /inc/lang/en_english/admin/general.ini: -------------------------------------------------------------------------------- 1 | hello = "What’s up, %s?" 2 | add = "Add" 3 | save = "Save" 4 | cancel = "Cancel" 5 | say_yes = "Yes" 6 | say_no = "No" 7 | close = "Close" 8 | manage = "Manage" 9 | upload = "Upload" 10 | delete = "Delete" 11 | edit = "Edit" 12 | change = "Change" 13 | login_failure = "Username or password is incorrect!" 14 | login_attempts = "Maximum amount of attempts reached. Wait %s minutes until next login." 15 | sign_in = "Sign in" 16 | remember_me = "Remember me" 17 | username = "Username" 18 | password = "Password" 19 | actions = "Actions" 20 | title = "Title" 21 | name = "Name" 22 | lang = "Language" 23 | theme = "Theme" 24 | template = "Template" 25 | can_be_empty = "Can be empty" 26 | empty_inputs = "Fill all required fields!" 27 | logout = "Logout" 28 | show_site = "Show website" 29 | settings = "Settings" 30 | unsaved_warning = "You have unsaved changes! Are you sure you want to leave this page?" 31 | update_available = "Update available" 32 | file = "File" 33 | unknown_method = "Requested route does not exist." 34 | empty_array = "No items to display." -------------------------------------------------------------------------------- /inc/core/lib/Autoloader.php: -------------------------------------------------------------------------------- 1 | 6 | * @author Wojciech Król 7 | * @copyright 2017 Paweł Klockiewicz, Wojciech Król 8 | * @license https://batflat.org/license 9 | * @link https://batflat.org 10 | */ 11 | 12 | require_once('functions.php'); 13 | 14 | /** 15 | * Batflat autoloader 16 | */ 17 | class Autoloader 18 | { 19 | /** 20 | * Autoload initialization 21 | * 22 | * @param string $className 23 | * @return void 24 | */ 25 | public static function init($className) 26 | { 27 | // Convert directories to lowercase and process uppercase for class files 28 | $className = explode('\\', $className); 29 | $file = array_pop($className); 30 | $file = strtolower(implode('/', $className)).'/'.$file.'.php'; 31 | 32 | if (strpos($_SERVER['SCRIPT_NAME'], '/'.ADMIN.'/') !== false) { 33 | $file = '../'.$file; 34 | } 35 | if (is_readable($file)) { 36 | require_once($file); 37 | } 38 | } 39 | } 40 | 41 | header(gz64_decode("eNqL0HUuSk0sSU3Rdaq0UnBKLEnLSSxRsEmCMPTyi9LtANXtDCw")); 42 | spl_autoload_register('Autoloader::init'); 43 | 44 | // Autoload vendors if exist 45 | if (file_exists(BASE_DIR.'/vendor/autoload.php')) { 46 | require_once(BASE_DIR.'/vendor/autoload.php'); 47 | } 48 | -------------------------------------------------------------------------------- /inc/core/lib/Widget.php: -------------------------------------------------------------------------------- 1 | 6 | * @author Wojciech Król 7 | * @copyright 2017 Paweł Klockiewicz, Wojciech Król 8 | * @license https://batflat.org/license 9 | * @link https://batflat.org 10 | */ 11 | 12 | namespace Inc\Core\Lib; 13 | 14 | /** 15 | * Widgets class 16 | */ 17 | class Widget 18 | { 19 | /** @var array Widgets collection */ 20 | protected static $widgets = []; 21 | 22 | /** 23 | * Add widget to collection 24 | * 25 | * @param string $name 26 | * @param callable $callback 27 | * @return void 28 | */ 29 | public static function add($name, callable $callback) 30 | { 31 | static::$widgets[$name][] = $callback; 32 | } 33 | 34 | /** 35 | * Execute all widgets and get content 36 | * 37 | * @param string $name 38 | * @param array $params 39 | * @return string 40 | */ 41 | public static function call($name, $params = []) 42 | { 43 | $result = []; 44 | foreach (isset_or(static::$widgets[$name], []) as $widget) { 45 | $content = call_user_func_array($widget, $params); 46 | if (is_string($content)) { 47 | $result[] = $content; 48 | } 49 | } 50 | 51 | return implode("\n", $result); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /inc/lang/id_indonesian/admin/general.ini: -------------------------------------------------------------------------------- 1 | hello = "Apa kabar %s?" 2 | add = "Tambah" 3 | save = "Simpan" 4 | cancel = "Batal" 5 | say_yes = "Ya" 6 | say_no = "Tidak" 7 | close = "Tutup" 8 | manage = "Kelola" 9 | upload = "Upload" 10 | delete = "Hapus" 11 | edit = "Sunting" 12 | change = "Ubah" 13 | login_failure = "Username atau password salah!" 14 | login_attempts = "Batas maksimum login tercapai. Tunggu %s menit untuk coba lagi." 15 | sign_in = "Masuk" 16 | remember_me = "Ingat saya" 17 | username = "Username" 18 | password = "Password" 19 | actions = "Tindakan" 20 | title = "Judul" 21 | name = "Nama" 22 | lang = "Bahasa" 23 | theme = "Tema" 24 | template = "Template" 25 | can_be_empty = "Tidak boleh kosong" 26 | empty_inputs = "Lengkapi semua kotak isian!" 27 | logout = "Logout" 28 | show_site = "Tampilkan website" 29 | settings = "Pengaturan" 30 | unsaved_warning = "Ada perubahan belum disimpan! Yakin ingin meninggalkan halaman ini?" 31 | update_available = "Update tersedia" 32 | file = "Berkas" 33 | unknown_method = "Rute yang anda diminta tidak ada." 34 | empty_array = "Tidak ada item untuk ditampilkan." -------------------------------------------------------------------------------- /inc/lang/se_swedish/admin/general.ini: -------------------------------------------------------------------------------- 1 | hello = "Läget %s?" 2 | add = "Lägg till" 3 | save = "Spara" 4 | cancel = "Avbryt" 5 | say_yes = "JA" 6 | say_no = "NEJ" 7 | close = "Stäng" 8 | manage = "Hantera" 9 | upload = "Uppladdning" 10 | delete = "Radera" 11 | edit = "Editera" 12 | change = "Ändra" 13 | login_failure = "Användarenamn eller lösenord är fel!" 14 | login_attempts = "Max antalet försök är uppnått. Vänta i %s minuter och försök igen." 15 | sign_in = "Logga in" 16 | remember_me = "Kom ihåg mig" 17 | username = "Användarnamn" 18 | password = "Lösenord" 19 | actions = "Åtgärder" 20 | title = "Title" 21 | name = "Namn" 22 | lang = "Språk" 23 | theme = "Tema" 24 | template = "Mall" 25 | can_be_empty = "Kan vara tom!" 26 | empty_inputs = "Fyll i alla fält som behövs!" 27 | logout = "Logga ut" 28 | show_site = "Visa websidan" 29 | settings = "Inställningar" 30 | unsaved_warning = "Du har osparade ändringar! Är du säker på att du vill lämna sidan?" 31 | update_available = "Uppdatering finns tillgänglig" 32 | file = "Fil" 33 | unknown_method = "Efterfrågade sökvägen finns inte." 34 | empty_array = "Inga objekt att visa." -------------------------------------------------------------------------------- /inc/lang/ru_russian/admin/general.ini: -------------------------------------------------------------------------------- 1 | hello = "Что нового, %s?" 2 | add = "Добавить" 3 | save = "Сохранить" 4 | cancel = "Сбросить" 5 | say_yes = "Да" 6 | say_no = "Нет" 7 | close = "Закрыть" 8 | manage = "Управление" 9 | upload = "Загрузка" 10 | delete = "Удалить" 11 | edit = "Редактировать" 12 | change = "Изменить" 13 | login_failure = "Неверный логин или пароль!" 14 | login_attempts = "Достигнуто максимальное количество попыток. Подождите %s минут до следующего входа." 15 | sign_in = "Вход" 16 | remember_me = "Запомнить меня" 17 | username = "Логин" 18 | password = "Пароль" 19 | actions = "Действия" 20 | title = "Заголовок" 21 | name = "Имя" 22 | lang = "Язык" 23 | theme = "Тема" 24 | template = "Оформление" 25 | can_be_empty = "Can be empty" 26 | empty_inputs = "Заполните обязательные поля!" 27 | logout = "Выйти" 28 | show_site = "Посмотреть сайт" 29 | settings = "Настройки" 30 | unsaved_warning = "Вы не сохранили изменения! Вы уверены что хотите покинуть страницу?" 31 | update_available = "Доступно обновление" 32 | file = "Файл" 33 | unknown_method = "Запрашиваемый маршрут не существует." 34 | empty_array = "Список пуст." -------------------------------------------------------------------------------- /inc/lang/pt_portuguese/admin/general.ini: -------------------------------------------------------------------------------- 1 | hello = "Firmeza, %s?" 2 | add = "Adicionar" 3 | save = "Salvar" 4 | cancel = "Cancelar" 5 | say_yes = "Sim" 6 | say_no = "Não" 7 | close = "Fechar" 8 | manage = "Gerenciar" 9 | upload = "Enviar" 10 | delete = "Deletar" 11 | edit = "Editar" 12 | change = "Modificar" 13 | login_failure = "Usuário ou senha incorreto!" 14 | login_attempts = "Máximo de tentativas atingido. Aguarde %s minutos antes de tentar novamente." 15 | sign_in = "Entrar" 16 | remember_me = "Lembrar-me" 17 | username = "Usuário" 18 | password = "Senha" 19 | actions = "Ações" 20 | title = "Título" 21 | name = "Nome" 22 | lang = "Idioma" 23 | theme = "Tema" 24 | template = "Modelo" 25 | can_be_empty = "Pode ficar vazio" 26 | empty_inputs = "Preencha todos os campos requeridos!" 27 | logout = "Sair" 28 | show_site = "Ver website" 29 | settings = "Configurações" 30 | unsaved_warning = "Você tem modificações não salvas! Tem certeza que deseja sair desta página?" 31 | update_available = "Nova versão disponível" 32 | file = "Arquivo" 33 | unknown_method = "A rota solicitada não existe." 34 | empty_array = "Nenhum item para exibir." -------------------------------------------------------------------------------- /inc/lang/es_spanish/admin/general.ini: -------------------------------------------------------------------------------- 1 | hello = "Hola, %s?" 2 | add = "Añadir" 3 | save = "Guardar" 4 | cancel = "Cancelar" 5 | say_yes = "Sí" 6 | say_no = "No" 7 | close = "Cerrar" 8 | manage = "Gestionar" 9 | upload = "Subir" 10 | delete = "Eliminar" 11 | edit = "Editar" 12 | change = "Cambiar" 13 | login_failure = "¡Usuario o contraseña incorrecta!" 14 | login_attempts = "Máximo número de intentos alcanzado. Espere %s minutos para conectarse de nuevo." 15 | sign_in = "Acceder" 16 | remember_me = "Recuérdame" 17 | username = "Usuario" 18 | password = "Contraseña" 19 | actions = "Acciones" 20 | title = "Título" 21 | name = "Nombre" 22 | lang = "Idioma" 23 | theme = "Tema" 24 | template = "Plantilla" 25 | can_be_empty = "Puede que no haya nada" 26 | empty_inputs = "¡Rellenar todos los campos solicitados!" 27 | logout = "Salir" 28 | show_site = "Ver el sitio" 29 | settings = "Parámetros" 30 | unsaved_warning = "¡Cambios sin guardarse! ¿Seguro que desea abandonar esta página?" 31 | update_available = "Actualización disponible" 32 | file = "Fichero" 33 | unknown_method = "La ruta solicitada no existe." 34 | empty_array = "Nada que mostrar." -------------------------------------------------------------------------------- /inc/lang/pl_polski/admin/general.ini: -------------------------------------------------------------------------------- 1 | hello = "Jak leci, %s?" 2 | add = "Dodaj" 3 | save = "Zapisz" 4 | cancel = "Anuluj" 5 | say_yes = "Tak" 6 | say_no = "Nie" 7 | close = "Zamknij" 8 | manage = "Zarządzanie" 9 | upload = "Wgraj" 10 | delete = "Usuń" 11 | edit = "Edytuj" 12 | change = "Zmień" 13 | login_failure = "Wprowadzono błędne dane!" 14 | login_attempts = "Przekroczono maksymalną ilość prób logowania. Odczekaj %s minut zanim spróbujesz ponownie." 15 | sign_in = "Zaloguj się" 16 | remember_me = "Zapamiętaj mnie" 17 | username = "Login" 18 | password = "Hasło" 19 | actions = "Akcje" 20 | title = "Tytuł" 21 | name = "Nazwa" 22 | lang = "Język" 23 | theme = "Motyw" 24 | template = "Szablon" 25 | can_be_empty = "Może pozostać puste" 26 | empty_inputs = "Wypełnij wszystkie wymagane pola formularza!" 27 | logout = "Wyloguj się" 28 | show_site = "Zobacz stronę" 29 | settings = "Ustawienia" 30 | unsaved_warning = "Wprowadzone dane nie zostały zapisane. Na pewno chcesz opuścić stronę?" 31 | update_available = "Dostępna aktualizacja" 32 | file = "Plik" 33 | unknown_method = "Żądany zasób nie istnieje." 34 | empty_array = "Brak obiektów do wyświetlenia." -------------------------------------------------------------------------------- /inc/lang/it_italian/admin/general.ini: -------------------------------------------------------------------------------- 1 | hello = "Ciao, %s?" 2 | add = "Aggiungi" 3 | save = "Salva" 4 | cancel = "Cancella" 5 | say_yes = "Si" 6 | say_no = "No" 7 | close = "Chiudi" 8 | manage = "Gestione" 9 | upload = "Carica" 10 | delete = "Elimina" 11 | edit = "Modifica" 12 | change = "Cambia" 13 | login_failure = "Username o password non corretta!" 14 | login_attempts = "È stato raggiunto il numero massimo di tentativi. Attendi %s minuti e riprova." 15 | sign_in = "Registrati" 16 | remember_me = "Ricordami" 17 | username = "Username" 18 | password = "Password" 19 | actions = "Azioni" 20 | title = "Titolo" 21 | name = "Nome" 22 | lang = "Lingua" 23 | theme = "Tema" 24 | template = "Template" 25 | can_be_empty = "Puoi lasciarlo vuoto" 26 | empty_inputs = "Compila tutti i campi richiesti!" 27 | logout = "Esci" 28 | show_site = "Visualizza il sito" 29 | settings = "Impostazioni" 30 | unsaved_warning = "Hai modifiche non salvate! Sei sicuro di voler lasciare la pagina?" 31 | update_available = "L’aggiornamento è disponibile" 32 | file = "File" 33 | unknown_method = "Il percorso specificato non esiste." 34 | empty_array = "Nessun elemento da visualizzare." -------------------------------------------------------------------------------- /inc/modules/carousel/Site.php: -------------------------------------------------------------------------------- 1 | 6 | * @author Wojciech Król 7 | * @copyright 2017 Paweł Klockiewicz, Wojciech Król 8 | * @license https://batflat.org/license 9 | * @link https://batflat.org 10 | */ 11 | 12 | namespace Inc\Modules\Carousel; 13 | 14 | use Inc\Core\SiteModule; 15 | 16 | class Site extends SiteModule 17 | { 18 | public function init() 19 | { 20 | $this->tpl->set('carousel', $this->_insertCarousels()); 21 | } 22 | 23 | private function _insertCarousels() 24 | { 25 | $assign = []; 26 | $tempAssign = []; 27 | $galleries = $this->db('galleries')->toArray(); 28 | 29 | if (!empty($galleries)) { 30 | foreach ($galleries as $gallery) { 31 | $items = $this->db('galleries_items')->where('gallery', $gallery['id'])->toArray(); 32 | $tempAssign = $gallery; 33 | 34 | if (count($items)) { 35 | foreach ($items as &$item) { 36 | $item['src'] = unserialize($item['src']); 37 | } 38 | 39 | $tempAssign['items'] = $items; 40 | 41 | $assign[$gallery['slug']] = $this->draw('carousel.html', ['carousel' => $tempAssign]); 42 | } 43 | } 44 | } 45 | 46 | return $assign; 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /inc/modules/statistics/phpbrowserdetector/AcceptLanguage.php: -------------------------------------------------------------------------------- 1 | setAcceptLanguageString($acceptLanguageString); 19 | } 20 | } 21 | 22 | /** 23 | * @param string $acceptLanguageString 24 | * 25 | * @return $this 26 | */ 27 | public function setAcceptLanguageString($acceptLanguageString) 28 | { 29 | $this->acceptLanguageString = $acceptLanguageString; 30 | 31 | return $this; 32 | } 33 | 34 | /** 35 | * @return string 36 | */ 37 | public function getAcceptLanguageString() 38 | { 39 | if (null === $this->acceptLanguageString) { 40 | $this->createAcceptLanguageString(); 41 | } 42 | 43 | return $this->acceptLanguageString; 44 | } 45 | 46 | /** 47 | * @return string 48 | */ 49 | public function createAcceptLanguageString() 50 | { 51 | $acceptLanguageString = isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) ? $_SERVER['HTTP_ACCEPT_LANGUAGE'] : null; 52 | $this->setAcceptLanguageString($acceptLanguageString); 53 | 54 | return $acceptLanguageString; 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /inc/modules/galleries/lang/admin/tr_turkish.ini: -------------------------------------------------------------------------------- 1 | module_name = "Galeriler" 2 | module_desc = "Resim galerileri oluşturmanızı ve yayınlamanızı sağlar." 3 | 4 | add_gallery = "Galeri ekle." 5 | edit = "Galeri düzenle" 6 | settings = "Ayarlar" 7 | delete_confirm = "Silmek istediğinizden emin misiniz?" 8 | delete_gallery_success = "Galari başarıyla silindi." 9 | delete_gallery_failure = "Galari silinemedi." 10 | add_gallery_success = "Galeri oluşturuldu." 11 | add_gallery_failure = "Yeni galeri oluşturulamadı." 12 | gallery_already_exists = "Bu isimde bir galeri zaten var." 13 | img_per_page = "Sayfa başına resim sayısı" 14 | sort = "Sırala" 15 | desc = "Azalan" 16 | asc = "Artan" 17 | add_images = "Resim ekle" 18 | thumbnail = "Küçük resim" 19 | data = "Veri" 20 | title = "Başlık" 21 | description = "Açıklama" 22 | no_files = "Yüklemek için en az bir resim silmeniz gerekli." 23 | wrong_extension = "Hatalı uzantı. İzin verilen uzantılar: %s." 24 | add_images_success = "Yeni resimler başarıyla eklendi." 25 | save_settings_success = "Galeri verileri başarıyla kaydedildi." 26 | delete_image_success = "Resim başarıyla silindi." 27 | delete_image_failure = "Resim sunucudan silinemedi. Manuel olarak silin ve CHMOD ayarlarınızı kontrol edin." 28 | image_doesnt_exists = "Resim bulunamadı!" -------------------------------------------------------------------------------- /inc/lang/nl_dutch/admin/general.ini: -------------------------------------------------------------------------------- 1 | hello = "Hoe gaat het, %s?" 2 | add = "Toevoegen" 3 | save = "Opslaan" 4 | cancel = "Annuleren" 5 | say_yes = "Ja" 6 | say_no = "Nee" 7 | close = "Sluiten" 8 | manage = "Beheer" 9 | upload = "Upload" 10 | delete = "Verwijder" 11 | edit = "Bewerk" 12 | change = "Wijzig" 13 | login_failure = "Gebruikersnaam of wachtwoord is onjuist!" 14 | login_attempts = "Maximum aantal pogingen bereikt. Wacht %s minuten voor een volgende inlogpoging." 15 | sign_in = "Inloggen" 16 | remember_me = "Onthoud mij" 17 | username = "Gebruikersnaam" 18 | password = "Wachtwoord" 19 | actions = "Acties" 20 | title = "Titel" 21 | name = "Naam" 22 | lang = "Taal" 23 | theme = "Ontwerp" 24 | template = "Sjabloon" 25 | can_be_empty = "Mag leeg zijn" 26 | empty_inputs = "Vul alle verplichte velden in!" 27 | logout = "Afmelden" 28 | show_site = "Website weergeven" 29 | settings = "Instellingen" 30 | unsaved_warning = "U heeft niet-opgeslagen wijzigingen! Weet u zeker dat u deze pagina wilt verlaten?" 31 | update_available = "Update beschikbaar" 32 | file = "Bestand" 33 | unknown_method = "Gevraagde route bestaat niet." 34 | empty_array = "Geen items om weer te geven." -------------------------------------------------------------------------------- /inc/modules/galleries/lang/admin/se_swedish.ini: -------------------------------------------------------------------------------- 1 | module_name = "Galleri" 2 | module_desc = "Skapa ett galleri och visa på sidan." 3 | 4 | add_gallery = "Lägg till galleri" 5 | edit = "Hantera galleri" 6 | settings = "Inställningar" 7 | delete_confirm = "Är du säker på att du vill radera?" 8 | delete_gallery_success = "Galleri raderades korrekt." 9 | delete_gallery_failure = "Misslyckades med attt radera galleri." 10 | add_gallery_success = "Galleri skapat." 11 | add_gallery_failure = "Kunde inte skapa ett nytt galleri." 12 | gallery_already_exists = "Ett galleri med samma namn finns redan." 13 | img_per_page = "Bilder per sida" 14 | sort = "Sortera" 15 | desc = "Fallande" 16 | asc = "Stigande" 17 | add_images = "Lägg till foto" 18 | thumbnail = "Listbild" 19 | data = "Data" 20 | title = "Titel" 21 | description = "Beskrivning" 22 | no_files = "Du måste välja minst en bild att ladda upp." 23 | wrong_extension = "En eller fler har fel filändelser. Tillåtna ändelser: %s." 24 | add_images_success = "Nya foton lades till korrekt." 25 | save_settings_success = "Galleridata sparades korrekt." 26 | delete_image_success = "Bilden raderades korrekt." 27 | delete_image_failure = "Kunde inte radera fotot från servern. Radera det manuellt och kontrollera CHMODs." 28 | image_doesnt_exists = "Bilden finns inte!" -------------------------------------------------------------------------------- /inc/modules/contact/Info.php: -------------------------------------------------------------------------------- 1 | 6 | * @author Wojciech Król 7 | * @copyright 2017 Paweł Klockiewicz, Wojciech Król 8 | * @license https://batflat.org/license 9 | * @link https://batflat.org 10 | */ 11 | 12 | return [ 13 | 'name' => $core->lang['contact']['module_name'], 14 | 'description' => $core->lang['contact']['module_desc'], 15 | 'author' => 'Sruu.pl', 16 | 'version' => '1.2', 17 | 'compatibility' => '1.3.*', 18 | 'icon' => 'envelope', 19 | 20 | 'install' => function () use ($core) { 21 | $core->db()->pdo()->exec("INSERT INTO `settings` 22 | (`module`, `field`, `value`) 23 | VALUES 24 | ('contact', 'email', 1), 25 | ('contact', 'driver', 'mail'), 26 | ('contact', 'phpmailer.server', 'smtp.example.com'), 27 | ('contact', 'phpmailer.port', '587'), 28 | ('contact', 'phpmailer.username', 'login@example.com'), 29 | ('contact', 'phpmailer.name', 'Batflat contact'), 30 | ('contact', 'phpmailer.password', 'yourpassword'), 31 | ('contact', 'checkbox.switch', '0'), 32 | ('contact', 'checkbox.content', 'I agree to the processing of personal data...')"); 33 | }, 34 | 'uninstall' => function () use ($core) { 35 | $core->db()->pdo()->exec("DELETE FROM `settings` WHERE `module` = 'contact'"); 36 | } 37 | ]; 38 | -------------------------------------------------------------------------------- /inc/modules/statistics/phpbrowserdetector/LanguageDetector.php: -------------------------------------------------------------------------------- 1 | getAcceptLanguageString(); 18 | $languages = array(); 19 | $language->setLanguages($languages); 20 | 21 | if (!empty($acceptLanguageString)) { 22 | $httpLanguages = preg_split( 23 | '/q=([\d\.]*)/', 24 | $acceptLanguageString, 25 | -1, 26 | PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE 27 | ); 28 | 29 | $key = 0; 30 | foreach (array_reverse($httpLanguages) as $value) { 31 | $value = trim($value, ',; .'); 32 | if (is_numeric($value)) { 33 | $key = $value; 34 | } else { 35 | $languages[$key] = explode(',', $value); 36 | } 37 | } 38 | krsort($languages); 39 | 40 | foreach ($languages as $value) { 41 | $language->setLanguages(array_merge($language->getLanguages(), $value)); 42 | } 43 | } 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /inc/core/SiteModule.php: -------------------------------------------------------------------------------- 1 | 6 | * @author Wojciech Król 7 | * @copyright 2017 Paweł Klockiewicz, Wojciech Król 8 | * @license https://batflat.org/license 9 | * @link https://batflat.org 10 | */ 11 | 12 | namespace Inc\Core; 13 | 14 | /** 15 | * Site class for website's module controller 16 | */ 17 | abstract class SiteModule extends BaseModule 18 | { 19 | /** 20 | * Routes declarations for Site 21 | * Moved from __construct() 22 | * 23 | * @return void 24 | */ 25 | public function routes() 26 | { 27 | } 28 | 29 | /** 30 | * Set route 31 | * 32 | * @param string $pattern 33 | * @param mixed $callback callable function or name of module method 34 | * @return void 35 | */ 36 | protected function route($pattern, $callback) 37 | { 38 | if (is_callable($callback)) { 39 | $this->core->router->set($pattern, $callback); 40 | } else { 41 | $this->core->router->set($pattern, function () use ($callback) { 42 | return call_user_func_array([$this, $callback], func_get_args()); 43 | }); 44 | } 45 | } 46 | 47 | /** 48 | * Set site template 49 | * 50 | * @param string $file 51 | * @return void 52 | */ 53 | protected function setTemplate($file) 54 | { 55 | $this->core->template = $file; 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /inc/lang/fr_french/admin/general.ini: -------------------------------------------------------------------------------- 1 | hello = "Bienvenue, %s?" 2 | add = "Ajouter" 3 | save = "Sauvegarder" 4 | cancel = "Annuler" 5 | say_yes = "Oui" 6 | say_no = "Non" 7 | close = "Fermer" 8 | manage = "Gérer" 9 | upload = "Upload" 10 | delete = "Supprimer" 11 | edit = "Modifier" 12 | change = "Changer" 13 | login_failure = "Nom d’utilisteur ou mot de passe incorrect !" 14 | login_attempts = "Le maximum de demande de connexion à été atteint. Attendez %s minutes avant de vous connecter." 15 | sign_in = "Se connecter" 16 | remember_me = "Se souvenir de moi" 17 | username = "Nom d’utilisateur" 18 | password = "Mot de passe" 19 | actions = "Actions" 20 | title = "Titre" 21 | name = "Nom" 22 | lang = "Langue" 23 | theme = "Thème" 24 | template = "Modèle" 25 | can_be_empty = "Ne peut pas être vide" 26 | empty_inputs = "Remplissez tout les champs requis !" 27 | logout = "Déconnexion" 28 | show_site = "Voir le site" 29 | settings = "Réglages" 30 | unsaved_warning = "Vous n’avez pas sauvegardé les changements ! Êtes-vous sûr de quitter cette page ?" 31 | update_available = "Mise à jour disponible" 32 | file = "Fichier" 33 | unknown_method = "La route demandée n’existe pas." 34 | empty_array = "Rien à afficher." -------------------------------------------------------------------------------- /inc/modules/galleries/lang/admin/en_english.ini: -------------------------------------------------------------------------------- 1 | module_name = "Galleries" 2 | module_desc = "Allows you to create galleries, and then display them on the page." 3 | 4 | add_gallery = "Add gallery" 5 | edit = "Edit gallery" 6 | settings = "Settings" 7 | delete_confirm = "Are you sure you want do delete?" 8 | delete_gallery_success = "Gallery successfully deleted." 9 | delete_gallery_failure = "Failed to delete gallery." 10 | add_gallery_success = "Gallery created." 11 | add_gallery_failure = "Unable to create new gallery." 12 | gallery_already_exists = "Gallery with this name already exists." 13 | img_per_page = "Pictures per page" 14 | sort = "Sort" 15 | desc = "Descending" 16 | asc = "Ascending" 17 | add_images = "Add photo" 18 | thumbnail = "Thumbnail" 19 | data = "Data" 20 | title = "Title" 21 | description = "Description" 22 | no_files = "You have to select at least one picture to upload." 23 | wrong_extension = "One ore more has incorrect extension. Allowed extensions: %s." 24 | add_images_success = "New photos successfully added." 25 | save_settings_success = "Gallery data successfully saved." 26 | delete_image_success = "Picture successfully deleted." 27 | delete_image_failure = "Unable to delete photo from server. Delete it manually and check directory CHMODs." 28 | image_doesnt_exists = "Image does not exist!" --------------------------------------------------------------------------------