diff --git a/.gitignore b/.gitignore index bca667e1..b0ec503e 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ bl-themes/grayscale bl-themes/massively bl-themes/hyperspace bl-themes/striped +bl-themes/log diff --git a/bl-kernel/admin/controllers/new-category.php b/bl-kernel/admin/controllers/new-category.php index 22ac496f..c60220d6 100644 --- a/bl-kernel/admin/controllers/new-category.php +++ b/bl-kernel/admin/controllers/new-category.php @@ -19,7 +19,7 @@ checkRole(array('admin')); // ============================================================================ if ($_SERVER['REQUEST_METHOD'] == 'POST') { - if (createCategory($_POST['category'])) { + if (createCategory($_POST)) { Redirect::page('categories'); } } diff --git a/bl-kernel/admin/themes/booty/init.php b/bl-kernel/admin/themes/booty/init.php index d3a6f0fb..9ef973f1 100644 --- a/bl-kernel/admin/themes/booty/init.php +++ b/bl-kernel/admin/themes/booty/init.php @@ -24,8 +24,8 @@ return <<$modalText

@@ -180,7 +180,7 @@ EOF; } $html .= '
'; - $html .= ''; + $html .= ''; if (isset($args['tip'])) { $html .= ''.$args['tip'].''; } diff --git a/bl-kernel/admin/views/content.php b/bl-kernel/admin/views/content.php index f11bea79..4d46bf61 100644 --- a/bl-kernel/admin/views/content.php +++ b/bl-kernel/admin/views/content.php @@ -236,15 +236,16 @@ function table($type) {
-'jsdeletePageModal', - 'modalTitle'=>$L->g('Delete content'), - 'modalText'=>$L->g('Are you sure you want to delete this page'), - 'buttonPrimary'=>$L->g('Delete'), - 'buttonPrimaryClass'=>'deletePageModalAcceptButton', - 'buttonSecondary'=>$L->g('Cancel'), - 'buttonSecondaryClass'=>'' -)); +$L->g('Delete'), + 'buttonPrimaryClass'=>'btn-danger jsbuttonDeleteAccept', + 'buttonSecondary'=>$L->g('Cancel'), + 'buttonSecondaryClass'=>'btn-secondary', + 'modalTitle'=>$L->g('Delete content'), + 'modalText'=>$L->g('Are you sure you want to delete this page'), + 'modalId'=>'jsdeletePageModal' + )); ?> diff --git a/bl-kernel/admin/views/edit-user.php b/bl-kernel/admin/views/edit-user.php index 206e7975..68a9b94f 100644 --- a/bl-kernel/admin/views/edit-user.php +++ b/bl-kernel/admin/views/edit-user.php @@ -1,23 +1,26 @@ -$L->g('Edit user'), 'icon'=>'person')); ?> +'jsform', 'class'=>'tab-content')); ?> -