From aaba7cef27eaeee2dc574f1ab87f91d60b5abbae Mon Sep 17 00:00:00 2001 From: Sergey Romanenko Date: Tue, 21 Jan 2014 14:37:32 +0200 Subject: [PATCH] Email Templates Plugin - Updates #2 --- .../box/emails/views/backend/edit.view.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 plugins/box/emails/views/backend/edit.view.php diff --git a/plugins/box/emails/views/backend/edit.view.php b/plugins/box/emails/views/backend/edit.view.php new file mode 100644 index 0000000..1863ee8 --- /dev/null +++ b/plugins/box/emails/views/backend/edit.view.php @@ -0,0 +1,32 @@ +

+
+ + +
+ 'form-control'))); ?>.emails.php +
+
+ 'width:100%;height:400px;', 'class' => 'source-editor form-control')) + ); + + echo ( + Html::br(). + Form::submit('edit_email_template_and_exit', __('Save and Exit', 'emails'), array('class' => 'btn btn-primary')).Html::nbsp(2). + Form::submit('edit_email_template', __('Save', 'emails'), array('class' => 'btn btn-primary')). Html::nbsp(2). + Html::anchor(__('Cancel', 'blocks'), 'index.php?id=emails', array('title' => __('Cancel', 'emails'), 'class' => 'btn btn-default')). + Form::close() + ); + +} else { + echo '
'.__('This email template does not exist', 'emails').'
'; +} +?>