?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec_old/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/public_html/savoyglobal.net/sec_old/application/views/email/edit_email_template.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $this->load->view('email/emailfunctions'); ?> <script type="text/javascript" src="<?=base_url()?>assets/js/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="icons_main"> <div class="icons"> <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('email','viewinemailsearch','search_email_template','view_email_template','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Update email template</h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('email/addinemail/update_email_template/view_email_template/1',$attributes); ?> <input type="hidden" name="template_id" id="template_id" value="<?=$viewinfo->template_id?>"/> <div class="clean"></div> <div class="grid_12"> <div class="box"> <div class="header main"></div> <div class="content no-padding"> <div class="section _100"> <label>Template Title</label> <div class="single_page"> <input class="text required" name="template_title" id="template_title" type="text" value="<?=$viewinfo->template_title?>" style="width:250px"/> </div> </div> <div class="section _100"> <label>Subject</label> <div class="single_page"> <input class="text required" name="template_subject" id="template_subject" type="text" value="<?=$viewinfo->template_subject?>" style="width:250px"/> </div> </div> <div class="section _100"> <label>Contents</label> <div class="single_page"> <textarea class="required wysiwyg" name="template_contents" cols="70" rows="15" style="width: 500px;height: 150px;" > <?=$viewinfo->template_contents?> </textarea> </div> </div> <div class="actions"> <div class="actions-left"> <input type="reset"> <input type="hidden" name="resfunction" value="search_email_template"/> <input type="hidden" name="template_id" id="template_id" value="<?=$viewinfo->template_id?>"/> </div> <div class="actions-right"> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </div> </div> </div> </div> </div> <?php echo form_close();?>