1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-12 08:04:10 +02:00

Email Templates Plugin - Updates #2

This commit is contained in:
Awilum
2014-01-31 21:27:27 +02:00
parent b8ebd53272
commit 350dd8ed8b
4 changed files with 25 additions and 36 deletions

View File

@@ -1,7 +1,7 @@
<h2><?php echo __('Edit Email Template', 'emails'); ?></h2>
<br>
<?php
if ($email_template_content !== null) {
if ($content !== null) {
echo (Form::open());
echo (Form::hidden('csrf', Security::token()));
echo (Form::hidden('email_template_name', Request::get('filename')));
@@ -15,7 +15,7 @@ if ($email_template_content !== null) {
echo (
Form::label('content', __('Email template content', 'emails')).
Form::textarea('content', Html::toText($email_template_content), array('style' => 'width:100%;height:400px;', 'class' => 'source-editor form-control'))
Form::textarea('content', Html::toText($content), array('style' => 'width:100%;height:400px;', 'class' => 'source-editor form-control'))
);
echo (