Файл: Just Wallet 2.0.4/application/views/admin/template/form.php
Строк: 52
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-title">
<?php echo lang('admin template template'); ?> <?php echo $email_templates['id']; ?>
</div>
<div class="card-body">
<?php echo form_open('', array('role'=>'form')); ?>
<?php // hidden id ?>
<?php if (isset($email_templates_id)) : ?>
<?php echo form_hidden('id', $email_templates_id); ?>
<?php endif; ?>
<div class="row">
<div class="col-md-12">
<div class="form-group">
<label><?php echo lang('admin template title_message'); ?> </label>
<span class="required">*</span>
<?php echo form_input(array('name'=>'title', 'value'=>set_value('title', (isset($email_templates['title']) ? $email_templates['title'] : '')), 'class'=>'form-control form-control-sm')); ?>
</div>
</div>
<div class="col-md-12">
<div class="form-group">
<label><?php echo lang('admin template status'); ?> </label>
<span class="required">*</span>
<select class="form-control form-control-sm" name="status">
<option value="0" <?if($email_templates['status']=="0"){?>selected<?}else{?><?}?>><?php echo lang('admin template disabled'); ?></option>
<option value="1" <?if($email_templates['status']=="1"){?>selected<?}else{?><?}?>><?php echo lang('admin template enabled'); ?></option>
</select>
</div>
</div>
<div class="col-md-12">
<div class="form-group">
<label><?php echo lang('admin template content'); ?></label>
<span class="required">*</span>
<textarea class="form-control form-control-sm" name="message" rows="20" id="message" value=""><?php echo $email_templates['message']; ?></textarea>
<script>
CKEDITOR.replace( 'message', { height:['550px'] } );
CKEDITOR.config.allowedContent = true;
CKEDITOR.replace('body', {height: 500});
</script>
</div>
</div>
</div>
</div>
<div class="card-footer-padding">
<button type="submit" class="btn btn-success btn-sm"> <?php echo lang('core button save'); ?></button>
</div>
<?php echo form_close(); ?>
</div>
</div>
</div>