forked from qwerty/tupali
limpieza index
This commit is contained in:
parent
d481a59b80
commit
082b68f9d2
11
index.php
11
index.php
@ -700,12 +700,13 @@ $menu_lateral = "
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<!-- include codemirror (codemirror.css, codemirror.js, xml.js, formatting.js) -->
|
<!-- include codemirror (codemirror.css, codemirror.js, xml.js, formatting.js) -->
|
||||||
<link rel="stylesheet" type="text/css" href="./librerias/codemirror/codemirror.css">
|
<link rel="stylesheet" type="text/css" href="./librerias/codemirror/codemirror.css">
|
||||||
<link rel="stylesheet" type="text/css" href="./librerias/codemirror/monokai.css">
|
<link rel="stylesheet" type="text/css" href="./librerias/codemirror/monokai.css">
|
||||||
<script type="text/javascript" src="href="./librerias/codemirror/codemirror.js"></script>
|
<script type="text/javascript" src="./librerias/codemirror/codemirror.js"></script>
|
||||||
<script type="text/javascript" src="href="./librerias/codemirror/xml.js"></script>
|
<script type="text/javascript" src="./librerias/codemirror/xml.js"></script>
|
||||||
<script type="text/javascript" src="href="./librerias/codemirror/formatting.js"></script>
|
<script type="text/javascript" src="./librerias/codemirror/formatting.js"></script>
|
||||||
|
|
||||||
<!-- wysiwyg -->
|
<!-- wysiwyg -->
|
||||||
<script src="./librerias/summernote/summernote.js"></script>
|
<script src="./librerias/summernote/summernote.js"></script>
|
||||||
<!-- include summernote css/js-->
|
<!-- include summernote css/js-->
|
||||||
@ -725,7 +726,7 @@ function addLink() {
|
|||||||
var body_element = document.getElementsByTagName('body')[0];
|
var body_element = document.getElementsByTagName('body')[0];
|
||||||
var selection;
|
var selection;
|
||||||
selection = window.getSelection();
|
selection = window.getSelection();
|
||||||
var pagelink = " /* <br /><br />Gracias por compartir, por favor citanos así:<br/><a href='"+document.location.href+"'>"+document.location.href+"<br /><b>https://tupale.co</b> */";
|
var pagelink = " /* <br /><br />Gracias por compartir, por favor cítanos así:<br/><a href='"+document.location.href+"'>"+document.location.href+"<br /><b>https://tupale.co</b> */";
|
||||||
var copytext = selection + pagelink;
|
var copytext = selection + pagelink;
|
||||||
var newdiv = document.createElement('div');
|
var newdiv = document.createElement('div');
|
||||||
newdiv.style.position='absolute';
|
newdiv.style.position='absolute';
|
||||||
|
Loading…
Reference in New Issue
Block a user