Languages updated

This commit is contained in:
Diego Najar 2018-02-25 21:10:28 +01:00
parent 21456b72b5
commit 8ad9922bf3
71 changed files with 80 additions and 510 deletions

View File

@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2015-2017 Diego Najar
Copyright (c) 2015-2018 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

View File

@ -1,10 +1,10 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// Bludit version
define('BLUDIT_VERSION', '2.3');
define('BLUDIT_CODENAME', 'Undefined');
define('BLUDIT_RELEASE_DATE', '2018-02-21');
define('BLUDIT_BUILD', '20180221');
define('BLUDIT_VERSION', '2.3-beta-1');
define('BLUDIT_CODENAME', '');
define('BLUDIT_RELEASE_DATE', '2018-02-25');
define('BLUDIT_BUILD', '20180225');
// Debug mode
// Change to FALSE, for prevent warning or errors on browser

View File

@ -276,6 +276,7 @@
"read-more": "Read more",
"remember-me": "Remember me",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -276,6 +276,7 @@
"read-more": "Повече информация",
"remember-me": "Remember me",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -277,6 +277,7 @@
"read-more": "Číst dále",
"remember-me": "Remember me",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -11,11 +11,6 @@
""
]
},
"special-chars": {
"ä": "ae",
"ö": "oe",
"ü": "ue"
},
"dates": {
"Mon": "Mo",
"Tue": "Di",
@ -55,6 +50,11 @@
"November": "November",
"December": "Dezember"
},
"special-chars": {
"ä": "ae",
"ö": "oe",
"ü": "ue"
},
"dashboard": "Dashboard",
"manage-users": "Benutzer verwalten",
"manage-categories": "Kategorien verwalten",
@ -282,6 +282,7 @@
"read-more": "Weiterlesen",
"remember-me": "Angemeldet bleiben",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -11,12 +11,6 @@
""
]
},
"special-chars": {
"ä": "ae",
"ö": "oe",
"ü": "ue",
"ß": "ss"
},
"dates": {
"Mon": "Mo",
"Tue": "Di",
@ -56,6 +50,12 @@
"November": "November",
"December": "Dezember"
},
"special-chars": {
"ä": "ae",
"ö": "oe",
"ü": "ue",
"ß": "ss"
},
"dashboard": "Dashboard",
"manage-users": "Benutzer verwalten",
"manage-categories": "Kategorien verwalten",
@ -283,6 +283,7 @@
"read-more": "Weiterlesen",
"remember-me": "Angemeldet bleiben",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -277,6 +277,7 @@
"read-more": "Read more",
"remember-me": "Remember me",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -276,6 +276,7 @@
"read-more": "Leer más",
"remember-me": "Recordarme",
"plugins-position": "Posición de los plugins",
"plugins-sorted": "Plugins ordenados",
"plugins-position-changed": "Cambio la posicion de los plugins",
"drag-and-drop-to-set-the-position-of-the-plugin": "Arrastrar y soltar para establecer la posición de los plugins.",
"change-the-position-of-the-plugins": "Cambiar la posición de los plugins",
@ -284,13 +285,13 @@
"minute": "minuto",
"example-page-1-slug": "crea-tu-propio-contenido",
"example-page-1-title": "Crea tu propio contenido",
"example-page-1-content": "Comience a escribir su propio contenido o edite el actual para adaptarse a sus necesidades. Para crear, editar o eliminar contenido debe iniciar sesión en el [panel de administración](/admin) con el nombre de usuario `admin` y la contraseña que configuró en el proceso de instalación.",
"example-page-1-content": "Comience a escribir su propio contenido o edite el actual para adaptarse a sus necesidades. Para crear, editar o eliminar contenido debe iniciar sesión en el [panel de administración](\/admin) con el nombre de usuario `admin` y la contraseña que configuró en el proceso de instalación.",
"example-page-2-slug": "set-up-your-new-site",
"example-page-2-title": "Configure su nuevo sitio",
"example-page-2-content": "Actualice la configuración de su sitio desde el [panel de administración](/admin), puede cambiar el título, la descripción y las redes sociales desde [Configuracion > General](/admin/settings-general).",
"example-page-2-content": "Actualice la configuración de su sitio desde el [panel de administración](\/admin), puede cambiar el título, la descripción y las redes sociales desde [Configuracion > General](\/admin\/settings-general).",
"example-page-3-slug": "follow-bludit",
"example-page-3-title": "Sigue Bludit",
"example-page-3-content": "Obtener información sobre noticias, nuevos lanzamientos, nuevos temas o nuevos plugins en nuestras redes sociales [Facebook](https://www.facebook.com/bluditcms/), [Twitter](https://www.twitter.com/bludit) y [GooglePlus](https://plus.google.com/+bluditcms) o visite nuestro [blog](https://blog.bludit.com).",
"example-page-3-content": "Obtener información sobre noticias, nuevos lanzamientos, nuevos temas o nuevos plugins en nuestras redes sociales [Facebook](https:\/\/www.facebook.com\/bluditcms\/), [Twitter](https:\/\/www.twitter.com\/bludit) y [GooglePlus](https:\/\/plus.google.com\/+bluditcms) o visite nuestro [blog](https:\/\/blog.bludit.com).",
"example-page-4-slug": "acerca-de",
"example-page-4-title": "Acerca de",
"example-page-4-content": "Su página `Acerca de` es una de las páginas más visitadas en su sitio, necesita ser simple con algunas claves, como su nombre, quién es usted, cómo puede ponerse en contacto con usted o una pequeña historia."

View File

@ -276,6 +276,7 @@
"read-more": "Read more",
"remember-me": "Remember me",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -276,6 +276,7 @@
"read-more": "Lue lisää",
"remember-me": "Remember me",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -277,6 +277,7 @@
"read-more": "Lire la suite",
"remember-me": "Remember me",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -277,6 +277,7 @@
"read-more": "Διαβάστε περισσότερα",
"remember-me": "Remember me",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -277,6 +277,7 @@
"read-more": "להמשך קריאה",
"remember-me": "Remember me",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -276,6 +276,7 @@
"read-more": "Bővebben",
"remember-me": "Remember me",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -276,6 +276,7 @@
"read-more": "Leggi tutto",
"remember-me": "Remember me",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -276,6 +276,7 @@
"read-more": "Read more",
"remember-me": "Remember me",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -276,6 +276,7 @@
"read-more": "Read more",
"remember-me": "Remember me",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -276,6 +276,7 @@
"read-more": "Lees meer",
"remember-me": "Onthoudt mij!",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -276,6 +276,7 @@
"read-more": "Czytaj dalej",
"remember-me": "Remember me",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -276,6 +276,7 @@
"read-more": "Read more",
"remember-me": "Remember me",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -276,6 +276,7 @@
"read-more": "Read more",
"remember-me": "Remember me",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -273,6 +273,7 @@
"read-more": "Citește mai mult",
"remember-me": "Remember me",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -277,6 +277,7 @@
"read-more": "Читать далее",
"remember-me": "Запомнить",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -277,6 +277,7 @@
"read-more": "Devamını oku",
"remember-me": "Remember me",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -277,6 +277,7 @@
"read-more": "Читати далі",
"remember-me": "Запам'ятати мене",
"plugins-position": "Позиція плагіна",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Позицію плагіна змінено",
"drag-and-drop-to-set-the-position-of-the-plugin": "Перетягніть та відпустіть, щоб встановити позицію плагінів",
"change-the-position-of-the-plugins": "Змінити положення плагінів",

View File

@ -276,6 +276,7 @@
"read-more": "Read more",
"remember-me": "Remember me",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -276,6 +276,7 @@
"read-more": "Read more",
"remember-me": "Remember me",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -276,6 +276,7 @@
"read-more": "Read more",
"remember-me": "Remember me",
"plugins-position": "Plugin position",
"plugins-sorted": "Plugins sorted",
"plugins-position-changed": "Plugin position changed",
"drag-and-drop-to-set-the-position-of-the-plugin": "Drag and Drop to set the position of the plugins",
"change-the-position-of-the-plugins": "Change the position of the plugins",

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "2.2",
"version": "2.3",
"releaseDate": "2018-01-23",
"license": "MIT",
"compatible": "2.2",
"compatible": "2.3",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "2.2",
"version": "2.3",
"releaseDate": "2018-01-23",
"license": "MIT",
"compatible": "2.2",
"compatible": "2.3",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "2.2",
"version": "2.3",
"releaseDate": "2018-01-23",
"license": "MIT",
"compatible": "2.2",
"compatible": "2.3",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "2.2",
"version": "2.3",
"releaseDate": "2018-01-23",
"license": "MIT",
"compatible": "2.2",
"compatible": "2.3",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "2.2",
"version": "2.3",
"releaseDate": "2018-01-23",
"license": "MIT",
"compatible": "2.2",
"compatible": "2.3",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "2.2",
"version": "2.3",
"releaseDate": "2018-01-23",
"license": "MIT",
"compatible": "2.2",
"compatible": "2.3",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "2.2",
"version": "2.3",
"releaseDate": "2018-01-23",
"license": "MIT",
"compatible": "2.2",
"compatible": "2.3",
"notes": ""
}

View File

@ -1,10 +0,0 @@
{
"plugin-data":
{
"name": "Neueste Inhalte",
"description": "Liste der neuesten Inhalte in der Seitenleiste (bei Themes mit einer Seitenleiste). Die Anzahl kann in den Einstellungen gewählt werden. Die Reihenfolge entspricht der unter \"Einstellungen\" > \"Erweitert\" gewählten Option."
},
"home-link": "Hauptseite",
"show-the-home-link-on-the-sidebar": "Link zur Hauptseite.",
"amount-of-items": "Anzahl der Inhalte"
}

View File

@ -1,10 +0,0 @@
{
"plugin-data":
{
"name": "Neueste Inhalte",
"description": "Liste der neuesten Inhalte in der Seitenleiste (bei Themes mit einer Seitenleiste). Die Anzahl kann in den Einstellungen gewählt werden. Die Reihenfolge entspricht der unter \"Einstellungen\" > \"Erweitert\" gewählten Option."
},
"home-link": "Hauptseite",
"show-the-home-link-on-the-sidebar": "Link zur Hauptseite.",
"amount-of-items": "Anzahl der Inhalte"
}

View File

@ -1,10 +0,0 @@
{
"plugin-data":
{
"name": "Latest content",
"description": "List of latest contents, you can set the number of items.<br>The order of the content is taken from the advanced settings of Bludit."
},
"home-link": "Home link",
"show-the-home-link-on-the-sidebar": "Show the home link on the sidebar.",
"amount-of-items": "Amount of items"
}

View File

@ -1,10 +0,0 @@
{
"plugin-data":
{
"name": "Último contenido",
"description": "Lista los últimos contenidos, puede establecer el número de elementos.<br>El orden del contenido se toma de la configuración avanzada de Bludit."
},
"home-link": "Enlace Home",
"show-the-home-link-on-the-sidebar": "Mostrar el vínculo de inicio en la barra lateral.",
"amount-of-items": "Cantidad de artículos"
}

View File

@ -1,10 +0,0 @@
{
"plugin-data":
{
"name": "Dernier contenu",
"description": "Liste des derniers contenus, vous pouvez définir le nombre déléments. <br> Lordre du contenu est tiré des paramètres avancés de Bludit."
},
"home-link": "Lien vers la page dacceuil.",
"show-the-home-link-on-the-sidebar": "Afficher le lien vers la page dacceuil sur la barre latérale.",
"amount-of-items": "Quantité dobjets"
}

View File

@ -1,10 +0,0 @@
{
"plugin-data":
{
"name": "Последний контент",
"description": "Список последнего содержимого, вы можете задать количество позиций.<br>Порядок отображения содержимого задаётся в расширенных настройках Bludit."
},
"home-link": "Ссылка на главную страницу",
"show-the-home-link-on-the-sidebar": "Показывать ссылку на главную страницу на боковой панели",
"amount-of-items": "Количество позиций"
}

View File

@ -1,10 +0,0 @@
{
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "2.2",
"releaseDate": "2018-01-23",
"license": "MIT",
"compatible": "2.2",
"notes": ""
}

View File

@ -1,119 +0,0 @@
<?php
class pluginLatestContent extends Plugin {
public function init()
{
// Fields and default values for the database of this plugin
$this->dbFields = array(
'label'=>'Latest content',
'homeLink'=>true,
'amountOfItems'=>5
);
}
// Method called on the settings of the plugin on the admin area
public function form()
{
global $Language;
$html = '<div>';
$html .= '<label>'.$Language->get('Label').'</label>';
$html .= '<input id="jslabel" name="label" type="text" value="'.$this->getValue('label').'">';
$html .= '<span class="tip">'.$Language->get('This title is almost always used in the sidebar of the site').'</span>';
$html .= '</div>';
$html .= '<div>';
$html .= '<label>'.$Language->get('Home link').'</label>';
$html .= '<select name="homeLink">';
$html .= '<option value="true" '.($this->getValue('homeLink')===true?'selected':'').'>'.$Language->get('Enabled').'</option>';
$html .= '<option value="false" '.($this->getValue('homeLink')===false?'selected':'').'>'.$Language->get('Disabled').'</option>';
$html .= '</select>';
$html .= '<span class="tip">'.$Language->get('Show the home link on the sidebar').'</span>';
$html .= '</div>';
$html .= '<div>';
$html .= '<label>'.$Language->get('Amount of items').'</label>';
$html .= '<input id="jsamountOfItems" name="amountOfItems" type="text" value="'.$this->getValue('amountOfItems').'">';
$html .= '</div>';
return $html;
}
// Method called on the sidebar of the website
public function siteSidebar()
{
global $Language;
global $Url;
global $Site;
global $dbPages;
global $pagesByParent;
// Amount of pages to show
$amountOfItems = $this->getValue('amountOfItems');
// Page number the first one
$pageNumber = 1;
// Only published pages
$onlyPublished = true;
// Get the list of pages
$pages = $dbPages->getList($pageNumber, $amountOfItems, $onlyPublished, true);
// HTML for sidebar
$html = '<div class="plugin plugin-pages">';
$html .= '<h2 class="plugin-label">'.$this->getValue('label').'</h2>';
$html .= '<div class="plugin-content">';
$html .= '<ul>';
if(ORDER_BY==='position') {
foreach($pagesByParent[PARENT] as $Parent) {
$html .= '<li class="parent">';
$html .= '<h3>';
$html .= $Parent->title();
$html .= '</h3>';
if(!empty($pagesByParent[$Parent->key()])) {
$html .= '<ul class="child">';
foreach($pagesByParent[$Parent->key()] as $child) {
$html .= '<li class="child">';
$html .= '<a class="child" href="'.$child->permalink().'">';
$html .= $child->title();
$html .= '</a>';
$html .= '</li>';
}
$html .= '</ul>';
}
$html .= '</li>';
}
}
else {
// Show Home page link
if( $this->getValue('homeLink') ) {
$html .= '<li>';
$html .= '<a href="'.$Site->url().'">';
$html .= $Language->get('Home page');
$html .= '</a>';
$html .= '</li>';
}
// Get keys of pages
foreach($pages as $pageKey) {
// Create the page object from the page key
$page = buildPage($pageKey);
$html .= '<li>';
$html .= '<a href="'.$page->permalink().'">';
$html .= $page->title();
$html .= '</a>';
$html .= '</li>';
}
}
$html .= '</ul>';
$html .= '</div>';
$html .= '</div>';
return $html;
}
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "2.2",
"version": "2.3",
"releaseDate": "2018-01-23",
"license": "MIT",
"compatible": "2.2",
"compatible": "2.3",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "2.2",
"version": "2.3",
"releaseDate": "2018-01-23",
"license": "MIT",
"compatible": "2.2",
"compatible": "2.3",
"notes": ""
}

View File

@ -1,7 +0,0 @@
{
"plugin-data":
{
"name": "Menü",
"description": "Zeigt eine Menü in der Seitenleiste mit den Kategorien und ihren Inhalten (bei Themes mit einer Seitenleiste)."
}
}

View File

@ -1,7 +0,0 @@
{
"plugin-data":
{
"name": "Menü",
"description": "Zeigt eine Menü in der Seitenleiste mit den Kategorien und ihren Inhalten (bei Themes mit einer Seitenleiste)."
}
}

View File

@ -1,7 +0,0 @@
{
"plugin-data":
{
"name": "Menu",
"description": "Shows a menu on the sidebar and the content organized by categories."
}
}

View File

@ -1,7 +0,0 @@
{
"plugin-data":
{
"name": "Menú",
"description": "Muestra un menú en la barra lateral organizado por categorías."
}
}

View File

@ -1,7 +0,0 @@
{
"plugin-data":
{
"name": "Menu",
"description": "Affiche un menu dans la barre latérale et le contenu est organisé par catégories."
}
}

View File

@ -1,7 +0,0 @@
{
"plugin-data":
{
"name": "Меню",
"description": "Показывает меню и контент по категориям на боковой панели."
}
}

View File

@ -1,10 +0,0 @@
{
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "2.2",
"releaseDate": "2018-01-23",
"license": "MIT",
"compatible": "2.2",
"notes": ""
}

View File

@ -1,73 +0,0 @@
<?php
class pluginMenu extends Plugin {
public function init()
{
// Fields and default values for the database of this plugin
$this->dbFields = array(
'label'=>'Menu'
);
}
// Method called on the settings of the plugin on the admin area
public function form()
{
global $Language;
$html = '<div>';
$html .= '<label>'.$Language->get('Label').'</label>';
$html .= '<input id="jslabel" name="label" type="text" value="'.$this->getValue('label').'">';
$html .= '<span class="tip">'.$Language->get('This title is almost always used in the sidebar of the site').'</span>';
$html .= '</div>';
return $html;
}
// Method called on the sidebar of the website
public function siteSidebar()
{
global $Language;
global $dbCategories;
global $Url;
// HTML for sidebar
$html = '<div class="plugin plugin-menu">';
// Print the label only if not empty
if( $this->getValue('label') ) {
$html .= '<h2 class="plugin-label">'.$this->getValue('label').'</h2>';
}
$html .= '<div class="plugin-content">';
$html .= '<ul class="menu">';
// By default the database of categories are alphanumeric sorted
foreach( $dbCategories->db as $key=>$fields ) {
$pageList = $fields['list'];
if( count($pageList) > 0 ) {
$html .= '<li class="menu">';
$html .= '<span class="category-name">'.$fields['name'].'</span>';
$html .= '<ul class="submenu">';
foreach( $pageList as $pageKey ) {
// Create the page object from the page key
$page = buildPage($pageKey);
$html .= '<li class="submenu">';
$html .= '<a href="'.$page->permalink().'">';
$html .= $page->title();
$html .= '</a>';
$html .= '</li>';
}
$html .= '</ul>';
$html .= '</a>';
$html .= '</li>';
}
}
$html .= '</ul>';
$html .= '</div>';
$html .= '</div>';
return $html;
}
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "2.2",
"version": "2.3",
"releaseDate": "2018-01-23",
"license": "MIT",
"compatible": "2.2",
"compatible": "2.3",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "2.2",
"version": "2.3",
"releaseDate": "2018-01-23",
"license": "MIT",
"compatible": "2.2",
"compatible": "2.3",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "2.2",
"version": "2.3",
"releaseDate": "2018-01-23",
"license": "MIT",
"compatible": "2.2",
"compatible": "2.3",
"notes": ""
}

View File

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

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "2.2",
"version": "2.3",
"releaseDate": "2018-01-23",
"license": "MIT",
"compatible": "2.2",
"compatible": "2.3",
"notes": ""
}

View File

@ -1,9 +0,0 @@
{
"plugin-data":
{
"name": "Statische Seiten",
"description": "Zeigt die statischen Seiten in der Seitenleiste (bei Themes mit einer Seitenleiste). Das Plugin kann beispielsweise für einen Blog mit zusätzlichen Seiten verwendet werden."
},
"home-link": "Hauptseite",
"show-the-home-link-on-the-sidebar": "Link zur Hauptseite"
}

View File

@ -1,9 +0,0 @@
{
"plugin-data":
{
"name": "Statische Seiten",
"description": "Zeigt die statischen Seiten in der Seitenleiste (bei Themes mit einer Seitenleiste). Das Plugin kann beispielsweise für einen Blog mit zusätzlichen Seiten verwendet werden."
},
"home-link": "Hauptseite",
"show-the-home-link-on-the-sidebar": "Link zur Hauptseite"
}

View File

@ -1,9 +0,0 @@
{
"plugin-data":
{
"name": "Static pages",
"description": "Shows the static pages on the sidebar, this plugin is useful when you want to create a blog with pages."
},
"home-link": "Home link",
"show-the-home-link-on-the-sidebar": "Show the home link on the sidebar."
}

View File

@ -1,9 +0,0 @@
{
"plugin-data":
{
"name": "Páginas estáticas",
"description": "Muestra las páginas estáticas en la barra lateral, este plugin es útil cuando quieres crear un blog con páginas."
},
"home-link": "Enlace Home",
"show-the-home-link-on-the-sidebar": "Mostrar el vínculo de inicio en la barra lateral."
}

View File

@ -1,9 +0,0 @@
{
"plugin-data":
{
"name": "Pages statiques",
"description": "Affiche les pages statiques sur la barre latérale, ce plugin est utile lorsque vous souhaitez créer un blog avec des pages."
},
"home-link": "Lien vers la page dacceuil.",
"show-the-home-link-on-the-sidebar": "Afficher le lien vers la page dacceuil sur la barre latérale."
}

View File

@ -1,9 +0,0 @@
{
"plugin-data":
{
"name": "Static pages",
"description": "Показывает статические страницы на боковой панели. Это может быть полезно если вы создаёте блог с дополнительными страницами."
},
"home-link": "Главная страница",
"show-the-home-link-on-the-sidebar": "Показывать ссылку на главную страницу на боковой панели."
}

View File

@ -1,10 +0,0 @@
{
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "2.2",
"releaseDate": "2018-01-23",
"license": "MIT",
"compatible": "2.2",
"notes": ""
}

View File

@ -1,79 +0,0 @@
<?php
class pluginStaticPages extends Plugin {
public function init()
{
// Fields and default values for the database of this plugin
$this->dbFields = array(
'label'=>'Static Pages',
'homeLink'=>true
);
}
// Method called on the settings of the plugin on the admin area
public function form()
{
global $Language;
$html = '<div>';
$html .= '<label>'.$Language->get('Label').'</label>';
$html .= '<input id="jslabel" name="label" type="text" value="'.$this->getValue('label').'">';
$html .= '<span class="tip">'.$Language->get('This title is almost always used in the sidebar of the site').'</span>';
$html .= '</div>';
$html .= '<div>';
$html .= '<label>'.$Language->get('Home link').'</label>';
$html .= '<select name="homeLink">';
$html .= '<option value="true" '.($this->getValue('homeLink')?'selected':'').'>Enabled</option>';
$html .= '<option value="false" '.(!$this->getValue('homeLink')?'selected':'').'>Disabled</option>';
$html .= '</select>';
$html .= '<span class="tip">'.$Language->get('Show the home link on the sidebar').'</span>';
$html .= '</div>';
return $html;
}
// Method called on the sidebar of the website
public function siteSidebar()
{
global $Language;
global $Url;
global $Site;
global $dbPages;
$pages = $dbPages->getStaticDB(true);
// HTML for sidebar
$html = '<div class="plugin plugin-pages">';
$html .= '<h2 class="plugin-label">'.$this->getValue('label').'</h2>';
$html .= '<div class="plugin-content">';
$html .= '<ul>';
// Show Home page link
if ($this->getValue('homeLink')) {
$html .= '<li>';
$html .= '<a href="'.$Site->url().'">';
$html .= $Language->get('Home page');
$html .= '</a>';
$html .= '</li>';
}
// Get keys of pages
foreach ($pages as $pageKey) {
// Create the page object from the page key
$page = buildPage($pageKey);
$html .= '<li>';
$html .= '<a href="'.$page->permalink().'">';
$html .= $page->title();
$html .= '</a>';
$html .= '</li>';
}
$html .= '</ul>';
$html .= '</div>';
$html .= '</div>';
return $html;
}
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "2.2",
"version": "2.3",
"releaseDate": "2018-01-23",
"license": "MIT",
"compatible": "2.2",
"compatible": "2.3",
"notes": ""
}

View File

@ -5,6 +5,6 @@
"version": "4.7.5",
"releaseDate": "2018-01-22",
"license": "GPL v2",
"compatible": "2.2",
"compatible": "2.3",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "2.2",
"version": "2.3",
"releaseDate": "2018-01-23",
"license": "MIT",
"compatible": "2.2",
"compatible": "2.3",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "2.2",
"version": "2.3",
"releaseDate": "2018-01-23",
"license": "MIT",
"compatible": "2.2",
"compatible": "2.3",
"notes": ""
}