Fix some english phrases
This commit is contained in:
parent
88765e15f9
commit
016754b67c
@ -10,7 +10,7 @@ echo '
|
||||
echo '<tr>';
|
||||
echo '<td>Bludit Edition</td>';
|
||||
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 {
|
||||
echo '<td>Standard - <a target="_blank" href="https://pro.bludit.com">'.$L->g('Upgrade to Bludit PRO').'</a></td>';
|
||||
}
|
||||
|
@ -56,7 +56,7 @@
|
||||
'options'=>array('author'=>$L->g('Author'), 'editor'=>$L->g('Editor'), 'admin'=>$L->g('Administrator')),
|
||||
'selected'=>$user->role(),
|
||||
'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')
|
||||
));
|
||||
}
|
||||
|
||||
|
@ -51,7 +51,7 @@
|
||||
'options'=>array('author'=>$L->g('Author'), 'editor'=>$L->g('Editor'), 'admin'=>$L->g('Administrator')),
|
||||
'selected'=>'Author',
|
||||
'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(
|
||||
|
@ -588,7 +588,7 @@ function editSettings($args) {
|
||||
|
||||
// Add syslog
|
||||
$syslog->add(array(
|
||||
'dictionaryKey'=>'changes-on-settings',
|
||||
'dictionaryKey'=>'settings-changes',
|
||||
'notes'=>''
|
||||
));
|
||||
|
||||
@ -790,6 +790,10 @@ function activateTheme($themeDirectory) {
|
||||
global $L, $language;
|
||||
|
||||
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));
|
||||
|
||||
$syslog->add(array(
|
||||
|
@ -269,8 +269,10 @@ class Page {
|
||||
$tmp['description'] = $this->description();
|
||||
$tmp['type'] = $this->type();
|
||||
$tmp['slug'] = $this->slug();
|
||||
$tmp['date'] = $this->dateRaw();
|
||||
$tmp['date'] = $this->date();
|
||||
$tmp['dateRaw'] = $this->dateRaw();
|
||||
$tmp['tags'] = $this->tags(false);
|
||||
$tmp['username'] = $this->username();
|
||||
$tmp['dateUTC'] = Date::convertToUTC($this->dateRaw(), DB_DATE_FORMAT, DB_DATE_FORMAT);
|
||||
$tmp['permalink'] = $this->permalink(true);
|
||||
$tmp['coverImage'] = $this->coverImage(true);
|
||||
|
Loading…
Reference in New Issue
Block a user