diff --git a/plugins/box/blocks/views/backend/index.view.php b/plugins/box/blocks/views/backend/index.view.php
index ba48997..cdd3336 100755
--- a/plugins/box/blocks/views/backend/index.view.php
+++ b/plugins/box/blocks/views/backend/index.view.php
@@ -27,7 +27,7 @@
'btn btn-primary')); ?>
-
'.$errors['file_empty_name'].'';
- if (isset($errors['file_exists'])) echo '
'.$errors['file_exists'].'';
+ if (isset($errors['file_empty_name'])) echo '
'.$errors['file_empty_name'].'';
+ if (isset($errors['file_exists'])) echo '
'.$errors['file_exists'].'';
?>
-
-
+
'width:100%;height:400px;', 'class' => 'source-editor'));
+ echo Form::textarea('content', $content, array('style' => 'width:100%;height:400px;', 'class' => 'source-editor'));
+?>
+
+ 'btn btn-primary')).Html::nbsp(2).
- Form::submit('add_file', __('Save', 'themes'), array('class' => 'btn btn-default')).
+ Form::submit('add_file', __('Save', 'themes'), array('class' => 'btn btn-default')).Html::nbsp(2).
+ Html::anchor(__('Cancel', 'themes'), 'index.php?id=themes', array('title' => __('Cancel', 'themes'), 'class' => 'btn btn-default')).
Form::close()
);
+?>
\ No newline at end of file
diff --git a/plugins/box/themes/views/backend/edit.view.php b/plugins/box/themes/views/backend/edit.view.php
index c5bec9a..56d9025 100644
--- a/plugins/box/themes/views/backend/edit.view.php
+++ b/plugins/box/themes/views/backend/edit.view.php
@@ -1,8 +1,7 @@
-
-
-
-
-
+
+
+
+
'.$errors['file_empty_name'].'';
- if (isset($errors['file_exists'])) echo '
'.$errors['file_exists'].'';
+ if (isset($errors['file_empty_name'])) echo '
'.$errors['file_empty_name'].'';
+ if (isset($errors['file_exists'])) echo '
'.$errors['file_exists'].'';
?>
-
-
+
'width:100%;height:400px;', 'class' => 'source-editor')).
- Html::br(2).
+ Form::textarea('content', Html::toText($content), array('style' => 'width:100%;height:400px;', 'class' => 'source-editor'))
+ );
+?>
+
+
+ 'btn btn-primary')).Html::nbsp(2).
- Form::submit('edit_file', __('Save', 'themes'), array('class' => 'btn btn-default')). Html::nbsp().
+ Form::submit('edit_file', __('Save', 'themes'), array('class' => 'btn btn-default')).Html::nbsp(2).
+ Html::anchor(__('Cancel', 'themes'), 'index.php?id=themes', array('title' => __('Cancel', 'themes'), 'class' => 'btn btn-default')).
Form::close()
);
@@ -57,3 +59,4 @@
if ($action == 'styles') { echo '
'.__('This styles does not exist', 'themes').'
'; }
if ($action == 'script') { echo '
'.__('This script does not exist', 'themes').'
'; }
}
+?>
\ No newline at end of file
diff --git a/plugins/box/themes/views/backend/index.view.php b/plugins/box/themes/views/backend/index.view.php
index 1146c55..b6c18e1 100644
--- a/plugins/box/themes/views/backend/index.view.php
+++ b/plugins/box/themes/views/backend/index.view.php
@@ -1,52 +1,49 @@
-
+
+
-
+
-
-
+
+ 'form-control')). Html::br().
+ Form::submit('save_site_theme', __('Save', 'themes'), array('class' => 'btn btn-primary')).
+ Form::close()
+ );
+ ?>
+
-
- 'form-control')). Html::br().
- Form::submit('save_site_theme', __('Save', 'themes'), array('class' => 'btn btn-primary')).
- Form::close()
- );
- ?>
-
+
-
+
-
+
+
+
+ 'form-control')). Html::br().
+ Form::submit('save_admin_theme', __('Save', 'themes'), array('class' => 'btn btn-primary')).
+ Form::close()
+ );
+ ?>
+
-
-
-
-
- 'form-control')). Html::br().
- Form::submit('save_admin_theme', __('Save', 'themes'), array('class' => 'btn btn-primary')).
- Form::close()
- );
- ?>
-
-
-
+
-
+
-
+
'btn btn-primary')); ?>
-
-
@@ -107,8 +107,11 @@
'btn btn-primary')); ?>
-
-
@@ -142,8 +145,11 @@
'btn btn-primary')); ?>
-
-
@@ -177,8 +183,11 @@
'btn btn-primary')); ?>
-
-