Changes in metastore for Bludit v3.2

This commit is contained in:
Diego Najar 2018-10-20 21:34:04 +02:00
parent f39cc831b1
commit bfabd248ac
35 changed files with 84 additions and 92 deletions

View File

@ -254,5 +254,5 @@ td.child {
padding: 10px 5% !important;
font-size: 16px;
line-height: 1.5em;
border: 1px solid #ccc;
}

View File

@ -87,7 +87,7 @@ function table($type) {
echo '<td class="pt-3 text-center d-none d-sm-table-cell">'.PHP_EOL;
echo '<a class="btn btn-secondary btn-sm mb-1" href="'.HTML_PATH_ADMIN_ROOT.'edit-content/'.$page->key().'"><span class="oi oi-pencil"></span> '.$L->g('Edit').'</a>'.PHP_EOL;
echo '<button type="button" class="btn btn-secondary btn-sm deletePageButton mb-1" data-toggle="modal" data-target="#jsdeletePageModal" data-key="'.$page->key().'"><span class="oi oi-trash"></span> '.$L->g('Delete').'</button>'.PHP_EOL;
echo '<button type="button" class="btn btn-danger btn-sm deletePageButton mb-1" data-toggle="modal" data-target="#jsdeletePageModal" data-key="'.$page->key().'"><span class="oi oi-trash"></span> '.$L->g('Delete').'</button>'.PHP_EOL;
echo '</td>';
echo '</tr>';
@ -111,7 +111,7 @@ function table($type) {
echo '<td class="pt-3 text-center d-none d-sm-table-cell">'.PHP_EOL;
echo '<a class="btn btn-secondary btn-sm mb-1" href="'.HTML_PATH_ADMIN_ROOT.'edit-content/'.$child->key().'"><span class="oi oi-pencil"></span> '.$L->g('Edit').'</a>'.PHP_EOL;
echo '<button type="button" class="btn btn-secondary btn-sm deletePageButton mb-1" data-toggle="modal" data-target="#jsdeletePageModal" data-key="'.$child->key().'"><span class="oi oi-trash"></span> '.$L->g('Delete').'</button>'.PHP_EOL;
echo '<button type="button" class="btn btn-danger btn-sm deletePageButton mb-1" data-toggle="modal" data-target="#jsdeletePageModal" data-key="'.$child->key().'"><span class="oi oi-trash"></span> '.$L->g('Delete').'</button>'.PHP_EOL;
echo '</td>';
echo '</tr>';
@ -143,7 +143,7 @@ function table($type) {
echo '<td class="pt-3 text-center d-none d-sm-table-cell">'.PHP_EOL;
echo '<a class="btn btn-secondary btn-sm mb-1" href="'.HTML_PATH_ADMIN_ROOT.'edit-content/'.$page->key().'"><span class="oi oi-pencil"></span> '.$L->g('Edit').'</a>'.PHP_EOL;
echo '<button type="button" class="btn btn-secondary btn-sm deletePageButton mb-1" data-toggle="modal" data-target="#jsdeletePageModal" data-key="'.$page->key().'"><span class="oi oi-trash"></span> '.$L->g('Delete').'</button>'.PHP_EOL;
echo '<button type="button" class="btn btn-danger btn-sm deletePageButton mb-1" data-toggle="modal" data-target="#jsdeletePageModal" data-key="'.$page->key().'"><span class="oi oi-trash"></span> '.$L->g('Delete').'</button>'.PHP_EOL;
echo '</td>';
echo '</tr>';

View File

@ -4,18 +4,20 @@
<!-- Good message -->
<div>
<h2 id="hello-message"><span class="oi oi-target"></span> <?php echo $L->g('hello') ?></h2>
<h2 id="hello-message"><?php echo $L->g('hello') ?></h2>
<script>
$( document ).ready(function() {
$("#hello-message").fadeOut(1000, function() {
var date = new Date()
var hours = date.getHours()
if (hours < 12) {
if (hours > 6 && hours < 12) {
$(this).html('<span class="oi oi-sun"></span> <?php echo $L->g('good-morning') ?>');
} else if (hours < 18) {
} else if (hours > 12 && hours < 18) {
$(this).html('<span class="oi oi-sun"></span> <?php echo $L->g('good-afternoon') ?>');
} else {
} else if (hours > 18 && hours < 22) {
$(this).html('<span class="oi oi-moon"></span> <?php echo $L->g('good-evening') ?>');
} else {
$(this).html('<span class="oi oi-moon"></span> <?php echo $L->g('good-night') ?>');
}
}).fadeIn(1000);
});

View File

@ -1,10 +1,10 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// Bludit version
define('BLUDIT_VERSION', '3.1');
define('BLUDIT_CODENAME', 'Malt');
define('BLUDIT_RELEASE_DATE', '2018-10-08');
define('BLUDIT_BUILD', '20181008');
define('BLUDIT_VERSION', '3.2');
define('BLUDIT_CODENAME', 'Yeast');
define('BLUDIT_RELEASE_DATE', '2018-10-20');
define('BLUDIT_BUILD', '20181020');
// Debug mode
// Change to FALSE, for prevent warning or errors on browser

View File

@ -360,6 +360,7 @@
"good-morning": "Good morning",
"good-afternoon": "Good afternoon",
"good-evening": "Good evening",
"good-night": "Good night",
"hello": "Hello",
"there-are-no-images-for-the-page": "There are no images for the page.",
"select-cover-image": "Select cover image"

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.1",
"releaseDate": "2018-10-08",
"version": "3.2",
"releaseDate": "2018-10-20",
"license": "MIT",
"compatible": "3.1",
"compatible": "3.2",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.1",
"releaseDate": "2018-10-08",
"version": "3.2",
"releaseDate": "2018-10-20",
"license": "MIT",
"compatible": "3.1",
"compatible": "3.2",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.1",
"releaseDate": "2018-10-08",
"version": "3.2",
"releaseDate": "2018-10-20",
"license": "MIT",
"compatible": "3.1",
"compatible": "3.2",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.1",
"releaseDate": "2018-10-08",
"version": "3.2",
"releaseDate": "2018-10-20",
"license": "MIT",
"compatible": "3.1",
"compatible": "3.2",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.1",
"releaseDate": "2018-10-08",
"version": "3.2",
"releaseDate": "2018-10-20",
"license": "MIT",
"compatible": "3.1",
"compatible": "3.2",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.1",
"releaseDate": "2018-10-08",
"version": "3.2",
"releaseDate": "2018-10-20",
"license": "MIT",
"compatible": "3.1",
"compatible": "3.2",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.1",
"releaseDate": "2018-10-08",
"version": "3.2",
"releaseDate": "2018-10-20",
"license": "MIT",
"compatible": "3.1",
"compatible": "3.2",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.1",
"releaseDate": "2018-10-08",
"version": "3.2",
"releaseDate": "2018-10-20",
"license": "MIT",
"compatible": "3.1",
"compatible": "3.2",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.1",
"releaseDate": "2018-10-08",
"version": "3.2",
"releaseDate": "2018-10-20",
"license": "MIT",
"compatible": "3.1",
"compatible": "3.2",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.1",
"releaseDate": "2018-10-08",
"version": "3.2",
"releaseDate": "2018-10-20",
"license": "MIT",
"compatible": "3.1",
"compatible": "3.2",
"notes": ""
}

View File

@ -2,7 +2,7 @@
"plugin-data":
{
"name": "Remote Content",
"description": ""
"description": "This plugin provides an easy way to have the content of your site on Github or similar and in turn is synchronized with your Bludit."
},
"webhook": "Webhook",
"source": "Source",

View File

@ -2,7 +2,7 @@
"plugin-data":
{
"name": "Contenido remoto",
"description": ""
"description": "Este plugin provee una forma facil de tener el contenido de tu sitio en Github o similar y a su vez esta sincronizado con tu Bludit."
},
"webhook": "Webhook",
"source": "Source",

View File

@ -1,12 +0,0 @@
{
"plugin-data":
{
"name": "Uzak İçerik",
"description": ""
},
"webhook": "Webhook",
"source": "Kaynak",
"keep-content": "İçeriği sakla",
"complete-url-of-the-zip-file": "zip dosyasının tam URL'si.",
"if-you-want-to-keep-the-content-generate-via-the-user-interface-enable-this-field": "İçeriği kullanıcı arayüzü üzerinden tutmak istiyorsanız bu alanı etkinleştirin."
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com/plugin/remote-content",
"version": "3.1",
"version": "3.2",
"releaseDate": "2018-09-14",
"license": "MIT",
"compatible": "3.1",
"compatible": "3.2",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.1",
"releaseDate": "2018-10-08",
"version": "3.2",
"releaseDate": "2018-10-20",
"license": "MIT",
"compatible": "3.1",
"compatible": "3.2",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.1",
"releaseDate": "2018-10-08",
"version": "3.2",
"releaseDate": "2018-10-20",
"license": "MIT",
"compatible": "3.1",
"compatible": "3.2",
"notes": ""
}

View File

@ -4,5 +4,5 @@
"name": "Search",
"description": "Provide a search box to your users to search through the content of your site."
},
"search": "Search",
"search": "Search"
}

View File

@ -4,5 +4,5 @@
"name": "Buscador",
"description": "Este plugin provee un buscador para tus usuarios para buscar a través del contenido de su sitio."
},
"search": "Buscador",
"search": "Buscador"
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.1",
"version": "3.2",
"releaseDate": "2018-10-07",
"license": "MIT",
"compatible": "3.1",
"compatible": "3.2",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.1",
"releaseDate": "2018-10-08",
"version": "3.2",
"releaseDate": "2018-10-20",
"license": "MIT",
"compatible": "3.1",
"compatible": "3.2",
"notes": ""
}

View File

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

View File

@ -90,7 +90,8 @@ class pluginsimpleMDE extends Plugin {
$html .= '$(document).ready(function() { '.PHP_EOL;
$html .= '
$( "#jseditor" ).replaceWith( "<textarea id=\"jseditor\"></textarea>" );
var currentContent = $( "#jseditor" ).html();
$( "#jseditor" ).replaceWith( "<textarea id=\"jseditor\">"+currentContent+"</textarea>" );
simplemde = new SimpleMDE({
element: document.getElementById("jseditor"),
status: false,

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.1",
"releaseDate": "2018-10-08",
"version": "3.2",
"releaseDate": "2018-10-20",
"license": "MIT",
"compatible": "3.1",
"compatible": "3.2",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.1",
"version": "3.2",
"releaseDate": "2018-03-07",
"license": "MIT",
"compatible": "3.1",
"compatible": "3.2",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.1",
"releaseDate": "2018-10-08",
"version": "3.2",
"releaseDate": "2018-10-20",
"license": "MIT",
"compatible": "3.1",
"compatible": "3.2",
"notes": ""
}

View File

@ -5,6 +5,6 @@
"version": "4.8.3",
"releaseDate": "2018-09-13",
"license": "GPL v2",
"compatible": "3.1",
"compatible": "3.2",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.1",
"releaseDate": "2018-10-08",
"version": "3.2",
"releaseDate": "2018-10-20",
"license": "MIT",
"compatible": "3.1",
"compatible": "3.2",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.1",
"releaseDate": "2018-10-08",
"version": "3.2",
"releaseDate": "2018-10-20",
"license": "MIT",
"compatible": "3.1",
"compatible": "3.2",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://themes.bludit.com",
"version": "3.1",
"version": "3.2",
"releaseDate": "2018-02-20",
"license": "MIT",
"compatible": "3.1",
"compatible": "3.2",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://themes.bludit.com",
"version": "3.1",
"version": "3.2",
"releaseDate": "2018-02-20",
"license": "MIT",
"compatible": "3.1",
"compatible": "3.2",
"notes": ""
}