forked from qwerty/tupali
organizacion librerias
This commit is contained in:
parent
c86715835e
commit
908b9fb4a1
20
index.php
20
index.php
@ -369,6 +369,26 @@ if ($variable !=''){
|
|||||||
<script src='./librerias/summernote/summernote.js'></script>
|
<script src='./librerias/summernote/summernote.js'></script>
|
||||||
<link href='./librerias/summernote/summernote.css' rel='stylesheet'>
|
<link href='./librerias/summernote/summernote.css' rel='stylesheet'>
|
||||||
";
|
";
|
||||||
|
$librerias_pie ="
|
||||||
|
|
||||||
|
<script type='text/javascript'>
|
||||||
|
//// wysiwyg
|
||||||
|
var edit = function() {
|
||||||
|
$('.wysiwyg').summernote({height: 250, codemirror: { theme: 'default' },dialogsInBody: true});
|
||||||
|
};
|
||||||
|
|
||||||
|
var save = function() {
|
||||||
|
var makrup = $('.wysiwyg').summernote('code');
|
||||||
|
$('.wysiwyg').summernote('destroy');
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('.wysiwyg_auto').summernote({dialogsInBody: true});
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
";
|
||||||
$onload =" <script type=\"text/javascript\">xajax_formulario_embebido_ajax('','$form','','nuevo')</script>";
|
$onload =" <script type=\"text/javascript\">xajax_formulario_embebido_ajax('','$form','','nuevo')</script>";
|
||||||
}
|
}
|
||||||
elseif($v[0] =='c') {
|
elseif($v[0] =='c') {
|
||||||
|
Loading…
Reference in New Issue
Block a user