Fix some english phrases

This commit is contained in:
Diego Najar 2019-06-16 22:31:48 +02:00
parent 88765e15f9
commit 016754b67c
5 changed files with 11 additions and 5 deletions

View File

@ -10,7 +10,7 @@ echo '
echo '<tr>'; echo '<tr>';
echo '<td>Bludit Edition</td>'; echo '<td>Bludit Edition</td>';
if (defined('BLUDIT_PRO')) { if (defined('BLUDIT_PRO')) {
echo '<td>PRO - '.$L->g('Thanks for support Bludit').' <span class="fa fa-heart" style="color: #ffc107"></span></td>'; echo '<td>PRO - '.$L->g('Thanks for supporting Bludit').' <span class="fa fa-heart" style="color: #ffc107"></span></td>';
} else { } else {
echo '<td>Standard - <a target="_blank" href="https://pro.bludit.com">'.$L->g('Upgrade to Bludit PRO').'</a></td>'; echo '<td>Standard - <a target="_blank" href="https://pro.bludit.com">'.$L->g('Upgrade to Bludit PRO').'</a></td>';
} }

View File

@ -56,7 +56,7 @@
'options'=>array('author'=>$L->g('Author'), 'editor'=>$L->g('Editor'), 'admin'=>$L->g('Administrator')), 'options'=>array('author'=>$L->g('Author'), 'editor'=>$L->g('Editor'), 'admin'=>$L->g('Administrator')),
'selected'=>$user->role(), 'selected'=>$user->role(),
'class'=>'', 'class'=>'',
'tip'=>'Author: Can write and edit his own content. Editor: Can write and edit the content of others.' 'tip'=>$L->g('author-can-write-and-edit-their-own-content')
)); ));
} }

View File

@ -51,7 +51,7 @@
'options'=>array('author'=>$L->g('Author'), 'editor'=>$L->g('Editor'), 'admin'=>$L->g('Administrator')), 'options'=>array('author'=>$L->g('Author'), 'editor'=>$L->g('Editor'), 'admin'=>$L->g('Administrator')),
'selected'=>'Author', 'selected'=>'Author',
'class'=>'', 'class'=>'',
'tip'=>'Author: Can write and edit his own content. Editor: Can write and edit the content of others.' 'tip'=>$L->g('author-can-write-and-edit-their-own-content')
)); ));
echo Bootstrap::formInputText(array( echo Bootstrap::formInputText(array(

View File

@ -588,7 +588,7 @@ function editSettings($args) {
// Add syslog // Add syslog
$syslog->add(array( $syslog->add(array(
'dictionaryKey'=>'changes-on-settings', 'dictionaryKey'=>'settings-changes',
'notes'=>'' 'notes'=>''
)); ));
@ -790,6 +790,10 @@ function activateTheme($themeDirectory) {
global $L, $language; global $L, $language;
if (Sanitize::pathFile(PATH_THEMES.$themeDirectory)) { if (Sanitize::pathFile(PATH_THEMES.$themeDirectory)) {
if (Sanitize::pathFile(PATH_THEMES.$themeDirectory, 'install.php')) {
include_once(PATH_THEMES.$themeDirectory.'install.php');
}
$site->set(array('theme'=>$themeDirectory)); $site->set(array('theme'=>$themeDirectory));
$syslog->add(array( $syslog->add(array(

View File

@ -269,8 +269,10 @@ class Page {
$tmp['description'] = $this->description(); $tmp['description'] = $this->description();
$tmp['type'] = $this->type(); $tmp['type'] = $this->type();
$tmp['slug'] = $this->slug(); $tmp['slug'] = $this->slug();
$tmp['date'] = $this->dateRaw(); $tmp['date'] = $this->date();
$tmp['dateRaw'] = $this->dateRaw();
$tmp['tags'] = $this->tags(false); $tmp['tags'] = $this->tags(false);
$tmp['username'] = $this->username();
$tmp['dateUTC'] = Date::convertToUTC($this->dateRaw(), DB_DATE_FORMAT, DB_DATE_FORMAT); $tmp['dateUTC'] = Date::convertToUTC($this->dateRaw(), DB_DATE_FORMAT, DB_DATE_FORMAT);
$tmp['permalink'] = $this->permalink(true); $tmp['permalink'] = $this->permalink(true);
$tmp['coverImage'] = $this->coverImage(true); $tmp['coverImage'] = $this->coverImage(true);