This repository has been archived by the owner on Apr 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdialog.php
executable file
·64 lines (61 loc) · 1.75 KB
/
dialog.php
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
<?php
require_once('../../common.php');
?>
<!--
Copyright (c) Codiad & Andr3as, distributed
as-is and without warranty under the MIT License.
See http://opensource.org/licenses/MIT for more information.
This information must remain intact.
-->
<form id="beautify_form">
<label><span class="icon-brush big-icon"></span>Beautify Settings</label>
<hr>
Hint: Ctrl-alt-b to beautify current selection<br>
<br>
<label>Enable autobeautify at save:</label>
<table class="settings">
<tr>
<td>
<input type="checkbox" id="beautify_js">Beautify JS
</td>
</tr>
<tr>
<td>
<input type="checkbox" id="beautify_json">Beautify JSON
</td>
</tr>
<tr>
<td>
<input type="checkbox" id="beautify_html">Beautify HTML
</td>
</tr>
<tr>
<td>
<input type="checkbox" id="beautify_css">Beautify CSS
</td>
</tr>
<tr>
<td>
<input type="checkbox" id="beautify_php">Beautify PHP
</td>
</tr>
</table>
<hr>
<h3>Experimental settings</h3>
<table class="settings">
<tr>
<td style="width: 80%;">
Guess cursor position
</td>
<td>
<select class="setting" data-setting="codiad.plugin.beautify.guessCursorPosition">
<option value="true"><?php i18n("Yes"); ?></option>
<option value="false" selected><?php i18n("No"); ?></option>
</select>
</td>
</tr>
</table>
<script>
codiad.Beautify.get();
</script>
</form>