Merge pull request #3 from bludit/master

Pull Bludit v3.8.1 changes to BlakesHeaven Fork
This commit is contained in:
David Blake 2019-03-01 22:27:38 +00:00 committed by GitHub
commit 06b6767fc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
59 changed files with 278 additions and 146 deletions

4
.gitignore vendored
View File

@ -12,7 +12,8 @@ bl-plugins/yandex-metrica/
bl-plugins/domain-migrator/
bl-plugins/tail-writer/
bl-kernel/bludit.pro.php
bl-kernel/admin/themes/grizzly/*
bl-kernel/admin/themes/gris/*
bl-kernel/admin/themes/gris
bl-themes/docs
bl-themes/docsx
bl-themes/editorial
@ -24,3 +25,4 @@ bl-themes/hyperspace
bl-themes/striped
bl-themes/log
bl-themes/micro
bl-themes/tagg

View File

@ -27,7 +27,7 @@ Requirements
You just need a web server with PHP support.
- PHP v5.3 or higher.
- PHP v5.6 or higher.
- PHP [mbstring](http://php.net/manual/en/book.mbstring.php) module for full UTF-8 support.
- PHP [gd](http://php.net/manual/en/book.image.php) module for image processing.
- PHP [dom](http://php.net/manual/en/book.dom.php) module for DOM manipulation.

View File

@ -30,11 +30,9 @@ class dbJSON {
// Unserialize, JSON to Array
$array = $this->unserialize($implode);
if (empty($array)) {
$this->db = array();
$this->dbBackup = array();
Log::set(__METHOD__.LOG_SEP.'Error trying to read the JSON file: '.$file, LOG_TYPE_ERROR);
} else {
$this->db = $array;
$this->dbBackup = $array;
@ -100,7 +98,8 @@ class dbJSON {
{
// NULL is returned if the json cannot be decoded
$decode = json_decode($data, true);
if (empty($decode)) {
if ($decode===NULL) {
Log::set(__METHOD__.LOG_SEP.'Error trying to read the JSON file: '.$this->file, LOG_TYPE_ERROR);
return false;
}
return $decode;

View File

@ -126,7 +126,7 @@ class dbList extends dbJSON
}
// Sort the categories by "Natural order"
private function sortAlphanumeric()
public function sortAlphanumeric()
{
// Sort key alphanumeric strings, a01, a10, b10, c02
return ksort($this->db);

@ -0,0 +1 @@
Subproject commit f616042ccc0eaa37dab6a0c3ad67bb022574952b

View File

@ -23,14 +23,6 @@ $layout['controller'] = $layout['view'] = $layout['slug'] = empty($explodeSlug[0
unset($explodeSlug[0]);
$layout['parameters'] = implode('/', $explodeSlug);
// Disable Magic Quotes.
// Thanks, http://stackoverflow.com/questions/517008/how-to-turn-off-magic-quotes-on-shared-hosting
if ( in_array( strtolower( ini_get( 'magic_quotes_gpc' ) ), array( '1', 'on' ) ) ) {
$_POST = array_map('stripslashes', $_POST);
$_GET = array_map('stripslashes', $_GET);
$_COOKIE = array_map('stripslashes', $_COOKIE);
}
// Boot plugins rules
include(PATH_RULES.'60.plugins.php');

View File

@ -1,15 +1,15 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// Bludit version
define('BLUDIT_VERSION', '3.8.0');
define('BLUDIT_VERSION', '3.8.1');
define('BLUDIT_CODENAME', 'APA');
define('BLUDIT_RELEASE_DATE', '2019-02-22');
define('BLUDIT_BUILD', '20190222');
define('BLUDIT_RELEASE_DATE', '2019-02-28');
define('BLUDIT_BUILD', '20190228');
// Debug mode
// Change to FALSE, for prevent warning or errors on browser
define('DEBUG_MODE', TRUE);
define('DEBUG_TYPE', 'INFO'); // INFO, TRACE
define('DEBUG_TYPE', 'TRACE'); // INFO, TRACE
error_reporting(0); // Turn off all error reporting
if (DEBUG_MODE) {
// Turn on all error reporting

View File

@ -21,13 +21,19 @@ class Categories extends dbList {
$this->db[$key]['list'] = array();
}
// Get a database with published pages
$db = $pages->getPublishedDB(false);
// Get pages database
$db = $pages->getDB(false);
foreach ($db as $pageKey=>$pageFields) {
if (!empty($pageFields['category'])) {
$categoryKey = $pageFields['category'];
if (isset($this->db[$categoryKey]['list'])) {
array_push($this->db[$categoryKey]['list'], $pageKey);
if (
($db[$pageKey]['type']=='published') ||
($db[$pageKey]['type']=='sticky') ||
($db[$pageKey]['type']=='static')
) {
array_push($this->db[$categoryKey]['list'], $pageKey);
}
}
}
}

View File

@ -118,7 +118,12 @@ function buildPagesFor($for, $categoryKey=false, $tagKey=false) {
foreach ($list as $pageKey) {
try {
$page = new Page($pageKey);
array_push($content, $page);
if ( ($page->type()=='published') ||
($page->type()=='sticky') ||
($page->type()=='static')
) {
array_push($content, $page);
}
} catch (Exception $e) {
// continue
}
@ -325,10 +330,10 @@ function editPage($args) {
// Check if the autosave page exists for this new page and delete it
if (isset($args['uuid'])) {
$pageKey = $pages->getByUUID('autosave-'.$args['uuid']);
if (!empty($pageKey)) {
Log::set('Function editPage()'.LOG_SEP.'Autosave deleted for '.$args['title'], LOG_TYPE_INFO);
deletePage($pageKey);
$autosaveKey = $pages->getByUUID('autosave-'.$args['uuid']);
if ($autosaveKey) {
Log::set('Function editPage()'.LOG_SEP.'Autosave deleted for '.$autosaveKey, LOG_TYPE_INFO);
deletePage($autosaveKey);
}
}
@ -355,7 +360,7 @@ function editPage($args) {
// Add to syslog
$syslog->add(array(
'dictionaryKey'=>'content-edited',
'notes'=>$args['title']
'notes'=>empty($args['title'])?$key:$args['title']
));
return $key;

View File

@ -8,7 +8,7 @@ class Pages extends dbJSON {
'description'=>'',
'username'=>'',
'tags'=>array(),
'type'=>'published', // published, draft, sticky, scheduled
'type'=>'published', // published, static, draft, sticky, scheduled
'date'=>'',
'dateModified'=>'',
'position'=>0,
@ -157,12 +157,8 @@ class Pages extends dbJSON {
// Check values from the arguments ($args)
// If some field is missing the current value is taken
foreach ($this->dbFields as $field=>$value) {
if ($field=='tags') {
$tags = '';
if (isset($args['tags'])) {
$tags = $args['tags'];
}
$finalValue = $this->generateTags($tags);
if ( ($field=='tags') && isset($args['tags'])) {
$finalValue = $this->generateTags($args['tags']);
} elseif (isset($args[$field])) {
// Sanitize if will be stored on database
$finalValue = Sanitize::html($args[$field]);

View File

@ -255,7 +255,7 @@ class Page {
return '';
}
// Return string with tags separated by comma.
return implode(', ', $tags);
return implode(',', $tags);
}
public function json($returnsArray=false)
@ -266,7 +266,9 @@ class Page {
$tmp['contentRaw'] = $this->contentRaw(true); // No Markdown parsed
$tmp['description'] = $this->description();
$tmp['type'] = $this->type();
$tmp['slug'] = $this->slug();
$tmp['date'] = $this->dateRaw();
$tmp['tags'] = $this->tags(false);
$tmp['dateUTC'] = Date::convertToUTC($this->dateRaw(), DB_DATE_FORMAT, DB_DATE_FORMAT);
$tmp['permalink'] = $this->permalink(true);
$tmp['coverImage'] = $this->coverImage(true);

View File

@ -31,9 +31,8 @@ class Tags extends dbList {
}
}
// Sort database by alphabet
ksort($tagsIndex);
$this->db = $tagsIndex;
$this->sortAlphanumeric();
return $this->save();
}

View File

@ -3,11 +3,9 @@
"native": "Español",
"english-name": "Spanish",
"locale": "es, es_ES, es_AR, es_MX",
"last-update": "2018-02-24",
"last-update": "2019-02-28",
"authors": [
"Diego @dignajar",
"",
""
"Diego @dignajar"
]
},
"dates": {
@ -376,6 +374,6 @@
"thumbnail-width-in-pixels": "Ancho de miniatura en píxeles (px).",
"thumbnail-height-in-pixels": "Altura de miniaturas en píxeles (px).",
"thumbnail-quality-in-percentage": "Calidad de la miniatura en porcentaje (%).",
"maximum-load-file-size-allowed:": "Maximum load file size allowed:",
"file-type-is-not-supported": "File type is not supported. Allowed types:"
"maximum-load-file-size-allowed:": "Tamaño máximo del archivo permitido:",
"file-type-is-not-supported": "No se admite el tipo de archivo. Tipos permitidos:"
}

View File

@ -1,4 +1,4 @@
{
"language-data": {
"native": "فارسی",
"english-name": "Persian",
@ -7,8 +7,7 @@
"authors": [
"abdulhalim.po@gmail.com",
"Dorsawi http:\/\/dorsawi.com",
"xm74",
""
"xm74"
]
},
"dates": {
@ -18,14 +17,14 @@
"Tue": "سه شنبه",
"Wed": "چهارشنبه",
"Thu": "پنجشنبه",
"Fri": "جمعه",
"Fri": "جمعه",
"Saturday": "شنبه",
"Sunday": "یکشنبه",
"Monday": "دوشنبه",
"Tuesday": "سه شنبه",
"Wednesday": "چهارشنبه",
"Thursday": "پنجشنبه",
"Friday": "جمعه",
"Friday": "جمعه",
"Jan": "ژانویه",
"Feb": "فوریه",
"Mar": "مارس",
@ -378,4 +377,4 @@
"thumbnail-height-in-pixels": "ارتفاع بندانگشتی به پیکسل (px).",
"thumbnail-quality-in-percentage": "کیفیت بندانگشتی به درصد (%).",
"logo": "لوگو"
}
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.8.0",
"releaseDate": "2019-02-22",
"version": "3.8.1",
"releaseDate": "2019-02-28",
"license": "MIT",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.8.0",
"releaseDate": "2019-02-22",
"version": "3.8.1",
"releaseDate": "2019-02-28",
"license": "MIT",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}

View File

@ -15,6 +15,11 @@ class pluginAPI extends Plugin {
);
}
public function getToken()
{
return $this->getValue('token');
}
public function form()
{
global $L;
@ -298,12 +303,12 @@ class pluginAPI extends Plugin {
global $pages;
// Parameters and the default values
$published = (isset($args['published'])?$args['published']:true);
$static = (isset($args['static'])?$args['static']:false);
$draft = (isset($args['draft'])?$args['draft']:false);
$sticky = (isset($args['sticky'])?$args['sticky']:false);
$scheduled = (isset($args['scheduled'])?$args['scheduled']:false);
$untagged = (isset($args['untagged'])?$args['untagged']:false);
$published = (isset($args['published'])?$args['published']=='true':true);
$static = (isset($args['static'])?$args['static']=='true':false);
$draft = (isset($args['draft'])?$args['draft']=='true':false);
$sticky = (isset($args['sticky'])?$args['sticky']=='true':false);
$scheduled = (isset($args['scheduled'])?$args['scheduled']=='true':false);
$untagged = (isset($args['untagged'])?$args['untagged']=='true':false);
$numberOfItems = $this->getValue('numberOfItems');
$pageNumber = 1;

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.8.0",
"releaseDate": "2019-02-22",
"version": "3.8.1",
"releaseDate": "2019-02-28",
"license": "MIT",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.8.0",
"releaseDate": "2019-02-22",
"version": "3.8.1",
"releaseDate": "2019-02-28",
"license": "MIT",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.8.0",
"releaseDate": "2019-02-22",
"version": "3.8.1",
"releaseDate": "2019-02-28",
"license": "MIT",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}

View File

@ -4,9 +4,9 @@
"name": "Disqus",
"description": "Disqus ist eine Kommentar-Plattform für Websites. Um das Plugin verwenden zu können, muss ein Konto bei <a href=\"https://disqus.com\">Disqus</a> eingerichtet werden."
},
"disqus-shortname": "Disqus shortname",
"enable-disqus-on-pages": "Disqus on pages",
"enable-disqus-on-static-pages": "Disqus on static pages",
"enable-disqus-on-sticky-pages": "Disqus on sticky pages",
"get-the-shortname-from-the-disqus-general-settings": "Get the shortname from the Disqus general settings"
}
"disqus-shortname": "Disqus-Kurzname (Shortname)",
"enable-disqus-on-pages": "Disqus auf Seiten",
"enable-disqus-on-static-pages": "Disqus auf statischen Seiten",
"enable-disqus-on-sticky-pages": "Disqus bei fixierten Inhalten",
"get-the-shortname-from-the-disqus-general-settings": "Der Kurzname wird bei Disqus unter \"Settings\" > \"General\" angezeigt."
}

View File

@ -4,9 +4,9 @@
"name": "Disqus",
"description": "Disqus ist eine Kommentar-Plattform für Websites. Um das Plugin verwenden zu können, muss ein Konto bei <a href=\"https://disqus.com\">Disqus</a> eingerichtet werden."
},
"disqus-shortname": "Disqus shortname",
"enable-disqus-on-pages": "Disqus on pages",
"enable-disqus-on-static-pages": "Disqus on static pages",
"enable-disqus-on-sticky-pages": "Disqus on sticky pages",
"get-the-shortname-from-the-disqus-general-settings": "Get the shortname from the Disqus general settings"
}
"disqus-shortname": "Disqus-Kurzname (Shortname)",
"enable-disqus-on-pages": "Disqus auf Seiten",
"enable-disqus-on-static-pages": "Disqus auf statischen Seiten",
"enable-disqus-on-sticky-pages": "Disqus bei fixierten Inhalten",
"get-the-shortname-from-the-disqus-general-settings": "Der Kurzname wird bei Disqus unter \"Settings\" > \"General\" angezeigt."
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.8.0",
"releaseDate": "2019-02-22",
"version": "3.8.1",
"releaseDate": "2019-02-28",
"license": "MIT",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.8.0",
"releaseDate": "2019-02-22",
"version": "3.8.1",
"releaseDate": "2019-02-28",
"license": "MIT",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.8.0",
"releaseDate": "2019-02-22",
"version": "3.8.1",
"releaseDate": "2019-02-28",
"license": "MIT",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.8.0",
"releaseDate": "2019-02-22",
"version": "3.8.1",
"releaseDate": "2019-02-28",
"license": "MIT",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.8.0",
"releaseDate": "2019-02-22",
"version": "3.8.1",
"releaseDate": "2019-02-28",
"license": "MIT",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}

View File

@ -0,0 +1,10 @@
{
"plugin-data":
{
"name": "ناوبری",
"description": "منوی ناوبری به همراه والد و صفحات پایین تر برای نوار کناری."
},
"home-link": "لینک فهرست",
"show-the-home-link-on-the-sidebar": "نمایش لینک فهرست در نوار کناری.",
"amount-of-items": "تعداد آیتم ها"
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.8.0",
"releaseDate": "2019-02-22",
"version": "3.8.1",
"releaseDate": "2019-02-28",
"license": "MIT",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}

View File

@ -0,0 +1,9 @@
{
"plugin-data":
{
"name": "Open Graph",
"description": "پروتکل Open Graph یک صفحه وب را به یک شیء غنی در یک نمودار اجتماعی تبدیل می کند ."
},
"set-a-default-image-for-content": "قراردادن یک تصویر پیش‌فرض برای محتوایی که تصویر ندارد.",
"set-your-facebook-app-id": "قراردادن شناسه Facebook App."
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.8.0",
"releaseDate": "2019-02-22",
"version": "3.8.1",
"releaseDate": "2019-02-28",
"license": "MIT",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}

View File

@ -0,0 +1,11 @@
{
"plugin-data":
{
"name": "محتوای راه دور",
"description": "این افزونه یک راه آسان برای داشتن محتوای سایت شما در Github یا مشابه دارد و به نوبه خود، با بلودیت شما هماهنگ شده است ."
},
"webhook": "Webhook",
"source": "منبع",
"try-webhook": "امتحان webhook",
"complete-url-of-the-zip-file": "آدرس وب کامل فایل زیپ."
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com/plugin/remote-content",
"version": "3.8.0",
"releaseDate": "2019-02-22",
"version": "3.8.1",
"releaseDate": "2019-02-28",
"license": "MIT",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}

View File

@ -0,0 +1,11 @@
{
"plugin-data":
{
"name": "محتوای راه دور",
"description": "این افزونه یک راه آسان برای داشتن محتوای سایت شما در Github یا مشابه دارد و به نوبه خود، با بلودیت شما هماهنگ شده است ."
},
"webhook": "Webhook",
"source": "منبع",
"try-webhook": "امتحان webhook",
"complete-url-of-the-zip-file": "آدرس وب کامل فایل زیپ."
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.8.0",
"releaseDate": "2019-02-22",
"version": "3.8.1",
"releaseDate": "2019-02-28",
"license": "MIT",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}

View File

@ -0,0 +1,9 @@
{
"plugin-data":
{
"name": "خوراک RSS",
"description": "این پلاگین برای وبسایت شما یک خوراک RSS تولید میکند.<br>خوراک آدرس وب https://example.com/rss.xml دارد"
},
"amount-of-items-to-show-on-the-feed": "تعداد مطالب جهت نمایش در خوراک.",
"rss-url": "آدرس وب RSS"
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.8.0",
"releaseDate": "2019-02-22",
"version": "3.8.1",
"releaseDate": "2019-02-28",
"license": "MIT",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}

View File

@ -0,0 +1,9 @@
{
"plugin-data":
{
"name": "جستجو",
"description": "برای جستجو از طریق محتوای سایت خود، کادر جستجو را برای کاربران خود فراهم کنید."
},
"search": "جستجو",
"show-button-search": "نمایش دکمه جستجو"
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.8.0",
"releaseDate": "2019-02-22",
"version": "3.8.1",
"releaseDate": "2019-02-28",
"license": "MIT",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}

View File

@ -179,7 +179,7 @@ EOF;
{
// Get all pages published
global $pages;
$list = $pages->getList($pageNumber = 1, $numberOfItems = -1, $onlyPublished = true);
$list = $pages->getList($pageNumber=1, $numberOfItems=-1, $published=true, $static=true, $sticky=true, $draft=false, $scheduled=false);
$cache = array();
foreach ($list as $pageKey) {

View File

@ -0,0 +1,12 @@
{
"plugin-data":
{
"name": "آمار ساده",
"description": "نمایش روزانه بازدیدکنندگان در پیش خوان شما."
},
"visits": "بازدیدها",
"visits-today": "بازدیدهای امروز",
"unique-visitors-today": "بازدید کنندگان منحصر به فرد امروز",
"chart": "چارت",
"table": "جدول"
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.8.0",
"releaseDate": "2019-02-22",
"version": "3.8.1",
"releaseDate": "2019-02-28",
"license": "MIT",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}

View File

@ -0,0 +1,12 @@
{
"plugin-data":
{
"name": "SimpleMDE",
"description": "ویرایشگر Markdown، رابط ساده برای ایجاد زبان markup."
},
"toolbar": "نوار ابزار",
"tab-size": "اندازه زبانه",
"autosave": "ذخیره خودکار",
"spell-checker": "غلط گیر",
"content-here-supports-markdown-and-html-code": "محتوای اینجا از Markdown و کد HTML پشتیبانی می کند"
}

View File

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

View File

@ -0,0 +1,10 @@
{
"plugin-data":
{
"name": "نقشه سایت",
"description": "این پلاگین یک فایل sitemap.xml تولید می کند، که لیستی از صفحات وبسایت شما را ارائه می کند، این پلاگین به موتورهای جستجو کمک میکند تا محتوای شما را سازماندهی و پالایش کند."
},
"sitemap-url": "آدرس وب نقشه سایت",
"notifies-google-when-you-created": "اطلاع رسانی به Google هنگامی که شما محتوایی بر روی وبسایت خود ایجاد، ویرایش و یا حذف می کنید.",
"notifies-bing-when-you-created": "اطلاع رسانی به Bing هنگامی که شما محتوایی بر روی وبسایت خود ایجاد، ویرایش و یا حذف می کنید."
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.8.0",
"releaseDate": "2019-02-22",
"version": "3.8.1",
"releaseDate": "2019-02-28",
"license": "MIT",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}

View File

@ -57,10 +57,7 @@ class pluginSitemap extends Plugin {
$xml .= '<loc>'.$site->url().'</loc>';
$xml .= '</url>';
$published = $pages->getPublishedDB();
$statics = $pages->getStaticDB();
$list = array_merge($published, $statics);
$list = $pages->getList($pageNumber=1, $numberOfItems=-1, $published=true, $static=true, $sticky=true, $draft=false, $scheduled=false);
foreach ($list as $pageKey) {
try {
// Create the page object from the page key

View File

@ -0,0 +1,9 @@
{
"plugin-data":
{
"name": "صفحات استاتیک",
"description": "منوی ناوبری به همراه صفحات استاتیک."
},
"home-link": "لینک فهرست",
"show-the-home-link-on-the-sidebar": "نمایش لینک فهرست در نوار کناری."
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.8.0",
"releaseDate": "2019-02-22",
"version": "3.8.1",
"releaseDate": "2019-02-28",
"license": "MIT",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}

View File

@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "لیست برچسب ها",
"description": "نمایش تمام برچسب ها در نوار کناری."
}
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.8.0",
"releaseDate": "2019-02-22",
"version": "3.8.1",
"releaseDate": "2019-02-28",
"license": "MIT",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}

View File

@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "TinyMCE",
"description": "ویرایشگر HTML برای فرمت بندی محتوا. برای کاربرانی که تمایل ندارند با کد Markdown کار کنند پیشنهاد می‌شود."
}
}

View File

@ -5,6 +5,6 @@
"version": "4.9.2",
"releaseDate": "2018-12-17",
"license": "GPL v2",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}

View File

@ -0,0 +1,8 @@
{
"plugin-data":
{
"name": "Twitter Cards",
"description": "بوسیله Twitter Cards ، شما می‌توانید تصاویر، ویدئو و تجربیات رسانه ای را به توئیت پیوست کرده، و با اینکار کمکی می‌شود تا ترافیک بیشتری به سمت وبسایت شما روانه شود."
},
"default-image": "تصویر پیش‌فرض"
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.8.0",
"releaseDate": "2019-02-22",
"version": "3.8.1",
"releaseDate": "2019-02-28",
"license": "MIT",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}

View File

@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "نسخه",
"description": "نمایش نسخه جاری در نوار کناری پنل مدیریت، و بررسی دوره ای برای نسخه های جدید بلودیت."
}
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.8.0",
"releaseDate": "2019-02-22",
"version": "3.8.1",
"releaseDate": "2019-02-28",
"license": "MIT",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://themes.bludit.com",
"version": "3.8.0",
"releaseDate": "2019-02-22",
"version": "3.8.1",
"releaseDate": "2019-02-28",
"license": "MIT",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://themes.bludit.com",
"version": "3.8.0",
"releaseDate": "2019-02-22",
"version": "3.8.1",
"releaseDate": "2019-02-28",
"license": "MIT",
"compatible": "3.8.0",
"compatible": "3.8.1",
"notes": ""
}