bludit v3.6

This commit is contained in:
Diego Najar 2019-01-15 19:53:04 +01:00
parent 2c08ce5535
commit 346d573197
30 changed files with 76 additions and 84 deletions

View File

@ -114,7 +114,7 @@
formData.append('profilePictureInputFile', $(this)[0].files[0]);
formData.append('username', $("#jsusername").val());
$.ajax({
url: HTML_PATH_ADMIN_ROOT+"ajax/profile-picture",
url: HTML_PATH_ADMIN_ROOT+"ajax/upload-profile-picture",
type: "POST",
data: formData,
cache: false,

View File

@ -25,10 +25,6 @@ foreach ($themes as $theme) {
if ($theme['dirname']!=$site->theme()) {
echo '<a href="'.HTML_PATH_ADMIN_ROOT.'install-theme/'.$theme['dirname'].'">'.$L->g('Activate').'</a>';
} else {
if (Sanitize::pathFile(PATH_THEMES.$theme['dirname'].DS.'blocks.php')) {
echo '<a href="'.HTML_PATH_ADMIN_ROOT.'blocks'.'">'.$L->g('Configure Blocks').'</a>';
}
}
echo '

View File

@ -1,10 +1,10 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// Bludit version
define('BLUDIT_VERSION', '3.5');
define('BLUDIT_CODENAME', 'IPA');
define('BLUDIT_RELEASE_DATE', '2018-12-01');
define('BLUDIT_BUILD', '201811201');
define('BLUDIT_VERSION', '3.6');
define('BLUDIT_CODENAME', 'Pilsner');
define('BLUDIT_RELEASE_DATE', '2019-01-15');
define('BLUDIT_BUILD', '20190115');
// Debug mode
// Change to FALSE, for prevent warning or errors on browser
@ -60,7 +60,6 @@ define('DB_TAGS', PATH_DATABASES.'tags.php');
define('DB_SYSLOG', PATH_DATABASES.'syslog.php');
define('DB_USERS', PATH_DATABASES.'users.php');
define('DB_SECURITY', PATH_DATABASES.'security.php');
define('DB_BLOCKS', PATH_DATABASES.'blocks.php');
// JSON pretty print
if (!defined('JSON_PRETTY_PRINT')) {
@ -82,8 +81,6 @@ include(PATH_ABSTRACT.'dblist.class.php');
include(PATH_ABSTRACT.'plugin.class.php');
// Inclde Classes
include(PATH_KERNEL.'blocks.class.php');
include(PATH_KERNEL.'block.class.php');
include(PATH_KERNEL.'pages.class.php');
include(PATH_KERNEL.'users.class.php');
include(PATH_KERNEL.'tags.class.php');
@ -134,7 +131,6 @@ $site = new Site();
$url = new Url();
$security = new Security();
$syslog = new Syslog();
$blocks = new Blocks();
// --- Relative paths ---
// This paths are relative for the user / web browsing.

View File

@ -209,8 +209,8 @@ class Filesystem {
$fileExtension = pathinfo($filename, PATHINFO_EXTENSION);
$fileExtension = Text::lowercase($fileExtension);
$filename = pathinfo($filename, PATHINFO_FILENAME);
$filename = Text::replace(' ', '', $filename);
$filename = Text::replace('_', '', $filename);
$filename = Text::removeSpaces($filename);
$filename = Text::removeQuotes($filename);
// Search for the next filename
$tmpName = $filename.'.'.$fileExtension;

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.5",
"releaseDate": "2018-11-25",
"version": "3.6",
"releaseDate": "2019-01-15",
"license": "MIT",
"compatible": "3.5",
"compatible": "3.6",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.5",
"releaseDate": "2018-11-25",
"version": "3.6",
"releaseDate": "2019-01-15",
"license": "MIT",
"compatible": "3.5",
"compatible": "3.6",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.5",
"releaseDate": "2018-11-25",
"version": "3.6",
"releaseDate": "2019-01-15",
"license": "MIT",
"compatible": "3.5",
"compatible": "3.6",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.5",
"releaseDate": "2018-11-25",
"version": "3.6",
"releaseDate": "2019-01-15",
"license": "MIT",
"compatible": "3.5",
"compatible": "3.6",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.5",
"releaseDate": "2018-11-25",
"version": "3.6",
"releaseDate": "2019-01-15",
"license": "MIT",
"compatible": "3.5",
"compatible": "3.6",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.5",
"releaseDate": "2018-11-25",
"version": "3.6",
"releaseDate": "2019-01-15",
"license": "MIT",
"compatible": "3.5",
"compatible": "3.6",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.5",
"releaseDate": "2018-11-25",
"version": "3.6",
"releaseDate": "2019-01-15",
"license": "MIT",
"compatible": "3.5",
"compatible": "3.6",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.5",
"releaseDate": "2018-11-25",
"version": "3.6",
"releaseDate": "2019-01-15",
"license": "MIT",
"compatible": "3.5",
"compatible": "3.6",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.5",
"releaseDate": "2018-11-25",
"version": "3.6",
"releaseDate": "2019-01-15",
"license": "MIT",
"compatible": "3.5",
"compatible": "3.6",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.5",
"releaseDate": "2018-11-25",
"version": "3.6",
"releaseDate": "2019-01-15",
"license": "MIT",
"compatible": "3.5",
"compatible": "3.6",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.5",
"releaseDate": "2018-11-25",
"version": "3.6",
"releaseDate": "2019-01-15",
"license": "MIT",
"compatible": "3.5",
"compatible": "3.6",
"notes": ""
}

View File

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

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.5",
"releaseDate": "2018-11-25",
"version": "3.6",
"releaseDate": "2019-01-15",
"license": "MIT",
"compatible": "3.5",
"compatible": "3.6",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.5",
"releaseDate": "2018-11-25",
"version": "3.6",
"releaseDate": "2019-01-15",
"license": "MIT",
"compatible": "3.5",
"compatible": "3.6",
"notes": ""
}

View File

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

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.5",
"releaseDate": "2018-11-25",
"version": "3.6",
"releaseDate": "2019-01-15",
"license": "MIT",
"compatible": "3.5",
"compatible": "3.6",
"notes": ""
}

View File

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

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.5",
"releaseDate": "2018-11-25",
"version": "3.6",
"releaseDate": "2019-01-15",
"license": "MIT",
"compatible": "3.5",
"compatible": "3.6",
"notes": ""
}

View File

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

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.5",
"releaseDate": "2018-11-25",
"version": "3.6",
"releaseDate": "2019-01-15",
"license": "MIT",
"compatible": "3.5",
"compatible": "3.6",
"notes": ""
}

View File

@ -5,6 +5,6 @@
"version": "4.8.5",
"releaseDate": "2018-10-31",
"license": "GPL v2",
"compatible": "3.5",
"compatible": "3.6",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.5",
"releaseDate": "2018-11-25",
"version": "3.6",
"releaseDate": "2019-01-15",
"license": "MIT",
"compatible": "3.5",
"compatible": "3.6",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://plugins.bludit.com",
"version": "3.5",
"releaseDate": "2018-11-25",
"version": "3.6",
"releaseDate": "2019-01-15",
"license": "MIT",
"compatible": "3.5",
"compatible": "3.6",
"notes": ""
}

View File

@ -3,7 +3,7 @@ $blocks->add(array(
'key'=>'google-analitycs',
'title'=>'Google Analytics',
'value'=>'',
'description'=>'Insert the code for Google Analytics'
'description'=>$language->get('Insert the code for Google Analytics')
));
$blocks->add(array(

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://themes.bludit.com",
"version": "3.5",
"releaseDate": "2018-11-25",
"version": "3.6",
"releaseDate": "2019-01-15",
"license": "MIT",
"compatible": "3.5",
"compatible": "3.6",
"notes": ""
}

View File

@ -2,9 +2,9 @@
"author": "Bludit",
"email": "",
"website": "https://themes.bludit.com",
"version": "3.5",
"releaseDate": "2018-11-25",
"version": "3.6",
"releaseDate": "2019-01-15",
"license": "MIT",
"compatible": "3.5",
"compatible": "3.6",
"notes": ""
}