-
Notifications
You must be signed in to change notification settings - Fork 0
/
tinymce.html
executable file
·104 lines (95 loc) · 3.72 KB
/
tinymce.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- <script src="https://cdn.tiny.cloud/1/no-api-key/tinymce/5/tinymce.min.js" referrerpolicy="origin">
</script>
Changes:
-221213 - Added PC number drop box for PC number
-221013 - both tinymce.html & tinymce_submit are the same (both hide submit and need ?showsubmit param )
-201019 - hidesubmit option
-->
<script src="js/tinymce/tinymce.min.js" referrerpolicy="origin">
</script>
<script>tinymce.init({
selector:'textarea',
language: 'el',
entity_encoding: "raw",
height: "300",
menubar: 'file edit view insert format tools table help',
plugins: [
"table","image",
],
toolbar: 'undo redo | bold italic underline strikethrough | fontselect fontsizeselect formatselect | outdent indent | numlist bullist | backcolor removeformat | forecolor | pagebreak | charmap emoticons | fullscreen preview save print | insertfile image media template link anchor codesample | alignleft aligncenter alignright alignjustify | ltr rtl',
table_toolbar : "" , //Disables the internal table popup toolbar
browser_spellcheck : true,
//gecko_spellcheck : true, //deprecated
//toolbar_sticky: true,
//table_responsive_width: true,
});
</script>
</head>
<body>
<form action="handle-submit.php" method="post" onsubmit="tinyMCE.triggerSave()">
<textarea name="text_entered" id="text_entered" ></textarea>
<div id="div-submit" ><!------------------------------div-submit -->
<label for="name">ΟΝΟΜΑ ΣΧΟΛΕΙΟΥ:</label>
<input type="text" id="schoolname" name="schoolname" size=15>
<br>
<br> ΤΑΞΗ:
<select name="taksi" id="taksi">
<option value="Α">Α</option>
<option value="Β">Β</option>
<option value="Γ">Γ</option>
<option value="Δ">Δ</option>
<option value="Ε">Ε</option>
<option value="ΣΤ">ΣΤ</option>
</select> ΤΜΗΜΑ:
<select name="tmima" id="tmima">
<option value="1">1</option>
<option value="2">2</option>
</select>
<BR>
PC Αριθμός:
<select name="pc" id="pc">
<option value="00">ΕΠΙΛΕΞΤΕ</option>
<option value="01">1</option>
<option value="02">2</option>
<option value="03">3</option>
<option value="04">4</option>
<option value="05">5</option>
<option value="06">6</option>
<option value="07">7</option>
<option value="08">8</option>
<option value="09">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
</select>
<label for="name">ΟΝΟΜΑ(ΤΑ):</label>
<input type="text" id="name" name="name" size=60>
<br>
<br>
<input type="submit" value="ΥΠΟΒΟΛΗ">
</div><!--------------------------------------------div-submit -->
</form>
<hr>
<p onselectstart="return false" onpaste="return false;" onCopy="return false" onCut="return false" onDrag="return false" onDrop="return false" >
<div id="probeserver" onselectstart="return false" onpaste="return false;" onCopy="return false" onCut="return false" onDrag="return false" onDrop="return false" ></div>
<BR>____________
</p>
<!-- FUNCTIONS #################### -->
<script src="tinymce_lesson_js_footer.js" type="text/javascript"></script>
<script>
//check if external file is loaded and if not load from CDN (NOTE : also works on Firefox 17)
if(typeof(first_click) === 'undefined') {
console.log("debug : typeof(first_click) === 'undefined'")
//document.write('<script src="https://cdn.jsdelivr.net/gh/plirof/tinymce_class/tinymce_lesson_js_footer.js"><\/script>')
}
</script>
</body>
</html>