?
Current Path : /home1/savoy/www/savoyglobal.net/sec/application/views/email/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/www/savoyglobal.net/sec/application/views/email/add_email_template.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <script type="text/javascript" src="<?=base_url()?>assets/scripts/jquery.wysiwyg.js"></script> <script type="text/javascript"> $(function() { $('#wysiwyg').wysiwyg( { controls : { separator01 : { visible : true }, separator03 : { visible : true }, separator04 : { visible : true }, separator00 : { visible : true }, separator07 : { visible : false }, separator02 : { visible : false }, separator08 : { visible : false }, insertOrderedList : { visible : true }, insertUnorderedList : { visible : true }, undo: { visible : true }, redo: { visible : true }, justifyLeft: { visible : true }, justifyCenter: { visible : true }, justifyRight: { visible : true }, justifyFull: { visible : true }, subscript: { visible : true }, superscript: { visible : true }, underline: { visible : true }, increaseFontSize : { visible : false }, decreaseFontSize : { visible : false } } } ); }); </script> <div class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Creating Email Templates</div> <div class="tools"> <a href="#" onclick="viewdata('email','viewinemailsearch','search_email_template','view_email_template','<?=$_SESSION['pagenum'];?>')" class="remove"></a> </div> </div> <div class="portlet-body form"> <!-- BEGIN FORM--> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate'); echo form_open('email/addinemail/insert_email_template/view_email_template/1',$attributes); ?> <br> <br> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-check"></i> </div> </div> <div class="portlet-body"> <div class="row-fluid"> <div class="control-group"> <label class="control-label">Template Title</label> <div class="controls"> <input class="required span12" name="template_title" id="template_title" type="text"/> </div> </div> </div> <div class="row-fluid"> <div class="control-group"> <label class="control-label">Subject</label> <div class="controls"> <input class="span12 required" name="template_subject" id="template_subject" type="text"/> </div> </div> </div> <div class="row-fluid"> <div class="control-group"> <label class="control-label">Contents</label> <div class="controls"> <textarea class="required span12" name="template_contents" id="wysiwyg" cols="70" rows="15" style="height:150px;" ></textarea> </div> </div> </div> </div> </div> <div class="form-actions"> <input type="hidden" name="resfunction" value="search_email_template"/> <button type="submit" onclick="addformdata('validateform')" class="btn blue"><i class="icon-ok"></i> Save</button> <button type="button" onclick="viewdata('email','viewinemailsearch','search_email_template','view_email_template','<?=$_SESSION['pagenum'];?>')" class="btn">Cancel</button> </div> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div>