diff --git a/plugins/box/blocks/views/backend/add.view.php b/plugins/box/blocks/views/backend/add.view.php index 1828ccf..92dd3b6 100644 --- a/plugins/box/blocks/views/backend/add.view.php +++ b/plugins/box/blocks/views/backend/add.view.php @@ -17,6 +17,7 @@ if (isset($errors['blocks_exists'])) echo '   '.$errors['blocks_exists'].''; ?> +
-
-
diff --git a/plugins/box/pages/views/backend/index.view.php b/plugins/box/pages/views/backend/index.view.php index 0abf960..4147750 100755 --- a/plugins/box/pages/views/backend/index.view.php +++ b/plugins/box/pages/views/backend/index.view.php @@ -15,8 +15,6 @@
-
-
diff --git a/plugins/box/snippets/views/backend/add.view.php b/plugins/box/snippets/views/backend/add.view.php index ca97527..635eef4 100644 --- a/plugins/box/snippets/views/backend/add.view.php +++ b/plugins/box/snippets/views/backend/add.view.php @@ -1,5 +1,5 @@

-
+
@@ -9,26 +9,30 @@ - + +
+ (isset($errors['snippets_empty_name']) || isset($errors['snippets_exists'])) ? 'form-control error-field' : 'form-control'))); ?>.snippet.php +
-
- (isset($errors['snippets_empty_name']) || isset($errors['snippets_exists'])) ? 'input-xxlarge error-field' : 'input-xxlarge'))); ?>.snippet.php -
+'.$errors['snippets_empty_name'].''; + if (isset($errors['snippets_exists'])) echo '   '.$errors['snippets_exists'].''; +?> - '.$errors['snippets_empty_name'].''; - if (isset($errors['snippets_exists'])) echo '   '.$errors['snippets_exists'].''; - ?> +
+ + 'width:100%;height:400px;', 'class'=>'source-editor')) + ); +?> 'width:100%;height:400px;', 'class'=>'source-editor')). - Html::br(2). - Form::submit('add_snippets_and_exit', __('Save and Exit', 'snippets'), array('class' => 'btn')).Html::nbsp(2). + Form::submit('add_snippets_and_exit', __('Save and Exit', 'snippets'), array('class' => 'btn btn-primary')).Html::nbsp(2). Form::submit('add_snippets', __('Save', 'snippets'), array('class' => 'btn')). Form::close() ); - ?> diff --git a/plugins/box/snippets/views/backend/edit.view.php b/plugins/box/snippets/views/backend/edit.view.php index a39a42b..4e32ff0 100644 --- a/plugins/box/snippets/views/backend/edit.view.php +++ b/plugins/box/snippets/views/backend/edit.view.php @@ -1,5 +1,5 @@

-
+
@@ -18,8 +18,8 @@ -
- (isset($errors['snippets_empty_name']) || isset($errors['snippets_exists'])) ? 'input-xxlarge error-field' : 'input-xxlarge'))); ?>.snippet.php +
+ (isset($errors['snippets_empty_name']) || isset($errors['snippets_exists'])) ? 'form-control error-field' : 'form-control'))); ?>.snippet.php
'.$errors['snippets_exists'].''; ?> +
+ 'width:100%;height:400px;', 'class' => 'source-editor')). Html::br(2). @@ -40,6 +41,6 @@ ); } else { - echo '
'.__('This snippet does not exist').'
'; + echo '
'.__('This snippet does not exist', 'snippets').'
'; } ?> diff --git a/plugins/box/snippets/views/backend/index.view.php b/plugins/box/snippets/views/backend/index.view.php index e8f7b93..804abd2 100755 --- a/plugins/box/snippets/views/backend/index.view.php +++ b/plugins/box/snippets/views/backend/index.view.php @@ -1,16 +1,22 @@ -

-
+
+
+

+
+
+
+ __('Create New Snippet', 'snippets'), 'class' => 'btn btn-primary')). Html::nbsp(3) + ); + ?> +
+
+
+ +
- __('Create New Snippet', 'snippets'), 'class' => 'btn btn-small')). Html::nbsp(3) - ); -?> - -

- @@ -24,20 +30,21 @@
-
-
+
- 'btn btn-actions btn-small')); ?> - -
-
+
+ 'btn btn-danger', 'onclick' => "return confirmDelete('".__('Delete snippet: :snippet', 'snippets', array(':snippet' => basename($snippet, '.snippet.php')))."')")); + ?>