Files
WrenchBoradWeb/www/application/views/bko/view_bko_fixededitor.php
T
2019-05-31 11:26:35 -04:00

59 lines
2.1 KiB
PHP

<!-- Main content -->
<div class="content-wrapper">
<!-- Dashboard content -->
<div class="row">
<!-- Marketing campaigns -->
<div class="panel panel-flat">
<div class="panel-heading">
<h6 class="panel-title"> <b><?php echo $page_title; ?></b></h6>
<div class="heading-elements">
</div>
</div>
<div class="table-responsive">
<form name="facetxt" method="POST" action='/bkouser/<?= $page_name ?>' >
<table class='table table-sm table-hover table-bordered table-condensed'>
<tr> <td colspan='2'>
<input type="hidden" name="link_id" value="">
<input type="hidden" name="page_key" value="<?= $page_key ?>">
<textarea class="wysihtml5-min form-control" rows="25" id="faq_detail" name="txt_detail"> <?php echo $txt_detail; ?></textarea>
</td>
</tr>
<tr><td><div id="subsave"></div></td><td style='width: 100px;'><input type='submit' id='dacc' class='btn btn-success btn-sm' onclick="savePageText('<?= $page_key ?>');" name='save_faq' value='Save'></td></tr>
</table>
</form>
</div>
</div>
<!-- /marketing campaigns -->
</div>
<!-- /dashboard content -->
</div>
<script>
$('.textarea').wysihtml5({
"font-styles": true, //Font styling, e.g. h1, h2, etc. Default true
"emphasis": true, //Italics, bold, etc. Default true
"lists": true, //(Un)ordered lists, e.g. Bullets, Numbers. Default true
"html": true, //Button which allows you to edit the generated HTML. Default false
"link": true, //Button to insert a link. Default true
"image": true, //Button to insert an image. Default true,
"color": true, //Button to change color of font
"size": 'xs', // buttons size
});
</script>