Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #45 from flatCore/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
patkon authored Mar 18, 2021
2 parents 5760327 + 431b8e7 commit cc01014
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions acp/core/dashboard.checks.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,8 @@
echo '<div class="alert alert-danger">'.$lang['alert_prefs_cms_base'].'</div>';
}

if($prefs_maxtmbwidth == '' || $prefs_maxtmbheight == '') {
echo '<div class="alert alert-danger">'.$lang['alert_prefs_thumbnails'].'</div>';
}

?>
5 changes: 4 additions & 1 deletion core/posts.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@

/* defaults */
$posts_start = 0;
$posts_limit = $fc_prefs['prefs_posts_entries_per_page'];
$posts_limit = (int) $fc_prefs['prefs_posts_entries_per_page'];
if($posts_limit == '') {
$posts_limit = 10;
}
$posts_order = 'id';
$posts_direction = 'DESC';
$posts_filter = array();
Expand Down
1 change: 1 addition & 0 deletions lib/lang/de/dict-backend.php
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@

$lang['alert_no_page_title'] = 'Kein Seitentitel';
$lang['alert_no_page_description'] = 'Keine Seitenbeschreibung';
$lang['alert_prefs_thumbnails'] = 'Die Größenangaben für Thumbnails sind unvollständig';

$lang['alert_no_plugins'] = 'Es sind noch keine Plugins installiert.';

Expand Down
1 change: 1 addition & 0 deletions lib/lang/en/dict-backend.php
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@

$lang['alert_no_page_title'] = 'No Pagetitle';
$lang['alert_no_page_description'] = 'No Page Description';
$lang['alert_prefs_thumbnails'] = 'The size specifications for thumbnails are incomplete';

$lang['alert_no_plugins'] = 'There are no plugins available';

Expand Down

0 comments on commit cc01014

Please sign in to comment.