From 72e377956f1f0cd305f57cb3aae6738a4a7a824d Mon Sep 17 00:00:00 2001 From: dignajar Date: Thu, 13 Aug 2015 18:41:16 -0300 Subject: [PATCH] Bug fixes --- admin/themes/default/css/default.css | 7 +++++++ admin/views/dashboard.php | 6 ++---- admin/views/users.php | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/admin/themes/default/css/default.css b/admin/themes/default/css/default.css index a8d4dca0..b375a66d 100644 --- a/admin/themes/default/css/default.css +++ b/admin/themes/default/css/default.css @@ -140,6 +140,7 @@ div.dashboardBox .nav { div.dashboardBox .nav a { padding: 0 !important; display: inline-block; + margin-left: 8px; } div.dashboardBox i.iconContent { @@ -154,6 +155,11 @@ div.dashboardBox div.bigContent { font-weight: bold; } +div.dashboardBox span { + display: inline-block !important; + padding: 3px 6px; +} + div.dashboardBox h2 { color: #666; font-size: 1.1em; @@ -189,6 +195,7 @@ div.dashboardBox ul.menu li.description:last-child { margin-bottom: 0 !important; } + /* ----------- FORMS ----------- */ form h4 { diff --git a/admin/views/dashboard.php b/admin/views/dashboard.php index f96240a9..f76afbb9 100644 --- a/admin/views/dashboard.php +++ b/admin/views/dashboard.php @@ -63,11 +63,11 @@ { foreach($_draftPosts as $Post) { - echo '
  • ('.$Language->g('Post').') '.($Post->title()?$Post->title():'['.$Language->g('Empty title').'] ').'
  • '; + echo '
  • '.$Language->g('Post').''.($Post->title()?$Post->title():'['.$Language->g('Empty title').'] ').'
  • '; } foreach($_draftPages as $Page) { - echo '
  • ('.$Language->g('Page').') '.($Page->title()?$Page->title():'['.$Language->g('Empty title').'] ').'
  • '; + echo '
  • '.$Language->g('Page').''.($Page->title()?$Page->title():'['.$Language->g('Empty title').'] ').'
  • '; } } ?> @@ -75,7 +75,5 @@ - - \ No newline at end of file diff --git a/admin/views/users.php b/admin/views/users.php index da6f4634..6f9a4ac9 100644 --- a/admin/views/users.php +++ b/admin/views/users.php @@ -22,7 +22,7 @@ echo ''.$username.''; echo ''.$field['firstName'].''; echo ''.$field['lastName'].''; - echo 'a'.$field['role'].''; + echo ''.$field['role'].''; echo ''.$field['email'].''; echo ''.Date::format($field['registered'], '%d %B').''; echo '';