commit
d76ed0c661
@ -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,7 +1,7 @@
|
||||
<?php defined('BLUDIT') or die('Bludit CMS.');
|
||||
|
||||
// Bludit version
|
||||
define('BLUDIT_VERSION', '1.6-beta');
|
||||
define('BLUDIT_VERSION', '1.6');
|
||||
define('BLUDIT_CODENAME', '');
|
||||
define('BLUDIT_RELEASE_DATE', '');
|
||||
define('BLUDIT_BUILD', '');
|
||||
|
@ -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', '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=> 'y',
|
||||
'đ'=>'d',
|
||||
);
|
||||
|
||||
public static function addSlashes($string, $begin=true, $end=true)
|
||||
@ -220,4 +247,4 @@ class Text {
|
||||
$string);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -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": ""
|
||||
@ -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"
|
||||
}
|
@ -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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"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",
|
||||
"notes": ""
|
||||
}
|
||||
|
@ -5,6 +5,6 @@
|
||||
"version": "1.11.2",
|
||||
"releaseDate": "2016-06-14",
|
||||
"license": "MIT",
|
||||
"compatible": "1.5.2",
|
||||
"compatible": "1.5.2,1.6",
|
||||
"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",
|
||||
"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",
|
||||
"notes": ""
|
||||
}
|
||||
|
@ -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",
|
||||
"notes": ""
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user