diff --git a/admin/controllers/login.php b/admin/controllers/login.php index d9ee03fe..a7aca352 100644 --- a/admin/controllers/login.php +++ b/admin/controllers/login.php @@ -22,6 +22,9 @@ function checkPost($args) // Verify User sanitize the input if( $Login->verifyUser($_POST['username'], $_POST['password']) ) { + // Renew the token. This token will be the same inside the session for multiple forms. + $Security->generateToken(); + Redirect::page('admin', 'dashboard'); return true; } diff --git a/admin/themes/default/css/default.css b/admin/themes/default/css/default.css index f3dd8459..c7626bc6 100644 --- a/admin/themes/default/css/default.css +++ b/admin/themes/default/css/default.css @@ -32,7 +32,7 @@ span.label { /* ----------- HEAD ----------- */ #head { overflow: auto; - border-top: 10px #f1f1f1 solid; + border-top: 10px #eee solid; border-bottom: 1px solid #f1f1f1; padding: 10px 0; } @@ -105,6 +105,10 @@ h2.title { font-weight: normal; } +h2.title i.fa { + margin-right: 8px; +} + /* ----------- TABLE ----------- */ table { background-color: #fff; diff --git a/admin/views/add-user.php b/admin/views/add-user.php index b2dcedd2..c7bb96be 100644 --- a/admin/views/add-user.php +++ b/admin/views/add-user.php @@ -1,38 +1,41 @@ -

p('Add a new user') ?>

+

p('Add a new user') ?>

- - + - + - + - + - - p('Cancel') ?> + + + + + + p('Cancel') ?>
\ No newline at end of file diff --git a/admin/views/configure-plugin.php b/admin/views/configure-plugin.php index 92743329..87bce405 100644 --- a/admin/views/configure-plugin.php +++ b/admin/views/configure-plugin.php @@ -2,14 +2,15 @@
- + + - form(); - ?> + form(); + ?> -
- -
+
+ +
\ No newline at end of file diff --git a/admin/views/edit-page.php b/admin/views/edit-page.php index 3f733924..30f57e5f 100644 --- a/admin/views/edit-page.php +++ b/admin/views/edit-page.php @@ -1,7 +1,8 @@ -

p('Edit page') ?>

+

p('Edit page') ?>

+