diff --git a/admin/themes/default/css/default.css b/admin/themes/default/css/default.css index 1eb3908..db99877 100644 --- a/admin/themes/default/css/default.css +++ b/admin/themes/default/css/default.css @@ -557,4 +557,16 @@ td, th { .btn-phone { width: 100%; } + + /* Users */ + .users-btns > div { + display: block; + text-align: left; + margin-top: 10px; + width: 100%; + } + + .users-btns > div:nth-child(2) { + margin-top: 15px; + } } \ No newline at end of file diff --git a/plugins/box/users/views/backend/add.view.php b/plugins/box/users/views/backend/add.view.php index 64cc6a9..f7827c1 100644 --- a/plugins/box/users/views/backend/add.view.php +++ b/plugins/box/users/views/backend/add.view.php @@ -16,7 +16,7 @@ ); if (isset($errors['users_this_user_alredy_exists'])) echo ''.$errors['users_this_user_alredy_exists'].''; - if (isset($errors['users_empty_login'])) echo ''.$errors['users_empty_login'].''; + if (isset($errors['users_empty_l-ogin'])) echo ''.$errors['users_empty_login'].''; ?> @@ -52,8 +52,8 @@ 'btn btn-primary')).Html::nbsp(2). - Html::anchor(__('Cancel', 'users'), 'index.php?id=users', array('title' => __('Cancel', 'users'), 'class' => 'btn btn-default')). + Form::submit('register', __('Register', 'users'), array('class' => 'btn btn-phone btn-primary')).Html::nbsp(2). + Html::anchor(__('Cancel', 'users'), 'index.php?id=users', array('title' => __('Cancel', 'users'), 'class' => 'btn btn-phone btn-default')). Form::close() ); ?> diff --git a/plugins/box/users/views/backend/edit.view.php b/plugins/box/users/views/backend/edit.view.php index efc557a..0cb98fc 100644 --- a/plugins/box/users/views/backend/edit.view.php +++ b/plugins/box/users/views/backend/edit.view.php @@ -91,8 +91,8 @@ echo ( Html::br(). - Form::submit('edit_profile', __('Save', 'users'), array('class' => 'btn btn-primary')).Html::nbsp(2). - Html::anchor(__('Cancel', 'users'), 'index.php?id=users', array('title' => __('Cancel', 'users'), 'class' => 'btn btn-default')). + Form::submit('edit_profile', __('Save', 'users'), array('class' => 'btn btn-phone btn-primary')).Html::nbsp(2). + Html::anchor(__('Cancel', 'users'), 'index.php?id=users', array('title' => __('Cancel', 'users'), 'class' => 'btn btn-phone btn-default')). Form::close() ); @@ -117,7 +117,7 @@ 'btn btn-primary')). + Form::submit('edit_profile_password', __('Save', 'users'), array('class' => 'btn btn-phone btn-primary')). Form::close() ); ?> diff --git a/plugins/box/users/views/backend/index.view.php b/plugins/box/users/views/backend/index.view.php index 66a0a0c..c489c4f 100755 --- a/plugins/box/users/views/backend/index.view.php +++ b/plugins/box/users/views/backend/index.view.php @@ -1,6 +1,6 @@

-
+
__('Register New User', 'users'), 'class' => 'btn btn-primary')); ?>
@@ -18,9 +18,9 @@ - - - + + + @@ -30,13 +30,13 @@ - + - + - +