?
Current Path : /home1/savoy/www/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/www/savoyglobal.net/sec_old/application/views/email/manage_send_email.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?> <html class="no-js" lang="en"> <head> <?php $this->load->view('jsfiles'); $this->load->view('header'); $this->load->view('commonfunctions'); $this->load->view('email/emailfunctions'); ?> <script type="text/javascript"> $(document).ready(function() { viewdata('email','viewinemailsearch','search_send_email','view_send_email','1'); }); function usetemplate(status) { var template_id=status.value; if(template_id!=""){ $.ajax({ type: "POST", url: "<?= site_url('email/gettemplatesubj') ?>/" +template_id, success: function(msg) { $("#template_subject").val(msg); } }); $.ajax({ type: "POST", url: "<?= site_url('email/gettemplatecont') ?>/" +template_id, success: function(msg) { $("#msg_notemp").remove(); $("#msg_temp").html('<textarea name="template_contents" class="required wysiwyg" cols="50" rows="15" style="width: 700px; margin: 10px 0;">'+msg+'</textarea> ') newtextarea(); } }); } else{ $("#template_subject").val(""); $("#msg_notemp").remove(); $("#msg_temp").html('<textarea name="template_contents" class="required wysiwyg" cols="50" rows="15" style="width: 700px; margin: 10px 0;"></textarea> ') newtextarea(); } } function newtextarea() { $('.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> </head> <body> <div id="height-wrapper"> <?php $this->load->view('menu'); ?> <div role="main" class="container_12" id="content-wrapper"> <div id="main_content"> <?php $this->load->view('top'); ?> <div id="inner_content"> </div> </div> <div class="push clear"></div> </div> <div class="clear"></div> <div class="push"></div> </div> <?php $this->load->view('footer'); ?> </body> </html>