+
:
-
-
-
-
diff --git a/plugins/box/snippets/views/backend/add.view.php b/plugins/box/snippets/views/backend/add.view.php
index 270ec7e..1d3eaea 100644
--- a/plugins/box/snippets/views/backend/add.view.php
+++ b/plugins/box/snippets/views/backend/add.view.php
@@ -16,21 +16,20 @@
if (isset($errors['snippets_exists'])) echo '
'.$errors['snippets_exists'].'';
?>
-
-
+
'width:100%;height:400px;', 'class'=>'source-editor form-control'))
);
?>
+
'btn btn-primary')).Html::nbsp(2).
Form::submit('add_snippets', __('Save', 'snippets'), array('class' => 'btn btn-primary')).Html::nbsp(2).
Html::anchor(__('Cancel', 'snippets'), 'index.php?id=snippets', array('title' => __('Cancel', 'snippets'), 'class' => 'btn btn-default')).
Form::close()
);
-?>
+?>
\ No newline at end of file
diff --git a/plugins/box/snippets/views/backend/edit.view.php b/plugins/box/snippets/views/backend/edit.view.php
index ac16367..b752bf9 100644
--- a/plugins/box/snippets/views/backend/edit.view.php
+++ b/plugins/box/snippets/views/backend/edit.view.php
@@ -23,14 +23,18 @@
if (isset($errors['snippets_empty_name'])) echo '
'.$errors['snippets_empty_name'].'';
if (isset($errors['snippets_exists'])) echo '
'.$errors['snippets_exists'].'';
?>
-
+
+
+ 'width:100%;height:400px;', 'class' => 'source-editor form-control'))
+ );
+?>
+
'width:100%;height:400px;', 'class' => 'source-editor form-control')).
- Html::br(2).
Form::submit('edit_snippets_and_exit', __('Save and Exit', 'snippets'), array('class' => 'btn btn-primary')).Html::nbsp(2).
Form::submit('edit_snippets', __('Save', 'snippets'), array('class' => 'btn btn-primary')). Html::nbsp(2).
Html::anchor(__('Cancel', 'snippets'), 'index.php?id=snippets', array('title' => __('Cancel', 'snippets'), 'class' => 'btn btn-default')).
diff --git a/plugins/box/snippets/views/backend/index.view.php b/plugins/box/snippets/views/backend/index.view.php
index 8973dd8..353a806 100755
--- a/plugins/box/snippets/views/backend/index.view.php
+++ b/plugins/box/snippets/views/backend/index.view.php
@@ -5,8 +5,8 @@
__('Create New Snippet', 'snippets'), 'class' => 'btn btn-primary')). Html::nbsp(3)
- );
+ Html::anchor(__('Create New Snippet', 'snippets'), 'index.php?id=snippets&action=add_snippet', array('title' => __('Create New Snippet', 'snippets'), 'class' => 'btn btn-primary')). Html::nbsp(3)
+ );
?>