diff --git a/bl-kernel/abstract/dbjson.class.php b/bl-kernel/abstract/dbjson.class.php index 8c245b55..c7e54670 100644 --- a/bl-kernel/abstract/dbjson.class.php +++ b/bl-kernel/abstract/dbjson.class.php @@ -59,7 +59,7 @@ class dbJSON { if (isset($this->db[$field])) { return $this->db[$field]; } - return $this->dbFields[$field]['value']; + return $this->dbFields[$field]; } // Save the JSON file diff --git a/bl-kernel/admin/controllers/dashboard.php b/bl-kernel/admin/controllers/dashboard.php index a95147b5..1ed04523 100644 --- a/bl-kernel/admin/controllers/dashboard.php +++ b/bl-kernel/admin/controllers/dashboard.php @@ -9,6 +9,8 @@ function updateBludit() { if( ($site->currentBuild() < BLUDIT_BUILD) || isset($_GET['update']) ) { Log::set('UPDATE SYSTEM - Starting.'); + @mkdir(PATH_WORKSPACES, DIR_PERMISSIONS, true); + $plugins = array('pluginRSS', 'pluginSitemap', 'pluginTimeMachineX', 'pluginBackup'); foreach ($plugins as $plugin) { if (pluginActivated($plugin)) { diff --git a/bl-kernel/admin/views/settings.php b/bl-kernel/admin/views/settings.php index e8808415..0e309507 100644 --- a/bl-kernel/admin/views/settings.php +++ b/bl-kernel/admin/views/settings.php @@ -365,6 +365,15 @@ echo Bootstrap::pageTitle(array('title'=>$L->g('Settings'), 'icon'=>'cog')); 'tip'=>'' )); + echo Bootstrap::formInputText(array( + 'name'=>'mastodon', + 'label'=>'Mastodon', + 'value'=>$site->mastodon(), + 'class'=>'', + 'placeholder'=>'', + 'tip'=>'' + )); + echo '
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<\/a>, puede cambiar el título, la descripción y las redes sociales desde Configuracion > General.",
"example-page-3-slug": "follow-bludit",
"example-page-3-title": "Sigue Bludit",
- "example-page-3-content": "Seguinos en las redes sociales Facebook<\/a>, [Twitter](https:\/\/www.twitter.com\/bludit) y Google Plus<\/a> para estar informado de las ultimas noticias, nuevos plugins, nuevos temas, y las ultimas versiones. También podes seguir nuestro Blog<\/a>.",
+ "example-page-3-content": "Seguinos en las redes sociales Facebook<\/a>, Twitter<\/a> y Google Plus<\/a> para estar informado de las ultimas noticias, nuevos plugins, nuevos temas, y las ultimas versiones. También podes seguir nuestro Blog<\/a>.",
"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.",
diff --git a/bl-languages/fa_IR.json b/bl-languages/fa_IR.json
index ad75c1eb..7a2515ef 100644
--- a/bl-languages/fa_IR.json
+++ b/bl-languages/fa_IR.json
@@ -281,10 +281,10 @@
"minute": "minute",
"example-page-1-slug": "create-your-own-content",
"example-page-1-title": "Create your own content",
- "example-page-1-content": "Start writing your own content or edit the current to fit your needs. To create, edit or remove content you need to login to the [admin panel](.\/admin) with the username `admin` and the password you set on the installation process.",
+ "example-page-1-content": "Start writing your own content or edit the current to fit your needs. To create, edit or remove content you need to login to the admin panel<\/a> with the username `admin` and the password you set on the installation process.",
"example-page-2-slug": "set-up-your-new-site",
"example-page-2-title": "Set up your new site",
- "example-page-2-content": "Update the settings of your site from the [admin panel](.\/admin), you can change the title, description and the social networks from Settings > General<\/a>.",
+ "example-page-2-content": "Update the settings of your site from the admin panel<\/a>, you can change the title, description and the social networks from Settings > General<\/a>.",
"example-page-3-slug": "follow-bludit",
"example-page-3-title": "Follow Bludit",
"example-page-3-content": "Get information about news, new releases, new themes or new plugins on our social networks Facebook<\/a>, Twitter<\/a> and Google Plus<\/a> or visit our Blog<\/a>.",
diff --git a/bl-languages/fi_FI.json b/bl-languages/fi_FI.json
index 01bd18df..f9722bce 100644
--- a/bl-languages/fi_FI.json
+++ b/bl-languages/fi_FI.json
@@ -281,10 +281,10 @@
"minute": "minute",
"example-page-1-slug": "create-your-own-content",
"example-page-1-title": "Create your own content",
- "example-page-1-content": "Start writing your own content or edit the current to fit your needs. To create, edit or remove content you need to login to the [admin panel](.\/admin) with the username `admin` and the password you set on the installation process.",
+ "example-page-1-content": "Start writing your own content or edit the current to fit your needs. To create, edit or remove content you need to login to the admin panel<\/a> with the username `admin` and the password you set on the installation process.",
"example-page-2-slug": "set-up-your-new-site",
"example-page-2-title": "Set up your new site",
- "example-page-2-content": "Update the settings of your site from the [admin panel](.\/admin), you can change the title, description and the social networks from Settings > General<\/a>.",
+ "example-page-2-content": "Update the settings of your site from the admin panel<\/a>, you can change the title, description and the social networks from Settings > General<\/a>.",
"example-page-3-slug": "follow-bludit",
"example-page-3-title": "Follow Bludit",
"example-page-3-content": "Get information about news, new releases, new themes or new plugins on our social networks Facebook<\/a>, Twitter<\/a> and Google Plus<\/a> or visit our Blog<\/a>.",
diff --git a/bl-languages/gr.json b/bl-languages/gr.json
index 4c1dcf27..bc437068 100644
--- a/bl-languages/gr.json
+++ b/bl-languages/gr.json
@@ -282,10 +282,10 @@
"minute": "minute",
"example-page-1-slug": "create-your-own-content",
"example-page-1-title": "Create your own content",
- "example-page-1-content": "Start writing your own content or edit the current to fit your needs. To create, edit or remove content you need to login to the [admin panel](.\/admin) with the username `admin` and the password you set on the installation process.",
+ "example-page-1-content": "Start writing your own content or edit the current to fit your needs. To create, edit or remove content you need to login to the admin panel<\/a> with the username `admin` and the password you set on the installation process.",
"example-page-2-slug": "set-up-your-new-site",
"example-page-2-title": "Set up your new site",
- "example-page-2-content": "Update the settings of your site from the [admin panel](.\/admin), you can change the title, description and the social networks from Settings > General<\/a>.",
+ "example-page-2-content": "Update the settings of your site from the admin panel<\/a>, you can change the title, description and the social networks from Settings > General<\/a>.",
"example-page-3-slug": "follow-bludit",
"example-page-3-title": "Follow Bludit",
"example-page-3-content": "Get information about news, new releases, new themes or new plugins on our social networks Facebook<\/a>, Twitter<\/a> and Google Plus<\/a> or visit our Blog<\/a>.",
diff --git a/bl-languages/he_IL.json b/bl-languages/he_IL.json
index b519fb5a..b6074da2 100644
--- a/bl-languages/he_IL.json
+++ b/bl-languages/he_IL.json
@@ -282,10 +282,10 @@
"minute": "minute",
"example-page-1-slug": "create-your-own-content",
"example-page-1-title": "Create your own content",
- "example-page-1-content": "Start writing your own content or edit the current to fit your needs. To create, edit or remove content you need to login to the [admin panel](.\/admin) with the username `admin` and the password you set on the installation process.",
+ "example-page-1-content": "Start writing your own content or edit the current to fit your needs. To create, edit or remove content you need to login to the admin panel<\/a> with the username `admin` and the password you set on the installation process.",
"example-page-2-slug": "set-up-your-new-site",
"example-page-2-title": "Set up your new site",
- "example-page-2-content": "Update the settings of your site from the [admin panel](.\/admin), you can change the title, description and the social networks from Settings > General<\/a>.",
+ "example-page-2-content": "Update the settings of your site from the admin panel<\/a>, you can change the title, description and the social networks from Settings > General<\/a>.",
"example-page-3-slug": "follow-bludit",
"example-page-3-title": "Follow Bludit",
"example-page-3-content": "Get information about news, new releases, new themes or new plugins on our social networks Facebook<\/a>, Twitter<\/a> and Google Plus<\/a> or visit our Blog<\/a>.",
diff --git a/bl-languages/hu_HU.json b/bl-languages/hu_HU.json
index 934c5d10..b23a6b93 100644
--- a/bl-languages/hu_HU.json
+++ b/bl-languages/hu_HU.json
@@ -281,10 +281,10 @@
"minute": "minute",
"example-page-1-slug": "create-your-own-content",
"example-page-1-title": "Create your own content",
- "example-page-1-content": "Start writing your own content or edit the current to fit your needs. To create, edit or remove content you need to login to the [admin panel](.\/admin) with the username `admin` and the password you set on the installation process.",
+ "example-page-1-content": "Start writing your own content or edit the current to fit your needs. To create, edit or remove content you need to login to the admin panel<\/a> with the username `admin` and the password you set on the installation process.",
"example-page-2-slug": "set-up-your-new-site",
"example-page-2-title": "Set up your new site",
- "example-page-2-content": "Update the settings of your site from the [admin panel](.\/admin), you can change the title, description and the social networks from Settings > General<\/a>.",
+ "example-page-2-content": "Update the settings of your site from the admin panel<\/a>, you can change the title, description and the social networks from Settings > General<\/a>.",
"example-page-3-slug": "follow-bludit",
"example-page-3-title": "Follow Bludit",
"example-page-3-content": "Get information about news, new releases, new themes or new plugins on our social networks Facebook<\/a>, Twitter<\/a> and Google Plus<\/a> or visit our Blog<\/a>.",
diff --git a/bl-languages/ms_MY.json b/bl-languages/ms_MY.json
index 5de0fc20..186a97cf 100644
--- a/bl-languages/ms_MY.json
+++ b/bl-languages/ms_MY.json
@@ -281,10 +281,10 @@
"minute": "minute",
"example-page-1-slug": "create-your-own-content",
"example-page-1-title": "Create your own content",
- "example-page-1-content": "Start writing your own content or edit the current to fit your needs. To create, edit or remove content you need to login to the [admin panel](.\/admin) with the username `admin` and the password you set on the installation process.",
+ "example-page-1-content": "Start writing your own content or edit the current to fit your needs. To create, edit or remove content you need to login to the admin panel<\/a> with the username `admin` and the password you set on the installation process.",
"example-page-2-slug": "set-up-your-new-site",
"example-page-2-title": "Set up your new site",
- "example-page-2-content": "Update the settings of your site from the [admin panel](.\/admin), you can change the title, description and the social networks from Settings > General<\/a>.",
+ "example-page-2-content": "Update the settings of your site from the admin panel<\/a>, you can change the title, description and the social networks from Settings > General<\/a>.",
"example-page-3-slug": "follow-bludit",
"example-page-3-title": "Follow Bludit",
"example-page-3-content": "Get information about news, new releases, new themes or new plugins on our social networks Facebook<\/a>, Twitter<\/a> and Google Plus<\/a> or visit our Blog<\/a>.",
diff --git a/bl-languages/nl_NL.json b/bl-languages/nl_NL.json
index d1570d74..7eb40189 100644
--- a/bl-languages/nl_NL.json
+++ b/bl-languages/nl_NL.json
@@ -281,10 +281,10 @@
"minute": "minute",
"example-page-1-slug": "create-your-own-content",
"example-page-1-title": "Create your own content",
- "example-page-1-content": "Start writing your own content or edit the current to fit your needs. To create, edit or remove content you need to login to the [admin panel](.\/admin) with the username `admin` and the password you set on the installation process.",
+ "example-page-1-content": "Start writing your own content or edit the current to fit your needs. To create, edit or remove content you need to login to the admin panel<\/a> with the username `admin` and the password you set on the installation process.",
"example-page-2-slug": "set-up-your-new-site",
"example-page-2-title": "Set up your new site",
- "example-page-2-content": "Update the settings of your site from the [admin panel](.\/admin), you can change the title, description and the social networks from Settings > General<\/a>.",
+ "example-page-2-content": "Update the settings of your site from the admin panel<\/a>, you can change the title, description and the social networks from Settings > General<\/a>.",
"example-page-3-slug": "follow-bludit",
"example-page-3-title": "Follow Bludit",
"example-page-3-content": "Get information about news, new releases, new themes or new plugins on our social networks Facebook<\/a>, Twitter<\/a> and Google Plus<\/a> or visit our Blog<\/a>.",
diff --git a/bl-languages/ro_RO.json b/bl-languages/ro_RO.json
index f6dfcf46..532a6ed6 100644
--- a/bl-languages/ro_RO.json
+++ b/bl-languages/ro_RO.json
@@ -278,10 +278,10 @@
"minute": "minute",
"example-page-1-slug": "create-your-own-content",
"example-page-1-title": "Create your own content",
- "example-page-1-content": "Start writing your own content or edit the current to fit your needs. To create, edit or remove content you need to login to the [admin panel](.\/admin) with the username `admin` and the password you set on the installation process.",
+ "example-page-1-content": "Start writing your own content or edit the current to fit your needs. To create, edit or remove content you need to login to the admin panel<\/a> with the username `admin` and the password you set on the installation process.",
"example-page-2-slug": "set-up-your-new-site",
"example-page-2-title": "Set up your new site",
- "example-page-2-content": "Update the settings of your site from the [admin panel](.\/admin), you can change the title, description and the social networks from Settings > General<\/a>.",
+ "example-page-2-content": "Update the settings of your site from the admin panel<\/a>, you can change the title, description and the social networks from Settings > General<\/a>.",
"example-page-3-slug": "follow-bludit",
"example-page-3-title": "Follow Bludit",
"example-page-3-content": "Get information about news, new releases, new themes or new plugins on our social networks Facebook<\/a>, Twitter<\/a> and Google Plus<\/a> or visit our Blog<\/a>.",
diff --git a/bl-languages/tr_TR.json b/bl-languages/tr_TR.json
index eaf802b5..92f0bed9 100644
--- a/bl-languages/tr_TR.json
+++ b/bl-languages/tr_TR.json
@@ -282,10 +282,10 @@
"minute": "minute",
"example-page-1-slug": "create-your-own-content",
"example-page-1-title": "Create your own content",
- "example-page-1-content": "Start writing your own content or edit the current to fit your needs. To create, edit or remove content you need to login to the [admin panel](.\/admin) with the username `admin` and the password you set on the installation process.",
+ "example-page-1-content": "Start writing your own content or edit the current to fit your needs. To create, edit or remove content you need to login to the admin panel<\/a> with the username `admin` and the password you set on the installation process.",
"example-page-2-slug": "set-up-your-new-site",
"example-page-2-title": "Set up your new site",
- "example-page-2-content": "Update the settings of your site from the [admin panel](.\/admin), you can change the title, description and the social networks from Settings > General<\/a>.",
+ "example-page-2-content": "Update the settings of your site from the admin panel<\/a>, you can change the title, description and the social networks from Settings > General<\/a>.",
"example-page-3-slug": "follow-bludit",
"example-page-3-title": "Follow Bludit",
"example-page-3-content": "Get information about news, new releases, new themes or new plugins on our social networks Facebook<\/a>, Twitter<\/a> and Google Plus<\/a> or visit our Blog<\/a>.",
diff --git a/bl-languages/vi_VN.json b/bl-languages/vi_VN.json
index aa354ed2..8b5b2ff8 100644
--- a/bl-languages/vi_VN.json
+++ b/bl-languages/vi_VN.json
@@ -281,10 +281,10 @@
"minute": "minute",
"example-page-1-slug": "create-your-own-content",
"example-page-1-title": "Create your own content",
- "example-page-1-content": "Start writing your own content or edit the current to fit your needs. To create, edit or remove content you need to login to the [admin panel](.\/admin) with the username `admin` and the password you set on the installation process.",
+ "example-page-1-content": "Start writing your own content or edit the current to fit your needs. To create, edit or remove content you need to login to the admin panel<\/a> with the username `admin` and the password you set on the installation process.",
"example-page-2-slug": "set-up-your-new-site",
"example-page-2-title": "Set up your new site",
- "example-page-2-content": "Update the settings of your site from the [admin panel](.\/admin), you can change the title, description and the social networks from Settings > General<\/a>.",
+ "example-page-2-content": "Update the settings of your site from the admin panel<\/a>, you can change the title, description and the social networks from Settings > General<\/a>.",
"example-page-3-slug": "follow-bludit",
"example-page-3-title": "Follow Bludit",
"example-page-3-content": "Get information about news, new releases, new themes or new plugins on our social networks Facebook<\/a>, Twitter<\/a> and Google Plus<\/a> or visit our Blog<\/a>.",
diff --git a/bl-languages/zh_CN.json b/bl-languages/zh_CN.json
index 74348c21..39c39cde 100644
--- a/bl-languages/zh_CN.json
+++ b/bl-languages/zh_CN.json
@@ -281,10 +281,10 @@
"minute": "分钟",
"example-page-1-slug": "create-your-own-content",
"example-page-1-title": "Create your own content",
- "example-page-1-content": "Start writing your own content or edit the current to fit your needs. To create, edit or remove content you need to login to the [admin panel](.\/admin) with the username `admin` and the password you set on theinstallation process.",
+ "example-page-1-content": "Start writing your own content or edit the current to fit your needs. To create, edit or remove content you need to login to the admin panel<\/a> with the username `admin` and the password you set on theinstallation process.",
"example-page-2-slug": "set-up-your-new-site",
"example-page-2-title": "Set up your new site",
- "example-page-2-content": "Update the settings of your site from the [admin panel](.\/admin), you can change the title, description and the social networks from Settings > General<\/a>.",
+ "example-page-2-content": "Update the settings of your site from the admin panel<\/a>, you can change the title, description and the social networks from Settings > General<\/a>.",
"example-page-3-slug": "follow-bludit",
"example-page-3-title": "Follow Bludit",
"example-page-3-content": "Get information about news, new releases, new themes or new plugins on our social networks Facebook<\/a>, Twitter<\/a> and Google Plus<\/a> or visit our Blog<\/a>.",
diff --git a/bl-languages/zh_TW.json b/bl-languages/zh_TW.json
index 19a2ea37..f4af9884 100644
--- a/bl-languages/zh_TW.json
+++ b/bl-languages/zh_TW.json
@@ -281,10 +281,10 @@
"minute": "minute",
"example-page-1-slug": "create-your-own-content",
"example-page-1-title": "Create your own content",
- "example-page-1-content": "Start writing your own content or edit the current to fit your needs. To create, edit or remove content you need to login to the [admin panel](.\/admin) with the username `admin` and the password you set on the installation process.",
+ "example-page-1-content": "Start writing your own content or edit the current to fit your needs. To create, edit or remove content you need to login to the admin panel<\/a> with the username `admin` and the password you set on the installation process.",
"example-page-2-slug": "set-up-your-new-site",
"example-page-2-title": "Set up your new site",
- "example-page-2-content": "Update the settings of your site from the [admin panel](.\/admin), you can change the title, description and the social networks from Settings > General<\/a>.",
+ "example-page-2-content": "Update the settings of your site from the admin panel<\/a>, you can change the title, description and the social networks from Settings > General<\/a>.",
"example-page-3-slug": "follow-bludit",
"example-page-3-title": "Follow Bludit",
"example-page-3-content": "Get information about news, new releases, new themes or new plugins on our social networks Facebook<\/a>, Twitter<\/a> and Google Plus<\/a> or visit our Blog<\/a>.",