Compare commits
60 commits
Author | SHA1 | Date | |
---|---|---|---|
|
4e14bbac29 | ||
|
33c7b99fc6 | ||
|
0039bde2d5 | ||
|
507d93cdd1 | ||
|
d17550c736 | ||
|
7c4a0cb8b2 | ||
|
e11fc74b88 | ||
|
f8047b9b57 | ||
|
bacf14f43a | ||
|
769a1445a6 | ||
|
8c4514675e | ||
|
42e780bc54 | ||
|
96f4f2f14f | ||
|
94f983da45 | ||
|
4df513ca4b | ||
|
f981e893c5 | ||
|
423abcc37a | ||
|
b8535d5f4e | ||
|
8157c2d6f1 | ||
|
84727dc995 | ||
|
63e7798c15 | ||
|
a6f8a43f4c | ||
|
961d5bda89 | ||
|
bc3371ee43 | ||
|
c174cfaa67 | ||
|
668570c99a | ||
|
68cbb031d1 | ||
|
eb7faaf993 | ||
|
5efc1fc55e | ||
|
433593308a | ||
|
4f92dd7239 | ||
|
521acbc8b8 | ||
|
61a8f578b2 | ||
|
81f259034c | ||
|
e4609e5ed1 | ||
|
a5418b8731 | ||
|
849ccbabd3 | ||
|
40147ec634 | ||
|
7f9094b25b | ||
|
210f4c92d4 | ||
|
eae8975cec | ||
|
e98a720d60 | ||
|
b24d9df986 | ||
|
96d4bd4bce | ||
|
0565b670dc | ||
|
d76ed0c661 | ||
|
ce8b771300 | ||
|
62581f5f85 | ||
|
08f3329d68 | ||
|
78b14c7104 | ||
|
03929da6a0 | ||
|
706c41a59a | ||
|
1c8c25f1ce | ||
|
c7e2a8ae22 | ||
|
e922cbf271 | ||
|
5b3facb24f | ||
|
60b5901729 | ||
|
daf1be59d0 | ||
|
69341290bf | ||
|
518b43d26c |
35 changed files with 181 additions and 97 deletions
|
@ -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¤cy_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
|
||||
---------------
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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>';
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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."
|
||||
}
|
||||
|
|
|
@ -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."
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -169,7 +169,7 @@
|
|||
"cli-mode": "حالت رابط خط فرمان (Cli)",
|
||||
"command-line-mode": "حالت خط فرمان",
|
||||
"enable-the-command-line-mode-if-you-add-edit": "اگر شما نوشته ها و صفحات خود را از طریق فایل سیستم اضافه ، ویرایش و یا حذف میکنید ، حالت خط فرمان را فعال کنید",
|
||||
|
||||
|
||||
"configure": "پیکربندی",
|
||||
"uninstall": "حذف نصب",
|
||||
"change-password": "تغییر پسورد",
|
||||
|
|
|
@ -235,5 +235,22 @@
|
|||
"delete-image": "Supprimer l’image",
|
||||
"image-description": "Description de l’image",
|
||||
|
||||
"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": "L’extensions 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."
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -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": "Первая страница"
|
||||
}
|
||||
|
|
|
@ -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": ""
|
||||
}
|
||||
|
|
|
@ -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": ""
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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": ""
|
||||
}
|
||||
|
|
|
@ -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": ""
|
||||
}
|
||||
|
|
|
@ -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": ""
|
||||
}
|
||||
|
|
|
@ -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": ""
|
||||
}
|
||||
|
|
|
@ -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": ""
|
||||
}
|
||||
|
|
|
@ -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": ""
|
||||
}
|
||||
|
|
|
@ -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": ""
|
||||
}
|
||||
|
|
|
@ -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."
|
||||
}
|
||||
|
|
|
@ -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."
|
||||
}
|
||||
|
|
|
@ -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."
|
||||
}
|
||||
|
|
|
@ -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."
|
||||
}
|
||||
|
|
|
@ -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": ""
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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": ""
|
||||
}
|
||||
|
|
|
@ -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": ""
|
||||
}
|
||||
|
|
7
bl-themes/log/languages/ru_RU.json
Normal file
7
bl-themes/log/languages/ru_RU.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"theme-data":
|
||||
{
|
||||
"name": "Log",
|
||||
"description": "Минималистская тема с очень отзывчивым дизайном, разработанная @n33co, адаптированная и модифицированная для Bludit."
|
||||
}
|
||||
}
|
|
@ -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": ""
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue