Authors on languages dictionaries, date format on dashboard

This commit is contained in:
Diego Najar 2017-12-20 00:09:47 +01:00
parent 63b5c68a12
commit b3d36f66a4
8 changed files with 35 additions and 22 deletions

1
.gitignore vendored
View File

@ -2,5 +2,6 @@
bl-content/* bl-content/*
bl-plugins/timemachine bl-plugins/timemachine
bl-plugins/remote-content bl-plugins/remote-content
bl-plugins/simple-stats
bl-kernel/bludit.pro.php bl-kernel/bludit.pro.php
bl-themes/docs bl-themes/docs

View File

@ -56,7 +56,7 @@ function table($status, $icon='arrow-circle-o-down') {
.'</a> .'</a>
</td>'; </td>';
echo '<td class="uk-text-center">'.( (ORDER_BY=='date') ? $page->dateRaw() : $page->position() ).'</td>'; echo '<td class="uk-text-center">'.( (ORDER_BY=='date') ? $page->dateRaw(ADMIN_PANEL_DATE_FORMAT) : $page->position() ).'</td>';
$friendlyURL = Text::isEmpty($Url->filters('page')) ? '/'.$page->key() : '/'.$Url->filters('page').'/'.$page->key(); $friendlyURL = Text::isEmpty($Url->filters('page')) ? '/'.$page->key() : '/'.$Url->filters('page').'/'.$page->key();
echo '<td><a target="_blank" href="'.$page->permalink().'">'.$friendlyURL.'</a></td>'; echo '<td><a target="_blank" href="'.$page->permalink().'">'.$friendlyURL.'</a></td>';

View File

@ -30,7 +30,7 @@ foreach ($users as $username=>$User) {
echo '<td>'.$User->email().'</td>'; echo '<td>'.$User->email().'</td>';
echo '<td class="uk-text-center">'.($User->enabled()?'<b>'.$L->g('Enabled').'</b>':$L->g('Disabled')).'</td>'; echo '<td class="uk-text-center">'.($User->enabled()?'<b>'.$L->g('Enabled').'</b>':$L->g('Disabled')).'</td>';
echo '<td class="uk-text-center">'.($User->role()=='admin'?$L->g('Administrator'):$L->g('Editor')).'</td>'; echo '<td class="uk-text-center">'.($User->role()=='admin'?$L->g('Administrator'):$L->g('Editor')).'</td>';
echo '<td class="uk-text-center">'.Date::format($User->registered(), DB_DATE_FORMAT, DB_DATE_FORMAT).'</td>'; echo '<td class="uk-text-center">'.Date::format($User->registered(), DB_DATE_FORMAT, ADMIN_PANEL_DATE_FORMAT).'</td>';
echo '</tr>'; echo '</tr>';
} }

View File

@ -68,6 +68,9 @@ define('BACKUP_DATE_FORMAT', 'Y-m-d-H-i-s');
// Sitemap date format // Sitemap date format
define('SITEMAP_DATE_FORMAT', 'Y-m-d'); define('SITEMAP_DATE_FORMAT', 'Y-m-d');
// Date format for Manage Content, Manage Users
define('ADMIN_PANEL_DATE_FORMAT', 'D, j M Y, H:i');
// Date format for Dashboard schedule posts // Date format for Dashboard schedule posts
define('SCHEDULED_DATE_FORMAT', 'D, j M Y, H:i'); define('SCHEDULED_DATE_FORMAT', 'D, j M Y, H:i');

View File

@ -3,12 +3,14 @@
"native": "Deutsch (Schweiz)", "native": "Deutsch (Schweiz)",
"english-name": "German", "english-name": "German",
"locale": "de, de_CH", "locale": "de, de_CH",
"last-update": "2017-10-29", "last-update": "2017-12-20",
"author": "Clickwork", "authors": {
"email": "egoetschel@clickwork.ch", "0": "Clickwork https://clickwork.ch",
"website": "https:\/\/clickwork.ch" "1": "blog2read https://github.com/blog2read",
"2": ""
}
}, },
"dates": { "dates": {
"Mon": "Mo", "Mon": "Mo",
"Tue": "Di", "Tue": "Di",
"Wed": "Mi", "Wed": "Mi",

View File

@ -3,12 +3,14 @@
"native": "Deutsch (Deutschland)", "native": "Deutsch (Deutschland)",
"english-name": "German", "english-name": "German",
"locale": "de, de_DE", "locale": "de, de_DE",
"last-update": "2017-10-29", "last-update": "2017-12-20",
"author": "Clickwork", "authors": {
"email": "egoetschel@clickwork.ch", "0": "Clickwork https://clickwork.ch",
"website": "https:\/\/clickwork.ch" "1": "blog2read https://github.com/blog2read",
"2": ""
}
}, },
"dates": { "dates": {
"Mon": "Mo", "Mon": "Mo",
"Tue": "Di", "Tue": "Di",
"Wed": "Mi", "Wed": "Mi",

View File

@ -3,10 +3,12 @@
"native": "English", "native": "English",
"english-name": "English", "english-name": "English",
"locale": "en, en_US, en_AU, en_CA, en_GB, en_IE, en_NZ", "locale": "en, en_US, en_AU, en_CA, en_GB, en_IE, en_NZ",
"last-update": "2017-10-14", "last-update": "2017-12-20",
"author": "Bludit", "authors": {
"email": "", "0": "Diego @dignajar",
"website": "https://www.bludit.com" "1": "Clickwork https://clickwork.ch",
"2": "xm74"
}
}, },
"dates": { "dates": {
"Mon": "Mon", "Mon": "Mon",
@ -273,4 +275,4 @@
"congratulations-you-have-successfully-installed-your-bludit": "Congratulations you have successfully installed your **Bludit**.", "congratulations-you-have-successfully-installed-your-bludit": "Congratulations you have successfully installed your **Bludit**.",
"this-theme-may-not-be-supported-by-this-version-of-bludit": "This theme may not be supported by this version of Bludit", "this-theme-may-not-be-supported-by-this-version-of-bludit": "This theme may not be supported by this version of Bludit",
"read-more": "Read more" "read-more": "Read more"
} }

View File

@ -3,10 +3,12 @@
"native": "Español", "native": "Español",
"english-name": "Spanish", "english-name": "Spanish",
"locale": "es, es_ES, es_AR, es_MX", "locale": "es, es_ES, es_AR, es_MX",
"last-update": "2017-10-14", "last-update": "2017-12-20",
"author": "Bludit", "authors": {
"email": "", "0": "Diego @dignajar",
"website": "https://www.bludit.com" "1": "",
"2": ""
}
}, },
"dates": { "dates": {
"Mon": "Lun", "Mon": "Lun",
@ -271,5 +273,6 @@
"scheduled": "Programado", "scheduled": "Programado",
"this-token-is-similar-to-a-password-it-should-not-be-shared": "Este token es similar a una contraseña, no debe compartirse.", "this-token-is-similar-to-a-password-it-should-not-be-shared": "Este token es similar a una contraseña, no debe compartirse.",
"congratulations-you-have-successfully-installed-your-bludit": "Felicitaciones Usted ha instalado con éxito **Bludit**", "congratulations-you-have-successfully-installed-your-bludit": "Felicitaciones Usted ha instalado con éxito **Bludit**",
"this-theme-may-not-be-supported-by-this-version-of-bludit": "Este tema puede no ser compatible con esta versión de Bludit" "this-theme-may-not-be-supported-by-this-version-of-bludit": "Este tema puede no ser compatible con esta versión de Bludit",
"read-more": "Leer más"
} }