Skip to content

Commit 3b3316d

Browse files
authored
Replace tabs with spaces in HTML files (hestiacp#2993)
1 parent e3e172d commit 3b3316d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+5428
-5416
lines changed

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
insert_final_newline = true
8+
trim_trailing_whitespace = true
9+
10+
[*.html]
11+
indent_size = 2
12+
indent_style = space

web/templates/includes/end_js.html

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -8,46 +8,46 @@
88
<script src="/js/i18n.js.php?<?=JS_LATEST_UPDATE?>"></script>
99
<script src="/js/templates.js?<?=JS_LATEST_UPDATE?>"></script>
1010
<?php foreach(new DirectoryIterator($_SERVER['HESTIA'].'/web/js/custom_scripts') as $customScript){
11-
if($customScript->getExtension() === 'js'){
12-
echo '<script src="/js/custom_scripts/'.rawurlencode($customScript->getBasename()).'"></script>';
13-
} elseif($customScript->getExtension() === "php"){
14-
require_once($customScript->getPathname());
15-
}
11+
if($customScript->getExtension() === 'js'){
12+
echo '<script src="/js/custom_scripts/'.rawurlencode($customScript->getBasename()).'"></script>';
13+
} elseif($customScript->getExtension() === "php"){
14+
require_once($customScript->getPathname());
15+
}
1616
} ?>
1717
<script>
18-
$(function() {
19-
hover_menu();
20-
});
18+
$(function() {
19+
hover_menu();
20+
});
2121
</script>
2222

2323
<?php
24-
if (!empty($_SESSION['error_msg'])):
25-
?>
26-
<div>
27-
<script>
28-
$(function() {
29-
$('#dialog:ui-dialog').dialog('destroy');
30-
$('#dialog-message').dialog({
31-
modal: true,
32-
resizable: false,
33-
buttons: {
34-
Ok: function() {
35-
$(this).dialog('close');
36-
}
37-
},
38-
create: function() {
39-
$(this)
40-
.closest('.ui-dialog')
41-
.find('.ui-button:first')
42-
.addClass('submit');
43-
}
44-
});
45-
});
46-
</script>
47-
<div id="dialog-message" title="">
48-
<p><?=htmlentities($_SESSION['error_msg'])?></p>
49-
</div>
50-
</div>
24+
if (!empty($_SESSION['error_msg'])):
25+
?>
26+
<div>
27+
<script>
28+
$(function() {
29+
$('#dialog:ui-dialog').dialog('destroy');
30+
$('#dialog-message').dialog({
31+
modal: true,
32+
resizable: false,
33+
buttons: {
34+
Ok: function() {
35+
$(this).dialog('close');
36+
}
37+
},
38+
create: function() {
39+
$(this)
40+
.closest('.ui-dialog')
41+
.find('.ui-button:first')
42+
.addClass('submit');
43+
}
44+
});
45+
});
46+
</script>
47+
<div id="dialog-message" title="">
48+
<p><?=htmlentities($_SESSION['error_msg'])?></p>
49+
</div>
50+
</div>
5151
<?php
52-
unset($_SESSION['error_msg']);
53-
endif;
52+
unset($_SESSION['error_msg']);
53+
endif;

web/templates/includes/panel.html

Lines changed: 197 additions & 197 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)