Compare commits

...

60 Commits
master ... v1.6

Author SHA1 Message Date
Diego Najar 4e14bbac29 Merge pull request #445 from aleksei86/patch-2
Update en_US.json
2017-07-16 01:29:39 +02:00
Diego Najar 33c7b99fc6 Merge pull request #444 from aleksei86/patch-1
Create ru_RU.json
2017-07-16 01:29:27 +02:00
Aleksei Babii 0039bde2d5 Update en_US.json 2017-07-09 10:09:50 +03:00
Aleksei Babii 507d93cdd1 Create ru_RU.json 2017-07-09 10:03:24 +03:00
Diego Najar d17550c736 1.6.2 2017-05-27 14:10:14 +02:00
Diego Najar 7c4a0cb8b2 Merge pull request #439 from clickwork-git/master
Compatibility 1.6.1, 1.6.2
2017-05-27 13:44:06 +02:00
Edi e11fc74b88 Update metadata.json 2017-05-26 13:34:05 +02:00
Edi f8047b9b57 Update metadata.json 2017-05-26 13:33:29 +02:00
Edi bacf14f43a Update metadata.json 2017-05-26 13:32:53 +02:00
Edi 769a1445a6 Update metadata.json 2017-05-26 13:32:17 +02:00
Edi 8c4514675e Update metadata.json 2017-05-26 13:31:40 +02:00
Edi 42e780bc54 Update metadata.json 2017-05-26 13:31:00 +02:00
Edi 96f4f2f14f Update metadata.json 2017-05-26 13:30:26 +02:00
Edi 94f983da45 Update metadata.json 2017-05-26 13:29:44 +02:00
Edi 4df513ca4b Update metadata.json 2017-05-26 13:29:02 +02:00
Edi f981e893c5 Update metadata.json 2017-05-26 13:28:25 +02:00
Edi 423abcc37a Update metadata.json 2017-05-26 13:27:45 +02:00
Edi b8535d5f4e Update metadata.json 2017-05-26 13:27:09 +02:00
Edi 8157c2d6f1 Update metadata.json 2017-05-26 13:26:20 +02:00
Edi 84727dc995 Merge pull request #1 from dignajar/master
Pull request
2017-05-26 13:23:59 +02:00
Diego Najar 63e7798c15 Paypal link updated 2017-05-24 21:17:56 +02:00
Diego Najar a6f8a43f4c Merge pull request #438 from anaggh/master
Fix bug
2017-05-22 21:24:56 +02:00
anaggh 961d5bda89 Fix bug
Fixes: Fatal Error - Cannot access dashboard after updating from v1.5.2
to v1.6
2017-05-22 12:59:36 +05:30
Diego Najar bc3371ee43 Persian language updated 2017-05-21 23:05:02 +02:00
Diego Najar c174cfaa67 Merge pull request #437 from clickwork-git/master
Correction of typo
2017-05-21 22:53:32 +02:00
Edi 668570c99a Correction of typo 2017-05-21 22:44:37 +02:00
Diego Najar 68cbb031d1 Merge pull request #436 from clickwork-git/master
Responsive sidebar for settings
2017-05-21 22:02:34 +02:00
Edi eb7faaf993 Responsive sidebar for settings 2017-05-21 18:09:29 +02:00
Diego Najar 5efc1fc55e Merge pull request #435 from clickwork-git/master
Phrase "content-here-supports-markdown-and-html-code"
2017-05-21 12:29:21 +02:00
Edi 433593308a Update es_AR.json 2017-05-20 21:14:50 +02:00
Edi 4f92dd7239 Update es_AR.json 2017-05-20 21:14:08 +02:00
Edi 521acbc8b8 Update en_US.json 2017-05-20 21:13:12 +02:00
Edi 61a8f578b2 Update en_US.json 2017-05-20 21:12:32 +02:00
Edi 81f259034c Update de_CH.json 2017-05-20 21:11:32 +02:00
Edi e4609e5ed1 Update de_DE.json 2017-05-20 21:10:50 +02:00
Diego Najar a5418b8731 Build version updated 2017-05-20 11:58:58 +02:00
Diego Najar 849ccbabd3 Spanish dictionary updated 2017-05-20 11:53:22 +02:00
Diego Najar 40147ec634 Update UUID and fixed #432 2017-05-20 11:24:38 +02:00
Diego Najar 7f9094b25b Update UUID 2017-05-20 11:17:16 +02:00
Diego Najar 210f4c92d4 Fixed #429 2017-05-15 23:18:24 +02:00
Diego Najar eae8975cec Merge pull request #428 from clickwork-git/master
Additions language files
2017-05-15 13:33:39 +02:00
Edi e98a720d60 Update fr_FR.json 2017-05-15 01:31:11 +02:00
Edi b24d9df986 Update de_CH.json 2017-05-14 01:20:51 +02:00
Edi 96d4bd4bce Update de_DE.json 2017-05-14 01:19:39 +02:00
Edi 0565b670dc Update de_CH.json 2017-05-14 01:16:24 +02:00
Edi d76ed0c661 Merge pull request #6 from dignajar/master
Pull request
2017-05-14 01:12:08 +02:00
Diego Najar ce8b771300 Merge pull request #427 from tranduyhung/vietnamese-slug
Added Vietnamese characters
2017-05-11 15:42:17 +02:00
Diego Najar 62581f5f85 Plugins updated 2017-05-10 21:27:18 +02:00
Tran Duy Hung 08f3329d68 Added Vietnamese characters 2017-05-10 21:30:52 +07:00
Diego 78b14c7104 fixes for #426 2017-05-08 19:52:47 +02:00
Diego Najar 03929da6a0 Merge pull request #415 from xm74/patch-2
update to 1.6-beta
2017-05-07 15:54:02 +02:00
Diego Najar 706c41a59a Merge pull request #421 from atombugtrackdev/patch-1
Update Italian translation
2017-05-07 15:53:49 +02:00
Diego Najar 1c8c25f1ce Merge pull request #425 from clickwork-git/master
Translation of new phrases
2017-05-07 15:53:33 +02:00
Edi c7e2a8ae22 New phrases 1.6 2017-05-07 13:27:52 +02:00
Edi e922cbf271 New phrases 1.6 2017-05-07 13:26:57 +02:00
Edi 5b3facb24f Merge pull request #5 from dignajar/master
Pull request
2017-05-07 13:23:29 +02:00
atombugtrackdev 60b5901729 Update translation 2017-04-30 12:10:56 +02:00
Max Kostikov daf1be59d0 Update ru_RU.json 2017-04-28 15:53:22 +02:00
Max Kostikov 69341290bf Update ru_RU.json 2017-04-27 17:01:39 +02:00
Max Kostikov 518b43d26c update to 1.6-beta 2017-04-27 14:30:00 +02:00
35 changed files with 181 additions and 97 deletions

View File

@ -10,7 +10,7 @@ Bludit is a simple web application to make your own **blog** or **site** in seco
- [Themes](https://themes.bludit.com)
- [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)
[![Donate](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://www.paypal.me/bludit)
Social networks
---------------

View File

@ -32,6 +32,12 @@ function updateBludit()
$checksum = md5_file(PATH_POSTS.$key.DS.FILENAME);
$dbPosts->setPostDb($key, 'md5file', $checksum);
}
// UUID
if( empty($post['uuid']) ) {
$uuid = uniqid();
$dbPosts->setPostDb($key, 'uuid', $uuid);
}
}
$dbPosts->save();
@ -48,10 +54,16 @@ function updateBludit()
}
// Checksum
if( empty($post['md5file']) ) {
if( empty($page['md5file']) ) {
$checksum = md5_file(PATH_PAGES.$key.DS.FILENAME);
$dbPages->setPageDb($key, 'md5file', $checksum);
}
// UUID
if( empty($page['uuid']) ) {
$uuid = uniqid();
$dbPages->setPageDb($key, 'uuid', $uuid);
}
}
$dbPages->save();

View File

@ -297,7 +297,9 @@ button.aslink:hover {
}
.bl-publish-sidebar {
display: none !important;
width: 100%;
padding-left: 0;
margin: 20px 0;
}
.bl-publish-view {
@ -700,4 +702,4 @@ div.plugin-links > span.separator {
#jsformplugin p {
margin-bottom: 0;
}
}

View File

@ -41,7 +41,7 @@ foreach($themes as $theme)
<td class="uk-text-center">';
if( !$theme['compatible'] ) {
echo '<i class="uk-icon-exclamation-triangle incompatible-warning" title="This theme is incompatible with Bludit v'.BLUDIT_VERSION.'"></i>';
echo '<i class="uk-icon-exclamation-triangle incompatible-warning" title="'.$L->g('This theme may not be supported by this version of Bludit').'"></i>';
}
echo $theme['version'].'</td>';

View File

@ -1,10 +1,10 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// Bludit version
define('BLUDIT_VERSION', '1.6-beta');
define('BLUDIT_CODENAME', '');
define('BLUDIT_RELEASE_DATE', '');
define('BLUDIT_BUILD', '');
define('BLUDIT_VERSION', '1.6.2');
define('BLUDIT_CODENAME', 'Another place in the world');
define('BLUDIT_RELEASE_DATE', '2017-05-28');
define('BLUDIT_BUILD', '20170528');
// Debug mode
// Change to FALSE, for prevent warning or error on browser
@ -146,7 +146,7 @@ include(PATH_KERNEL.'dbusers.class.php');
include(PATH_KERNEL.'dbtags.class.php');
include(PATH_KERNEL.'dblanguage.class.php');
include(PATH_KERNEL.'dbsite.class.php');
include(PATH_KERNEL.'dbcategories.class.php');
//include(PATH_KERNEL.'dbcategories.class.php');
include(PATH_KERNEL.'post.class.php');
include(PATH_KERNEL.'page.class.php');
include(PATH_KERNEL.'user.class.php');
@ -186,7 +186,7 @@ $dbPosts = new dbPosts();
$dbPages = new dbPages();
$dbUsers = new dbUsers();
$dbTags = new dbTags();
$dbCategories = new dbCategories();
//$dbCategories = new dbCategories();
$Site = new dbSite();
$Url = new Url();
$Parsedown = new ParsedownExtra();

View File

@ -96,7 +96,6 @@ function buildPostsForPage($pageNumber=0, $amount=POSTS_PER_PAGE_ADMIN, $removeU
{
global $dbPosts;
global $dbTags;
global $dbCategories;
global $Url;
$posts = array();
@ -105,9 +104,6 @@ function buildPostsForPage($pageNumber=0, $amount=POSTS_PER_PAGE_ADMIN, $removeU
// Get the keys list from tags database, this database is optimized for this case.
$list = $dbTags->getList($pageNumber, $amount, $key);
}
elseif( $type=='category' && $key ) {
$list = $dbCategories->getListOfPosts($pageNumber, $amount, $key);
}
else {
// Get the keys list from posts database.
$list = $dbPosts->getList($pageNumber, $amount, $removeUnpublished);

View File

@ -68,7 +68,34 @@ class Text {
'Ā'=>'A', 'Č'=>'C', 'Ē'=>'E', 'Ģ'=>'G', 'Ī'=>'i', 'Ķ'=>'k', 'Ļ'=>'L', 'Ņ'=>'N',
'Š'=>'S', 'Ū'=>'u', 'Ž'=>'Z',
'ā'=>'a', 'č'=>'c', 'ē'=>'e', 'ģ'=>'g', 'ī'=>'i', 'ķ'=>'k', 'ļ'=>'l', 'ņ'=>'n',
'š'=>'s', 'ū'=>'u', 'ž'=>'z'
'š'=>'s', 'ū'=>'u', 'ž'=>'z',
// Vietnamese
'Ả'=>'A', 'Ạ'=>'A',
'Ă'=>'A', 'Ằ'=>'A', 'Ắ'=>'A', 'Ẳ'=>'A', 'Ẵ'=>'A', 'Ặ'=>'A',
'Ầ'=>'A', 'Ấ'=>'A', 'Ẩ'=>'A', 'Ẫ' => 'A', 'Ậ'=>'A',
'Ẻ'=>'E', 'Ẽ'=>'E', 'Ẹ'=>'E',
'Ề'=>'E', 'Ế'=>'E', 'Ể'=>'E', 'Ễ'=>'E', 'Ệ'=>'E',
'Ỉ'=>'I', 'Ĩ'=>'I', 'Ị'=>'I',
'Ỏ'=>'O', 'Ọ'=>'O',
'Ơ'=>'O', 'Ờ'=>'O', 'Ớ'=>'O', 'Ở'=>'O', 'Ỡ'=>'O', 'Ợ'=>'O',
'Ồ'=>'O', 'Ố'=>'O', 'Ổ'=>'O', 'Ỗ'=>'O', 'Ộ'=>'O',
'Ư'=>'U', 'Ừ'=>'U', 'Ứ'=>'U', 'Ử'=>'U', 'Ữ'=>'U', 'Ự'=>'U',
'Ủ'=>'U', 'Ũ'=>'U',
'Ỳ'=>'Y', 'Ỷ'=>'Y', 'Ỹ'=>'Y', 'Ỵ' => 'Y',
'Đ'=>'D',
'ả'=>'a', 'ạ'=>'a',
'ă'=>'a', 'ằ'=>'a', 'ắ'=>'a', 'ẳ'=>'a', 'ặ'=>'a', 'ẵ'=>'a',
'ầ'=>'a', 'ấ'=>'a', 'ẩ'=>'a', 'ẫ' => 'a', 'ậ'=>'a',
'ẻ'=>'e', 'ẽ'=>'e', 'ẹ'=>'e',
'ề'=>'e', 'ế'=>'e', 'ể'=>'e', 'ễ'=>'e', 'ệ'=>'e',
'ỉ'=>'i', 'ĩ'=>'i', 'ị'=>'i',
'ỏ'=>'o', 'ọ'=>'o',
'ơ'=>'o', 'ờ'=>'o', 'ớ'=>'o', 'ở'=>'o', 'ỡ'=>'o', 'ợ'=>'o',
'ồ'=>'o', 'ố'=>'o', 'ổ'=>'o', 'ỗ'=>'o', 'ộ'=>'o',
'ư'=>'u', 'ừ'=>'u', 'ứ'=>'u', 'ử'=>'u', 'ữ'=>'u', 'ự'=>'u',
'ủ'=>'u', 'ũ'=>'u',
'ỳ'=>'y', 'ỷ'=>'y', 'ỹ'=>'y', 'ỵ' => 'y',
'đ'=>'d',
);
public static function addSlashes($string, $begin=true, $end=true)
@ -220,4 +247,4 @@ class Text {
$string);
}
}
}

View File

@ -3,7 +3,7 @@
{
"native": "Deutsch (Schweiz)",
"english-name": "German",
"last-update": "2016-09-28",
"last-update": "2017-05-14",
"author": "Clickwork",
"email": "egoetschel@clickwork.ch",
"website": "https://clickwork.ch"
@ -236,5 +236,9 @@
"сurrent-status" : "Status",
"disable-the-user" : "Benutzer deaktivieren",
"add-a-new-page": "Eine neue Seite hinzufügen",
"add-a-new-post": "Einen neuen Beitrag hinzufügen"
"add-a-new-post": "Einen neuen Beitrag hinzufügen",
"save-as-draft": "Als Entwurf speichern",
"slug": "Slug",
"this-plugin-may-not-be-supported-by-this-version-of-bludit": "Dieses Plugin kann möglicherweise mit der installierten Version von Bludit nicht verwendet werden.",
"this-theme-may-not-be-supported-by-this-version-of-bludit": "Dieses Theme kann möglicherweise mit der installierten Version von Bludit nicht verwendet werden."
}

View File

@ -3,7 +3,7 @@
{
"native": "Deutsch (Deutschland)",
"english-name": "German",
"last-update": "2016-09-28",
"last-update": "2017-05-14",
"author": "Clickwork",
"email": "egoetschel@clickwork.ch",
"website": "https://clickwork.ch"
@ -236,5 +236,9 @@
"сurrent-status" : "Status",
"disable-the-user" : "Benutzer deaktivieren",
"add-a-new-page": "Eine neue Seite hinzufügen",
"add-a-new-post": "Einen neuen Beitrag hinzufügen"
"add-a-new-post": "Einen neuen Beitrag hinzufügen",
"save-as-draft": "Als Entwurf speichern",
"slug": "Slug",
"this-plugin-may-not-be-supported-by-this-version-of-bludit": "Dieses Plugin kann möglicherweise mit der installierten Version von Bludit nicht verwendet werden.",
"this-theme-may-not-be-supported-by-this-version-of-bludit": "Dieses Theme kann möglicherweise mit der installierten Version von Bludit nicht verwendet werden."
}

View File

@ -3,7 +3,7 @@
{
"native": "English (United States)",
"english-name": "English",
"last-update": "2016-02-13",
"last-update": "2017-05-08",
"author": "Diego",
"email": "",
"website": ""
@ -61,7 +61,7 @@
"footer-text": "Footer text",
"posts-per-page": "Posts per page",
"site-url": "Site url",
"writting-settings": "Writting settings",
"writting-settings": "Writing settings",
"url-filters": "URL filters",
"page": "Page",
"pages": "Pages",
@ -105,7 +105,7 @@
"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",
"settings-advanced-writting-settings": "Settings->Advanced->Writing 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.",
@ -228,7 +228,6 @@
"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",
@ -252,11 +251,7 @@
"add-a-new-post": "Add a new post",
"save-as-draft": "Save as draft",
"categories": "Сategories",
"add-a-new-category": "Add a new category",
"new-category": "New category",
"slug": "slug",
"edit-category": "Edit category",
"last-page": "Last page",
"first-page": "First page"
}
"this-plugin-may-not-be-supported-by-this-version-of-bludit": "This plugin may not be supported by this version of Bludit",
"this-theme-may-not-be-supported-by-this-version-of-bludit": "This theme may not be supported by this version of Bludit"
}

View File

@ -3,7 +3,7 @@
{
"native": "Español (Argentina)",
"english-name": "Spanish",
"last-update": "2016-02-13",
"last-update": "2017-05-08",
"author": "Diego",
"email": "",
"website": ""
@ -226,7 +226,6 @@
"click-here-to-cancel": "Clic aquí para cancelar.",
"type-the-tag-and-press-enter": "Escriba la etiqueta y presione enter.",
"add": "Agregar",
"manage-your-bludit-from-the-admin-panel": "Administre su Bludit desde el [panel de administración]({{ADMIN_AREA_LINK}})",
"there-are-no-images":"No hay imagenes",
@ -247,5 +246,10 @@
"сurrent-status" : "Estado",
"disable-the-user" : "Deshabilitar usuario",
"add-a-new-page": "Crear nueva pagina",
"add-a-new-post": "Crear nuevo post"
}
"add-a-new-post": "Crear nuevo post",
"save-as-draft": "Guardar como borrador",
"slug": "Slug",
"this-plugin-may-not-be-supported-by-this-version-of-bludit": "Esta extension puede que no sea compatible con esta versión de Bludit",
"this-theme-may-not-be-supported-by-this-version-of-bludit": "Este tema puede que no sea compatible con esta versión de Bludit"
}

View File

@ -169,7 +169,7 @@
"cli-mode": "حالت رابط خط فرمان (Cli)",
"command-line-mode": "حالت خط فرمان",
"enable-the-command-line-mode-if-you-add-edit": "اگر شما نوشته ها و صفحات خود را از طریق فایل سیستم اضافه ، ویرایش و یا حذف میکنید ، حالت خط فرمان را فعال کنید",
"configure": "پیکربندی",
"uninstall": "حذف نصب",
"change-password": "تغییر پسورد",

View File

@ -235,5 +235,22 @@
"delete-image": "Supprimer limage",
"image-description": "Description de limage",
"social-networks-links": "Liens vers les réseaux sociaux"
"social-networks-links": "Liens vers les réseaux sociaux",
"email-access-code": "Email access code",
"current-format": "Current format",
"welcome": "Salutations",
"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": "Ajouter une page",
"add-a-new-post": "Ajouter un article ",
"save-as-draft": "Enregistrer comme brouillon",
"slug": "slug",
"this-plugin-may-not-be-supported-by-this-version-of-bludit": "Lextensions ne peut pas utiliser peut-être avec la version installée de Bludit.",
"this-theme-may-not-be-supported-by-this-version-of-bludit": "Le thème ne peut pas utiliser peut-être avec la version installée de Bludit."
}

View File

@ -235,5 +235,27 @@
"delete-image": "Elimima immagine",
"image-description": "Descrizione dell'immagine",
"social-networks-links": "Social Networks"
"social-networks-links": "Social Networks",
"email-access-code": "Codice di Accesso",
"current-format": "Formato attuale",
"welcome": "Benvenuto",
"to-enable-the-user-you-have-to-set-a-new-password": "Per attivare l'utente devi impostare una nuova password.",
"do-you-want-to-disable-the-user": "Vuoi disabilitare l'utente ?",
"сurrent-status": "Stato",
"disable-the-user": "Disabilita l'utente",
"add-a-new-page": "Crea una nuova pagina",
"add-a-new-post": "Crea un nuovo post",
"save-as-draft": "Salva come bozza",
"categories": "Categorie",
"add-a-new-category": "Aggiungi una nuova categoria",
"new-category": "Nuova categoria",
"slug": "slug",
"edit-category": "Modifica categoria",
"last-page": "Ultima pagina",
"first-page": "Prima pagina"
}

View File

@ -249,5 +249,13 @@
"add-a-new-page": "Добавить страницу",
"add-a-new-post": "Добавить запись",
"save-as-draft": "Сохранить как черновик"
"save-as-draft": "Сохранить как черновик",
"categories": "Категории",
"add-a-new-category": "Добавить новую категорию",
"new-category": "Новая категория",
"slug": "Slug",
"edit-category": "Редактировать категорию",
"last-page": "Последняя страница",
"first-page": "Первая страница"
}

View File

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

View File

@ -1,10 +1,10 @@
{
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "1.5.2",
"releaseDate": "2016-05-28",
"website": "https://docs.bludit.com/en/api/introduction",
"version": "1.6",
"releaseDate": "2017-05-10",
"license": "MIT",
"compatible": "1.5.2",
"compatible": "1.5.2,1.6,1.6.1,1.6.2",
"notes": ""
}

View File

@ -22,29 +22,11 @@ class pluginAPI extends Plugin {
$html = '';
$html .= '<div>';
$html .= '<p><b>Authorization Key:</b> '.$this->getDbField('token').'</p>';
$html .= '<p><b>Token:</b> '.$this->getDbField('token').'</p>';
$html .= '<div class="tip">This key is private, do not share it with anyone.</div>';
$html .= '</div>';
$html .= '<div>';
$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>';
$html .= '<div>';
$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>';
$html .= '<div>';
$html .= '<p><b>Show post:</b> <a href="'.DOMAIN_BASE.'api/show/post/{POST-NAME}">'.DOMAIN_BASE.'api/show/post/{POST-NAME}</a></p>';
$html .= '<div class="tip">Get a particular post, change the {POST-NAME} with the post friendly url.</div>';
$html .= '</div>';
$html .= '<div>';
$html .= '<p><b>Show page:</b> <a href="'.DOMAIN_BASE.'api/show/page/{PAGE-NAME}">'.DOMAIN_BASE.'api/show/page/{PAGE-NAME}</a></p>';
$html .= '<div class="tip">Get a particular page, change the {PAGE-NAME} with the page friendly url.</div>';
$html .= '</div>';
$html .= '<div>Check the documentation about the API <a href="https://docs.bludit.com/en/api/introduction">Bludit Docs API</a></div>';
return $html;
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -6,5 +6,6 @@
},
"toolbar": "Werkzeugleiste",
"tab-size": "Abstände der Tabstopps",
"autosave": "Autosave"
"autosave": "Autosave",
"content-here-supports-markdown-and-html-code": "Hier kann die Inhalt eingefügt werden. Der Editor unterstützt Markdown und HTML-Code."
}

View File

@ -6,5 +6,6 @@
},
"toolbar": "Werkzeugleiste",
"tab-size": "Abstände der Tabstopps",
"autosave": "Autosave"
}
"autosave": "Autosave",
"content-here-supports-markdown-and-html-code": "Hier kann die Inhalt eingefügt werden. Der Editor unterstützt Markdown und HTML-Code."
}

View File

@ -7,5 +7,6 @@
"toolbar": "Toolbar",
"tab-size": "Tab size",
"autosave": "Autosave",
"spell-checker": "Spell Checker"
}
"spell-checker": "Spell Checker",
"content-here-supports-markdown-and-html-code": "Content here. Supports Markdown and HTML code."
}

View File

@ -6,5 +6,6 @@
},
"toolbar": "Barra de herramientas",
"tab-size": "Tamaño de la tabulación",
"autosave": "Autoguardado"
}
"autosave": "Autoguardado",
"content-here-supports-markdown-and-html-code": "Contenido aquí. Soporta Markdown y código HTML."
}

View File

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

View File

@ -38,7 +38,7 @@ class pluginsimpleMDE extends Plugin {
$html .= '<input name="autosave" id="jsautosave" type="checkbox" value="1" '.($this->getDbField('autosave')?'checked':'').'>';
$html .= '<label class="forCheckbox" for="jsautosave">'.$Language->get('Autosave').'</label>';
$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':'').'>';
@ -105,7 +105,7 @@ class pluginsimpleMDE extends Plugin {
// Spell Checker
$spellCheckerEnable = $this->getDbField('spellChecker')?'true':'false';
$pluginPath = $this->htmlPath();
$html = '<script>'.PHP_EOL;
@ -129,7 +129,7 @@ class pluginsimpleMDE extends Plugin {
toolbarTips: true,
toolbarGuideIcon: true,
autofocus: false,
placeholder: "Content here... Supports Markdown and HTML code.",
placeholder: "'.$Language->get('Content here Supports Markdown and HTML code').'",
lineWrapping: true,
autoDownloadFontAwesome: false,
indentWithTabs: true,

View File

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

View File

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

View File

@ -0,0 +1,7 @@
{
"theme-data":
{
"name": "Log",
"description": "Минималистская тема с очень отзывчивым дизайном, разработанная @n33co, адаптированная и модифицированная для Bludit."
}
}

View File

@ -2,9 +2,9 @@
"author": "n33co",
"email": "",
"website": "http://html5up.net",
"version": "1.4",
"version": "1.6",
"releaseDate": "2016-05-20",
"license": "CCA 3.0",
"compatible": "1.5.2",
"compatible": "1.5.2,1.6,1.6.1,1.6.2",
"notes": ""
}