Merge pull request #4 from dignajar/master

Pull request
This commit is contained in:
Edi 2017-03-14 01:32:10 +01:00 committed by GitHub
commit 94e442d843
114 changed files with 10823 additions and 5657 deletions

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2015-2017 Diego Najar
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -2,7 +2,7 @@
================================ ================================
**Fast**, **simple**, **extensible** and **flat file** CMS. **Fast**, **simple**, **extensible** and **flat file** CMS.
Bludit is a simple web application to make your own **blog** or **site** in seconds, it's completly **free and open source**. Bludit uses flat-files (text files in JSON format) to store the posts and pages, you don't need to install or configure a database. Bludit is a simple web application to make your own **blog** or **site** in seconds, it's completely **free and open source**. Bludit uses flat-files to store the posts and pages, you don't need to install or configure a database. Bludit supports **Markdown** and HTML code for the content of the posts and pages.
- [Documentation](https://docs.bludit.com) - [Documentation](https://docs.bludit.com)
- [Help and Support](https://forum.bludit.com) - [Help and Support](https://forum.bludit.com)
@ -10,6 +10,8 @@ Bludit is a simple web application to make your own **blog** or **site** in seco
- [Themes](https://themes.bludit.com) - [Themes](https://themes.bludit.com)
- [More plugins and themes](https://forum.bludit.com/viewforum.php?f=14) - [More plugins and themes](https://forum.bludit.com/viewforum.php?f=14)
[![Donate](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=S55XTNZ8YQXSA&lc=AR&item_name=BLUDIT&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted)
Social networks Social networks
--------------- ---------------
@ -23,15 +25,19 @@ Social networks
Requirements Requirements
------------ ------------
You only need a web server with PHP support. You just need a web server with PHP support.
- PHP 5.3 or higher. - PHP v5.3 or higher.
- PHP [mbstring](http://php.net/manual/en/book.mbstring.php) module for full UTF-8 support. - PHP [mbstring](http://php.net/manual/en/book.mbstring.php) module for full UTF-8 support.
- Webserver: - PHP [gd](http://php.net/manual/en/book.image.php) module for image processing.
* Apache with [mod_rewrite](http://httpd.apache.org/docs/current/mod/mod_rewrite.html) module. - PHP [dom](http://php.net/manual/en/book.dom.php) module for DOM manipulation.
* Lighttpd with [mod_rewrite](http://redmine.lighttpd.net/projects/1/wiki/docs_modrewrite) module. - PHP [json](http://php.net/manual/en/book.json.php) module for JSON manipulation.
* Nginx with [ngx_http_rewrite_module](http://nginx.org/en/docs/http/ngx_http_rewrite_module.html) module. - Supported web servers:
* PHP Built-in web server * PHP Built-in web server
* Apache with module [mod_rewrite](http://httpd.apache.org/docs/current/mod/mod_rewrite.html)
* Lighttpd with module [mod_rewrite](http://redmine.lighttpd.net/projects/1/wiki/docs_modrewrite)
* Nginx with module [ngx_http_rewrite_module](http://nginx.org/en/docs/http/ngx_http_rewrite_module.html)
* Other
Installation guide Installation guide
------------------ ------------------
@ -43,4 +49,4 @@ Installation guide
License License
------- -------
Bludit is opensource software licensed under the [MIT license](https://tldrlegal.com/license/mit-license) Bludit is open source software licensed under the [MIT license](https://tldrlegal.com/license/mit-license).

View File

@ -7,7 +7,6 @@
// ============================================================================ // ============================================================================
// Functions // Functions
// ============================================================================ // ============================================================================
function addPost($args) function addPost($args)
{ {
global $dbPosts; global $dbPosts;

View File

@ -1,664 +0,0 @@
.uk-form * {
border-radius: 2px !important;
}
.uk-tab a {
color: #2196f3 !important;
}
a {
color: #2196f3 !important;
}
/* UIKIT HACKs navbar
---------------------------------------------------------------- */
.uk-navbar {
background: #323232 !important;
border: 0 !important;
border-radius: 0 !important;
}
.uk-navbar-nav a {
border: none !important;
border-radius: none !important;
text-shadow: none !important;
color: #fff !important;
font-weight: 300 !important;
padding: 0 25px !important;
}
.uk-navbar-nav > li.uk-open > a,
.uk-navbar-nav > li:hover > a,
.uk-navbar-nav > li:focus > a,
.uk-navbar-nav > li > a:focus,
.uk-navbar-nav > li > a:hover {
background: none !important;
border-radius: 0 !important;
color: #BBBBBB !important;
box-shadow: none !important;
text-shadow: none !important;
}
.uk-nav-navbar > li > a:focus,
.uk-nav-navbar > li > a:hover {
background: none !important;
border-radius: 0 !important;
color: #888 !important;
box-shadow: none !important;
text-shadow: none !important;
}
.uk-navbar-nav > li.uk-active > a {
background: none !important;
color: #BBBBBB !important;
}
.uk-navbar-nav .uk-border-circle {
border-radius: 20px !important;
}
.uk-dropdown-navbar {
margin: 0 !important;
padding: 10px 0 !important;
position: fixed;
text-align: center;
width: 100%;
border-radius: 0 !important;
border-left: 0 !important;
border-right: 0 !important;
border-top: 0 !important;
}
.uk-dropdown-navbar li {
display: inline-block !important;
}
.uk-dropdown-navbar a {
color: #323232 !important;
}
li.bludit-logo {
color: #fff !important;
display: block;
font-size: 14px;
font-weight: 400;
height: 41px;
line-height: 40px;
margin-left: -1px;
margin-top: -1px;
margin-right: 12px;
}
.bludit-user-navbar {
background: #333 none repeat scroll 0 0;
border-color: #ccc;
border-radius: 0 0 5px 5px !important;
color: #fff;
position: absolute;
}
.bludit-user-navbar a {
color: #fff !important;
}
@media (min-width: 333px) and (max-width: 959px) {
/* Hidden the Welcome USERNAME */
.uk-navbar-flip {
display: none !important;
}
/* Expand and hidden the sidebar */
.uk-width-large-8-10 {
width: 100% !important;
}
/* Hidden the sidebar */
.uk-width-large-2-10 {
width: 0% !important;
display: none !important;
}
}
@media (min-width: 960px) {
.uk-width-large-4-5,
.uk-width-large-8-10 {
width: 75% !important;
}
.uk-width-large-1-5,
.uk-width-large-2-10 {
width: 25% !important;
}
}
/* UIKIT HACKs hidden navbar
---------------------------------------------------------------- */
.uk-navbar-brand {
text-shadow: none !important;
color: #fff !important;
}
.uk-navbar-toggle {
text-shadow: none !important;
color: #fff !important;
}
.uk-nav-offcanvas > li > a {
color: #fff !important;
}
/* UIKIT HACKs buttons
---------------------------------------------------------------- */
.uk-button {
padding: 2px 26px;
text-shadow: none;
color: #333 !important;
}
.uk-button-primary {
background: #2196f3 !important;
color: #fff !important;
}
.uk-button-primary:hover {
background: #2EA3FF;
color: #fafafa !important;
}
/* UIKIT HACKs forms
---------------------------------------------------------------- */
legend {
width: 70% !important;
margin-top: 40px !important;
}
legend.first-child {
margin-top: 0px !important;
}
.uk-form-label {
color: #666666;
font-weight: normal !important;
}
.uk-form-help-block {
color: #AAAAAA;
font-size: 0.9em;
}
.uk-table th,
.uk-table td {
padding: 15px 10px;
}
.uk-table td.children {
padding: 15px 10px 15px 25px;
}
.uk-badge {
margin-right: 5px !important;
font-size: 0.9em;
padding: 2px 7px;
font-weight: normal;
}
a {
color: #2672ec;
}
.uk-panel-box {
background: #F9F9F9 !important;
border: 0;
}
.uk-container {
max-width: 1280px !important;
}
.uk-thumbnail {
margin: 2px 3px !important;
max-width: 30% !important;
padding: 0 !important;
}
.uk-progress-bar {
background: #2672ec !important;
}
.uk-placeholder {
margin-bottom: 0 !important;
}
/* ----------- BLUDIT ----------- */
body {
overflow-y: scroll;
}
.bludit-navbar {
}
#logo {
background: #f4f4f4;
padding:20px 0;
}
h2.title {
margin: 0 0 20px 0;
}
button.delete-button {
background: none;
border: 0 none;
color: #da2727;
cursor: pointer;
font-size: 0.9em;
display: block;
margin-bottom: 10px;
}
button.delete-button:hover {
text-decoration: underline;
}
#jscontent {
height: 400px;
}
.bl-view {
margin-top: 25px;
margin-bottom: 25px;
}
table.statistics tr:last-child td {
border-bottom: none !important;
}
/* ----------- ALERT ----------- */
#alert {
bottom: 0;
color: #ffffff;
padding: 10px;
display: none;
position: fixed;
text-align: center;
z-index: 100;
right: 0;
}
.alert-ok {
background: #4374C1;
}
.alert-fail {
background: #c14343;
}
/* ----------- FORM ----------- */
.sidebar .uk-form-label {
font-size: 0.9em;
text-transform: uppercase;
}
#bludit-tags {
margin-top: 15px;
}
#bludit-tags .uk-button {
padding: 0 12px !important;
margin-left: 10px;
}
#jstagList {
margin-top: 15px;
}
#jstagList span.unselect,
#jstagList span.select {
margin-top: 5px;
margin-right: 5px;
padding: 2px 15px;
cursor: pointer;
display: inline-block;
border-radius: 3px;
background: #f1f1f1;
vertical-align: middle;
}
#jstagList span.unselect:before {
font-family: FontAwesome;
content: "\f067";
padding-right: 5px;
}
#jstagList span.unselect {
color: #AAA;
}
#jstagList span.unselect:hover {
color: #888;
}
#jstagList span.select:before {
font-family: FontAwesome;
content: "\f00c";
padding-right: 5px;
}
#jstagList span.select {
color: #2196f3;
padding: 2px 13px;
}
/* ----------- BLUDIT IMAGES V8 ----------- */
#bludit-images-v8 {
}
#bludit-images-v8 .bludit-thumbnail {
border: 1px solid #ddd;
border-radius: 4px;
box-sizing: border-box;
display: inline-block;
height: auto;
margin: 2px;
padding: 0;
width: 15% !important;
}
#bludit-images-v8-upload {
width: 100%;
padding: 0;
margin-bottom: 15px !important;
}
#bludit-images-v8-drag-drop {
padding: 20px;
}
#bludit-images-v8-progressbar {
display: none;
margin: 20px;
}
#bludit-images-v8-thumbnails {
max-height: 350px;
overflow: auto;
font-size: 0;
}
/* Bludit Menu v8 */
#bludit-menuV8 {
display: none;
z-index: 1020;
position: absolute;
overflow: hidden;
border: 1px solid #CCC;
background: #FFF;
color: #333;
border-radius: 2px;
list-style-type: none;
padding: 5px;
margin: 0;
}
#bludit-menuV8 li {
padding: 8px 12px;
cursor: pointer;
}
#bludit-menuV8 li:hover {
background-color: #2672ec;
color: #fff;
}
#bludit-menuV8 li i {
margin-right: 10px;
}
/* ----------- BLUDIT QUICK IMAGES ----------- */
#bludit-quick-images {
}
#bludit-quick-images a.moreImages {
margin: 15px 0 0;
width: 100%;
background: #F5F5F5 !important;
color: #555;
}
#bludit-quick-images h4.label {
background: #f8f8f8;
color: #aaa;
padding: 2px 5px;
font-size: 0.9em;
}
#bludit-quick-images-thumbnails {
font-size: 0;
}
#bludit-quick-images .bludit-thumbnail {
border: 1px solid #ddd;
border-radius: 4px;
box-sizing: border-box;
display: inline-block;
height: auto;
margin: 2px;
padding: 0;
width: 31% !important;
}
/* ----------- BLUDIT COVER IMAGE ----------- */
#bludit-cover-image {
}
#cover-image-thumbnail {
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
color: #666;
height: 130px;
padding: 0;
width: 100%;
}
#cover-image-upload {
color: #999;
position: relative;
top: 35%;
}
#cover-image-delete {
background: rgba(255, 255, 255, 0.7);
bottom: 0;
color: #000;
display: none;
font-size: 2.2em;
padding: 4px 10px;
position: absolute;
right: 0;
cursor: pointer;
}
#cover-image-progressbar {
display: none;
left: 5%;
position: relative;
top: 33%;
width: 90%;
}
/* ----------- BLUDIT PROFILE PICTURE ----------- */
#bludit-profile-picture-drag-drop {
width: 100%;
padding: 15px 0;
}
#bludit-profile-picture-progressbar {
display: none;
margin: 15px 0 0;
width: 100%;
}
/* ----------- LOGIN FORM ----------- */
div.login-box > h1 {
font-weight: lighter;
letter-spacing: 4px;
margin-bottom: 50px;
}
div.login-form {
background: #f1f1f1 none repeat scroll 0 0;
padding: 20px;
width: 400px;
}
/* ----------- DASHBOARD ----------- */
div.dashboard-links {
margin: 0 0 25px 0;
}
div.dashboard-links h4 {
margin-bottom: -8px !important;
}
div.dashboard-links a {
color: #555;
}
/* NEW POST */
h3.titleOptions {
font-size: 1em;
}
/* ----------- PLUGIN LIST / THEME LIST ----------- */
tr.plugin-installed,
tr.theme-installed {
background: #F2F7FF !important;
}
div.plugin-links > a {
display: inline-block;
margin-top: 5px;
}
div.plugin-links > span.separator {
color: #ccc;
}
.label-draft,
.label-empty-title,
.label-time {
background: #2672ec none repeat scroll 0 0;
border-radius: 2px;
color: #ffffff;
display: inline-block;
padding: 0 8px;
text-align: center;
vertical-align: middle;
margin-right: 5px;
font-size: 0.9em;
}
.label-empty-title {
background: #ED8F26;
}
.label-time {
font-style: italic;
background: #ED3A26;
}
/* ----------- PAGINATOR ----------- */
#paginator ul {
list-style-type: none;
margin: 15px 0;
padding: 0;
font-size: 0.9em;
text-align: center;
}
#paginator a {
color: #2672ec;
}
#paginator li {
display: inline;
float: none !important;
}
#paginator li.left {
margin-right: 10px;
}
#paginator li.list {
background: #e0e0e0;
color: #747474;
padding: 2px 11px;
margin: 0px 15px;
}
#paginator li.right {
margin-left: 10px;
}
/* ----------- PLUGINS FORM ----------- */
#jsformplugin div {
margin-bottom: 1.1em;
}
#jsformplugin label {
margin: 0 0 5px 0 !important;
display: block;
}
#jsformplugin div.tip {
font-size: 0.9em;
color: #AAAAAA;
}
#jsformplugin textarea {
min-width: 400px;
width: 60%;
min-height: 100px;
}
#jsformplugin input[type=text] {
min-width: 400px;
width: 60%;
height: 37px;
}
#jsformplugin input[type="checkbox"] {
vertical-align: middle;
margin-left: 0px;
margin-right: 10px;
}
#jsformplugin label.forCheckbox {
margin-left: 3px;
margin-bottom: 0px !important;
display: inline-block;
}
#jsformplugin p {
margin-bottom: 0;
}

View File

@ -33,6 +33,11 @@
background: #A979D1; background: #A979D1;
} }
.uk-tab-responsive > a::before {
content: "\f078";
padding-right: 3px;
}
/* UIKIT HACKs tabs /* UIKIT HACKs tabs
---------------------------------------------------------------- */ ---------------------------------------------------------------- */
@ -204,9 +209,36 @@ div.dashboard-links h4 {
font-size: 0.9em !important; font-size: 0.9em !important;
} }
.bl-publish-sidebar ul {
margin: 0;
padding: 0;
}
.bl-publish-sidebar li {
margin: 0;
padding: 0;
list-style: none;
}
.bl-publish-sidebar li:not(:first-child) {
margin-top: 10px;
}
.bl-publish-sidebar .uk-form-label { .bl-publish-sidebar .uk-form-label {
font-size: 0.9em; font-size: 0.9em;
text-transform: uppercase; text-transform: uppercase;
font-weight: normal;
}
.bl-publish-sidebar .sidebar-view {
display: none;
}
.bl-publish-sidebar h2.sidebar-button {
font-size: 0.9em;
text-transform: uppercase;
border-bottom: 1px solid #ddd;
cursor: pointer;
} }
.uk-form legend { .uk-form legend {
@ -232,6 +264,11 @@ button.aslink:hover {
text-decoration: underline; text-decoration: underline;
} }
/* TABLE
---------------------------------------------------------------- */
.uk-table td.children {
padding-left: 20px;
}
/* RESPONSIVE /* RESPONSIVE
---------------------------------------------------------------- */ ---------------------------------------------------------------- */
@ -330,19 +367,19 @@ table.statistics tr:last-child td {
} }
#bludit-tags .uk-button { #bludit-tags .uk-button {
padding: 0 12px !important; margin-top: 5px;
margin-left: 10px;
} }
#jstagList { #jstagList {
margin-top: 15px; margin-top: 15px;
font-size: 0.9em;
} }
#jstagList span.unselect, #jstagList span.unselect,
#jstagList span.select { #jstagList span.select {
margin-top: 5px; margin-top: 7px;
margin-right: 5px; margin-right: 7px;
padding: 2px 15px; padding: 1px 15px;
cursor: pointer; cursor: pointer;
display: inline-block; display: inline-block;
border-radius: 3px; border-radius: 3px;

View File

@ -79,7 +79,7 @@ $(document).ready(function() {
<a href="" class="bl-brand">BLUDIT</a> <a href="" class="bl-brand">BLUDIT</a>
<div class="bl-navbar-right"> <div class="bl-navbar-right">
Welcome <?php echo $Login->username() ?> - <?php $L->p('Welcome') ?> <?php echo $Login->username() ?> -
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'logout' ?>"><?php $L->p('Logout') ?></a> <a href="<?php echo HTML_PATH_ADMIN_ROOT.'logout' ?>"><?php $L->p('Logout') ?></a>
</div> </div>
</nav> </nav>
@ -151,6 +151,20 @@ $(document).ready(function() {
?> ?>
</div> </div>
<?php
if( AUTO_SCROLL ) {
?>
<script>
// Auto scroll
$(document).ready(function () {
$('html, body').animate({
scrollTop: $('#bl-view').offset().top
}, 'slow');
});
</script>
<?php
}
?>
</div> </div>
<!-- Javascript --> <!-- Javascript -->

View File

@ -4,7 +4,9 @@ class HTML {
public static function title($args) public static function title($args)
{ {
$html = '<h2 class="title"><i class="uk-icon-'.$args['icon'].'"></i> '.$args['title'].'</h2>'; $id = empty($args['id']) ? '' : 'id="'.$args['id'].'"';
$html = '<h2 class="title" '.$id.'><i class="uk-icon-'.$args['icon'].'"></i> '.$args['title'].'</h2>';
echo $html; echo $html;
} }
@ -81,7 +83,7 @@ class HTML {
$html .= '<label for="jstagInput" class="uk-form-label">'.$args['label'].'</label>'; $html .= '<label for="jstagInput" class="uk-form-label">'.$args['label'].'</label>';
$html .= '<div class="uk-form-controls">'; $html .= '<div class="uk-form-controls">';
$html .= '<input id="jstagInput" type="text" class="uk-width-1-2" autocomplete="off">'; $html .= '<input id="jstagInput" type="text" class="uk-width-1-1" autocomplete="off">';
$html .= '<button id="jstagAdd" class="uk-button">'.$L->g('Add').'</button>'; $html .= '<button id="jstagAdd" class="uk-button">'.$L->g('Add').'</button>';
$html .= '<div id="jstagList">'; $html .= '<div id="jstagList">';
@ -357,7 +359,7 @@ $(document).ready(function() {
type: "json", type: "json",
action: HTML_PATH_ADMIN_ROOT+"ajax/uploader", action: HTML_PATH_ADMIN_ROOT+"ajax/uploader",
allow : "*.(jpg|jpeg|gif|png)", allow : "*.(jpg|jpeg|gif|png)",
params: {"type":"profilePicture", "username":"'.$username.'"}, params: {"tokenCSRF":tokenCSRF, "type":"profilePicture", "username":"'.$username.'"},
loadstart: function() { loadstart: function() {
$("#bludit-profile-picture-progressbar").find(".uk-progress-bar").css("width", "0%").text("0%"); $("#bludit-profile-picture-progressbar").find(".uk-progress-bar").css("width", "0%").text("0%");

View File

@ -1,664 +0,0 @@
.uk-form * {
border-radius: 2px !important;
}
.uk-tab a {
color: #2196f3 !important;
}
a {
color: #2196f3 !important;
}
/* UIKIT HACKs navbar
---------------------------------------------------------------- */
.uk-navbar {
background: #323232 !important;
border: 0 !important;
border-radius: 0 !important;
}
.uk-navbar-nav a {
border: none !important;
border-radius: none !important;
text-shadow: none !important;
color: #fff !important;
font-weight: 300 !important;
padding: 0 25px !important;
}
.uk-navbar-nav > li.uk-open > a,
.uk-navbar-nav > li:hover > a,
.uk-navbar-nav > li:focus > a,
.uk-navbar-nav > li > a:focus,
.uk-navbar-nav > li > a:hover {
background: none !important;
border-radius: 0 !important;
color: #BBBBBB !important;
box-shadow: none !important;
text-shadow: none !important;
}
.uk-nav-navbar > li > a:focus,
.uk-nav-navbar > li > a:hover {
background: none !important;
border-radius: 0 !important;
color: #888 !important;
box-shadow: none !important;
text-shadow: none !important;
}
.uk-navbar-nav > li.uk-active > a {
background: none !important;
color: #BBBBBB !important;
}
.uk-navbar-nav .uk-border-circle {
border-radius: 20px !important;
}
.uk-dropdown-navbar {
margin: 0 !important;
padding: 10px 0 !important;
position: fixed;
text-align: center;
width: 100%;
border-radius: 0 !important;
border-left: 0 !important;
border-right: 0 !important;
border-top: 0 !important;
}
.uk-dropdown-navbar li {
display: inline-block !important;
}
.uk-dropdown-navbar a {
color: #323232 !important;
}
li.bludit-logo {
color: #fff !important;
display: block;
font-size: 14px;
font-weight: 400;
height: 41px;
line-height: 40px;
margin-left: -1px;
margin-top: -1px;
margin-right: 12px;
}
.bludit-user-navbar {
background: #333 none repeat scroll 0 0;
border-color: #ccc;
border-radius: 0 0 5px 5px !important;
color: #fff;
position: absolute;
}
.bludit-user-navbar a {
color: #fff !important;
}
@media (min-width: 333px) and (max-width: 959px) {
/* Hidden the Welcome USERNAME */
.uk-navbar-flip {
display: none !important;
}
/* Expand and hidden the sidebar */
.uk-width-large-8-10 {
width: 100% !important;
}
/* Hidden the sidebar */
.uk-width-large-2-10 {
width: 0% !important;
display: none !important;
}
}
@media (min-width: 960px) {
.uk-width-large-4-5,
.uk-width-large-8-10 {
width: 75% !important;
}
.uk-width-large-1-5,
.uk-width-large-2-10 {
width: 25% !important;
}
}
/* UIKIT HACKs hidden navbar
---------------------------------------------------------------- */
.uk-navbar-brand {
text-shadow: none !important;
color: #fff !important;
}
.uk-navbar-toggle {
text-shadow: none !important;
color: #fff !important;
}
.uk-nav-offcanvas > li > a {
color: #fff !important;
}
/* UIKIT HACKs buttons
---------------------------------------------------------------- */
.uk-button {
padding: 2px 26px;
text-shadow: none;
color: #333 !important;
}
.uk-button-primary {
background: #2196f3 !important;
color: #fff !important;
}
.uk-button-primary:hover {
background: #2EA3FF;
color: #fafafa !important;
}
/* UIKIT HACKs forms
---------------------------------------------------------------- */
legend {
width: 70% !important;
margin-top: 40px !important;
}
legend.first-child {
margin-top: 0px !important;
}
.uk-form-label {
color: #666666;
font-weight: normal !important;
}
.uk-form-help-block {
color: #AAAAAA;
font-size: 0.9em;
}
.uk-table th,
.uk-table td {
padding: 15px 10px;
}
.uk-table td.children {
padding: 15px 10px 15px 25px;
}
.uk-badge {
margin-right: 5px !important;
font-size: 0.9em;
padding: 2px 7px;
font-weight: normal;
}
a {
color: #2672ec;
}
.uk-panel-box {
background: #F9F9F9 !important;
border: 0;
}
.uk-container {
max-width: 1280px !important;
}
.uk-thumbnail {
margin: 2px 3px !important;
max-width: 30% !important;
padding: 0 !important;
}
.uk-progress-bar {
background: #2672ec !important;
}
.uk-placeholder {
margin-bottom: 0 !important;
}
/* ----------- BLUDIT ----------- */
body {
overflow-y: scroll;
}
.bludit-navbar {
}
#logo {
background: #f4f4f4;
padding:20px 0;
}
h2.title {
margin: 0 0 20px 0;
}
button.delete-button {
background: none;
border: 0 none;
color: #da2727;
cursor: pointer;
font-size: 0.9em;
display: block;
margin-bottom: 10px;
}
button.delete-button:hover {
text-decoration: underline;
}
#jscontent {
height: 400px;
}
.bl-view {
margin-top: 25px;
margin-bottom: 25px;
}
table.statistics tr:last-child td {
border-bottom: none !important;
}
/* ----------- ALERT ----------- */
#alert {
bottom: 0;
color: #ffffff;
padding: 10px;
display: none;
position: fixed;
text-align: center;
z-index: 100;
right: 0;
}
.alert-ok {
background: #4374C1;
}
.alert-fail {
background: #c14343;
}
/* ----------- FORM ----------- */
.sidebar .uk-form-label {
font-size: 0.9em;
text-transform: uppercase;
}
#bludit-tags {
margin-top: 15px;
}
#bludit-tags .uk-button {
padding: 0 12px !important;
margin-left: 10px;
}
#jstagList {
margin-top: 15px;
}
#jstagList span.unselect,
#jstagList span.select {
margin-top: 5px;
margin-right: 5px;
padding: 2px 15px;
cursor: pointer;
display: inline-block;
border-radius: 3px;
background: #f1f1f1;
vertical-align: middle;
}
#jstagList span.unselect:before {
font-family: FontAwesome;
content: "\f067";
padding-right: 5px;
}
#jstagList span.unselect {
color: #AAA;
}
#jstagList span.unselect:hover {
color: #888;
}
#jstagList span.select:before {
font-family: FontAwesome;
content: "\f00c";
padding-right: 5px;
}
#jstagList span.select {
color: #2196f3;
padding: 2px 13px;
}
/* ----------- BLUDIT IMAGES V8 ----------- */
#bludit-images-v8 {
}
#bludit-images-v8 .bludit-thumbnail {
border: 1px solid #ddd;
border-radius: 4px;
box-sizing: border-box;
display: inline-block;
height: auto;
margin: 2px;
padding: 0;
width: 15% !important;
}
#bludit-images-v8-upload {
width: 100%;
padding: 0;
margin-bottom: 15px !important;
}
#bludit-images-v8-drag-drop {
padding: 20px;
}
#bludit-images-v8-progressbar {
display: none;
margin: 20px;
}
#bludit-images-v8-thumbnails {
max-height: 350px;
overflow: auto;
font-size: 0;
}
/* Bludit Menu v8 */
#bludit-menuV8 {
display: none;
z-index: 1020;
position: absolute;
overflow: hidden;
border: 1px solid #CCC;
background: #FFF;
color: #333;
border-radius: 2px;
list-style-type: none;
padding: 5px;
margin: 0;
}
#bludit-menuV8 li {
padding: 8px 12px;
cursor: pointer;
}
#bludit-menuV8 li:hover {
background-color: #2672ec;
color: #fff;
}
#bludit-menuV8 li i {
margin-right: 10px;
}
/* ----------- BLUDIT QUICK IMAGES ----------- */
#bludit-quick-images {
}
#bludit-quick-images a.moreImages {
margin: 15px 0 0;
width: 100%;
background: #F5F5F5 !important;
color: #555;
}
#bludit-quick-images h4.label {
background: #f8f8f8;
color: #aaa;
padding: 2px 5px;
font-size: 0.9em;
}
#bludit-quick-images-thumbnails {
font-size: 0;
}
#bludit-quick-images .bludit-thumbnail {
border: 1px solid #ddd;
border-radius: 4px;
box-sizing: border-box;
display: inline-block;
height: auto;
margin: 2px;
padding: 0;
width: 31% !important;
}
/* ----------- BLUDIT COVER IMAGE ----------- */
#bludit-cover-image {
}
#cover-image-thumbnail {
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
color: #666;
height: 130px;
padding: 0;
width: 100%;
}
#cover-image-upload {
color: #999;
position: relative;
top: 35%;
}
#cover-image-delete {
background: rgba(255, 255, 255, 0.7);
bottom: 0;
color: #000;
display: none;
font-size: 2.2em;
padding: 4px 10px;
position: absolute;
right: 0;
cursor: pointer;
}
#cover-image-progressbar {
display: none;
left: 5%;
position: relative;
top: 33%;
width: 90%;
}
/* ----------- BLUDIT PROFILE PICTURE ----------- */
#bludit-profile-picture-drag-drop {
width: 100%;
padding: 15px 0;
}
#bludit-profile-picture-progressbar {
display: none;
margin: 15px 0 0;
width: 100%;
}
/* ----------- LOGIN FORM ----------- */
div.login-box > h1 {
font-weight: lighter;
letter-spacing: 4px;
margin-bottom: 50px;
}
div.login-form {
background: #f1f1f1 none repeat scroll 0 0;
padding: 20px;
width: 400px;
}
/* ----------- DASHBOARD ----------- */
div.dashboard-links {
margin: 0 0 25px 0;
}
div.dashboard-links h4 {
margin-bottom: -8px !important;
}
div.dashboard-links a {
color: #555;
}
/* NEW POST */
h3.titleOptions {
font-size: 1em;
}
/* ----------- PLUGIN LIST / THEME LIST ----------- */
tr.plugin-installed,
tr.theme-installed {
background: #F2F7FF !important;
}
div.plugin-links > a {
display: inline-block;
margin-top: 5px;
}
div.plugin-links > span.separator {
color: #ccc;
}
.label-draft,
.label-empty-title,
.label-time {
background: #2672ec none repeat scroll 0 0;
border-radius: 2px;
color: #ffffff;
display: inline-block;
padding: 0 8px;
text-align: center;
vertical-align: middle;
margin-right: 5px;
font-size: 0.9em;
}
.label-empty-title {
background: #ED8F26;
}
.label-time {
font-style: italic;
background: #ED3A26;
}
/* ----------- PAGINATOR ----------- */
#paginator ul {
list-style-type: none;
margin: 15px 0;
padding: 0;
font-size: 0.9em;
text-align: center;
}
#paginator a {
color: #2672ec;
}
#paginator li {
display: inline;
float: none !important;
}
#paginator li.left {
margin-right: 10px;
}
#paginator li.list {
background: #e0e0e0;
color: #747474;
padding: 2px 11px;
margin: 0px 15px;
}
#paginator li.right {
margin-left: 10px;
}
/* ----------- PLUGINS FORM ----------- */
#jsformplugin div {
margin-bottom: 1.1em;
}
#jsformplugin label {
margin: 0 0 5px 0 !important;
display: block;
}
#jsformplugin div.tip {
font-size: 0.9em;
color: #AAAAAA;
}
#jsformplugin textarea {
min-width: 400px;
width: 60%;
min-height: 100px;
}
#jsformplugin input[type=text] {
min-width: 400px;
width: 60%;
height: 37px;
}
#jsformplugin input[type="checkbox"] {
vertical-align: middle;
margin-left: 0px;
margin-right: 10px;
}
#jsformplugin label.forCheckbox {
margin-left: 3px;
margin-bottom: 0px !important;
display: inline-block;
}
#jsformplugin p {
margin-bottom: 0;
}

File diff suppressed because one or more lines are too long

View File

@ -1,68 +0,0 @@
/* ----------- UIKIT HACKs FOR BLUDIT ----------- */
html {
background: #F7F7F7;
}
.uk-form * {
border-radius: 2px !important;
}
.uk-button-primary {
background: #444;
}
.uk-button-primary:hover {
background: #333;
}
input[type="text"],
input[type="password"] {
border-color: #EBEBEB !important;
border-radius: 2px !important;
color: #333;
}
input:disabled {
background: #ccc;
}
.uk-vertical-align-middle {
margin-top: -150px;
}
.uk-panel {
background: #ffffff;
display: block;
margin: 20px 0;
padding: 20px;
position: relative;
text-align: left;
}
/* ----------- BLUDIT ----------- */
h1.title {
font-weight: lighter;
letter-spacing: 4px;
text-transform: uppercase;
}
h3 {
margin-top: 0px !important;
}
.content {
}
#jsshowPassword {
color: #999;
cursor: pointer;
font-size: 1em;
margin-top: 10px;
}
#jscompleteEmail {
cursor: pointer;
text-decoration: underline;
}

View File

@ -1,568 +0,0 @@
.xdsoft_datetimepicker {
box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.506);
background: #fff;
border-bottom: 1px solid #bbb;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
border-top: 1px solid #ccc;
color: #333;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
padding: 8px;
padding-left: 0;
padding-top: 2px;
position: absolute;
z-index: 9999;
-moz-box-sizing: border-box;
box-sizing: border-box;
display: none;
}
.xdsoft_datetimepicker.xdsoft_rtl {
padding: 8px 0 8px 8px;
}
.xdsoft_datetimepicker iframe {
position: absolute;
left: 0;
top: 0;
width: 75px;
height: 210px;
background: transparent;
border: none;
}
/*For IE8 or lower*/
.xdsoft_datetimepicker button {
border: none !important;
}
.xdsoft_noselect {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
}
.xdsoft_noselect::selection { background: transparent }
.xdsoft_noselect::-moz-selection { background: transparent }
.xdsoft_datetimepicker.xdsoft_inline {
display: inline-block;
position: static;
box-shadow: none;
}
.xdsoft_datetimepicker * {
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
margin: 0;
}
.xdsoft_datetimepicker .xdsoft_datepicker, .xdsoft_datetimepicker .xdsoft_timepicker {
display: none;
}
.xdsoft_datetimepicker .xdsoft_datepicker.active, .xdsoft_datetimepicker .xdsoft_timepicker.active {
display: block;
}
.xdsoft_datetimepicker .xdsoft_datepicker {
width: 224px;
float: left;
margin-left: 8px;
}
.xdsoft_datetimepicker.xdsoft_rtl .xdsoft_datepicker {
float: right;
margin-right: 8px;
margin-left: 0;
}
.xdsoft_datetimepicker.xdsoft_showweeks .xdsoft_datepicker {
width: 256px;
}
.xdsoft_datetimepicker .xdsoft_timepicker {
width: 58px;
float: left;
text-align: center;
margin-left: 8px;
margin-top: 0;
}
.xdsoft_datetimepicker.xdsoft_rtl .xdsoft_timepicker {
float: right;
margin-right: 8px;
margin-left: 0;
}
.xdsoft_datetimepicker .xdsoft_datepicker.active+.xdsoft_timepicker {
margin-top: 8px;
margin-bottom: 3px
}
.xdsoft_datetimepicker .xdsoft_mounthpicker {
position: relative;
text-align: center;
}
.xdsoft_datetimepicker .xdsoft_label i,
.xdsoft_datetimepicker .xdsoft_prev,
.xdsoft_datetimepicker .xdsoft_next,
.xdsoft_datetimepicker .xdsoft_today_button {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAeCAYAAADaW7vzAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6Q0NBRjI1NjM0M0UwMTFFNDk4NkFGMzJFQkQzQjEwRUIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6Q0NBRjI1NjQ0M0UwMTFFNDk4NkFGMzJFQkQzQjEwRUIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpDQ0FGMjU2MTQzRTAxMUU0OTg2QUYzMkVCRDNCMTBFQiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpDQ0FGMjU2MjQzRTAxMUU0OTg2QUYzMkVCRDNCMTBFQiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PoNEP54AAAIOSURBVHja7Jq9TsMwEMcxrZD4WpBYeKUCe+kTMCACHZh4BFfHO/AAIHZGFhYkBBsSEqxsLCAgXKhbXYOTxh9pfJVP+qutnZ5s/5Lz2Y5I03QhWji2GIcgAokWgfCxNvcOCCGKqiSqhUp0laHOne05vdEyGMfkdxJDVjgwDlEQgYQBgx+ULJaWSXXS6r/ER5FBVR8VfGftTKcITNs+a1XpcFoExREIDF14AVIFxgQUS+h520cdud6wNkC0UBw6BCO/HoCYwBhD8QCkQ/x1mwDyD4plh4D6DDV0TAGyo4HcawLIBBSLDkHeH0Mg2yVP3l4TQMZQDDsEOl/MgHQqhMNuE0D+oBh0CIr8MAKyazBH9WyBuKxDWgbXfjNf32TZ1KWm/Ap1oSk/R53UtQ5xTh3LUlMmT8gt6g51Q9p+SobxgJQ/qmsfZhWywGFSl0yBjCLJCMgXail3b7+rumdVJ2YRss4cN+r6qAHDkPWjPjdJCF4n9RmAD/V9A/Wp4NQassDjwlB6XBiCxcJQWmZZb8THFilfy/lfrTvLghq2TqTHrRMTKNJ0sIhdo15RT+RpyWwFdY96UZ/LdQKBGjcXpcc1AlSFEfLmouD+1knuxBDUVrvOBmoOC/rEcN7OQxKVeJTCiAdUzUJhA2Oez9QTkp72OTVcxDcXY8iKNkxGAJXmJCOQwOa6dhyXsOa6XwEGAKdeb5ET3rQdAAAAAElFTkSuQmCC);
}
.xdsoft_datetimepicker .xdsoft_label i {
opacity: 0.5;
background-position: -92px -19px;
display: inline-block;
width: 9px;
height: 20px;
vertical-align: middle;
}
.xdsoft_datetimepicker .xdsoft_prev {
float: left;
background-position: -20px 0;
}
.xdsoft_datetimepicker .xdsoft_today_button {
float: left;
background-position: -70px 0;
margin-left: 5px;
}
.xdsoft_datetimepicker .xdsoft_next {
float: right;
background-position: 0 0;
}
.xdsoft_datetimepicker .xdsoft_next,
.xdsoft_datetimepicker .xdsoft_prev ,
.xdsoft_datetimepicker .xdsoft_today_button {
background-color: transparent;
background-repeat: no-repeat;
border: 0 none;
cursor: pointer;
display: block;
height: 30px;
opacity: 0.5;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
outline: medium none;
overflow: hidden;
padding: 0;
position: relative;
text-indent: 100%;
white-space: nowrap;
width: 20px;
min-width: 0;
}
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_prev,
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_next {
float: none;
background-position: -40px -15px;
height: 15px;
width: 30px;
display: block;
margin-left: 14px;
margin-top: 7px;
}
.xdsoft_datetimepicker.xdsoft_rtl .xdsoft_timepicker .xdsoft_prev,
.xdsoft_datetimepicker.xdsoft_rtl .xdsoft_timepicker .xdsoft_next {
float: none;
margin-left: 0;
margin-right: 14px;
}
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_prev {
background-position: -40px 0;
margin-bottom: 7px;
margin-top: 0;
}
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box {
height: 151px;
overflow: hidden;
border-bottom: 1px solid #ddd;
}
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div {
background: #f5f5f5;
border-top: 1px solid #ddd;
color: #666;
font-size: 12px;
text-align: center;
border-collapse: collapse;
cursor: pointer;
border-bottom-width: 0;
height: 25px;
line-height: 25px;
}
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div > div:first-child {
border-top-width: 0;
}
.xdsoft_datetimepicker .xdsoft_today_button:hover,
.xdsoft_datetimepicker .xdsoft_next:hover,
.xdsoft_datetimepicker .xdsoft_prev:hover {
opacity: 1;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
.xdsoft_datetimepicker .xdsoft_label {
display: inline;
position: relative;
z-index: 9999;
margin: 0;
padding: 5px 3px;
font-size: 14px;
line-height: 20px;
font-weight: bold;
background-color: #fff;
float: left;
width: 182px;
text-align: center;
cursor: pointer;
}
.xdsoft_datetimepicker .xdsoft_label:hover>span {
text-decoration: underline;
}
.xdsoft_datetimepicker .xdsoft_label:hover i {
opacity: 1.0;
}
.xdsoft_datetimepicker .xdsoft_label > .xdsoft_select {
border: 1px solid #ccc;
position: absolute;
right: 0;
top: 30px;
z-index: 101;
display: none;
background: #fff;
max-height: 160px;
overflow-y: hidden;
}
.xdsoft_datetimepicker .xdsoft_label > .xdsoft_select.xdsoft_monthselect{ right: -7px }
.xdsoft_datetimepicker .xdsoft_label > .xdsoft_select.xdsoft_yearselect{ right: 2px }
.xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option:hover {
color: #fff;
background: #ff8000;
}
.xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option {
padding: 2px 10px 2px 5px;
text-decoration: none !important;
}
.xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option.xdsoft_current {
background: #33aaff;
box-shadow: #178fe5 0 1px 3px 0 inset;
color: #fff;
font-weight: 700;
}
.xdsoft_datetimepicker .xdsoft_month {
width: 100px;
text-align: right;
}
.xdsoft_datetimepicker .xdsoft_calendar {
clear: both;
}
.xdsoft_datetimepicker .xdsoft_year{
width: 48px;
margin-left: 5px;
}
.xdsoft_datetimepicker .xdsoft_calendar table {
border-collapse: collapse;
width: 100%;
}
.xdsoft_datetimepicker .xdsoft_calendar td > div {
padding-right: 5px;
}
.xdsoft_datetimepicker .xdsoft_calendar th {
height: 25px;
}
.xdsoft_datetimepicker .xdsoft_calendar td,.xdsoft_datetimepicker .xdsoft_calendar th {
width: 14.2857142%;
background: #f5f5f5;
border: 1px solid #ddd;
color: #666;
font-size: 12px;
text-align: right;
vertical-align: middle;
padding: 0;
border-collapse: collapse;
cursor: pointer;
height: 25px;
}
.xdsoft_datetimepicker.xdsoft_showweeks .xdsoft_calendar td,.xdsoft_datetimepicker.xdsoft_showweeks .xdsoft_calendar th {
width: 12.5%;
}
.xdsoft_datetimepicker .xdsoft_calendar th {
background: #f1f1f1;
}
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_today {
color: #33aaff;
}
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_highlighted_default {
background: #ffe9d2;
box-shadow: #ffb871 0 1px 4px 0 inset;
color: #000;
}
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_highlighted_mint {
background: #c1ffc9;
box-shadow: #00dd1c 0 1px 4px 0 inset;
color: #000;
}
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_default,
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current,
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div.xdsoft_current {
background: #33aaff;
box-shadow: #178fe5 0 1px 3px 0 inset;
color: #fff;
font-weight: 700;
}
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_other_month,
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_disabled,
.xdsoft_datetimepicker .xdsoft_time_box >div >div.xdsoft_disabled {
opacity: 0.5;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
cursor: default;
}
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_other_month.xdsoft_disabled {
opacity: 0.2;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
}
.xdsoft_datetimepicker .xdsoft_calendar td:hover,
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div:hover {
color: #fff !important;
background: #ff8000 !important;
box-shadow: none !important;
}
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current.xdsoft_disabled:hover,
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box>div>div.xdsoft_current.xdsoft_disabled:hover {
background: #33aaff !important;
box-shadow: #178fe5 0 1px 3px 0 inset !important;
color: #fff !important;
}
.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_disabled:hover,
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div.xdsoft_disabled:hover {
color: inherit !important;
background: inherit !important;
box-shadow: inherit !important;
}
.xdsoft_datetimepicker .xdsoft_calendar th {
font-weight: 700;
text-align: center;
color: #999;
cursor: default;
}
.xdsoft_datetimepicker .xdsoft_copyright {
color: #ccc !important;
font-size: 10px;
clear: both;
float: none;
margin-left: 8px;
}
.xdsoft_datetimepicker .xdsoft_copyright a { color: #eee !important }
.xdsoft_datetimepicker .xdsoft_copyright a:hover { color: #aaa !important }
.xdsoft_time_box {
position: relative;
border: 1px solid #ccc;
}
.xdsoft_scrollbar >.xdsoft_scroller {
background: #ccc !important;
height: 20px;
border-radius: 3px;
}
.xdsoft_scrollbar {
position: absolute;
width: 7px;
right: 0;
top: 0;
bottom: 0;
cursor: pointer;
}
.xdsoft_datetimepicker.xdsoft_rtl .xdsoft_scrollbar {
left: 0;
right: auto;
}
.xdsoft_scroller_box {
position: relative;
}
.xdsoft_datetimepicker.xdsoft_dark {
box-shadow: 0 5px 15px -5px rgba(255, 255, 255, 0.506);
background: #000;
border-bottom: 1px solid #444;
border-left: 1px solid #333;
border-right: 1px solid #333;
border-top: 1px solid #333;
color: #ccc;
}
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_timepicker .xdsoft_time_box {
border-bottom: 1px solid #222;
}
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_timepicker .xdsoft_time_box >div >div {
background: #0a0a0a;
border-top: 1px solid #222;
color: #999;
}
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_label {
background-color: #000;
}
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_label > .xdsoft_select {
border: 1px solid #333;
background: #000;
}
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_label > .xdsoft_select > div > .xdsoft_option:hover {
color: #000;
background: #007fff;
}
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_label > .xdsoft_select > div > .xdsoft_option.xdsoft_current {
background: #cc5500;
box-shadow: #b03e00 0 1px 3px 0 inset;
color: #000;
}
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_label i,
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_prev,
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_next,
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_today_button {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAeCAYAAADaW7vzAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QUExQUUzOTA0M0UyMTFFNDlBM0FFQTJENTExRDVBODYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QUExQUUzOTE0M0UyMTFFNDlBM0FFQTJENTExRDVBODYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpBQTFBRTM4RTQzRTIxMUU0OUEzQUVBMkQ1MTFENUE4NiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpBQTFBRTM4RjQzRTIxMUU0OUEzQUVBMkQ1MTFENUE4NiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pp0VxGEAAAIASURBVHja7JrNSgMxEMebtgh+3MSLr1T1Xn2CHoSKB08+QmR8Bx9A8e7RixdB9CKCoNdexIugxFlJa7rNZneTbLIpM/CnNLsdMvNjM8l0mRCiQ9Ye61IKCAgZAUnH+mU3MMZaHYChBnJUDzWOFZdVfc5+ZFLbrWDeXPwbxIqrLLfaeS0hEBVGIRQCEiZoHQwtlGSByCCdYBl8g8egTTAWoKQMRBRBcZxYlhzhKegqMOageErsCHVkk3hXIFooDgHB1KkHIHVgzKB4ADJQ/A1jAFmAYhkQqA5TOBtocrKrgXwQA8gcFIuAIO8sQSA7hidvPwaQGZSaAYHOUWJABhWWw2EMIH9QagQERU4SArJXo0ZZL18uvaxejXt/Em8xjVBXmvFr1KVm/AJ10tRe2XnraNqaJvKE3KHuUbfK1E+VHB0q40/y3sdQSxY4FHWeKJCunP8UyDdqJZenT3ntVV5jIYCAh20vT7ioP8tpf6E2lfEMwERe+whV1MHjwZB7PBiCxcGQWwKZKD62lfGNnP/1poFAA60T7rF1UgcKd2id3KDeUS+oLWV8DfWAepOfq00CgQabi9zjcgJVYVD7PVzQUAUGAQkbNJTBICDhgwYTjDYD6XeW08ZKh+A4pYkzenOxXUbvZcWz7E8ykRMnIHGX1XPl+1m2vPYpL+2qdb8CDAARlKFEz/ZVkAAAAABJRU5ErkJggg==);
}
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td,
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar th {
background: #0a0a0a;
border: 1px solid #222;
color: #999;
}
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar th {
background: #0e0e0e;
}
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td.xdsoft_today {
color: #cc5500;
}
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td.xdsoft_highlighted_default {
background: #ffe9d2;
box-shadow: #ffb871 0 1px 4px 0 inset;
color:#000;
}
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td.xdsoft_highlighted_mint {
background: #c1ffc9;
box-shadow: #00dd1c 0 1px 4px 0 inset;
color:#000;
}
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td.xdsoft_default,
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td.xdsoft_current,
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_timepicker .xdsoft_time_box >div >div.xdsoft_current {
background: #cc5500;
box-shadow: #b03e00 0 1px 3px 0 inset;
color: #000;
}
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td:hover,
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_timepicker .xdsoft_time_box >div >div:hover {
color: #000 !important;
background: #007fff !important;
}
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar th {
color: #666;
}
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_copyright { color: #333 !important }
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_copyright a { color: #111 !important }
.xdsoft_datetimepicker.xdsoft_dark .xdsoft_copyright a:hover { color: #555 !important }
.xdsoft_dark .xdsoft_time_box {
border: 1px solid #333;
}
.xdsoft_dark .xdsoft_scrollbar >.xdsoft_scroller {
background: #333 !important;
}
.xdsoft_datetimepicker .xdsoft_save_selected {
display: block;
border: 1px solid #dddddd !important;
margin-top: 5px;
width: 100%;
color: #454551;
font-size: 13px;
}
.xdsoft_datetimepicker .blue-gradient-button {
font-family: "museo-sans", "Book Antiqua", sans-serif;
font-size: 12px;
font-weight: 300;
color: #82878c;
height: 28px;
position: relative;
padding: 4px 17px 4px 33px;
border: 1px solid #d7d8da;
background: -moz-linear-gradient(top, #fff 0%, #f4f8fa 73%);
/* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff), color-stop(73%, #f4f8fa));
/* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #fff 0%, #f4f8fa 73%);
/* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #fff 0%, #f4f8fa 73%);
/* Opera 11.10+ */
background: -ms-linear-gradient(top, #fff 0%, #f4f8fa 73%);
/* IE10+ */
background: linear-gradient(to bottom, #fff 0%, #f4f8fa 73%);
/* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff', endColorstr='#f4f8fa',GradientType=0 );
/* IE6-9 */
}
.xdsoft_datetimepicker .blue-gradient-button:hover, .xdsoft_datetimepicker .blue-gradient-button:focus, .xdsoft_datetimepicker .blue-gradient-button:hover span, .xdsoft_datetimepicker .blue-gradient-button:focus span {
color: #454551;
background: -moz-linear-gradient(top, #f4f8fa 0%, #FFF 73%);
/* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f4f8fa), color-stop(73%, #FFF));
/* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #f4f8fa 0%, #FFF 73%);
/* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #f4f8fa 0%, #FFF 73%);
/* Opera 11.10+ */
background: -ms-linear-gradient(top, #f4f8fa 0%, #FFF 73%);
/* IE10+ */
background: linear-gradient(to bottom, #f4f8fa 0%, #FFF 73%);
/* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f4f8fa', endColorstr='#FFF',GradientType=0 );
/* IE6-9 */
}

View File

@ -1,59 +0,0 @@
/* ----------- UIKIT HACKs FOR BLUDIT ----------- */
html {
background: #F7F7F7;
}
* {
border-radius: 2px !important;
}
.uk-button-primary {
background: #444;
}
.uk-button-primary:hover {
background: #333;
}
input[type="text"],
input[type="password"] {
border-color: #EBEBEB !important;
border-radius: 2px !important;
color: #333;
}
.uk-alert {
padding: 22px 0 !important;
}
/* ----------- BLUDIT ----------- */
div.login-box {
width: 400px;
max-width: calc(100% - 40px);
}
div.login-box > h1 {
font-weight: lighter;
letter-spacing: 4px;
margin-bottom: 50px;
margin-top: -100px;
}
div.login-form {
text-align: left;
}
div.login-form > h2 {
color: #777;
margin-bottom: 30px;
}
a.login-email {
border: 0;
color: #777;
display: block;
margin: 20px 0;
padding: 0;
text-align: left;
}

View File

@ -1,2 +0,0 @@
/*! UIkit 2.26.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
.uk-form-file{display:inline-block;vertical-align:middle;position:relative;overflow:hidden}.uk-form-file input[type=file]{position:absolute;top:0;z-index:1;width:100%;opacity:0;cursor:pointer;left:0;font-size:500px}

View File

@ -1,2 +0,0 @@
/*! UIkit 2.26.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
.uk-placeholder{margin-bottom:15px;padding:15px;border:1px dashed #ddd;background:#fafafa;color:#444}*+.uk-placeholder{margin-top:15px}.uk-placeholder>:last-child{margin-bottom:0}.uk-placeholder-large{padding-top:80px;padding-bottom:80px}

View File

@ -1,2 +0,0 @@
/*! UIkit 2.26.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
.uk-progress{box-sizing:border-box;height:20px;margin-bottom:15px;background:#f5f5f5;overflow:hidden;line-height:20px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06);border-radius:4px}*+.uk-progress{margin-top:15px}.uk-progress-bar{width:0;height:100%;background:#00a8e6;float:left;-webkit-transition:width .6s ease;transition:width .6s ease;font-size:12px;color:#fff;text-align:center;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-progress-mini{height:6px}.uk-progress-small{height:12px}.uk-progress-success .uk-progress-bar{background-color:#8cc14c}.uk-progress-warning .uk-progress-bar{background-color:#faa732}.uk-progress-danger .uk-progress-bar{background-color:#da314b}.uk-progress-striped .uk-progress-bar{background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:30px 30px}.uk-progress-striped.uk-active .uk-progress-bar{-webkit-animation:uk-progress-bar-stripes 2s linear infinite;animation:uk-progress-bar-stripes 2s linear infinite}@-webkit-keyframes uk-progress-bar-stripes{0%{background-position:0 0}100%{background-position:30px 0}}@keyframes uk-progress-bar-stripes{0%{background-position:0 0}100%{background-position:30px 0}}.uk-progress-mini,.uk-progress-small{border-radius:500px}

File diff suppressed because one or more lines are too long

View File

@ -1,2 +0,0 @@
/*! UIkit 2.26.3 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */
.uk-dragover{box-shadow:0 0 20px rgba(100,100,100,.3)}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1005 B

View File

@ -1,168 +0,0 @@
<!DOCTYPE HTML>
<html>
<head>
<meta charset="<?php echo CHARSET ?>">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="noindex,nofollow">
<title><?php echo $layout['title'] ?></title>
<!-- Favicon -->
<link rel="shortcut icon" type="image/x-icon" href="<?php echo HTML_PATH_ADMIN_THEME.'img/favicon.png' ?>">
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="<?php echo HTML_PATH_ADMIN_THEME.'css/uikit/uikit.almost-flat.min.css?version='.BLUDIT_VERSION ?>">
<link rel="stylesheet" type="text/css" href="<?php echo HTML_PATH_ADMIN_THEME.'css/uikit/upload.almost-flat.min.css?version='.BLUDIT_VERSION ?>">
<link rel="stylesheet" type="text/css" href="<?php echo HTML_PATH_ADMIN_THEME.'css/uikit/form-file.almost-flat.min.css?version='.BLUDIT_VERSION ?>">
<link rel="stylesheet" type="text/css" href="<?php echo HTML_PATH_ADMIN_THEME.'css/uikit/placeholder.almost-flat.min.css?version='.BLUDIT_VERSION ?>">
<link rel="stylesheet" type="text/css" href="<?php echo HTML_PATH_ADMIN_THEME.'css/uikit/progress.almost-flat.min.css?version='.BLUDIT_VERSION ?>">
<link rel="stylesheet" type="text/css" href="<?php echo HTML_PATH_ADMIN_THEME.'css/default.css?version='.BLUDIT_VERSION ?>">
<link rel="stylesheet" type="text/css" href="<?php echo HTML_PATH_ADMIN_THEME.'css/jquery.datetimepicker.css?version='.BLUDIT_VERSION ?>">
<!-- Javascript -->
<script charset="utf-8" src="<?php echo HTML_PATH_ADMIN_THEME.'js/jquery.min.js?version='.BLUDIT_VERSION ?>"></script>
<script charset="utf-8" src="<?php echo HTML_PATH_ADMIN_THEME.'js/uikit/uikit.min.js?version='.BLUDIT_VERSION ?>"></script>
<script charset="utf-8" src="<?php echo HTML_PATH_ADMIN_THEME.'js/uikit/upload.min.js?version='.BLUDIT_VERSION ?>"></script>
<script charset="utf-8" src="<?php echo HTML_PATH_ADMIN_THEME.'js/jquery.datetimepicker.js?version='.BLUDIT_VERSION ?>"></script>
<!-- Plugins -->
<?php Theme::plugins('adminHead') ?>
</head>
<body>
<!-- Plugins -->
<?php Theme::plugins('adminBodyBegin') ?>
<!-- Alert -->
<script>
$(document).ready(function() {
<?php
if( Alert::defined() ) {
echo '$("#alert").slideDown().delay(3500).slideUp();';
}
?>
$(window).click(function() {
$("#alert").hide();
});
});
</script>
<div id="alert" class="<?php echo (Alert::status()==ALERT_STATUS_OK)?'alert-ok':'alert-fail'; ?>">
<?php Alert::p() ?>
</div>
<!-- Navbar -->
<nav class="uk-navbar bludit-navbar">
<!-- Navbar for Desktop -->
<div class="uk-container uk-container-center uk-hidden-small">
<ul class="uk-navbar-nav">
<li class="bludit-logo">BLUDIT</li>
<li <?php echo ($layout['view']=='dashboard')?'class="uk-active"':'' ?> ><a href="<?php echo HTML_PATH_ADMIN_ROOT.'dashboard' ?>"><?php $L->p('Dashboard') ?></a></li>
<li <?php echo ($layout['view']=='new-post')?'class="uk-active"':'' ?>><a href="<?php echo HTML_PATH_ADMIN_ROOT.'new-post' ?>"><?php $L->p('New post') ?></a></li>
<li <?php echo ($layout['view']=='new-page')?'class="uk-active"':'' ?>><a href="<?php echo HTML_PATH_ADMIN_ROOT.'new-page' ?>"><?php $L->p('New page') ?></a></li>
<li class="uk-parent" data-uk-dropdown>
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'manage-posts' ?>"><?php $L->p('Manage') ?> ▾</a>
<div class="uk-dropdown uk-dropdown-navbar">
<ul class="uk-nav uk-nav-navbar">
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'manage-posts' ?>"><i class="uk-icon-folder-o"></i> <?php $L->p('Posts') ?></a></li>
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'manage-pages' ?>"><i class="uk-icon-folder-o"></i> <?php $L->p('Pages') ?></a></li>
<?php if($Login->role() == 'admin') { ?>
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'users' ?>"><i class="uk-icon-users"></i> <?php $L->p('Users') ?></a></li>
<?php } ?>
</ul>
</div>
</li>
<?php if($Login->role() == 'admin') { ?>
<li class="uk-parent" data-uk-dropdown>
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'settings-general' ?>"><?php $L->p('Settings') ?> ▾</a>
<div class="uk-dropdown uk-dropdown-navbar">
<ul class="uk-nav uk-nav-navbar">
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'settings-general' ?>"><i class="uk-icon-cog"></i> <?php $L->p('General') ?></a></li>
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'settings-advanced' ?>"><i class="uk-icon-cogs"></i> <?php $L->p('Advanced') ?></a></li>
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'settings-regional' ?>"><i class="uk-icon-globe"></i> <?php $L->p('Language and timezone') ?></a></li>
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'plugins' ?>"><i class="uk-icon-puzzle-piece"></i> <?php $L->p('Plugins') ?></a></li>
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'themes' ?>"><i class="uk-icon-paint-brush"></i> <?php $L->p('Themes') ?></a></li>
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'about' ?>"><i class="uk-icon-support"></i> <?php $L->p('About') ?></a></li>
</ul>
</div>
</li>
<?php } ?>
<li><a target="_blank" href="<?php echo HTML_PATH_ROOT ?>"><?php $L->p('Website') ?></a></li>
</ul>
<div class="uk-navbar-flip">
<ul class="uk-navbar-nav">
<li class="uk-parent" data-uk-dropdown>
<?php
$profilePictureSrc = HTML_PATH_ADMIN_THEME_IMG.'default.png';
if(file_exists(PATH_UPLOADS_PROFILES.$Login->username().'.png')) {
$profilePictureSrc = HTML_PATH_UPLOADS_PROFILES.$Login->username().'.png';
}
?>
<a href="<?php echo HTML_PATH_ADMIN_ROOT.'edit-user/'.$Login->username() ?>">
<img class="uk-border-circle" width="28px" src="<?php echo $profilePictureSrc ?>" alt=""> <?php $L->p('Welcome') ?> <?php echo $Login->username() ?>
</a>
<div class="uk-dropdown uk-dropdown-navbar bludit-user-navbar">
<ul class="uk-nav uk-nav-navbar">
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'logout' ?>"><?php $L->p('Logout') ?></a></li>
</ul>
</div>
</li>
</ul>
</div>
</div>
<!-- Navbar for Mobile -->
<a href="#offcanvas" class="uk-navbar-toggle uk-visible-small" data-uk-offcanvas></a>
<div class="uk-navbar-brand uk-navbar-center uk-visible-small">BLUDIT</div>
</nav>
<!-- Offcanvas for Mobile -->
<div id="offcanvas" class="uk-offcanvas">
<div class="uk-offcanvas-bar">
<ul class="uk-nav uk-nav-offcanvas">
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'dashboard' ?>"><?php $L->p('Dashboard') ?></a></li>
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'new-post' ?>"><?php $L->p('New post') ?></a></li>
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'new-page' ?>"><?php $L->p('New page') ?></a></li>
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'manage-posts' ?>"><?php $L->p('Manage posts') ?></a></li>
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'manage-pages' ?>"><?php $L->p('Manage pages') ?></a></li>
<?php if($Login->role() == 'admin') { ?>
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'users' ?>"><?php $L->p('Manage users') ?></a></li>
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'settings-general' ?>"><?php $L->p('General settings') ?></a></li>
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'settings-advanced' ?>"><?php $L->p('Advanced settings') ?></a></li>
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'settings-regional' ?>"><?php $L->p('Language and timezone') ?></a></li>
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'plugins' ?>"><?php $L->p('Plugins') ?></a></li>
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'themes' ?>"><?php $L->p('Themes') ?></a></li>
<li><a href="<?php echo HTML_PATH_ADMIN_ROOT.'about' ?>"><?php $L->p('About') ?></a></li>
<?php } ?>
</ul>
</div>
</div>
<!-- View -->
<div class="uk-container uk-container-center bl-view">
<?php
if( Sanitize::pathFile(PATH_ADMIN_VIEWS, $layout['view'].'.php') ) {
include(PATH_ADMIN_VIEWS.$layout['view'].'.php');
}
?>
</div>
<!-- Javascript -->
<?php include(PATH_JS.'functions.php') ?>
<!-- Plugins -->
<?php Theme::plugins('adminBodyEnd') ?>
</body>
</html>

View File

@ -1,394 +0,0 @@
<?php
class HTML {
public static function title($args)
{
$html = '<h2 class="title"><i class="uk-icon-'.$args['icon'].'"></i> '.$args['title'].'</h2>';
echo $html;
}
public static function formOpen($args)
{
$class = empty($args['class']) ? '' : ' '.$args['class'];
$id = empty($args['id']) ? '' : 'id="'.$args['id'].'"';
$html = '<form class="uk-form'.$class.'" '.$id.' method="post" action="" autocomplete="off">';
echo $html;
}
public static function formClose()
{
$html = '</form>';
$script = '<script>
$(document).ready(function() {
// Prevent the form submit when press enter key.
$("form").keypress(function(e) {
if( (e.which == 13) && (e.target.type !== "textarea") ) {
return false;
}
});
});
</script>';
echo $html.$script;
}
// label, name, value, tip
public static function formInputText($args)
{
$id = 'js'.$args['name'];
$type = isset($args['type']) ? $args['type'] : 'text';
$class = empty($args['class']) ? '' : 'class="'.$args['class'].'"';
$placeholder = empty($args['placeholder']) ? '' : 'placeholder="'.$args['placeholder'].'"';
$disabled = empty($args['disabled']) ? '' : 'disabled';
$html = '<div class="uk-form-row">';
if(!empty($args['label'])) {
$html .= '<label for="'.$id.'" class="uk-form-label">'.$args['label'].'</label>';
}
$html .= '<div class="uk-form-controls">';
$html .= '<input id="'.$id.'" name="'.$args['name'].'" type="'.$type.'" '.$class.' '.$placeholder.' autocomplete="off" '.$disabled.' value="'.$args['value'].'">';
if(!empty($args['tip'])) {
$html .= '<p class="uk-form-help-block">'.$args['tip'].'</p>';
}
$html .= '</div>';
$html .= '</div>';
echo $html;
}
public static function tags($args)
{
global $L;
// Javascript code
include(PATH_JS.'bludit-tags.js');
$html = '<div id="bludit-tags" class="uk-form-row">';
$html .= '<input type="hidden" id="jstags" name="tags" value="">';
$html .= '<label for="jstagInput" class="uk-form-label">'.$args['label'].'</label>';
$html .= '<div class="uk-form-controls">';
$html .= '<input id="jstagInput" type="text" class="uk-width-1-2" autocomplete="off">';
$html .= '<button id="jstagAdd" class="uk-button">'.$L->g('Add').'</button>';
$html .= '<div id="jstagList">';
foreach($args['allTags'] as $tag) {
$html .= '<span data-tag="'.$tag.'" class="'.( in_array($tag, $args['selectedTags'])?'select':'unselect' ).'">'.$tag.'</span>';
}
$html .= '</div>';
$html .= '</div>';
$html .= '</div>';
echo $html;
}
public static function formInputPassword($args)
{
$args['type'] = 'password';
self::formInputText($args);
}
public static function formTextarea($args)
{
$id = 'js'.$args['name'];
$type = isset($args['type']) ? $args['type'] : 'text';
$class = empty($args['class']) ? '' : 'class="'.$args['class'].'"';
$placeholder = empty($args['placeholder']) ? '' : 'placeholder="'.$args['placeholder'].'"';
$rows = empty($args['rows']) ? '' : 'rows="'.$args['rows'].'"';
$html = '<div class="uk-form-row">';
if(!empty($args['label'])) {
$html .= '<label for="'.$id.'" class="uk-form-label">'.$args['label'].'</label>';
}
$html .= '<div class="uk-form-controls">';
$html .= '<textarea id="'.$id.'" name="'.$args['name'].'" '.$class.' '.$placeholder.' '.$rows.'>'.$args['value'].'</textarea>';
if(!empty($args['tip'])) {
$html .= '<p class="uk-form-help-block">'.$args['tip'].'</p>';
}
$html .= '</div>';
$html .= '</div>';
echo $html;
}
public static function formSelect($args)
{
$id = 'js'.$args['name'];
$type = isset($args['type']) ? $args['type'] : 'text';
$class = empty($args['class']) ? '' : 'class="'.$args['class'].'"';
$html = '<div class="uk-form-row">';
$html .= '<label for="'.$id.'" class="uk-form-label">'.$args['label'].'</label>';
$html .= '<div class="uk-form-controls">';
$html .= '<select id="'.$id.'" name="'.$args['name'].'" '.$class.'>';
foreach($args['options'] as $key=>$value) {
$html .= '<option value="'.$key.'"'.( ($args['selected']==$key)?' selected="selected"':'').'>'.$value.'</option>';
}
$html .= '</select>';
$html .= '<p class="uk-form-help-block">'.$args['tip'].'</p>';
$html .= '</div>';
$html .= '</div>';
echo $html;
}
public static function formInputHidden($args)
{
$id = 'js'.$args['name'];
$html = '<input type="hidden" id="'.$id.'" name="'.$args['name'].'" value="'.$args['value'].'">';
echo $html;
}
public static function legend($args)
{
$class = empty($args['class']) ? '' : 'class="'.$args['class'].'"';
$html = '<legend '.$class.'>'.$args['value'].'</legend>';
echo $html;
}
public static function bluditQuickImages()
{
// Javascript code
include(PATH_JS.'bludit-quick-images.js');
global $L;
$html = '<!-- BLUDIT QUICK IMAGES -->';
$html .= '
<div id="bludit-quick-images">
<div id="bludit-quick-images-thumbnails" onmousedown="return false">
';
$thumbnailList = Filesystem::listFiles(PATH_UPLOADS_THUMBNAILS,'*','*',true);
array_splice($thumbnailList, THUMBNAILS_AMOUNT);
foreach($thumbnailList as $file) {
$filename = basename($file);
$html .= '<img class="bludit-thumbnail" data-filename="'.$filename.'" src="'.HTML_PATH_UPLOADS_THUMBNAILS.$filename.'" alt="Thumbnail">';
}
$html .= '
</div>
';
$html .= '<div class="empty-images uk-block uk-text-center uk-block-muted" '.( !empty($thumbnailList)?'style="display:none"':'' ).'>'.$L->g('There are no images').'</div>';
$html .= '
<a data-uk-modal href="#bludit-images-v8" class="moreImages uk-button"><i class="uk-icon-folder-o"></i> '.$L->g('More images').'</a>
</div>
';
echo $html;
}
public static function bluditCoverImage($coverImage="")
{
global $L;
// Javascript code
include(PATH_JS.'bludit-cover-image.js');
$style = '';
if(!empty($coverImage)) {
$style = 'background-image: url('.HTML_PATH_UPLOADS_THUMBNAILS.$coverImage.')';
}
$html = '<!-- BLUDIT COVER IMAGE -->';
$html .= '
<div id="bludit-cover-image">
<div id="cover-image-thumbnail" class="uk-form-file uk-placeholder uk-text-center" style="'.$style.'">
<input type="hidden" name="coverImage" id="cover-image-upload-filename" value="'.$coverImage.'">
<div id="cover-image-upload" '.( empty($coverImage)?'':'style="display: none;"' ).'>
<div><i class="uk-icon-picture-o"></i> '.$L->g('Cover image').'</div>
<div style="font-size:0.8em;">'.$L->g('Drag and drop or click here').'<input id="cover-image-file-select" type="file"></div>
</div>
<div id="cover-image-delete" '.( empty($coverImage)?'':'style="display: block;"' ).'>
<div><i class="uk-icon-trash-o"></i></div>
</div>
<div id="cover-image-progressbar" class="uk-progress">
<div class="uk-progress-bar" style="width: 0%;">0%</div>
</div>
</div>
</div>
';
echo $html;
}
public static function bluditMenuV8()
{
// Javascript code
include(PATH_JS.'bludit-menu-v8.js');
global $L;
$html = '<!-- BLUDIT MENU V8 -->';
$html .= '
<ul id="bludit-menuV8">
<li id="bludit-menuV8-insert"><i class="uk-icon-plus"></i>'.$L->g('Insert image').'</li>
<li id="bludit-menuV8-cover"><i class="uk-icon-picture-o"></i>'.$L->g('Set as cover image').'</li>
<li id="bludit-menuV8-delete"><i class="uk-icon-trash"></i>'.$L->g('Delete image').'</li>
</ul>
';
echo $html;
}
public static function bluditImagesV8()
{
global $L;
// Javascript code
include(PATH_JS.'bludit-images-v8.js');
$html = '<!-- BLUDIT IMAGES V8 -->';
$html .= '
<div id="bludit-images-v8" class="uk-modal">
<div class="uk-modal-dialog">
<div id="bludit-images-v8-upload" class="uk-form-file uk-placeholder uk-text-center">
<div id="bludit-images-v8-drag-drop">
<div><i class="uk-icon-picture-o"></i> '.$L->g('Upload image').'</div>
<div style="font-size:0.8em;">'.$L->g('Drag and drop or click here').'<input id="bludit-images-v8-file-select" type="file"></div>
</div>
<div id="bludit-images-v8-progressbar" class="uk-progress">
<div class="uk-progress-bar" style="width: 0%;">0%</div>
</div>
</div>
<div id="bludit-images-v8-thumbnails">
';
$thumbnailList = Filesystem::listFiles(PATH_UPLOADS_THUMBNAILS,'*','*',true);
foreach($thumbnailList as $file) {
$filename = basename($file);
$html .= '<img class="bludit-thumbnail" src="'.HTML_PATH_UPLOADS_THUMBNAILS.$filename.'" data-filename="'.$filename.'" alt="Thumbnail">';
}
$html .= '
</div>
';
$html .= '<div class="empty-images uk-block uk-text-center uk-block-muted" '.( !empty($thumbnailList)?'style="display:none"':'' ).'>'.$L->g('There are no images').'</div>';
$html .= '
<div class="uk-modal-footer">
'.$L->g('Click on the image for options').' <a href="" class="uk-modal-close">'.$L->g('Click here to cancel').'</a>
</div>
</div>
</div>
';
echo $html;
}
public static function profileUploader($username)
{
global $L;
$html = '<!-- BLUDIT PROFILE UPLOADER -->';
$html .= '
<div id="bludit-profile-picture">
<div id="bludit-profile-picture-image">';
if(file_exists(PATH_UPLOADS_PROFILES.$username.'.png')) {
$html .= '<img class="uk-border-rounded" src="'.HTML_PATH_UPLOADS_PROFILES.$username.'.png" alt="Profile picture">';
}
else {
$html .= '<div class="uk-block uk-border-rounded uk-block-muted uk-block-large">'.$L->g('Profile picture').'</div>';
}
$html .= '
</div>
<div id="bludit-profile-picture-progressbar" class="uk-progress">
<div class="uk-progress-bar" style="width: 0%;">0%</div>
</div>
<div id="bludit-profile-picture-drag-drop" class="uk-form-file uk-placeholder uk-text-center">
<div>'.$L->g('Upload image').'</div>
<div style="font-size:0.8em;">'.$L->g('Drag and drop or click here').'<input id="bludit-profile-picture-file-select" type="file"></div>
</div>
</div>
';
$script = '
<script>
$(document).ready(function() {
var settings =
{
type: "json",
action: HTML_PATH_ADMIN_ROOT+"ajax/uploader",
allow : "*.(jpg|jpeg|gif|png|svg)",
params: {"type":"profilePicture", "username":"'.$username.'"},
loadstart: function() {
$("#bludit-profile-picture-progressbar").find(".uk-progress-bar").css("width", "0%").text("0%");
$("#bludit-profile-picture-progressbar").show();
},
progress: function(percent) {
percent = Math.ceil(percent);
$("#bludit-profile-picture-progressbar").find(".uk-progress-bar").css("width", percent+"%").text(percent+"%");
},
allcomplete: function(response) {
$("#bludit-profile-picture-progressbar").find(".uk-progress-bar").css("width", "100%").text("100%");
$("#bludit-profile-picture-progressbar").hide();
$("#bludit-profile-picture-image").html("<img class=\"uk-border-rounded\" src=\"'.HTML_PATH_UPLOADS_PROFILES.$username.'.png?time='.time().'\">");
},
notallowed: function(file, settings) {
alert("'.$L->g('Supported image file types').' "+settings.allow);
}
};
UIkit.uploadSelect($("#bludit-profile-picture-file-select"), settings);
UIkit.uploadDrop($("#bludit-profile-picture-drag-drop"), settings);
});
</script>
';
echo $html.$script;
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,256 +0,0 @@
(function(addon) {
var component;
if (window.UIkit) {
component = addon(UIkit);
}
if (typeof define == "function" && define.amd) {
define("uikit-upload", ["uikit"], function(){
return component || addon(UIkit);
});
}
})(function(UI){
"use strict";
UI.component('uploadSelect', {
init: function() {
var $this = this;
this.on("change", function() {
xhrupload($this.element[0].files, $this.options);
var twin = $this.element.clone(true).data('uploadSelect', $this);
$this.element.replaceWith(twin);
$this.element = twin;
});
}
});
UI.component('uploadDrop', {
defaults: {
'dragoverClass': 'uk-dragover'
},
init: function() {
var $this = this, hasdragCls = false;
this.on("drop", function(e){
if (e.originalEvent.dataTransfer && e.originalEvent.dataTransfer.files) {
e.stopPropagation();
e.preventDefault();
$this.element.removeClass($this.options.dragoverClass);
$this.element.trigger('dropped.uk.upload', [e.originalEvent.dataTransfer.files]);
xhrupload(e.originalEvent.dataTransfer.files, $this.options);
}
}).on("dragenter", function(e){
e.stopPropagation();
e.preventDefault();
}).on("dragover", function(e){
e.stopPropagation();
e.preventDefault();
if (!hasdragCls) {
$this.element.addClass($this.options.dragoverClass);
hasdragCls = true;
}
}).on("dragleave", function(e){
e.stopPropagation();
e.preventDefault();
$this.element.removeClass($this.options.dragoverClass);
hasdragCls = false;
});
}
});
UI.support.ajaxupload = (function() {
function supportFileAPI() {
var fi = document.createElement('INPUT'); fi.type = 'file'; return 'files' in fi;
}
function supportAjaxUploadProgressEvents() {
var xhr = new XMLHttpRequest(); return !! (xhr && ('upload' in xhr) && ('onprogress' in xhr.upload));
}
function supportFormData() {
return !! window.FormData;
}
return supportFileAPI() && supportAjaxUploadProgressEvents() && supportFormData();
})();
function xhrupload(files, settings) {
if (!UI.support.ajaxupload){
return this;
}
settings = UI.$.extend({}, xhrupload.defaults, settings);
if (!files.length){
return;
}
if (settings.allow !== '*.*') {
for(var i=0,file;file=files[i];i++) {
if(!matchName(settings.allow, file.name)) {
if(typeof(settings.notallowed) == 'string') {
alert(settings.notallowed);
} else {
settings.notallowed(file, settings);
}
return;
}
}
}
var complete = settings.complete;
if (settings.single){
var count = files.length,
uploaded = 0,
allow = true;
settings.beforeAll(files);
settings.complete = function(response, xhr){
uploaded = uploaded + 1;
complete(response, xhr);
if (settings.filelimit && uploaded >= settings.filelimit){
allow = false;
}
if (allow && uploaded<count){
upload([files[uploaded]], settings);
} else {
settings.allcomplete(response, xhr);
}
};
upload([files[0]], settings);
} else {
settings.complete = function(response, xhr){
complete(response, xhr);
settings.allcomplete(response, xhr);
};
upload(files, settings);
}
function upload(files, settings){
// upload all at once
var formData = new FormData(), xhr = new XMLHttpRequest();
if (settings.before(settings, files)===false) return;
for (var i = 0, f; f = files[i]; i++) { formData.append(settings.param, f); }
for (var p in settings.params) { formData.append(p, settings.params[p]); }
// Add any event handlers here...
xhr.upload.addEventListener("progress", function(e){
var percent = (e.loaded / e.total)*100;
settings.progress(percent, e);
}, false);
xhr.addEventListener("loadstart", function(e){ settings.loadstart(e); }, false);
xhr.addEventListener("load", function(e){ settings.load(e); }, false);
xhr.addEventListener("loadend", function(e){ settings.loadend(e); }, false);
xhr.addEventListener("error", function(e){ settings.error(e); }, false);
xhr.addEventListener("abort", function(e){ settings.abort(e); }, false);
xhr.open(settings.method, settings.action, true);
if (settings.type=="json") {
xhr.setRequestHeader("Accept", "application/json");
}
xhr.onreadystatechange = function() {
settings.readystatechange(xhr);
if (xhr.readyState==4){
var response = xhr.responseText;
if (settings.type=="json") {
try {
response = UI.$.parseJSON(response);
} catch(e) {
response = false;
}
}
settings.complete(response, xhr);
}
};
settings.beforeSend(xhr);
xhr.send(formData);
}
}
xhrupload.defaults = {
'action': '',
'single': true,
'method': 'POST',
'param' : 'files[]',
'params': {},
'allow' : '*.*',
'type' : 'text',
'filelimit': false,
// events
'before' : function(o){},
'beforeSend' : function(xhr){},
'beforeAll' : function(){},
'loadstart' : function(){},
'load' : function(){},
'loadend' : function(){},
'error' : function(){},
'abort' : function(){},
'progress' : function(){},
'complete' : function(){},
'allcomplete' : function(){},
'readystatechange': function(){},
'notallowed' : function(file, settings){ alert('Only the following file types are allowed: '+settings.allow); }
};
function matchName(pattern, path) {
var parsedPattern = '^' + pattern.replace(/\//g, '\\/').
replace(/\*\*/g, '(\\/[^\\/]+)*').
replace(/\*/g, '[^\\/]+').
replace(/((?!\\))\?/g, '$1.') + '$';
parsedPattern = '^' + parsedPattern + '$';
return (path.match(new RegExp(parsedPattern, 'i')) !== null);
}
UI.Utils.xhrupload = xhrupload;
return xhrupload;
});

View File

@ -1,48 +0,0 @@
<!DOCTYPE HTML>
<html class="uk-height-1-1 uk-notouch">
<head>
<meta charset="<?php echo CHARSET ?>">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="noindex,nofollow">
<title>Bludit</title>
<!-- Favicon -->
<link rel="shortcut icon" type="image/x-icon" href="<?php echo HTML_PATH_ADMIN_THEME.'img/favicon.png' ?>">
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="<?php echo HTML_PATH_ADMIN_THEME.'css/uikit/uikit.almost-flat.min.css?version='.BLUDIT_VERSION ?>">
<link rel="stylesheet" type="text/css" href="<?php echo HTML_PATH_ADMIN_THEME.'css/login.css?version='.BLUDIT_VERSION ?>">
<!-- Javascript -->
<script charset="utf-8" src="<?php echo HTML_PATH_ADMIN_THEME.'js/jquery.min.js?version='.BLUDIT_VERSION ?>"></script>
<script charset="utf-8" src="<?php echo HTML_PATH_ADMIN_THEME.'js/uikit/uikit.min.js?version='.BLUDIT_VERSION ?>"></script>
<!-- Plugins -->
<?php Theme::plugins('loginHead') ?>
</head>
<body class="uk-height-1-1">
<!-- Plugins -->
<?php Theme::plugins('loginBodyBegin') ?>
<div class="uk-vertical-align uk-text-center uk-height-1-1">
<div class="uk-vertical-align-middle login-box">
<h1>BLUDIT</h1>
<?php
if(Alert::defined()) {
echo '<div class="uk-alert">'.Alert::get().'</div>';
}
if( Sanitize::pathFile(PATH_ADMIN_VIEWS, $layout['view'].'.php') ) {
include(PATH_ADMIN_VIEWS.$layout['view'].'.php');
}
?>
</div>
</div>
<!-- Plugins -->
<?php Theme::plugins('loginBodyEnd') ?>
</body>
</html>

View File

@ -16,7 +16,8 @@ HTML::formOpen(array('class'=>'uk-form-stacked'));
'value'=>$_Page->key() 'value'=>$_Page->key()
)); ));
// ---- LEFT SIDE ---- // LEFT SIDE
// --------------------------------------------------------------------
echo '<div class="uk-grid uk-grid-medium">'; echo '<div class="uk-grid uk-grid-medium">';
echo '<div class="bl-publish-view uk-width-8-10">'; echo '<div class="bl-publish-view uk-width-8-10">';
@ -38,7 +39,10 @@ echo '<div class="bl-publish-view uk-width-8-10">';
// Form buttons // Form buttons
echo '<div class="uk-form-row uk-margin-bottom">'; echo '<div class="uk-form-row uk-margin-bottom">';
echo ' <button class="uk-button uk-button-primary" type="submit">'.$L->g('Save').'</button>'; echo '
<button class="uk-button uk-button-primary" type="submit">'.$L->g('Save').'</button>
<button class="uk-button uk-button-primary" type="button" id="jsSaveDraft">'.$L->g('Save as draft').'</button>
';
if(count($_Page->children())===0) if(count($_Page->children())===0)
{ {
@ -50,20 +54,16 @@ if(count($_Page->children())===0)
echo '</div>'; echo '</div>';
// ---- RIGHT SIDE ---- // RIGHT SIDE
// --------------------------------------------------------------------
echo '<div class="bl-publish-sidebar uk-width-2-10">'; echo '<div class="bl-publish-sidebar uk-width-2-10">';
// Tabs, general and advanced mode echo '<ul>';
echo '<ul class="uk-tab" data-uk-tab="{connect:\'#tab-options\'}">';
echo '<li><a href="">'.$L->g('General').'</a></li>';
echo '<li><a href="">'.$L->g('Images').'</a></li>';
echo '<li><a href="">'.$L->g('Advanced').'</a></li>';
echo '</ul>';
echo '<ul id="tab-options" class="uk-switcher uk-margin">'; // GENERAL TAB
// --------------------------------------------------------------------
// ---- GENERAL TAB ---- echo '<li><h2 class="sidebar-button" data-view="sidebar-general-view"><i class="uk-icon-angle-down"></i> '.$L->g('General').'</h2></li>';
echo '<li>'; echo '<li id="sidebar-general-view" class="sidebar-view">';
// Description input // Description input
HTML::formTextarea(array( HTML::formTextarea(array(
@ -75,23 +75,15 @@ echo '<div class="bl-publish-sidebar uk-width-2-10">';
'tip'=>$L->g('this-field-can-help-describe-the-content') 'tip'=>$L->g('this-field-can-help-describe-the-content')
)); ));
// Tags input
HTML::tags(array(
'name'=>'tags',
'label'=>$L->g('Tags'),
'allTags'=>$dbTags->getAll(),
'selectedTags'=>$_Page->tags(true)
));
echo '</li>'; echo '</li>';
// ---- IMAGES TAB ---- // IMAGES TAB
echo '<li>'; // --------------------------------------------------------------------
echo '<li><h2 class="sidebar-button" data-view="sidebar-images-view"><i class="uk-icon-angle-down"></i> '.$L->g('Images').'</h2></li>';
echo '<li id="sidebar-images-view" class="sidebar-view">';
// --- BLUDIT COVER IMAGE --- // --- BLUDIT COVER IMAGE ---
echo '<hr>';
HTML::bluditCoverImage($_Page->coverImage(false)); HTML::bluditCoverImage($_Page->coverImage(false));
echo '<hr>';
// --- BLUDIT QUICK IMAGES --- // --- BLUDIT QUICK IMAGES ---
HTML::bluditQuickImages(); HTML::bluditQuickImages();
@ -104,8 +96,26 @@ echo '<div class="bl-publish-sidebar uk-width-2-10">';
echo '</li>'; echo '</li>';
// ---- ADVANCED TAB ----
echo '<li>'; // TAGS
// --------------------------------------------------------------------
echo '<li><h2 class="sidebar-button" data-view="sidebar-tags-view"><i class="uk-icon-angle-down"></i> '.$L->g('Tags').'</h2></li>';
echo '<li id="sidebar-tags-view" class="sidebar-view">';
// Tags input
HTML::tags(array(
'name'=>'tags',
'label'=>$L->g('Tags'),
'allTags'=>$dbTags->getAll(),
'selectedTags'=>$_Page->tags(true)
));
echo '</li>';
// ADVANCED TAB
// --------------------------------------------------------------------
echo '<li><h2 class="sidebar-button" data-view="sidebar-advanced-view"><i class="uk-icon-angle-down"></i> '.$L->g('Advanced').'</h2></li>';
echo '<li id="sidebar-advanced-view" class="sidebar-view">';
// Status input // Status input
HTML::formSelect(array( HTML::formSelect(array(
@ -203,6 +213,25 @@ $(document).ready(function()
} }
}); });
// Button Save as draft
$("#jsSaveDraft").on("click", function() {
$("#jsstatus").val("draft");
$(".uk-form").submit();
});
// Right sidebar
$(".sidebar-button").click(function() {
var view = "#" + $(this).data("view");
if( $(view).is(":visible") ) {
$(view).hide();
}
else {
$(".sidebar-view").hide();
$(view).show();
}
});
}); });
</script> </script>

View File

@ -16,7 +16,8 @@ HTML::formOpen(array('class'=>'uk-form-stacked'));
'value'=>$_Post->key() 'value'=>$_Post->key()
)); ));
// ---- LEFT SIDE ---- // LEFT SIDE
// --------------------------------------------------------------------
echo '<div class="uk-grid uk-grid-medium">'; echo '<div class="uk-grid uk-grid-medium">';
echo '<div class="bl-publish-view uk-width-8-10">'; echo '<div class="bl-publish-view uk-width-8-10">';
@ -39,26 +40,23 @@ echo '<div class="bl-publish-view uk-width-8-10">';
// Form buttons // Form buttons
echo '<div class="uk-form-row uk-margin-bottom"> echo '<div class="uk-form-row uk-margin-bottom">
<button class="uk-button uk-button-primary" type="submit">'.$L->g('Save').'</button> <button class="uk-button uk-button-primary" type="submit">'.$L->g('Save').'</button>
<button class="uk-button uk-button-primary" type="button" id="jsSaveDraft">'.$L->g('Save as draft').'</button>
<button id="jsdelete-post" name="delete-post" class="uk-button" type="submit">'.$L->g('Delete').'</button> <button id="jsdelete-post" name="delete-post" class="uk-button" type="submit">'.$L->g('Delete').'</button>
<a class="uk-button" href="'.HTML_PATH_ADMIN_ROOT.'manage-posts">'.$L->g('Cancel').'</a> <a class="uk-button" href="'.HTML_PATH_ADMIN_ROOT.'manage-posts">'.$L->g('Cancel').'</a>
</div>'; </div>';
echo '</div>'; echo '</div>';
// ---- RIGHT SIDE ---- // RIGHT SIDE
// --------------------------------------------------------------------
echo '<div class="bl-publish-sidebar uk-width-2-10">'; echo '<div class="bl-publish-sidebar uk-width-2-10">';
// Tabs, general and advanced mode echo '<ul>';
echo '<ul class="uk-tab" data-uk-tab="{connect:\'#tab-options\'}">';
echo '<li><a href="">'.$L->g('General').'</a></li>';
echo '<li><a href="">'.$L->g('Images').'</a></li>';
echo '<li><a href="">'.$L->g('Advanced').'</a></li>';
echo '</ul>';
echo '<ul id="tab-options" class="uk-switcher uk-margin">'; // GENERAL TAB
// --------------------------------------------------------------------
// ---- GENERAL TAB ---- echo '<li><h2 class="sidebar-button" data-view="sidebar-general-view"><i class="uk-icon-angle-down"></i> '.$L->g('General').'</h2></li>';
echo '<li>'; echo '<li id="sidebar-general-view" class="sidebar-view">';
// Description input // Description input
HTML::formTextarea(array( HTML::formTextarea(array(
@ -70,23 +68,15 @@ echo '<div class="bl-publish-sidebar uk-width-2-10">';
'tip'=>$L->g('this-field-can-help-describe-the-content') 'tip'=>$L->g('this-field-can-help-describe-the-content')
)); ));
// Tags input
HTML::tags(array(
'name'=>'tags',
'label'=>$L->g('Tags'),
'allTags'=>$dbTags->getAll(),
'selectedTags'=>$_Post->tags(true)
));
echo '</li>'; echo '</li>';
// ---- IMAGES TAB ---- // IMAGES TAB
echo '<li>'; // --------------------------------------------------------------------
echo '<li><h2 class="sidebar-button" data-view="sidebar-images-view"><i class="uk-icon-angle-down"></i> '.$L->g('Images').'</h2></li>';
echo '<li id="sidebar-images-view" class="sidebar-view">';
// --- BLUDIT COVER IMAGE --- // --- BLUDIT COVER IMAGE ---
echo '<hr>';
HTML::bluditCoverImage($_Post->coverImage(false)); HTML::bluditCoverImage($_Post->coverImage(false));
echo '<hr>';
// --- BLUDIT QUICK IMAGES --- // --- BLUDIT QUICK IMAGES ---
HTML::bluditQuickImages(); HTML::bluditQuickImages();
@ -99,8 +89,25 @@ echo '<div class="bl-publish-sidebar uk-width-2-10">';
echo '</li>'; echo '</li>';
// ---- ADVANCED TAB ---- // TAGS
echo '<li>'; // --------------------------------------------------------------------
echo '<li><h2 class="sidebar-button" data-view="sidebar-tags-view"><i class="uk-icon-angle-down"></i> '.$L->g('Tags').'</h2></li>';
echo '<li id="sidebar-tags-view" class="sidebar-view">';
// Tags input
HTML::tags(array(
'name'=>'tags',
'label'=>$L->g('Tags'),
'allTags'=>$dbTags->getAll(),
'selectedTags'=>$_Post->tags(true)
));
echo '</li>';
// ADVANCED TAB
// --------------------------------------------------------------------
echo '<li><h2 class="sidebar-button" data-view="sidebar-advanced-view"><i class="uk-icon-angle-down"></i> '.$L->g('Advanced').'</h2></li>';
echo '<li id="sidebar-advanced-view" class="sidebar-view">';
// Status input // Status input
HTML::formSelect(array( HTML::formSelect(array(
@ -164,6 +171,25 @@ $(document).ready(function() {
} }
}); });
// Button Save as draft
$("#jsSaveDraft").on("click", function() {
$("#jsstatus").val("draft");
$(".uk-form").submit();
});
// Right sidebar
$(".sidebar-button").click(function() {
var view = "#" + $(this).data("view");
if( $(view).is(":visible") ) {
$(view).hide();
}
else {
$(".sidebar-view").hide();
$(view).show();
}
});
}); });
</script> </script>

View File

@ -10,7 +10,8 @@ HTML::formOpen(array('class'=>'uk-form-stacked'));
'value'=>$Security->getTokenCSRF() 'value'=>$Security->getTokenCSRF()
)); ));
// ---- LEFT SIDE ---- // LEFT SIDE
// --------------------------------------------------------------------
echo '<div class="uk-grid uk-grid-medium">'; echo '<div class="uk-grid uk-grid-medium">';
echo '<div class="bl-publish-view uk-width-8-10">'; echo '<div class="bl-publish-view uk-width-8-10">';
@ -33,25 +34,22 @@ echo '<div class="bl-publish-view uk-width-8-10">';
// Form buttons // Form buttons
echo '<div class="uk-form-row uk-margin-bottom"> echo '<div class="uk-form-row uk-margin-bottom">
<button class="uk-button uk-button-primary" type="submit">'.$L->g('Save').'</button> <button class="uk-button uk-button-primary" type="submit">'.$L->g('Save').'</button>
<a class="uk-button" href="'.HTML_PATH_ADMIN_ROOT.'manage-pages">'.$L->g('Cancel').'</a> <button class="uk-button uk-button-primary" type="button" id="jsSaveDraft">'.$L->g('Save as draft').'</button>
<a class="uk-button" href="'.HTML_PATH_ADMIN_ROOT.'manage-posts">'.$L->g('Cancel').'</a>
</div>'; </div>';
echo '</div>'; echo '</div>';
// ---- RIGHT SIDE ---- // RIGHT SIDE
// --------------------------------------------------------------------
echo '<div class="bl-publish-sidebar uk-width-2-10">'; echo '<div class="bl-publish-sidebar uk-width-2-10">';
// Tabs, general and advanced mode echo '<ul>';
echo '<ul class="uk-tab" data-uk-tab="{connect:\'#tab-options\'}">';
echo '<li><a href="">'.$L->g('General').'</a></li>';
echo '<li><a href="">'.$L->g('Images').'</a></li>';
echo '<li><a href="">'.$L->g('Advanced').'</a></li>';
echo '</ul>';
echo '<ul id="tab-options" class="uk-switcher uk-margin">'; // GENERAL TAB
// --------------------------------------------------------------------
// ---- GENERAL TAB ---- echo '<li><h2 class="sidebar-button" data-view="sidebar-general-view"><i class="uk-icon-angle-down"></i> '.$L->g('General').'</h2></li>';
echo '<li>'; echo '<li id="sidebar-general-view" class="sidebar-view">';
// Description input // Description input
HTML::formTextarea(array( HTML::formTextarea(array(
@ -63,23 +61,15 @@ echo '<div class="bl-publish-sidebar uk-width-2-10">';
'tip'=>$L->g('this-field-can-help-describe-the-content') 'tip'=>$L->g('this-field-can-help-describe-the-content')
)); ));
// Tags input
HTML::tags(array(
'name'=>'tags',
'label'=>$L->g('Tags'),
'allTags'=>$dbTags->getAll(),
'selectedTags'=>array()
));
echo '</li>'; echo '</li>';
// ---- IMAGES TAB ---- // IMAGES TAB
echo '<li>'; // --------------------------------------------------------------------
echo '<li><h2 class="sidebar-button" data-view="sidebar-images-view"><i class="uk-icon-angle-down"></i> '.$L->g('Images').'</h2></li>';
echo '<li id="sidebar-images-view" class="sidebar-view">';
// --- BLUDIT COVER IMAGE --- // --- BLUDIT COVER IMAGE ---
echo '<hr>';
HTML::bluditCoverImage(); HTML::bluditCoverImage();
echo '<hr>';
// --- BLUDIT QUICK IMAGES --- // --- BLUDIT QUICK IMAGES ---
HTML::bluditQuickImages(); HTML::bluditQuickImages();
@ -92,8 +82,25 @@ echo '<div class="bl-publish-sidebar uk-width-2-10">';
echo '</li>'; echo '</li>';
// ---- ADVANCED TAB ---- // TAGS
echo '<li>'; // --------------------------------------------------------------------
echo '<li><h2 class="sidebar-button" data-view="sidebar-tags-view"><i class="uk-icon-angle-down"></i> '.$L->g('Tags').'</h2></li>';
echo '<li id="sidebar-tags-view" class="sidebar-view">';
// Tags input
HTML::tags(array(
'name'=>'tags',
'label'=>'',
'allTags'=>$dbTags->getAll(),
'selectedTags'=>array()
));
echo '</li>';
// ADVANCED TAB
// --------------------------------------------------------------------
echo '<li><h2 class="sidebar-button" data-view="sidebar-advanced-view"><i class="uk-icon-angle-down"></i> '.$L->g('Advanced').'</h2></li>';
echo '<li id="sidebar-advanced-view" class="sidebar-view">';
// Status input // Status input
HTML::formSelect(array( HTML::formSelect(array(
@ -179,6 +186,25 @@ $(document).ready(function()
checkSlugPage(text, parent, "", $("#jsslug")); checkSlugPage(text, parent, "", $("#jsslug"));
}); });
// Button Save as draft
$("#jsSaveDraft").on("click", function() {
$("#jsstatus").val("draft");
$(".uk-form").submit();
});
// Right sidebar
$(".sidebar-button").click(function() {
var view = "#" + $(this).data("view");
if( $(view).is(":visible") ) {
$(view).hide();
}
else {
$(".sidebar-view").hide();
$(view).show();
}
});
}); });
</script> </script>

View File

@ -10,7 +10,8 @@ HTML::formOpen(array('class'=>'uk-form-stacked'));
'value'=>$Security->getTokenCSRF() 'value'=>$Security->getTokenCSRF()
)); ));
// ---- LEFT SIDE ---- // LEFT SIDE
// --------------------------------------------------------------------
echo '<div class="uk-grid uk-grid-medium">'; echo '<div class="uk-grid uk-grid-medium">';
echo '<div class="bl-publish-view uk-width-8-10">'; echo '<div class="bl-publish-view uk-width-8-10">';
@ -33,25 +34,22 @@ echo '<div class="bl-publish-view uk-width-8-10">';
// Form buttons // Form buttons
echo '<div class="uk-form-row uk-margin-bottom"> echo '<div class="uk-form-row uk-margin-bottom">
<button class="uk-button uk-button-primary" type="submit">'.$L->g('Save').'</button> <button class="uk-button uk-button-primary" type="submit">'.$L->g('Save').'</button>
<button class="uk-button uk-button-primary" type="button" id="jsSaveDraft">'.$L->g('Save as draft').'</button>
<a class="uk-button" href="'.HTML_PATH_ADMIN_ROOT.'manage-posts">'.$L->g('Cancel').'</a> <a class="uk-button" href="'.HTML_PATH_ADMIN_ROOT.'manage-posts">'.$L->g('Cancel').'</a>
</div>'; </div>';
echo '</div>'; echo '</div>';
// ---- RIGHT SIDE ---- // RIGHT SIDE
// --------------------------------------------------------------------
echo '<div class="bl-publish-sidebar uk-width-2-10">'; echo '<div class="bl-publish-sidebar uk-width-2-10">';
// Tabs, general and advanced mode echo '<ul>';
echo '<ul class="uk-tab" data-uk-tab="{connect:\'#tab-options\'}">';
echo '<li><a href="">'.$L->g('General').'</a></li>';
echo '<li><a href="">'.$L->g('Images').'</a></li>';
echo '<li><a href="">'.$L->g('Advanced').'</a></li>';
echo '</ul>';
echo '<ul id="tab-options" class="uk-switcher uk-margin">'; // GENERAL TAB
// --------------------------------------------------------------------
// ---- GENERAL TAB ---- echo '<li><h2 class="sidebar-button" data-view="sidebar-general-view"><i class="uk-icon-angle-down"></i> '.$L->g('General').'</h2></li>';
echo '<li>'; echo '<li id="sidebar-general-view" class="sidebar-view">';
// Description input // Description input
HTML::formTextarea(array( HTML::formTextarea(array(
@ -63,23 +61,15 @@ echo '<div class="bl-publish-sidebar uk-width-2-10">';
'tip'=>$L->g('this-field-can-help-describe-the-content') 'tip'=>$L->g('this-field-can-help-describe-the-content')
)); ));
// Tags input
HTML::tags(array(
'name'=>'tags',
'label'=>$L->g('Tags'),
'allTags'=>$dbTags->getAll(),
'selectedTags'=>array()
));
echo '</li>'; echo '</li>';
// ---- IMAGES TAB ---- // IMAGES TAB
echo '<li>'; // --------------------------------------------------------------------
echo '<li><h2 class="sidebar-button" data-view="sidebar-images-view"><i class="uk-icon-angle-down"></i> '.$L->g('Images').'</h2></li>';
echo '<li id="sidebar-images-view" class="sidebar-view">';
// --- BLUDIT COVER IMAGE --- // --- BLUDIT COVER IMAGE ---
echo '<hr>';
HTML::bluditCoverImage(); HTML::bluditCoverImage();
echo '<hr>';
// --- BLUDIT QUICK IMAGES --- // --- BLUDIT QUICK IMAGES ---
HTML::bluditQuickImages(); HTML::bluditQuickImages();
@ -92,8 +82,25 @@ echo '<div class="bl-publish-sidebar uk-width-2-10">';
echo '</li>'; echo '</li>';
// ---- ADVANCED TAB ---- // TAGS
echo '<li>'; // --------------------------------------------------------------------
echo '<li><h2 class="sidebar-button" data-view="sidebar-tags-view"><i class="uk-icon-angle-down"></i> '.$L->g('Tags').'</h2></li>';
echo '<li id="sidebar-tags-view" class="sidebar-view">';
// Tags input
HTML::tags(array(
'name'=>'tags',
'label'=>'',
'allTags'=>$dbTags->getAll(),
'selectedTags'=>array()
));
echo '</li>';
// ADVANCED TAB
// --------------------------------------------------------------------
echo '<li><h2 class="sidebar-button" data-view="sidebar-advanced-view"><i class="uk-icon-angle-down"></i> '.$L->g('Advanced').'</h2></li>';
echo '<li id="sidebar-advanced-view" class="sidebar-view">';
// Status input // Status input
HTML::formSelect(array( HTML::formSelect(array(
@ -149,6 +156,25 @@ $(document).ready(function() {
checkSlugPost(slug, "", $("#jsslug")); checkSlugPost(slug, "", $("#jsslug"));
}); });
// Button Save as draft
$("#jsSaveDraft").on("click", function() {
$("#jsstatus").val("draft");
$(".uk-form").submit();
});
// Right sidebar
$(".sidebar-button").click(function() {
var view = "#" + $(this).data("view");
if( $(view).is(":visible") ) {
$(view).hide();
}
else {
$(".sidebar-view").hide();
$(view).show();
}
});
}); });
</script> </script>

View File

@ -1,16 +1,16 @@
<?php defined('BLUDIT') or die('Bludit CMS.'); <?php defined('BLUDIT') or die('Bludit CMS.');
// Bludit version // Bludit version
define('BLUDIT_VERSION', '1.5-beta1'); define('BLUDIT_VERSION', '1.6-beta');
define('BLUDIT_CODENAME', ''); define('BLUDIT_CODENAME', '');
define('BLUDIT_RELEASE_DATE', '2016-09-25'); define('BLUDIT_RELEASE_DATE', '');
define('BLUDIT_BUILD', '20160925'); define('BLUDIT_BUILD', '');
// Debug mode // Debug mode
// Change to FALSE, for prevent warning or error on browser
define('DEBUG_MODE', TRUE); define('DEBUG_MODE', TRUE);
error_reporting(0); // Turn off all error reporting error_reporting(0); // Turn off all error reporting
if(DEBUG_MODE) if(DEBUG_MODE) {
{
// Turn on all error reporting // Turn on all error reporting
ini_set("display_errors", 1); ini_set("display_errors", 1);
ini_set('display_startup_errors',1); ini_set('display_startup_errors',1);
@ -59,6 +59,9 @@ if(!defined('JSON_PRETTY_PRINT')) {
// Protecting against Symlink attacks. // Protecting against Symlink attacks.
define('CHECK_SYMBOLIC_LINKS', TRUE); define('CHECK_SYMBOLIC_LINKS', TRUE);
// Auto scroll
define('AUTO_SCROLL', TRUE);
// Alert status ok // Alert status ok
define('ALERT_STATUS_OK', 0); define('ALERT_STATUS_OK', 0);
@ -90,7 +93,7 @@ define('NO_PARENT_CHAR', '3849abb4cb7abd24c2d8dac17b216f17');
// Post per page on Manage->Posts // Post per page on Manage->Posts
define('POSTS_PER_PAGE_ADMIN', 10); define('POSTS_PER_PAGE_ADMIN', 10);
// Cli mode status for new posts/pages // Enable or disable Cli mode
define('CLI_MODE', FALSE); define('CLI_MODE', FALSE);
// Cli mode status for new posts/pages // Cli mode status for new posts/pages
@ -99,7 +102,7 @@ define('CLI_STATUS', 'published');
// Cli mode username for new posts/pages // Cli mode username for new posts/pages
define('CLI_USERNAME', 'admin'); define('CLI_USERNAME', 'admin');
// Filename for posts and pages, you can change for example, for index.md // Filename for posts and pages, you can change it, for example, for index.md
define('FILENAME', 'index.txt'); define('FILENAME', 'index.txt');
// Database date format // Database date format
@ -117,8 +120,8 @@ define('TOKEN_EMAIL_TTL', '+15 minutes');
// Charset, default UTF-8. // Charset, default UTF-8.
define('CHARSET', 'UTF-8'); define('CHARSET', 'UTF-8');
// EXTREME FRIENDLY URL, TRUE for dissmiss internet standard // EXTREME FRIENDLY URL, TRUE for dissmiss internet standard. Experimental!
define('EXTREME_FRIENDLY_URL', false); define('EXTREME_FRIENDLY_URL', FALSE);
// Directory permissions // Directory permissions
define('DIR_PERMISSIONS', 0755); define('DIR_PERMISSIONS', 0755);

View File

@ -13,7 +13,7 @@ $posts = array();
// ============================================================================ // ============================================================================
// Search for changes on posts by the user. // Search for changes on posts by the user.
if( CLI_MODE && false) { if( CLI_MODE ) {
if($dbPosts->cliMode()) { if($dbPosts->cliMode()) {
reIndexTagsPosts(); reIndexTagsPosts();
} }

View File

@ -3,7 +3,7 @@
// Load plugins rules // Load plugins rules
include(PATH_RULES.'60.plugins.php'); include(PATH_RULES.'60.plugins.php');
// Plugins before rules loaded, except plugins rules // Plugins before rules loaded
Theme::plugins('beforeRulesLoad'); Theme::plugins('beforeRulesLoad');
// Load rules // Load rules

View File

@ -112,7 +112,6 @@ function buildPostsForPage($pageNumber=0, $amount=POSTS_PER_PAGE_ADMIN, $removeU
// PAGE FUNCTIONS // PAGE FUNCTIONS
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
function sortPages($a, $b) function sortPages($a, $b)
{ {
if ($a['position'] == $b['position']) { if ($a['position'] == $b['position']) {
@ -237,7 +236,9 @@ function buildAllPages()
} }
} }
if( isset($pagesParentsPublished[NO_PARENT_CHAR]) ) {
$parents = $pagesParentsPublished[NO_PARENT_CHAR]; $parents = $pagesParentsPublished[NO_PARENT_CHAR];
}
return $pages; return $pages;
} }

View File

@ -18,7 +18,7 @@ class Theme {
return $tmp; return $tmp;
} }
public static function css($files, $path=HTML_PATH_THEME_CSS, $echo=true) public static function css($files, $path=DOMAIN_THEME_CSS, $echo=true)
{ {
if(!is_array($files)) { if(!is_array($files)) {
$files = array($files); $files = array($files);

View File

@ -243,7 +243,11 @@
"to-enable-the-user-you-have-to-set-a-new-password": "За да се активира на ново потребителя трябва да му зададете нова парола .", "to-enable-the-user-you-have-to-set-a-new-password": "За да се активира на ново потребителя трябва да му зададете нова парола .",
"do-you-want-to-disable-the-user": "Искате ли да деактивирате този потребител?", "do-you-want-to-disable-the-user": "Искате ли да деактивирате този потребител?",
"сurrent-status" : "Статус", "сurrent-status" : "Статус",
"disable-the-user" : "Деактивиране на потребителя" "disable-the-user" : "Деактивиране на потребителя",
"add-a-new-page": "Добавяне на нова страница",
"add-a-new-post": "Добавяне на нова публикация",
"save-as-draft": "Запази като чернова"
} }

View File

@ -247,5 +247,7 @@
"сurrent-status" : "Status", "сurrent-status" : "Status",
"disable-the-user" : "Disable the user", "disable-the-user" : "Disable the user",
"add-a-new-page": "Add a new page", "add-a-new-page": "Add a new page",
"add-a-new-post": "Add a new post" "add-a-new-post": "Add a new post",
"save-as-draft": "Save as draft"
} }

View File

@ -240,5 +240,12 @@
"email-access-code": "Código de acceso via email", "email-access-code": "Código de acceso via email",
"current-format": "Formato actual", "current-format": "Formato actual",
"welcome": "Bienvenido" "welcome": "Bienvenido",
"to-enable-the-user-you-have-to-set-a-new-password": "Para habilitar el usuario debe asignarle una contraseña.",
"do-you-want-to-disable-the-user": "Quiere deshabilitar el usuario ?",
"сurrent-status" : "Estado",
"disable-the-user" : "Deshabilitar usuario",
"add-a-new-page": "Crear nueva pagina",
"add-a-new-post": "Crear nuevo post"
} }

View File

@ -96,7 +96,7 @@
"the-page-has-been-deleted-successfully": "La page a été supprimée avec succès !", "the-page-has-been-deleted-successfully": "La page a été supprimée avec succès !",
"username-or-password-incorrect": "Nom dutilisateur ou mot de passe incorrect.", "username-or-password-incorrect": "Nom dutilisateur ou mot de passe incorrect.",
"database-regenerated": "Base de données régénérée.", "database-regenerated": "Base de données régénérée.",
"the-changes-have-been-saved": "Les modifications on était sauvegardées.", "the-changes-have-been-saved": "Les modifications ont été sauvegardées.",
"enable-more-features-at": "Activer plus de fonctionnalités en vous rendant vers ", "enable-more-features-at": "Activer plus de fonctionnalités en vous rendant vers ",
"username-already-exists-or-is-empty": "Le nom dutilisateur existe déjà ou est inexistant.", "username-already-exists-or-is-empty": "Le nom dutilisateur existe déjà ou est inexistant.",
"username-field-is-empty": "Le champ utilisateur est vide !", "username-field-is-empty": "Le champ utilisateur est vide !",

View File

@ -208,7 +208,45 @@
"date-format": "פורמט תאריך", "date-format": "פורמט תאריך",
"time-format": "פורמט שעה", "time-format": "פורמט שעה",
"chat-with-developers-and-users-on-gitter":"שוחח עם מפתחים ומשתמשים ב[Gitter](https://gitter.im/dignajar/bludit)", "chat-with-developers-and-users-on-gitter":"שוחח עם מפתחים ומשתמשים ב[Gitter](https://gitter.im/dignajar/bludit)",
"this-is-a-brief-description-of-yourself-our-your-blog":"זהו תאור קצר עליך או על אתרך. בכדי לשנות אותו נווט לדף הניהול->הגדרות->תוספים והגדר את תוסף about", "this-is-a-brief-description-of-yourself-our-your-blog":"זהו תאור קצר עליך או על אתרך. בכדי לשנות אותו נווט לדף הניהול->הגדרות->תוספים והגדר את תוסף about",
"profile-picture": "תמונת פרופיל" "profile-picture": "תמונת פרופיל",
"the-about-page-is-very-important": "דף האודות הוא כלי חשוב ומשמעותי עבור לקוחות ושותפים פוטנציאלים. דף זה הוא המקום הראשון בו ניתן ללמוד מי עומד מאחורי האתר.",
"change-this-pages-content-on-the-admin-panel": "ערוך עמוד זה דרך ממשק הניהול (ניהול- דפים- אודות).",
"about-your-site-or-yourself": "על האתר ועליך.",
"welcome-to-bludit": "ברוכים הבאים ל-Bludit",
"site-information": "מידע על האתר",
"date-and-time-formats": "תצורות תאריך ושעה",
"activate": "הפוך לפעיל",
"deactivate": "הפוך ללא פעיל",
"cover-image": "תמונת רקע",
"blog": "בלוג",
"more-images": "עוד תמונות",
"click-here-to-cancel": "לחץ לביטול",
"type-the-tag-and-press-enter": "הזן תגית ולחץ Enter",
"add": "הוספה",
"manage-your-bludit-from-the-admin-panel": "נהל את ה-Bludit שלך מ[ממשק הניהול]({{ADMIN_AREA_LINK}})",
"there-are-no-images":"אין תמונות",
"click-on-the-image-for-options": "לחץ על התמונה לאפשרויות נוספות",
"set-as-cover-image": "קבע כתמונת רקע",
"delete-image": "מחק תמונה",
"image-description": "תיאור התמונה",
"social-networks-links": "קישורים לרשתות חברתיות",
"email-access-code": "קוד גישה באימייל",
"current-format": "תצורה נוכחית",
"welcome": "ברוכים הבאים,",
"to-enable-the-user-you-have-to-set-a-new-password": "קבע סיסמא חדשה כדי להפעיל את המשתמש.",
"do-you-want-to-disable-the-user": "האם ברצונך להפוך משתמש זה ללא פעיל?",
"сurrent-status" : "סטטוס",
"disable-the-user" : "הפוך משתמש ללא פעיל",
"add-a-new-page": "הוספת דף",
"add-a-new-post": "הוספת הודעה"
} }

View File

@ -3,8 +3,8 @@
{ {
"native": "Nederlands", "native": "Nederlands",
"english-name": "Dutch", "english-name": "Dutch",
"last-update": "2015-12-23", "last-update": "2016-10-11",
"author": "Ray", "author": "Ray, Joery Zegers",
"email": "", "email": "",
"website": "" "website": ""
}, },
@ -37,12 +37,11 @@
"draft": "Concept", "draft": "Concept",
"delete": "Verwijder", "delete": "Verwijder",
"registered": "Geregistreerd", "registered": "Geregistreerd",
"Notifications": "Berichtgevingen", "Notifications": "Notificaties",
"profile": "Profiel", "profile": "Profiel",
"email": "Email", "email": "Email",
"settings": "Instellingen", "settings": "Instellingen",
"general": "Algemeen", "general": "Algemeen",
"Advanced": "Geavanceerd",
"advanced": "Geavanceerd", "advanced": "Geavanceerd",
"regional": "Taal/Tijd/Locatie", "regional": "Taal/Tijd/Locatie",
"about": "Over ons", "about": "Over ons",
@ -53,7 +52,7 @@
"prev-page": "Vorige pagina", "prev-page": "Vorige pagina",
"next-page": "Volgende pagina", "next-page": "Volgende pagina",
"configure-plugin": "Configureer de plugin", "configure-plugin": "Configureer de plugin",
"confirm-delete-this-action-cannot-be-undone": "Bevestig het verwijderen,dit kan niet ongedaan worden gemaakt.", "confirm-delete-this-action-cannot-be-undone": "Bevestig het verwijderen, dit kan niet ongedaan worden gemaakt.",
"site-title": "Titel van de site", "site-title": "Titel van de site",
"site-slogan": "Slogan voor de site", "site-slogan": "Slogan voor de site",
"site-description": "Omschrijving van de site", "site-description": "Omschrijving van de site",
@ -85,7 +84,7 @@
"publish-now": "Publiceer nu", "publish-now": "Publiceer nu",
"first-name": "Voornaam", "first-name": "Voornaam",
"last-name": "Achternaam", "last-name": "Achternaam",
"bludit-version": "Bludit Versie", "bludit-version": "Bludit versie",
"powered-by": "Aangestuurd door", "powered-by": "Aangestuurd door",
"recent-posts": "Recente artikelen", "recent-posts": "Recente artikelen",
"manage-pages": "Beheer pagina's", "manage-pages": "Beheer pagina's",
@ -104,22 +103,22 @@
"the-password-and-confirmation-password-do-not-match":"Ingevoerde wachtwoorden zijn niet gelijk aan elkaar", "the-password-and-confirmation-password-do-not-match":"Ingevoerde wachtwoorden zijn niet gelijk aan elkaar",
"user-has-been-added-successfully": "Gebruiker toegevoegd", "user-has-been-added-successfully": "Gebruiker toegevoegd",
"you-do-not-have-sufficient-permissions": "Onvoldoende rechten voor deze uitvoering", "you-do-not-have-sufficient-permissions": "Onvoldoende rechten voor deze uitvoering",
"settings-advanced-writting-settings": "Instellingen-> Geavanceerd-> Schrijf instellingen", "settings-advanced-writting-settings": "Instellingen -> Geavanceerd -> Schrijf instellingen",
"new-posts-and-pages-synchronized": "Pagina's en artikelen zijn gesynchroniseerd.", "new-posts-and-pages-synchronized": "Pagina's en artikelen zijn gesynchroniseerd.",
"you-can-choose-the-users-privilege": "Stel hier privileges in. De editor rol kan alleen pagina's en artikelen plaatsen.", "you-can-choose-the-users-privilege": "Stel hier de rechten in. De editor rol kan alleen pagina's en artikelen plaatsen.",
"email-will-not-be-publicly-displayed": "Email(afgeschermd). Aanbevolen voor vergeten wachtwoord en notificaties ", "email-will-not-be-publicly-displayed": "Email (afgeschermd). Aanbevolen voor vergeten wachtwoord en notificaties.",
"use-this-field-to-name-your-site": "Titel van de site,wordt op iedere pagina weergegeven.", "use-this-field-to-name-your-site": "Titel van de site, deze wordt op iedere pagina weergegeven.",
"use-this-field-to-add-a-catchy-phrase": "Slogan voor je site.", "use-this-field-to-add-a-catchy-phrase": "Slogan voor je site.",
"you-can-add-a-site-description-to-provide": "Korte omschrijving van je site.", "you-can-add-a-site-description-to-provide": "Korte omschrijving van je site.",
"you-can-add-a-small-text-on-the-bottom": "Plaats hier een korte tekst( bijv.copyright / datum / merknaam )", "you-can-add-a-small-text-on-the-bottom": "Plaats hier een korte tekst (bijvoorbeeld de copyright, datum of merknaam)",
"number-of-posts-to-show-per-page": "Aantal artikelen per pagina.", "number-of-posts-to-show-per-page": "Aantal artikelen per pagina.",
"the-url-of-your-site": "De url van je site.", "the-url-of-your-site": "De URL van je site.",
"add-or-edit-description-tags-or": "Plaats of bewerk omschrijving / tags / gebruiksvriendelijke URL.", "add-or-edit-description-tags-or": "Plaats of bewerk de omschrijving, tags of de gebruiksvriendelijke URL.",
"select-your-sites-language": "Selecteer taal.", "select-your-sites-language": "Selecteer taal.",
"select-a-timezone-for-a-correct": "Selecteer de tijdzone.", "select-a-timezone-for-a-correct": "Selecteer de tijdzone.",
"you-can-use-this-field-to-define-a-set-of": "Speciale instellingen voor tijd / datum.", "you-can-use-this-field-to-define-a-set-of": "Je kan dit veld gebruiken om speciale instellingen toe te passen aan de taal of land.",
"you-can-modify-the-url-which-identifies":"Plaats hier de tekst voor gebruiksvriendelijke URL / niet meer dan 150 leestekens.", "you-can-modify-the-url-which-identifies":"Je kan de URL aanpassen om pagina's of posts beter te identificeren. Niet meer dan 150 karakters.",
"this-field-can-help-describe-the-content": "Omschrijving voor gebruiksvriendelijke URL / niet meer dan 150 leestekens.", "this-field-can-help-describe-the-content": "Dit veld kan je gebruiken om de content te omschrijven in een paar woorden. Niet meer dan 150 karakters.",
"delete-the-user-and-all-its-posts":"Verwijder de gebruiker en alle berichten", "delete-the-user-and-all-its-posts":"Verwijder de gebruiker en alle berichten",
"delete-the-user-and-associate-its-posts-to-admin-user": "Verwijder de gebruiker en koppel deze berichten aan de admin", "delete-the-user-and-associate-its-posts-to-admin-user": "Verwijder de gebruiker en koppel deze berichten aan de admin",
@ -139,7 +138,7 @@
"first-post": "Eerste bericht", "first-post": "Eerste bericht",
"congratulations-you-have-successfully-installed-your-bludit": "Gefeliciteerd je hebt succesvol **Bludit** geinstalleerd.", "congratulations-you-have-successfully-installed-your-bludit": "Gefeliciteerd je hebt succesvol **Bludit** geinstalleerd.",
"whats-next": "Wat nu", "whats-next": "Wat nu",
"manage-your-bludit-from-the-admin-panel": "Beheer Bludit vanuit [admin area](./admin/)",
"follow-bludit-on": "Volg Bludit via", "follow-bludit-on": "Volg Bludit via",
"visit-the-support-forum": "Bezoek het [forum](https://forum.bludit.com) voor ondersteuning", "visit-the-support-forum": "Bezoek het [forum](https://forum.bludit.com) voor ondersteuning",
"read-the-documentation-for-more-information": "Lees de [documentatie](https://docs.bludit.com) voor meer informatie", "read-the-documentation-for-more-information": "Lees de [documentatie](https://docs.bludit.com) voor meer informatie",
@ -158,21 +157,21 @@
"proceed-anyway": "Alsnog doorgaan!", "proceed-anyway": "Alsnog doorgaan!",
"drafts":"Concepten", "drafts":"Concepten",
"ip-address-has-been-blocked": "IP adres is geblokkeerd.", "ip-address-has-been-blocked": "IP adres is geblokkeerd.",
"try-again-in-a-few-minutes": "Probeer het zo meteen nogmaals.", "try-again-in-a-few-minutes": "Probeer het zometeen opnieuw.",
"date": "Datum", "date": "Datum",
"scheduled": "Ingepland", "scheduled": "Ingepland",
"publish": "Publiseer", "publish": "Publiceer",
"please-check-your-theme-configuration": "Controleer je thema configuratie.", "please-check-your-theme-configuration": "Controleer je thema configuratie.",
"plugin-label": "Plugin label", "plugin-label": "Plugin label",
"enabled": "Ingeschakeld", "enabled": "Ingeschakeld",
"disabled": "Uitgeschakeld", "disabled": "Uitgeschakeld",
"cli-mode": "Cli mode", "cli-mode": "CLI mode",
"command-line-mode": "Opdracht lijn mode", "command-line-mode": "opdrachtprompt mode",
"enable-the-command-line-mode-if-you-add-edit": "Schakel de opdracht lijn mode in als je posten en pagina's toevoegd, aanpast of verwijderd van het bestandssysteem", "enable-the-command-line-mode-if-you-add-edit": "Schakel de opdrachtprompt mode in als je posten en pagina's toevoegd, aanpast of verwijderd vanuit het bestandssysteem",
"configure": "Instellen", "configure": "Instellen",
"uninstall": "Uitinstalleren", "uninstall": "Deinstalleren",
"change-password": "Verander wachtwoord", "change-password": "Verander wachtwoord",
"to-schedule-the-post-just-select-the-date-and-time": "Om je post in te plannen, selecteer een datum en tijd.", "to-schedule-the-post-just-select-the-date-and-time": "Om je post in te plannen, selecteer een datum en tijd.",
"write-the-tags-separated-by-commas": "Schrijf tags gescheiden door komma's.", "write-the-tags-separated-by-commas": "Schrijf tags gescheiden door komma's.",
@ -185,16 +184,16 @@
"sender-email": "Verzend email adres", "sender-email": "Verzend email adres",
"emails-will-be-sent-from-this-address":"Emails zullen vanaf dit adres verzonden worden.", "emails-will-be-sent-from-this-address":"Emails zullen vanaf dit adres verzonden worden.",
"bludit-login-access-code": "BLUDIT - Inlog toegangs code", "bludit-login-access-code": "BLUDIT - Inlog toegangs code",
"check-your-inbox-for-your-login-access-code":"Contreoleer je inbox voor jouw inlog toegangs code", "check-your-inbox-for-your-login-access-code":"Controleer je inbox voor jouw inlog toegangs code",
"there-was-a-problem-sending-the-email":"Er was een probleem met het verzenden van de email", "there-was-a-problem-sending-the-email":"Er was een probleem met het verzenden van de email",
"back-to-login-form": "Terug naar inlog formulier", "back-to-login-form": "Terug naar inlog formulier",
"send-me-a-login-access-code": "Stuur mij een inlog toegangs code", "send-me-a-login-access-code": "Stuur mij een inlog toegangs code",
"get-login-access-code": "Krijg een inlog toegangs code", "get-login-access-code": "Krijg een inlog toegangs code",
"email-notification-login-access-code": "<p>TDit is een bericht van je website {{WEBSITE_NAME}}</p><p>Je verzoek voor een inlog toegangs code, bekijk de volgende link:</p><p>{{LINK}}</p>", "email-notification-login-access-code": "<p>Dit is een bericht van je website {{WEBSITE_NAME}}</p><p>Je verzoek voor een inlog toegangs code, bekijk de volgende link:</p><p>{{LINK}}</p>",
"there-are-no-scheduled-posts": "Er zijn geen ingeplande posten.", "there-are-no-scheduled-posts": "Er zijn geen ingeplande posten.",
"show-password": "Toon wachtwoord", "show-password": "Toon wachtwoord",
"edit-or-remove-your=pages": "Pagina's aanpassen of verwijderen.", "edit-or-remove-your=pages": "Pagina's aanpassen of verwijderen.",
"edit-or-remove-your-blogs-posts": "Blog posten aanpassen of verwijderen.", "edit-or-remove-your-blogs-posts": "Blog posts aanpassen of verwijderen.",
"general-settings": "Algmene instellingen", "general-settings": "Algmene instellingen",
"advanced-settings": "Geavanceerde instellingen", "advanced-settings": "Geavanceerde instellingen",
"manage-users": "Gebruikersbeheer", "manage-users": "Gebruikersbeheer",
@ -205,19 +204,48 @@
"upload-image": "Afbeelding uploaden", "upload-image": "Afbeelding uploaden",
"drag-and-drop-or-click-here": "Sleep en plak of klik hier", "drag-and-drop-or-click-here": "Sleep en plak of klik hier",
"insert-image": "Afbeelding invoegen", "insert-image": "Afbeelding invoegen",
"supported-image-file-types": "Afbeelding types die toegestaan zijn", "supported-image-file-types": "Ondersteunde afbeeldingsformaten",
"date-format": "Datum formaat", "date-format": "Datum formaat",
"time-format": "Tijd formaat", "time-format": "Tijd formaat",
"chat-with-developers-and-users-on-gitter":"Chat met ontwikkelaars en gebruikers op [Gitter](https://gitter.im/dignajar/bludit)", "chat-with-developers-and-users-on-gitter":"Chat met ontwikkelaars en gebruikers op [Gitter](https://gitter.im/dignajar/bludit)",
"this-is-a-brief-description-of-yourself-our-your-site":"DFit is een korte omschrijving van jezelf of jouw site, om de tekst te veranderen ga naar het administratie paneel, instellingen, plugins, en configureer de plugin over ons.", "this-is-a-brief-description-of-yourself-our-your-site":"Dit is een korte omschrijving van jezelf of jouw site, om de tekst te veranderen ga naar het administratie paneel, instellingen, plugins, en configureer de plugin over ons.",
"profile-picture": "Profiel afbeelding", "profile-picture": "Profiel afbeelding",
"the-about-page-is-very-important": "De Over ons pagina is belangrijk en een sterk gereedschap voor potentiele klanten en partners. Voor mensen die willen weten wie achter deze website zit, dan is de Over ons pagina een eerste informatie bron.", "the-about-page-is-very-important": "De Over ons pagina is belangrijk en een sterk gereedschap voor potentiele klanten en partners. Voor mensen die willen weten wie achter deze website zit, dan is de Over ons pagina een eerste informatie bron.",
"change-this-pages-content-on-the-admin-panel": "Verander de inhoud via het administratie paneel, beheer, pagina's en klik de Over ons pagina.", "change-this-pages-content-on-the-admin-panel": "Verander de inhoud via het administratie paneel, beheer, pagina's en klik op de over ons pagina.",
"about-your-site-or-yourself": "Over de site en jezelf", "about-your-site-or-yourself": "Over de site en jezelf",
"welcome-to-bludit": "Welkom bij Bludit", "welcome-to-bludit": "Welkom bij Bludit",
"site-information": "Site informatie", "site-information": "Site informatie",
"date-and-time-formats": "Datum en tijd formaat", "date-and-time-formats": "Datum en tijd formaat",
"activate": "Activeer", "activate": "Activeer",
"deactivate": "Deactiveer" "deactivate": "Deactiveer",
"cover-image": "Omslagfoto",
"blog": "Blog",
"more-images": "Meer afbeeldingen",
"click-here-to-cancel": "Klik hier om te annuleren.",
"type-the-tag-and-press-enter": "Typ de tag en druk op enter.",
"add": "Toevoegen",
"manage-your-bludit-from-the-admin-panel": "Beheer Bludit vanuit de [admin area]({{ADMIN_AREA_LINK}})",
"there-are-no-images":"Er zijn geen afbeeldingen",
"click-on-the-image-for-options": "Klik op de afbeelding voor opties.",
"set-as-cover-image": "Stel in als omslagfoto",
"delete-image": "Verwijder afbeelding",
"image-description": "Afbeeldingsomschrijving",
"social-networks-links": "Sociale media links",
"email-access-code": "Email de toegangscode",
"current-format": "Huidig formaat",
"welcome": "Welkom",
"to-enable-the-user-you-have-to-set-a-new-password": "Om de gebruiker te activeren moet je een nieuw wachtwoord instellen.",
"do-you-want-to-disable-the-user": "Wil je de gebruiker deactiveren ?",
"сurrent-status" : "Status",
"disable-the-user" : "Deactiveer de gebruiker",
"add-a-new-page": "Voeg een nieuwe pagina toe",
"add-a-new-post": "Voeg een nieuwe post toe"
} }

238
bl-languages/pt_BR.json Normal file
View File

@ -0,0 +1,238 @@
{
"language-data":
{
"native": "Português (Brasil)",
"english-name": "Portuguese",
"last-update": "2016-10-17",
"author": "Marcelo",
"email": "",
"website": ""
},
"username": "Nome de usuário",
"password": "Senha",
"confirm-password": "Confirmar senha",
"editor": "Editor",
"dashboard": "Panel de administração",
"role": "Papel",
"post": "Entrada",
"posts": "Entradas",
"users": "Usuários",
"administrator": "Administrador",
"add": "Adicionar",
"cancel": "Cancelar",
"content": "Conteúdo",
"title": "Título",
"no-parent": "Sem parente",
"edit-page": "Editar página",
"edit-post": "Editar entrada",
"add-a-new-user": "Adicionar novo usuário",
"parent": "Parente",
"friendly-url": "URL amigável",
"description": "Descrição",
"posted-by": "Publicado por",
"tags": "Etiquetas",
"position": "Posição",
"save": "Salvar",
"draft": "Esboço",
"delete": "Eliminar",
"registered": "Registrado",
"Notifications": "Notificações",
"profile": "Perfil",
"email": "Correio electrônico",
"settings": "Ajustes",
"general": "Geral",
"advanced": "Avançado",
"regional": "Regional",
"about": "Sobre",
"login": "Iniciar sessão",
"logout": "Encerrar sessão",
"manage": "Administrar",
"themes": "Temas",
"prev-page": "Página anterior",
"next-page": "Página seguinte",
"configure-plugin": "Configurar complemento",
"confirm-delete-this-action-cannot-be-undone": "Confirmar eliminação (esta operação não pode ser desfeita).",
"site-title": "Título do site",
"site-slogan": "Slogan do site",
"site-description": "Descrição do site",
"footer-text": "Texto de pé de página",
"posts-per-page": "Entradas por página",
"site-url": "URL do site",
"writting-settings": "Ajustes de redação",
"url-filters": "Filtros URL",
"page": "Página",
"pages": "Páginas",
"home": "Início",
"welcome-back": "Bem-vindo",
"language": "Idioma",
"website": "Site web",
"timezone": "Fuso horário",
"locale": "Local",
"new-post": "Nova entrada",
"new-page": "Nova página",
"html-and-markdown-code-supported": "Código HTML e Markdown suportado",
"manage-posts": "Administrar entradas",
"published-date": "Data de publicação",
"modified-date": "Data de modificação",
"empty-title": "Título vazio",
"plugins": "Complementos",
"install-plugin": "Instalar complemento",
"uninstall-plugin": "Desinstalar complemento",
"new-password": "Nova senha",
"edit-user": "Editar usuário",
"publish-now": "Publicar",
"first-name": "Prenome",
"last-name": "Nome",
"bludit-version": "Versão do Bludit",
"powered-by": "Gerado por",
"recent-posts": "Entradas recentes",
"manage-pages": "Administrar páginas",
"advanced-options": "Opções avançadas",
"user-deleted": "Usuário eliminado",
"page-added-successfully": "Nova página criada com sucesso",
"post-added-successfully": "Nova entrada criada com sucesso",
"the-post-has-been-deleted-successfully": "A entrada foi eliminada com sucesso",
"the-page-has-been-deleted-successfully": "A página foi eliminada com sucesso",
"username-or-password-incorrect": "Nome de usuário ou senha incorreto",
"database-regenerated": "Base de dados regenerada",
"the-changes-have-been-saved": "Alterações salvas",
"enable-more-features-at": "Habilitar mais funções em",
"username-already-exists": "O nome de usuário já existe",
"username-field-is-empty": "O campo nome de usuário está vazio",
"the-password-and-confirmation-password-do-not-match": "As senhas não coincidem",
"user-has-been-added-successfully": "O usuário foi criado com êxito",
"you-do-not-have-sufficient-permissions": "Você não tem privilégios suficientes para esta ação.",
"settings-advanced-writting-settings": "Ajustes->Avançado->Ajustes de redação",
"new-posts-and-pages-synchronized": "Novas entradas e páginas sincronizadas.",
"you-can-choose-the-users-privilege": "Pode escolher os privilégios de usuário. O papel de editor só pode editar páginas e entradas.",
"email-will-not-be-publicly-displayed": "O correio eletrônico não será mostrado. Recomendado para recuperar nome de usuário e senha.",
"use-this-field-to-name-your-site": "Utilize este campo para nomear seu site - aparecerá na parte superior da página.",
"use-this-field-to-add-a-catchy-phrase": "Utilize este campo para adicionar um slogan a seu site.",
"you-can-add-a-site-description-to-provide": "Você pode adicionar uma breve descrição ou biografia a seu site.",
"you-can-add-a-small-text-on-the-bottom": "Pode usuar o texto de pé de página para acrescentar informações.",
"number-of-posts-to-show-per-page": "Quantidade de entradas por página.",
"the-url-of-your-site": "URL de seu site.",
"add-or-edit-description-tags-or": "Acrescentar ou modificar a descrição, tagas e URL amigável",
"select-your-sites-language": "Seleciona o idioma de seu site.",
"select-a-timezone-for-a-correct": "Selecione o fuso horário para visualização correta de datas.",
"you-can-use-this-field-to-define-a-set-of": "Pode utilizar este campo para definições regionais.",
"you-can-modify-the-url-which-identifies": "Pode modificar o URL de identificação de uma entrada ou página. Máximo de 150 caracteres.",
"this-field-can-help-describe-the-content": "Este campo descreve o conteúdo da entrada ou página em poucas palavras. Máximo de 150 caracteres.",
"delete-the-user-and-all-its-posts": "Eliminar o usuário e suas entradas",
"delete-the-user-and-associate-its-posts-to-admin-user": "Eliminar o usuário e associar as entradas ao usuário administrador.",
"read-more": "Ler mais",
"show-blog": "Mostrar blog",
"default-home-page": "Página de início pré-definida",
"version": "Versão",
"there-are-no-drafts": "Não há esboços.",
"create-a-new-article-for-your-blog":"Criar um novo artigo para seu blog.",
"create-a-new-page-for-your-website":"Criar uma nova página para o site.",
"invite-a-friend-to-collaborate-on-your-website":"Convidar um amigo para colaborar com seu site.",
"change-your-language-and-region-settings":"Mudar a configuração de idioma e região.",
"language-and-timezone":"Idioma e fuso horário",
"author": "Autor",
"start-here": "Comece aqui",
"install-theme": "Instalar tema",
"first-post": "Primeira entrada",
"congratulations-you-have-successfully-installed-your-bludit": "Parabéns, você instalou o **Bludit** com sucesso",
"whats-next": "Próximos passos",
"follow-bludit-on": "Siga Bludit em",
"visit-the-support-forum": "Visite o [fórum](https://forum.bludit.com) para suporte",
"read-the-documentation-for-more-information": "Leia a [documentação](https://docs.bludit.com) para mais informações",
"share-with-your-friends-and-enjoy": "Compartilha com seus amigos e aproveite!",
"the-page-has-not-been-found": "A página não foi encontrada.",
"error": "Erro",
"bludit-installer": "Instalador do Bludit",
"welcome-to-the-bludit-installer": "Bem-vindo ao assistente de instação do Bludit",
"complete-the-form-choose-a-password-for-the-username-admin": "Complete o formulário e escolha uma senha para o usuário « admin »",
"password-visible-field": "Senha (este campo é visível!)",
"install": "Instalar",
"choose-your-language": "Selecione seu idioma",
"next": "Próximo",
"the-password-field-is-empty": "Deve preencher o campo senha",
"your-email-address-is-invalid":"Seu endereço de e-mail é inválido.",
"proceed-anyway": "Continuar mesmo assim.",
"drafts":"Esboços",
"ip-address-has-been-blocked":"Este endereço IP foi bloqueado.",
"try-again-in-a-few-minutes": "Tente novamente em alguns minutos.",
"date": "Data",
"scheduled": "Programado",
"publish": "Publicar",
"please-check-your-theme-configuration": "Verifique a configuração do tema.",
"plugin-label": "Titulo do complemento",
"enabled": "Habilitado",
"disabled": "Desabilitado",
"cli-mode": "Modo CLI",
"command-line-mode": "Linha de comando",
"enable-the-command-line-mode-if-you-add-edit": "Habilite o modo linha de comando se cria, edita ou elimina entradas ou páginas a partir do sistema de arquivos.",
"configure": "Configuração",
"uninstall": "Desinstalar",
"change-password": "Trocar senha",
"to-schedule-the-post-just-select-the-date-and-time": "Para programar a entrada, basta definir a data e a hora.",
"write-the-tags-separated-by-commas": "Escreva as etiquetas separadas por vírgulas.",
"status": "Estado",
"published": "Publicado",
"scheduled-posts": "Entradas programadas",
"statistics": "Estatísticas",
"name": "Nome",
"email-account-settings":"Configuração da conta de correio eletrônico",
"sender-email": "Endereço do remetente",
"emails-will-be-sent-from-this-address":"Os correios eletrônico serão enviados deste endereço como remetente.",
"bludit-login-access-code": "BLUDIT - Código de acesso",
"check-your-inbox-for-your-login-access-code":"Verifique sua caixa de entrada para obter o código de acesso.",
"there-was-a-problem-sending-the-email":"Houve um problema ao enviar o correio eletrônico.",
"back-to-login-form": "Voltar ao formulário de login",
"send-me-a-login-access-code": "Enviar o código de acesso",
"get-login-access-code": "Obter o código de acesso",
"email-notification-login-access-code": "<p>Esta é uma notificação de seu site {{WEBSITE_NAME}}</p><p>O código de acesso gerada é o seguinte:</p><p>{{LINK}}</p>",
"there-are-no-scheduled-posts": "Não há entradas programadas.",
"show-password": "Mostrar senha",
"edit-or-remove-your=pages": "Edite ou elimine suas páginas.",
"edit-or-remove-your-blogs-posts": "Edite ou elimine suas enrtadas de blog.",
"general-settings": "Ajustes gerais",
"advanced-settings": "Ajustes avançados",
"manage-users": "Administrar usuários",
"view-and-edit-your-profile": "Modifique seu perfil.",
"password-must-be-at-least-6-characters-long": "A senha deve ter pelo menos 6 caracteres.",
"images": "Imagens",
"upload-image": "Enviar imagem",
"drag-and-drop-or-click-here": "Arraste e solte, ou clique aqui",
"insert-image": "Inserir imagem",
"supported-image-file-types": "Tipos de imagem suportados",
"date-format": "Formato de data",
"time-format": "Formato de hora",
"chat-with-developers-and-users-on-gitter":"Converse com os desenvolvedores e usuários em [Gitter](https://gitter.im/dignajar/bludit)",
"this-is-a-brief-description-of-yourself-our-your-site":"Breve descrição de você ou de seu site, para mudar este texto, vá ao painel de administração, ajustes, complementos, e configure o complemento Sobre",
"profile-picture": "Imagem de perfil",
"the-about-page-is-very-important": "A página sobre é uma ferramente importante e de grande alcance aos visitantes.",
"change-this-pages-content-on-the-admin-panel": "Modifique o conteúdo desta página no painel de administração do site.",
"about-your-site-or-yourself": "Sobre seu site",
"welcome-to-bludit": "Bem-vindo ao Bludit",
"site-information": "Informação do site",
"date-and-time-formats": "Formato de data e hora",
"activate": "Ativar",
"deactivate": "Desativar",
"cover-image": "Imagem de capa",
"blog": "Blog",
"more-images": "Mais imagens",
"click-here-to-cancel": "Clique aqui para cancelar.",
"type-the-tag-and-press-enter": "Escreva uma etiqueta e pressione ENTER.",
"add": "Adicionar",
"manage-your-bludit-from-the-admin-panel": "Administre seu Bludit a partir do [painel de aadministração]({{ADMIN_AREA_LINK}})",
"there-are-no-images":"Não há imagens",
"click-on-the-image-for-options": "Clique na imagem para as opções.",
"set-as-cover-image": "Establecer como capa",
"delete-image": "Eliminar imagem",
"image-description": "Descrição da imagem",
"social-networks-links": "Links para redes sociais",
"email-access-code": "Código de accesso via e-mail",
"current-format": "Formato atual",
"welcome": "Bem-vindo",
"to-enable-the-user-you-have-to-set-a-new-password": "Para habilitar o usuário deve designar a ele um senha.",
"do-you-want-to-disable-the-user": "Quer desabilitar o usuário?",
"сurrent-status" : "Estado atual",
"disable-the-user" : "Desabilitar usuário",
"add-a-new-page": "Criar nova página",
"add-a-new-post": "Criar nova entrada"
}

251
bl-languages/pt_PT.json Normal file
View File

@ -0,0 +1,251 @@
{
"language-data":
{
"native": "Português (Portugal)",
"english-name": "Portugal",
"last-update": "2016-12-05",
"author": "Ricardo Pinto",
"email": "kadu247@gmail.com",
"website": ""
},
"username": "Utilizador",
"password": "Password",
"confirm-password": "Confirmar password",
"editor": "Editor",
"dashboard": "Dashboard",
"role": "Função",
"post": "Post",
"posts": "Posts",
"users": "Utilizadores",
"administrator": "Administrador",
"add": "Adicionar",
"cancel": "Canelar",
"content": "Conteúdo",
"title": "Título",
"no-parent": "Sem origem",
"edit-page": "Editar página",
"edit-post": "Editar post",
"add-a-new-user": "Adicionar novo utilizador",
"parent": "Origem",
"friendly-url": "URL amigável",
"description": "Descrição",
"posted-by": "Postado por",
"tags": "Etiquetas",
"position": "Posição",
"save": "Guardar",
"draft": "Rascunho",
"delete": "Apagar",
"registered": "Registado",
"notifications": "Notificações",
"profile": "Perfil",
"email": "Email",
"settings": "Definições",
"general": "Geral",
"advanced": "Avançado",
"regional": "Região",
"about": "Sobre",
"login": "Entrar",
"logout": "Sair",
"manage": "Gerir",
"themes": "Temas",
"prev-page": "Página seguinte",
"next-page": "Página anterior",
"configure-plugin": "Configurar plugin",
"confirm-delete-this-action-cannot-be-undone": "Confirmar apagar, esta acção não pode ser anulada.",
"site-title": "Titulo do site",
"site-slogan": "Slogan do site",
"site-description": "Descrição do site",
"footer-text": "Texto do radapé",
"posts-per-page": "Posts por página",
"site-url": "URL do site",
"writting-settings": "Definições de escrita",
"url-filters": "Filtros de URL",
"page": "Página",
"pages": "Páginas",
"home": "Início",
"welcome-back": "Bem-vindo de volta",
"language": "Linguagem",
"website": "Página web",
"timezone": "Fuso horário",
"locale": "Local",
"new-post": "Novo post",
"new-page": "Nova página",
"html-and-markdown-code-supported": "Código HTML e Markdown suportado",
"manage-posts": "Gerir posts",
"published-date": "Data de públicação",
"modified-date": "Data de modificação",
"empty-title": "Título vazio",
"plugins": "Plugins",
"install-plugin": "Instalar plugin",
"uninstall-plugin": "Desinstalar plugin",
"new-password": "Nova password",
"edit-user": "Editar utilizador",
"publish-now": "Publicar agora",
"first-name": "Primeiro nome",
"last-name": "Último nome",
"bludit-version": "Versão do Bludit",
"powered-by": "Distribuído por",
"recent-posts": "Posts recentes",
"manage-pages": "Gerir páginas",
"advanced-options": "Opções avançadas",
"user-deleted": "Utilizador apagado",
"page-added-successfully": "Página adicionada com sucesso",
"post-added-successfully": "Post adicionado com sucesso",
"the-post-has-been-deleted-successfully": "O post foi excluído com sucesso",
"the-page-has-been-deleted-successfully": "A página foi excluída com sucesso",
"username-or-password-incorrect": "Utilizador ou password incorrecto",
"database-regenerated": "Banco de dados regenerado",
"the-changes-have-been-saved": "As alterações foram guardadas",
"enable-more-features-at": "Activar mais recursos em",
"username-already-exists": "Utilizador já existe",
"username-field-is-empty": "Campo de utilizador está vazio",
"the-password-and-confirmation-password-do-not-match":"A password e a password de confirmação não correspondem",
"user-has-been-added-successfully": "Utilizador foi adicionado com sucesso",
"you-do-not-have-sufficient-permissions": "Não tem permissões suficientes para aceder a esta página, contacte o administrador.",
"settings-advanced-writting-settings": "Definições->Avançado->Definições de escrita",
"new-posts-and-pages-synchronized": "Novos posts e páginas sincronizadas.",
"you-can-choose-the-users-privilege": "Pode escolher o privilégio do utilizador. O papel do editor só pode escrever páginas e posts.",
"email-will-not-be-publicly-displayed": "O e-mail não será exibido publicamente. Recomendado para recuperação de password e notificações.",
"use-this-field-to-name-your-site": "Use este campo para nomear o seu site, ele aparecerá no topo de cada página do seu site.",
"use-this-field-to-add-a-catchy-phrase": "Use este campo para nomear seu site, ele aparecerá no topo de cada página do seu site.",
"you-can-add-a-site-description-to-provide": "Pode adicionar uma descrição do site para fornecer uma breve biografia ou descrição do seu site.",
"you-can-add-a-small-text-on-the-bottom": "Pode adicionar um pequeno texto na parte inferior de cada página. Por exemplo: copyright, proprietário, datas, etc.",
"number-of-posts-to-show-per-page": "Número de postagens a serem exibidas por página.",
"the-url-of-your-site": "O URL do sou site.",
"add-or-edit-description-tags-or": "Adicione ou edite a descrição, marque ou modifique o URL amigável.",
"select-your-sites-language": "Selecione o idioma do seu site.",
"select-a-timezone-for-a-correct": "Selecione um fuso horário para uma exibição correta de data/hora no seu site.",
"you-can-use-this-field-to-define-a-set-of": "Pode usar este campo para definir um conjunto de parâmetros relacionados ao idioma, país e preferências especiais.",
"you-can-modify-the-url-which-identifies":"Pode modificar o URL que identifica uma página ou postagem usando palavras-chave legíveis por humanos. Não mais de 150 caracteres.",
"this-field-can-help-describe-the-content": "Este campo pode ajudar a descrever o conteúdo em poucas palavras. Não mais de 150 caracteres.",
"delete-the-user-and-all-its-posts":"Excluir o utilizador e todas as suas postagens",
"delete-the-user-and-associate-its-posts-to-admin-user": "Excluir o utilizador e associar as postagens ao utilizador admin",
"read-more": "Ler mais",
"show-blog": "Mostrar blog",
"default-home-page": "Página inicial padrão",
"version": "Versão",
"there-are-no-drafts": "Não há rascunhos.",
"create-a-new-article-for-your-blog":"Criar um novo artigo para o seu blog.",
"create-a-new-page-for-your-website":"Criar uma nova página para o seu site.",
"invite-a-friend-to-collaborate-on-your-website":"Convide um amigo para colaborar no seu site.",
"change-your-language-and-region-settings":"Altere as configurações de idioma e região.",
"language-and-timezone":"Idioma e fuso horário",
"author": "Autor",
"start-here": "Começe aqui",
"install-theme": "Instalar tema",
"first-post": "Primeiro post",
"congratulations-you-have-successfully-installed-your-bludit": "Parabéns por ter instalado com sucesso o seu **Bludit**",
"whats-next": "O que se segue",
"follow-bludit-on": "Segue Bludit em",
"visit-the-support-forum": "Visite o [fórum] (https://forum.bludit.com) para obter suporte",
"read-the-documentation-for-more-information": "Leia a [documentação] (https://docs.bludit.com) para obter mais informações",
"share-with-your-friends-and-enjoy": "Partilhe com os seus amigos e desfrute",
"the-page-has-not-been-found": "A página não foi encontrada.",
"error": "Erro",
"bludit-installer": "Instalador Bludit",
"welcome-to-the-bludit-installer": "Bem-vindo ao instalador Bludit",
"complete-the-form-choose-a-password-for-the-username-admin": "Preencha o formulário, escolha uma password para o nome de utilizador «admin»",
"password-visible-field": "Password, campo visível!",
"install": "Instalar",
"choose-your-language": "Escolha o seu idioma",
"next": "Seguinte",
"the-password-field-is-empty": "O campo de password está vazio",
"your-email-address-is-invalid":"O seu endereço de e-mail é inválido.",
"proceed-anyway": "Continue de qualquer maneira!",
"drafts":"Rascunhos",
"ip-address-has-been-blocked": "O endereço IP foi bloqueado.",
"try-again-in-a-few-minutes": "Tente novamente em alguns minutos.",
"date": "Data",
"scheduled": "Agendado",
"publish": "Publicar",
"please-check-your-theme-configuration": "Verifique a configuração do seu tema.",
"plugin-label": "Etiqueta do plug-in",
"enabled": "Activado",
"disabled": "Desactivado",
"cli-mode": "Modo cli",
"command-line-mode": "Modo de linha de comandos",
"enable-the-command-line-mode-if-you-add-edit": "Ativar o modo de linha de comando se você adicionar, editar ou remover postagens e páginas do sistema de arquivos",
"configure": "Configurar",
"uninstall": "Desinstalar",
"change-password": "Mudar password",
"to-schedule-the-post-just-select-the-date-and-time": "Para agendar a postagem, basta selecionar a data e a hora.",
"write-the-tags-separated-by-commas": "Escreva as etiquetas separadas por vírgulas.",
"status": "Estado",
"published": "Publicado",
"scheduled-posts": "Posts agendados",
"statistics": "Estatísticas",
"name": "Nome",
"email-account-settings":"Configurações da conta de e-mail",
"sender-email": "E-mail do remetente",
"emails-will-be-sent-from-this-address":"Os e-mails serão enviados a partir deste endereço.",
"bludit-login-access-code": "BLUDIT - Código de acesso de login",
"check-your-inbox-for-your-login-access-code":"Verifique a sua caixa de entrada para obter o seu código de acesso de início de sessão",
"there-was-a-problem-sending-the-email":"Ocorreu um problema ao enviar o e-mail",
"back-to-login-form": "Voltar ao formulário de login",
"send-me-a-login-access-code": "Envie-me um código de acesso de início de sessão",
"get-login-access-code": "Obter código de acesso de início de sessão",
"email-notification-login-access-code": "<P>Esta é uma notificação do seu site {{WEBSITE_NAME}}</p><p>Você solicitou um código de acesso á sessão, siga o seguinte link:</p><p>{{LINK}}</p>",
"there-are-no-scheduled-posts": "Não existem posts agendados.",
"show-password": "Mostrar password",
"edit-or-remove-your=pages": "Editar ou remover páginas.",
"edit-or-remove-your-blogs-posts": "Editar ou remover posts do seu blog.",
"general-settings": "Configurações gerais",
"advanced-settings": "Configurações avançadas",
"manage-users": "Gerir utilizadores",
"view-and-edit-your-profile": "Ver e editar o seu perfil.",
"password-must-be-at-least-6-characters-long": "A password deve ter no mínimo 6 caracteres",
"images": "Imagens",
"upload-image": "Carregar imagem",
"drag-and-drop-or-click-here": "Arraste e solte ou clique aqui",
"insert-image": "Inserir imagem",
"supported-image-file-types": "Tipos de ficheiros de imagem suportados",
"date-format": "Formato da data",
"time-format": "Formato da hora",
"chat-with-developers-and-users-on-gitter":"Conversar com desenvolvedores e utilizadores em [Gitter](https://gitter.im/dignajar/bludit)",
"this-is-a-brief-description-of-yourself-our-your-site":"Esta é uma breve descrição de si mesmo ou do seu site, para alterar este texto vá para o painel de administração, configurações, plugins e configurar o plugin sobre.",
"profile-picture": "Foto do perfil",
"the-about-page-is-very-important": "A página sobre é uma ferramenta importante e poderosa para potenciais clientes e parceiros. Para aqueles que se perguntam quem está por trás do site, a página Sobre é a primeira fonte de informação.",
"change-this-pages-content-on-the-admin-panel": "Altere o conteúdo desta página no painel de administração, manutanção, páginas e clique na página sobre.",
"about-your-site-or-yourself": "Sobre o seu site ou você mesmo",
"welcome-to-bludit": "Bem-vindo ao Bludit",
"site-information": "Informação do site",
"date-and-time-formats": "Formatos de data e hora",
"activate": "Activar",
"deactivate": "Desactivar",
"cover-image": "Imagem da capa",
"blog": "Blog",
"more-images": "Mais imagens",
"click-here-to-cancel": "Clique aqui para cancelar.",
"type-the-tag-and-press-enter": "Digite a etiqueta e pressione enter.",
"add": "Adicionar",
"manage-your-bludit-from-the-admin-panel": "Gerencie o Bludit a partir da [admin area]({{ADMIN_AREA_LINK}})",
"there-are-no-images":"Não há imagens",
"click-on-the-image-for-options": "Clique na imagem para ver as opções.",
"set-as-cover-image": "Definir como imagem de capa",
"delete-image": "Apagar imagem",
"image-description": "Descrição da imagem",
"social-networks-links": "Links de redes sociais",
"email-access-code": "Código de acesso de e-mail",
"current-format": "Formato actual",
"welcome": "Bem-vindo",
"to-enable-the-user-you-have-to-set-a-new-password": "Para habilitar o utilizador você tem que definir uma nova password.",
"do-you-want-to-disable-the-user": "Deseja desactivar o utilizador ?",
"сurrent-status" : "Estado",
"disable-the-user" : "Desactivar o utilizador",
"add-a-new-page": "Adicionar nova página",
"add-a-new-post": "Adicionar novo post"
}

View File

@ -243,5 +243,11 @@
"welcome": "Добро пожаловать", "welcome": "Добро пожаловать",
"to-enable-the-user-you-have-to-set-a-new-password": "Чтобы включить пользователя, необходимо установить новый пароль.", "to-enable-the-user-you-have-to-set-a-new-password": "Чтобы включить пользователя, необходимо установить новый пароль.",
"do-you-want-to-disable-the-user": "Вы хотите отключить пользователя?" "do-you-want-to-disable-the-user": "Вы хотите отключить пользователя?",
"сurrent-status" : "Статус",
"disable-the-user" : "Отключить пользователя",
"add-a-new-page": "Добавить страницу",
"add-a-new-post": "Добавить запись",
"save-as-draft": "Сохранить как черновик"
} }

View File

@ -239,6 +239,13 @@
"email-access-code": "Email erişim kodu", "email-access-code": "Email erişim kodu",
"current-format": "Geçerli format", "current-format": "Geçerli format",
"welcome": "Hoşgeldiniz" "welcome": "Hoşgeldiniz",
"to-enable-the-user-you-have-to-set-a-new-password": "Kullanıcıyı aktif etmek için bir şifre belirlemelisiniz.",
"do-you-want-to-disable-the-user": "Kullanıcıyı etkisizleştirmek istiyor musunuz ?",
"сurrent-status" : "Durum",
"disable-the-user" : "Kullanıcıyı etkisizleştir",
"add-a-new-page": "Yeni sayfa ekle",
"add-a-new-post": "Yeni yazı ekle"
} }

View File

@ -3,7 +3,7 @@
{ {
"native": "Українська (Україна)", "native": "Українська (Україна)",
"english-name": "Ukrainian", "english-name": "Ukrainian",
"last-update": "2016-02-20", "last-update": "2016-10-28",
"author": "Allec Bernz", "author": "Allec Bernz",
"email": "admin@allec.info", "email": "admin@allec.info",
"website": "http://allec.info" "website": "http://allec.info"
@ -235,5 +235,19 @@
"delete-image": "Видалити зображення", "delete-image": "Видалити зображення",
"image-description": "Опис зображення", "image-description": "Опис зображення",
"social-networks-links": "Лінки на соціальні мережі" "social-networks-links": "Лінки на соціальні мережі",
"email-access-code": "Код доступу Email",
"current-format": "Поточний формат",
"welcome": "Ласкаво просимо",
"to-enable-the-user-you-have-to-set-a-new-password": "Щоб включити користувача, ви повинні встановити новий пароль.",
"do-you-want-to-disable-the-user": "Ви хочете відключити користувача?",
"сurrent-status" : "Статус",
"disable-the-user" : "Відключити користувача",
"add-a-new-page": "Додати нову сторінку",
"add-a-new-post": "Додати нову публікацію",
"save-as-draft": "Зберегти як чернетку"
} }

251
bl-languages/vi_VN.json Normal file
View File

@ -0,0 +1,251 @@
{
"language-data":
{
"native": "Tiếng Việt",
"english-name": "Vietnamese",
"last-update": "2016-11-15",
"author": "Glossyweb",
"email": "vietnamdevelop@gmail.com",
"website": ""
},
"username": "Username",
"password": "Password",
"confirm-password": "Confirm Password",
"editor": "Editor",
"dashboard": "Dashboard",
"role": "Role",
"post": "Post",
"posts": "Posts",
"users": "Users",
"administrator": "Administrator",
"add": "Add",
"cancel": "Cancel",
"content": "Content",
"title": "Title",
"no-parent": "No parent",
"edit-page": "Edit page",
"edit-post": "Edit post",
"add-a-new-user": "Add a new user",
"parent": "Parent",
"friendly-url": "Friendly URL",
"description": "Description",
"posted-by": "Posted by",
"tags": "Tags",
"position": "Position",
"save": "Save",
"draft": "Draft",
"delete": "Delete",
"registered": "Registered",
"notifications": "Notifications",
"profile": "Profile",
"email": "Email",
"settings": "Settings",
"general": "General",
"advanced": "Advanced",
"regional": "Regional",
"about": "About",
"login": "Log in",
"logout": "Log out",
"manage": "Manage",
"themes": "Themes",
"prev-page": "Prev page",
"next-page": "Next page",
"configure-plugin": "Configure plugin",
"confirm-delete-this-action-cannot-be-undone": "Confirm delete, this action cannot be undone.",
"site-title": "Site title",
"site-slogan": "Site slogan",
"site-description": "Site description",
"footer-text": "Footer text",
"posts-per-page": "Posts per page",
"site-url": "Site url",
"writting-settings": "Writting settings",
"url-filters": "URL filters",
"page": "Page",
"pages": "Pages",
"home": "Home",
"welcome-back": "Welcome back",
"language": "Language",
"website": "Website",
"timezone": "Timezone",
"locale": "Locale",
"new-post": "New post",
"new-page": "New page",
"html-and-markdown-code-supported": "HTML and Markdown code supported",
"manage-posts": "Manage posts",
"published-date": "Published date",
"modified-date": "Modified date",
"empty-title": "Empty title",
"plugins": "Plugins",
"install-plugin": "Install plugin",
"uninstall-plugin": "Uninstall plugin",
"new-password": "New password",
"edit-user": "Edit user",
"publish-now": "Publish now",
"first-name": "First name",
"last-name": "Last name",
"bludit-version": "Bludit version",
"powered-by": "Powered by",
"recent-posts": "Recent Posts",
"manage-pages": "Manage pages",
"advanced-options": "Advanced options",
"user-deleted": "User deleted",
"page-added-successfully": "Page added successfully",
"post-added-successfully": "Post added successfully",
"the-post-has-been-deleted-successfully": "The post has been deleted successfully",
"the-page-has-been-deleted-successfully": "The page has been deleted successfully",
"username-or-password-incorrect": "Username or password incorrect",
"database-regenerated": "Database regenerated",
"the-changes-have-been-saved": "The changes have been saved",
"enable-more-features-at": "Enable more features at",
"username-already-exists": "Username already exists",
"username-field-is-empty": "Username field is empty",
"the-password-and-confirmation-password-do-not-match":"The password and confirmation password do not match",
"user-has-been-added-successfully": "User has been added successfully",
"you-do-not-have-sufficient-permissions": "You do not have sufficient permissions to access this page, contact the administrator.",
"settings-advanced-writting-settings": "Settings->Advanced->Writting Settings",
"new-posts-and-pages-synchronized": "New posts and pages synchronized.",
"you-can-choose-the-users-privilege": "You can choose the user's privilege. The editor role only can write pages and posts.",
"email-will-not-be-publicly-displayed": "Email will not be publicly displayed. Recommended for recovery password and notifications.",
"use-this-field-to-name-your-site": "Use this field to name your site, it will appear at the top of every page of your site.",
"use-this-field-to-add-a-catchy-phrase": "Use this field to add a catchy phrase on your site.",
"you-can-add-a-site-description-to-provide": "You can add a site description to provide a short bio or description of your site.",
"you-can-add-a-small-text-on-the-bottom": "You can add a small text on the bottom of every page. eg: copyright, owner, dates, etc.",
"number-of-posts-to-show-per-page": "Number of posts to show per page.",
"the-url-of-your-site": "The URL of your site.",
"add-or-edit-description-tags-or": "Add or edit description, tags or modify the friendly URL.",
"select-your-sites-language": "Select your site's language.",
"select-a-timezone-for-a-correct": "Select a timezone for a correct date/time display on your site.",
"you-can-use-this-field-to-define-a-set-of": "You can use this field to define a set of parameters related to the language, country and special preferences.",
"you-can-modify-the-url-which-identifies":"You can modify the URL which identifies a page or post using human-readable keywords. No more than 150 characters.",
"this-field-can-help-describe-the-content": "This field can help describe the content in a few words. No more than 150 characters.",
"delete-the-user-and-all-its-posts":"Delete the user and all its posts",
"delete-the-user-and-associate-its-posts-to-admin-user": "Delete the user and associate its posts to admin user",
"read-more": "Read more",
"show-blog": "Show blog",
"default-home-page": "Default home page",
"version": "Version",
"there-are-no-drafts": "There are no drafts.",
"create-a-new-article-for-your-blog":"Create a new article for your blog.",
"create-a-new-page-for-your-website":"Create a new page for your website.",
"invite-a-friend-to-collaborate-on-your-website":"Invite a friend to collaborate on your website.",
"change-your-language-and-region-settings":"Change your language and region settings.",
"language-and-timezone":"Language and timezone",
"author": "Author",
"start-here": "Start here",
"install-theme": "Install theme",
"first-post": "First post",
"congratulations-you-have-successfully-installed-your-bludit": "Congratulations you have successfully installed your **Bludit**",
"whats-next": "What's Next",
"follow-bludit-on": "Follow Bludit on",
"visit-the-support-forum": "Visit the [forum](https://forum.bludit.com) for support",
"read-the-documentation-for-more-information": "Read the [documentation](https://docs.bludit.com) for more information",
"share-with-your-friends-and-enjoy": "Share with your friends and enjoy",
"the-page-has-not-been-found": "The page has not been found.",
"error": "Error",
"bludit-installer": "Bludit Installer",
"welcome-to-the-bludit-installer": "Welcome to the Bludit installer",
"complete-the-form-choose-a-password-for-the-username-admin": "Complete the form, choose a password for the username « admin »",
"password-visible-field": "Password, visible field!",
"install": "Install",
"choose-your-language": "Choose your language",
"next": "Next",
"the-password-field-is-empty": "The password field is empty",
"your-email-address-is-invalid":"Your email address is invalid.",
"proceed-anyway": "Proceed anyway!",
"drafts":"Drafts",
"ip-address-has-been-blocked": "IP address has been blocked.",
"try-again-in-a-few-minutes": "Try again in a few minutes.",
"date": "Date",
"scheduled": "Scheduled",
"publish": "Publish",
"please-check-your-theme-configuration": "Please check your theme configuration.",
"plugin-label": "Plugin label",
"enabled": "Enabled",
"disabled": "Disabled",
"cli-mode": "Cli mode",
"command-line-mode": "Command line mode",
"enable-the-command-line-mode-if-you-add-edit": "Enable the command line mode if you add, edit or remove posts and pages from the filesystem",
"configure": "Configure",
"uninstall": "Uninstall",
"change-password": "Change password",
"to-schedule-the-post-just-select-the-date-and-time": "To schedule the post, just select the date and time.",
"write-the-tags-separated-by-commas": "Write the tags separated by commas.",
"status": "Status",
"published": "Published",
"scheduled-posts": "Scheduled posts",
"statistics": "Statistics",
"name": "Name",
"email-account-settings":"Email account settings",
"sender-email": "Sender email",
"emails-will-be-sent-from-this-address":"Emails will be sent from this address.",
"bludit-login-access-code": "BLUDIT - Login access code",
"check-your-inbox-for-your-login-access-code":"Check your inbox for your login access code",
"there-was-a-problem-sending-the-email":"There was a problem sending the email",
"back-to-login-form": "Back to login form",
"send-me-a-login-access-code": "Send me a login access code",
"get-login-access-code": "Get login access code",
"email-notification-login-access-code": "<p>This is a notification from your website {{WEBSITE_NAME}}</p><p>You request a login access code, follow the next link:</p><p>{{LINK}}</p>",
"there-are-no-scheduled-posts": "There are no scheduled posts.",
"show-password": "Show password",
"edit-or-remove-your=pages": "Edit or remove your pages.",
"edit-or-remove-your-blogs-posts": "Edit or remove your blog's posts.",
"general-settings": "General settings",
"advanced-settings": "Advanced settings",
"manage-users": "Manage users",
"view-and-edit-your-profile": "View and edit your profile.",
"password-must-be-at-least-6-characters-long": "Password must be at least 6 characters long",
"images": "Images",
"upload-image": "Upload image",
"drag-and-drop-or-click-here": "Drag and drop or click here",
"insert-image": "Insert image",
"supported-image-file-types": "Supported image file types",
"date-format": "Date format",
"time-format": "Time format",
"chat-with-developers-and-users-on-gitter":"Chat with developers and users on [Gitter](https://gitter.im/dignajar/bludit)",
"this-is-a-brief-description-of-yourself-our-your-site":"This is a brief description of yourself or your site, to change this text go to the admin panel, settings, plugins, and configure the plugin about.",
"profile-picture": "Profile picture",
"the-about-page-is-very-important": "The about page is an important and powerful tool for potential clients and partners. For those who wonder who is behind the website, your About page is the first source of information.",
"change-this-pages-content-on-the-admin-panel": "Change this page's content on the admin panel, manage, pages and click on the about page.",
"about-your-site-or-yourself": "About your site or yourself",
"welcome-to-bludit": "Welcome to Bludit",
"site-information": "Site information",
"date-and-time-formats": "Date and time formats",
"activate": "Activate",
"deactivate": "Deactivate",
"cover-image": "Cover image",
"blog": "Blog",
"more-images": "More images",
"click-here-to-cancel": "Click here to cancel.",
"type-the-tag-and-press-enter": "Type the tag and press enter.",
"add": "Add",
"manage-your-bludit-from-the-admin-panel": "Manage your Bludit from the [admin area]({{ADMIN_AREA_LINK}})",
"there-are-no-images":"There are no images",
"click-on-the-image-for-options": "Click on the image for options.",
"set-as-cover-image": "Set as cover image",
"delete-image": "Delete image",
"image-description": "Image description",
"social-networks-links": "Social networks links",
"email-access-code": "Email access code",
"current-format": "Current format",
"welcome": "Welcome",
"to-enable-the-user-you-have-to-set-a-new-password": "To enable the user you have to set a new password.",
"do-you-want-to-disable-the-user": "Do you want to disable the user ?",
"сurrent-status" : "Status",
"disable-the-user" : "Disable the user",
"add-a-new-page": "Add a new page",
"add-a-new-post": "Add a new post"
}

View File

@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "Over mij",
"description": "Een korte beschrijving over je site of jezelf."
}
}

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "1.5", "version": "1.5.2",
"releaseDate": "2016-05-28", "releaseDate": "2016-05-28",
"license": "MIT", "license": "MIT",
"compatible": "1.5", "compatible": "1.5.2",
"notes": "" "notes": ""
} }

View File

@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "API",
"description": "Interface om te communiceren met Bludit via het HTTP protocol."
}
}

View File

@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "API",
"description": "Bludit'e HTTP protokolü üzerinden erişmek için arayüz."
}
}

View File

@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "API",
"description": "Інтерфейс для взаємодії з Bludit за допомогою протоколу HTTP."
}
}

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "1.5", "version": "1.5.2",
"releaseDate": "2016-05-28", "releaseDate": "2016-05-28",
"license": "MIT", "license": "MIT",
"compatible": "1.5", "compatible": "1.5.2",
"notes": "" "notes": ""
} }

View File

@ -1,5 +1,6 @@
<?php <?php
class pluginAPI extends Plugin { class pluginAPI extends Plugin {
public function init() public function init()
@ -7,12 +8,13 @@ class pluginAPI extends Plugin {
global $Security; global $Security;
// This key is used for request such as get the list of all posts and pages // This key is used for request such as get the list of all posts and pages
$authKey = md5($Security->key1().time().DOMAIN); $token = md5($Security->key1().time().DOMAIN);
$this->dbFields = array( $this->dbFields = array(
'ping'=>1, // 0 = false, 1 = true 'ping'=>0, // 0 = false, 1 = true
'authKey'=>$authKey, // Private key 'token'=>$token, // Private key
'showAllAmount'=>15 // Amount of posts and pages for return 'showAllAmount'=>15, // Amount of posts and pages for return
'authentication'=>1 // Authentication required
); );
} }
@ -28,17 +30,17 @@ class pluginAPI extends Plugin {
$html .= '</div>'; $html .= '</div>';
$html .= '<div>'; $html .= '<div>';
$html .= '<p><b>Authorization Key:</b> '.$this->getDbField('authKey').'</p>'; $html .= '<p><b>Authorization Key:</b> '.$this->getDbField('token').'</p>';
$html .= '<div class="tip">This key is private, do not share it with anyone.</div>'; $html .= '<div class="tip">This key is private, do not share it with anyone.</div>';
$html .= '</div>'; $html .= '</div>';
$html .= '<div>'; $html .= '<div>';
$html .= '<p><b>Show all posts:</b> <a href="'.DOMAIN_BASE.'api/show/all/posts/'.$this->getDbField('authKey').'">'.DOMAIN_BASE.'api/show/all/posts/'.$this->getDbField('authKey').'</a></p>'; $html .= '<p><b>Show all posts:</b> <a href="'.DOMAIN_BASE.'api/show/all/posts/'.$this->getDbField('token').'">'.DOMAIN_BASE.'api/show/all/posts/'.$this->getDbField('token').'</a></p>';
$html .= '<div class="tip">Get all posts from this site.</div>'; $html .= '<div class="tip">Get all posts from this site.</div>';
$html .= '</div>'; $html .= '</div>';
$html .= '<div>'; $html .= '<div>';
$html .= '<p><b>Show all pages:</b> <a href="'.DOMAIN_BASE.'api/show/all/pages/'.$this->getDbField('authKey').'">'.DOMAIN_BASE.'api/show/all/pages/'.$this->getDbField('authKey').'</a></p>'; $html .= '<p><b>Show all pages:</b> <a href="'.DOMAIN_BASE.'api/show/all/pages/'.$this->getDbField('token').'">'.DOMAIN_BASE.'api/show/all/pages/'.$this->getDbField('token').'</a></p>';
$html .= '<div class="tip">Get all pages from this site.</div>'; $html .= '<div class="tip">Get all pages from this site.</div>';
$html .= '</div>'; $html .= '</div>';
@ -55,11 +57,6 @@ class pluginAPI extends Plugin {
return $html; return $html;
} }
public function afterFormSave()
{
$this->ping();
}
public function install($position=0) public function install($position=0)
{ {
parent::install($position); parent::install($position);
@ -67,14 +64,156 @@ class pluginAPI extends Plugin {
$this->ping(); $this->ping();
} }
// API HOOKS
// ----------------------------------------------------------------------------
public function afterFormSave()
{
$this->ping();
}
public function beforeRulesLoad()
{
global $Url;
global $dbPosts;
global $dbPages;
// Check if the URI start with /api/
$startString = HTML_PATH_ROOT.'api/';
$URI = $Url->uri();
$length = mb_strlen($startString, CHARSET);
if( mb_substr($URI, 0, $length)!=$startString ) {
return false;
}
// Remove the first part of the URI
$URI = mb_substr($URI, $length);
// METHODS
// ------------------------------------------------------------
// GET
// POST
// PUT
// DELETE
$method = $_SERVER['REQUEST_METHOD'];
// INPUTS
// ------------------------------------------------------------
// token | authentication token
$inputs = json_decode(file_get_contents('php://input'),true);
if( empty($inputs) ) {
// Default variables for $input
$inputs = array(
'token'=>''
);
}
else {
// Sanitize inputs
foreach( $inputs as $key=>$value ) {
if(empty($value)) {
$this->response(array(
'status'=>'1',
'message'=>'Invalid input.'
));
} else {
$inputs[$key] = Sanitize::html($value);
}
}
}
// PARAMETERS
// ------------------------------------------------------------
// /api/posts | GET | returns all posts
// /api/posts/{slug} | GET | returns the post with the {slug}
// /api/pages | GET | returns all pages
// /api/pages/{slug} | GET | returns the page with the {slug}
// /api/cli/regenerate | POST | check for new posts and pages
$parameters = explode('/', $URI);
// Sanitize parameters
foreach( $parameters as $key=>$value ) {
if(empty($value)) {
$this->response(array(
'status'=>'1',
'message'=>'Invalid parameter.'
));
} else {
$parameters[$key] = Sanitize::html($value);
}
}
// Check authentication
if( $this->getDbField('authentication')==1 ) {
if( $inputs['token']!=$this->getDbField('token') ) {
$this->response(array(
'status'=>'1',
'message'=>'Invalid token.'
));
}
}
// /api/posts
if( ($method==='GET') && ($parameters[0]==='posts') && empty($parameters[1]) ) {
$data = $this->getAllPosts();
$this->response($data);
}
// /api/pages
elseif( ($method==='GET') && ($parameters[0]==='pages') && empty($parameters[1]) ) {
$data = $this->getAllPages();
$this->response($data);
}
// /api/posts/{slug}
elseif( ($method==='GET') && ($parameters[0]==='posts') && !empty($parameters[1]) ) {
$data = $this->getPost($parameters[1]);
$this->response($data);
}
// /api/pages/{slug}
elseif( ($method==='GET') && ($parameters[0]==='pages') && !empty($parameters[1]) ) {
$data = $this->getPage($parameters[1]);
$this->response($data);
}
// /api/cli/regenerate
elseif( ($method==='POST') && ($parameters[0]==='cli') && ($parameters[1]==='regenerate') ) {
// Regenerate posts
if( $dbPosts->cliMode() ) {
reIndexTagsPosts();
}
// Regenerate pages
$dbPages->cliMode();
$this->response(array(
'status'=>'0',
'message'=>'Pages and post regenerated.'
));
}
}
// FUNCTIONS
// ----------------------------------------------------------------------------
private function response($data=array())
{
$json = json_encode($data);
header('Content-Type: application/json');
exit($json);
}
private function ping() private function ping()
{ {
if($this->getDbField('ping')) { if($this->getDbField('ping')) {
// Get the authentication key // Get the authentication key
$authKey = $this->getDbField('authKey'); $token = $this->getDbField('token');
$url = 'https://api.bludit.com/ping?authKey='.$authKey.'&url='.DOMAIN; $url = 'https://api.bludit.com/ping?token='.$token.'&url='.DOMAIN_BASE;
// Check if curl is installed // Check if curl is installed
if( function_exists('curl_version') ) { if( function_exists('curl_version') ) {
@ -111,27 +250,34 @@ class pluginAPI extends Plugin {
$Post = buildPost($key); $Post = buildPost($key);
if(!$Post) { if(!$Post) {
return json_encode(array( return array(
'status'=>'0', 'status'=>'1',
'bludit'=>'Bludit API plugin', 'message'=>'Post not found.'
'message'=>'The post doesn\'t exist' );
));
} }
return $Post->json(); $data['status'] = '0';
$data['message'] = '';
$data['data'] = $Post->json( $returnsArray=true );
return $data;
} }
private function getAllPosts() private function getAllPosts()
{ {
$posts = buildPostsForPage(0, $this->getDbField('showAllAmount'), true, false); $posts = buildPostsForPage(0, $this->getDbField('showAllAmount'), true, false);
$tmp = array(); $tmp = array(
'status'=>'0',
'message'=>'',
'data'=>array()
);
foreach($posts as $Post) { foreach($posts as $Post) {
array_push($tmp, $Post->json( $returnsArray=true )); array_push($tmp['data'], $Post->json( $returnsArray=true ));
} }
return json_encode($tmp); return $tmp;
} }
private function getPage($key) private function getPage($key)
@ -140,107 +286,36 @@ class pluginAPI extends Plugin {
$Page = buildPage($key); $Page = buildPage($key);
if(!$Page) { if(!$Page) {
return json_encode(array( return array(
'status'=>'0', 'status'=>'1',
'bludit'=>'Bludit API plugin', 'message'=>'Page not found.'
'message'=>'The page doesn\'t exist' );
));
} }
return $Page->json(); $data['status'] = '0';
$data['message'] = '';
$data['data'] = $Page->json( $returnsArray=true );
return $data;
} }
private function getAllPages() private function getAllPages()
{ {
$pages = buildAllPages(); $pages = buildAllPages();
$tmp = array(); $tmp = array(
'status'=>'0',
'message'=>'',
'data'=>array()
);
foreach($pages as $Page) { foreach($pages as $Page) {
if($Page->published()) { if($Page->published()) {
array_push($tmp, $Page->json( $returnsArray=true )); array_push($tmp['data'], $Page->json( $returnsArray=true ));
} }
} }
return json_encode($tmp); return $tmp;
} }
public function beforeRulesLoad()
{
global $Url;
// The URI start with /api/
$startString = HTML_PATH_ROOT.'api/';
$URI = $Url->uri();
$length = mb_strlen($startString, CHARSET);
if( mb_substr($URI, 0, $length)!=$startString ) {
return false;
}
// Remove the first part of the URI
$URI = ltrim($URI, HTML_PATH_ROOT.'api/');
// Parameters
// ------------------------------------------------------------
// show post {post slug}
// show page {page slug}
// show all posts {AUTH KEY}
// show all pages {AUTH KEY}
// Get parameters
$parameters = explode('/', $URI);
for($i=0; $i<3; $i++) {
if(empty($parameters[$i])) {
return false;
} else {
// Sanizite
$parameters[$i] = Sanitize::html($parameters[$i]);
}
}
// Default JSON
$json = json_encode(array(
'status'=>'0',
'bludit'=>'Bludit API plugin',
'message'=>'Check the parameters'
));
if($parameters[0]==='show') {
if($parameters[1]==='all') {
// Authentication key from the URI
$authKey = $parameters[3];
// Compare keys
if( $authKey===$this->getDbField('authKey') ) {
if($parameters[2] === 'posts') {
$json = $this->getAllPosts();
}
elseif($parameters[2] === 'pages') {
$json = $this->getAllPages();
}
}
}
elseif($parameters[1]==='post' || $parameters[1]==='page') {
$key = $parameters[2];
if($parameters[1] === 'post') {
$json = $this->getPost($key);
}
elseif($parameters[1] === 'page') {
$json = $this->getPage($key);
}
}
}
// Print the JSON
header('Content-Type: application/json');
exit($json);
}
} }

View File

@ -2,7 +2,7 @@
"plugin-data": "plugin-data":
{ {
"name": "Disqus comment system", "name": "Disqus comment system",
"description": "Disqus is a blog comment hosting service for web sites. It's necesary to register on Disqus.com before using this plugin." "description": "Disqus is a blog comment hosting service for web sites. It's necessary to register on Disqus.com before using this plugin."
}, },
"disqus-shortname": "Disqus shortname", "disqus-shortname": "Disqus shortname",

View File

@ -0,0 +1,12 @@
{
"plugin-data":
{
"name": "Disqus commentaar systeem",
"description": "Disqus is een blog commentaar hosting service voor web sites. Het is wel nodig om jezelf te registreren op Disqus.com voordat je deze plugin kan gebruiken."
},
"disqus-shortname": "Disqus shortname",
"enable-disqus-on-pages": "Schakel Disqus in op pagina's",
"enable-disqus-on-posts": "Schakel Disqus in op posts",
"enable-disqus-on-default-home-page": "Schakel Disqus in op de startpagina"
}

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "1.5", "version": "1.5.2",
"releaseDate": "2016-05-28", "releaseDate": "2016-05-28",
"license": "MIT", "license": "MIT",
"compatible": "1.5", "compatible": "1.5.2",
"notes": "" "notes": ""
} }

View File

@ -0,0 +1,12 @@
{
"plugin-data":
{
"name": "Google Tools",
"description": "Deze plugin genereerd een meta tag om je site te verifiëren met Google Webmasters Tools en de JavaScript code om je site te tracken met Google Analytics."
},
"google-webmasters-tools": "Google Webmasters tools",
"google-analytics-tracking-id": "Google Analytics Tracking ID",
"complete-this-field-with-the-google-site-verification": "Vul dit veld in met de Google Site verificatie om jezelf te verifiëren als site beheerder.",
"complete-this-field-with-the-tracking-id": "Vul dit veld in met de Tracking ID om de Javascript tracking code te genereren voor Google Analytics."
}

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "1.5", "version": "1.5.2",
"releaseDate": "2016-05-28", "releaseDate": "2016-05-28",
"license": "MIT", "license": "MIT",
"compatible": "1.5", "compatible": "1.5.2",
"notes": "" "notes": ""
} }

View File

@ -0,0 +1,9 @@
{
"plugin-data":
{
"name": "Laatste posts",
"description": "Laat de laatste gepubliceerde posts zien."
},
"amount-of-posts": "Amount of posts"
}

View File

@ -0,0 +1,9 @@
{
"plugin-data":
{
"name": "Son yazılar",
"description": "En son yayınlana yazıları gösterir."
},
"amount-of-posts": "Yazı sayısı"
}

View File

@ -5,6 +5,5 @@
"description": "Показує останні опубліковані публікації." "description": "Показує останні опубліковані публікації."
}, },
"amount-of-posts": "Кількість публікацій", "amount-of-posts": "Кількість публікацій"
"show-home-link": "Показати лінк на домашню сторінку"
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "1.5", "version": "1.5.2",
"releaseDate": "2016-05-28", "releaseDate": "2016-05-28",
"license": "MIT", "license": "MIT",
"compatible": "1.5", "compatible": "1.5.2",
"notes": "" "notes": ""
} }

View File

@ -0,0 +1,10 @@
{
"plugin-data":
{
"name": "Onderhoud modus",
"description": "Zet je site op onderhoud modus, je kan bij de admin pagina komen."
},
"enable-maintenance-mode": "Schakel de onderhoud modus in",
"message": "Bericht"
}

View File

@ -2,9 +2,9 @@
"plugin-data": "plugin-data":
{ {
"name": "Режим обслуговування", "name": "Режим обслуговування",
"description": "Перемикає ваш сайт у режим обслуговування, але ви матимете доступ до адмінки." "description": "Перемикає ваш сайт у режим обслуговування, але ви матимете доступ до панелі управління."
}, },
"enable-maintenance-mode": "Включити режим обслуговування", "enable-maintenance-mode": "Включити режим обслуговування",
"message": "Message" "message": "Повідомлення"
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "1.5", "version": "1.5.2",
"releaseDate": "2016-05-28", "releaseDate": "2016-05-28",
"license": "MIT", "license": "MIT",
"compatible": "1.5", "compatible": "1.5.2",
"notes": "" "notes": ""
} }

View File

@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "Open Graph",
"description": "De Open Graph protocol kan van elke webpagina een rich object in een sociale grafiek maken."
}
}

View File

@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "Open Graph",
"description": "Протокол Open Graph дозволяє ділитися будь-якою веб-сторінкою у соціальних мережах."
}
}

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "1.5", "version": "1.5.2",
"releaseDate": "2016-05-28", "releaseDate": "2016-05-28",
"license": "MIT", "license": "MIT",
"compatible": "1.5", "compatible": "1.5.2",
"notes": "" "notes": ""
} }

View File

@ -6,5 +6,6 @@
}, },
"home": "Начало", "home": "Начало",
"show-home-link": "Покажи връзка към начало" "show-home-link": "Покажи връзка към начало",
"show-children": "Покажи подменю"
} }

View File

@ -6,5 +6,6 @@
}, },
"home": "Home", "home": "Home",
"show-home-link": "Show home link" "show-home-link": "Show home link",
"show-children": "Show children"
} }

View File

@ -0,0 +1,10 @@
{
"plugin-data":
{
"name": "Pagina lijst",
"description": "Laat een lijst met alle pagina's op volgorde zien."
},
"home": "Home",
"show-home-link": "Laat de homepage link zien"
}

View File

@ -6,5 +6,6 @@
}, },
"home": "Главная", "home": "Главная",
"show-home-link": "Показывать ссылку на главную" "show-home-link": "Показывать ссылку на главную",
"show-children": "Показывать подменю"
} }

View File

@ -6,5 +6,6 @@
}, },
"home": "Головна", "home": "Головна",
"show-home-link": "Показувати лінк на головну сторінку" "show-home-link": "Показувати лінк на головну сторінку",
"show-children": "Показувати вкладені лінки"
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "1.5", "version": "1.5.2",
"releaseDate": "2016-05-28", "releaseDate": "2016-05-28",
"license": "MIT", "license": "MIT",
"compatible": "1.5", "compatible": "1.5.2",
"notes": "" "notes": ""
} }

View File

@ -6,6 +6,7 @@ class pluginPages extends Plugin {
{ {
$this->dbFields = array( $this->dbFields = array(
'homeLink'=>1, 'homeLink'=>1,
'children'=>1,
'label'=>'Pages' 'label'=>'Pages'
); );
} }
@ -25,6 +26,12 @@ class pluginPages extends Plugin {
$html .= '<label class="forCheckbox" for="jshomeLink">'.$Language->get('Show home link').'</label>'; $html .= '<label class="forCheckbox" for="jshomeLink">'.$Language->get('Show home link').'</label>';
$html .= '</div>'; $html .= '</div>';
$html .= '<div>';
$html .= '<input type="hidden" name="children" value="0">';
$html .= '<input name="children" id="children" type="checkbox" value="1" '.($this->getDbField('children')?'checked':'').'>';
$html .= '<label class="forCheckbox" for="jschildren">'.$Language->get('Show children').'</label>';
$html .= '</div>';
return $html; return $html;
} }
@ -62,6 +69,9 @@ class pluginPages extends Plugin {
$html .= '<li class="parent">'; $html .= '<li class="parent">';
$html .= '<a class="parent'.( ($parent->key()==$Url->slug())?' active':'').'" href="'.$parent->permalink().'">'.$parent->title().'</a>'; $html .= '<a class="parent'.( ($parent->key()==$Url->slug())?' active':'').'" href="'.$parent->permalink().'">'.$parent->title().'</a>';
// Show children elements?
if($this->getDbField('children')) {
// Check if the parent has children // Check if the parent has children
if(isset($pagesParents[$parent->key()])) if(isset($pagesParents[$parent->key()]))
{ {
@ -82,9 +92,12 @@ class pluginPages extends Plugin {
$html .= '</ul>'; $html .= '</ul>';
} }
} }
$html .= '</li>';
}
} }
$html .= '</li></ul>'; $html .= '</ul>';
$html .= '</div>'; $html .= '</div>';
$html .= '</div>'; $html .= '</div>';

View File

@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "RSS Feed",
"description": "Deze plugin genereerd een RSS Feed voor je website."
}
}

View File

@ -2,6 +2,6 @@
"plugin-data": "plugin-data":
{ {
"name": "RSS-канал", "name": "RSS-канал",
"description": "Цей плагін генерувати RSS для вашого сайту." "description": "Цей плагін генерує RSS для вашого сайту."
} }
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "1.5", "version": "1.5.2",
"releaseDate": "2016-05-28", "releaseDate": "2016-05-28",
"license": "MIT", "license": "MIT",
"compatible": "1.5", "compatible": "1.5.2",
"notes": "" "notes": ""
} }

View File

@ -95,7 +95,9 @@ class pluginRSS extends Plugin {
$doc = new DOMDocument(); $doc = new DOMDocument();
// Load XML // Load XML
libxml_disable_entity_loader(false);
$doc->load(PATH_PLUGINS_DATABASES.$this->directoryName.DS.'rss.xml'); $doc->load(PATH_PLUGINS_DATABASES.$this->directoryName.DS.'rss.xml');
libxml_disable_entity_loader(true);
// Print the XML // Print the XML
echo $doc->saveXML(); echo $doc->saveXML();

View File

@ -6,5 +6,6 @@
}, },
"toolbar": "Toolbar", "toolbar": "Toolbar",
"tab-size": "Tab size", "tab-size": "Tab size",
"autosave": "Autosave" "autosave": "Autosave",
"spell-checker": "Spell Checker"
} }

View File

@ -0,0 +1,10 @@
{
"plugin-data":
{
"name": "SimpleMDE",
"description": "Een simpele, mooie en integreerbare JavaScript markdown editor van @WesCossick. Aangepast door Diego Najar voor Bludit."
},
"toolbar": "Toolbar",
"tab-size": "Tab grootte",
"autosave": "Automatisch opslaan"
}

View File

@ -6,5 +6,6 @@
}, },
"toolbar": "Панель инструментов", "toolbar": "Панель инструментов",
"tab-size": "Размер панели", "tab-size": "Размер панели",
"autosave": "Автосохранение" "autosave": "Автосохранение",
"spell-checker": "Проверка орфографии"
} }

View File

@ -6,5 +6,6 @@
}, },
"toolbar": "Панель інструментів", "toolbar": "Панель інструментів",
"tab-size": "Розмір відступу", "tab-size": "Розмір відступу",
"autosave": "Autosave" "autosave": "Автозбереження",
"spell-checker": "Перевірка орфографії"
} }

View File

@ -5,6 +5,6 @@
"version": "1.11.2", "version": "1.11.2",
"releaseDate": "2016-06-14", "releaseDate": "2016-06-14",
"license": "MIT", "license": "MIT",
"compatible": "1.5", "compatible": "1.5.2",
"notes": "" "notes": ""
} }

View File

@ -14,7 +14,8 @@ class pluginsimpleMDE extends Plugin {
$this->dbFields = array( $this->dbFields = array(
'tabSize'=>'2', 'tabSize'=>'2',
'toolbar'=>'"bold", "italic", "heading", "|", "quote", "unordered-list", "|", "link", "image", "code", "horizontal-rule", "|", "preview", "side-by-side", "fullscreen", "guide"', 'toolbar'=>'"bold", "italic", "heading", "|", "quote", "unordered-list", "|", "link", "image", "code", "horizontal-rule", "|", "preview", "side-by-side", "fullscreen", "guide"',
'autosave'=>0 'autosave'=>0,
'spellChecker'=>0
); );
} }
@ -38,6 +39,12 @@ class pluginsimpleMDE extends Plugin {
$html .= '<label class="forCheckbox" for="jsautosave">'.$Language->get('Autosave').'</label>'; $html .= '<label class="forCheckbox" for="jsautosave">'.$Language->get('Autosave').'</label>';
$html .= '</div>'; $html .= '</div>';
$html .= '<div>';
$html .= '<input type="hidden" name="spellChecker" value="0">';
$html .= '<input name="spellChecker" id="jsspellChecker" type="checkbox" value="1" '.($this->getDbField('spellChecker')?'checked':'').'>';
$html .= '<label class="forCheckbox" for="jsspellChecker">'.$Language->get('spell-checker').'</label>';
$html .= '</div>';
return $html; return $html;
} }
@ -96,6 +103,9 @@ class pluginsimpleMDE extends Plugin {
$autosaveID = $_Post->key(); $autosaveID = $_Post->key();
} }
// Spell Checker
$spellCheckerEnable = $this->getDbField('spellChecker')?'true':'false';
$pluginPath = $this->htmlPath(); $pluginPath = $this->htmlPath();
$html = '<script>'.PHP_EOL; $html = '<script>'.PHP_EOL;
@ -119,11 +129,12 @@ class pluginsimpleMDE extends Plugin {
toolbarTips: true, toolbarTips: true,
toolbarGuideIcon: true, toolbarGuideIcon: true,
autofocus: false, autofocus: false,
placeholder: "Content here... Supports Markdown and HTML code.",
lineWrapping: true, lineWrapping: true,
autoDownloadFontAwesome: false, autoDownloadFontAwesome: false,
indentWithTabs: true, indentWithTabs: true,
tabSize: '.$this->getDbField('tabSize').', tabSize: '.$this->getDbField('tabSize').',
spellChecker: false, spellChecker: '.$spellCheckerEnable.',
autosave: { autosave: {
enabled: '.$autosaveEnable.', enabled: '.$autosaveEnable.',
uniqueId: "'.$autosaveID.'", uniqueId: "'.$autosaveID.'",

View File

@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "Sitemap",
"description": "Deze plugin genereerd een sitemap.xml bestand waar je een lijst met webpagina's kan zetten zodat zoekmachines de organisatie van je site content beter kan begrijpen."
}
}

View File

@ -1,7 +1,7 @@
{ {
"plugin-data": "plugin-data":
{ {
"name": "Sitemap", "name": "Карта сайту",
"description": "Цей плагін генерує файл sitemap.xml, де перераховані веб-сторінки вашого сайту, щоб повідомити пошуковим системам про зміст сайту." "description": "Цей плагін генерує файл sitemap.xml, де перераховані веб-сторінки вашого сайту, щоб повідомити пошукові системи про зміст сайту."
} }
} }

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "1.5", "version": "1.5.2",
"releaseDate": "2016-05-28", "releaseDate": "2016-05-28",
"license": "MIT", "license": "MIT",
"compatible": "1.5", "compatible": "1.5.2",
"notes": "" "notes": ""
} }

View File

@ -137,7 +137,9 @@ class pluginSitemap extends Plugin {
$doc = new DOMDocument(); $doc = new DOMDocument();
// Load XML // Load XML
libxml_disable_entity_loader(false);
$doc->load(PATH_PLUGINS_DATABASES.$this->directoryName.DS.'sitemap.xml'); $doc->load(PATH_PLUGINS_DATABASES.$this->directoryName.DS.'sitemap.xml');
libxml_disable_entity_loader(true);
// Print the XML // Print the XML
echo $doc->saveXML(); echo $doc->saveXML();

View File

@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "Tag lijst",
"description": "Toon alle tags."
}
}

View File

@ -2,9 +2,9 @@
"author": "Bludit", "author": "Bludit",
"email": "", "email": "",
"website": "https://plugins.bludit.com", "website": "https://plugins.bludit.com",
"version": "1.5", "version": "1.5.2",
"releaseDate": "2016-05-28", "releaseDate": "2016-05-28",
"license": "MIT", "license": "MIT",
"compatible": "1.5", "compatible": "1.5.2",
"notes": "" "notes": ""
} }

View File

@ -0,0 +1,64 @@
.bl-list {
margin: 20px 0;
}
.bl-container-title {
padding: 7em 0;
}
.bl-container-main {
padding-bottom: 7em;
}
.bl-author img {
max-width: 50%;
border-radius: 150px;
}
.bl-author .name {
margin-top: 10px;
margin-bottom: 4px;
}
.bl-author .social a {
font-size: 0.9em;
}
.plugin-content ul {
list-style: none;
padding: 0 5px;
}
a.page-parent {
color: #000;
}
/*
Page and post content
------------------------------------------------
*/
.bl-page-post-content p {
margin-bottom: 10px;
}
.bl-page-post-content ul {
}
.bl-page-post-content h1,
.bl-page-post-content h2,
.bl-page-post-content h3,
.bl-page-post-content h4,
.bl-page-post-content h5,
.bl-page-post-content h6 {
margin: 0 0 20px 0;
}
.bl-page-post-content h1:not(:first-child),
.bl-page-post-content h2:not(:first-child),
.bl-page-post-content h3:not(:first-child),
.bl-page-post-content h4:not(:first-child),
.bl-page-post-content h5:not(:first-child),
.bl-page-post-content h6:not(:first-child) {
margin-top: 40px;
}

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More