Skip to content

Commit 8b2e4da

Browse files
committed
Forgot to delete display_error_block()s in web/templates/user/*.html
1 parent 42dfd76 commit 8b2e4da

File tree

9 files changed

+10
-43
lines changed

9 files changed

+10
-43
lines changed

web/templates/user/edit_web.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
}
1313
?>
1414
</div>
15-
1615
</div>
17-
<? display_error_block() ?>
1816
</div>
1917

2018
<div class="l-separator"></div>

web/templates/user/list_cron.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,7 @@
4949
</tr>
5050
</table>
5151
</div>
52-
5352
</div>
54-
55-
<? display_error_block() ?>
56-
5753
<!-- /.l-sort -->
5854
</div>
5955

@@ -78,7 +74,7 @@
7874
?>
7975

8076

81-
<div class="l-unit <? if($status == 'suspended') echo 'l-unit--suspended'; if($_SESSION['favourites'][CRON][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>" v_section="cron"
77+
<div class="l-unit <? if($status == 'suspended') echo 'l-unit--suspended'; if($_SESSION['favourites'][CRON][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>" v_section="cron"
8278
sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=htmlspecialchars($data[$key]['CMD'], ENT_NOQUOTES)?>" sort-star="<? if($_SESSION['favourites']['CRON'][$key] == 1) echo '1'; else echo '0'; ?>">
8379
<div class="l-unit-toolbar clearfix">
8480
<div class="l-unit-toolbar__col l-unit-toolbar__col--left">

web/templates/user/list_db.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,7 @@
7171
</table>
7272
<!-- -->
7373
</div>
74-
7574
</div>
76-
77-
<? display_error_block() ?>
78-
7975
<!-- /.l-sort -->
8076
</div>
8177

@@ -108,8 +104,8 @@
108104
?>
109105

110106

111-
<div class="l-unit <? if($status == 'suspended') echo 'l-unit--suspended'; if($_SESSION['favourites']['DB'][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>" v_section="db"
112-
sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>" sort-disk="<?=$data[$key]['U_DISK']?>"
107+
<div class="l-unit <? if($status == 'suspended') echo 'l-unit--suspended'; if($_SESSION['favourites']['DB'][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>" v_section="db"
108+
sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>" sort-disk="<?=$data[$key]['U_DISK']?>"
113109
sort-user="<?=$data[$key]['DBUSER']?>" sort-server="<?=$data[$key]['HOST']?>" sort-star="<? if($_SESSION['favourites']['DB'][$key] == 1) echo '1'; else echo '0'; ?>">
114110
<div class="l-unit-toolbar clearfix">
115111
<div class="l-unit-toolbar__col l-unit-toolbar__col--left">

web/templates/user/list_dns.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,7 @@
4141
</tr>
4242
</table>
4343
</div>
44-
4544
</div>
46-
47-
<? display_error_block(); ?>
48-
4945
<!-- /.l-sort -->
5046
</div>
5147

@@ -68,8 +64,8 @@
6864
}
6965
?>
7066

71-
<div class="l-unit<? if($status == 'suspended') echo ' l-unit--suspended'; if($_SESSION['favourites']['DNS'][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>" v_section="dns"
72-
sort-ip="<?=str_replace('.', '', $data[$key]['IP'])?>" sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>"
67+
<div class="l-unit<? if($status == 'suspended') echo ' l-unit--suspended'; if($_SESSION['favourites']['DNS'][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>" v_section="dns"
68+
sort-ip="<?=str_replace('.', '', $data[$key]['IP'])?>" sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>"
7369
sort-expire="<?=strtotime($data[$key]['EXP'])?>" sort-records="<?=(int)$data[$key]['RECORDS']?>" sort-star="<? if($_SESSION['favourites']['DNS'][$key] == 1) echo '1'; else echo '0';?>">
7470
<div class="l-unit-toolbar clearfix">
7571
<div class="l-unit-toolbar__col l-unit-toolbar__col--left">

web/templates/user/list_dns_rec.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@
3030
</tr>
3131
</table>
3232
</div>
33-
3433
</div>
35-
36-
<? display_error_block(); ?>
37-
3834
<!-- /.l-sort -->
3935
</div>
4036

web/templates/user/list_mail.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,7 @@
4848
</table>
4949
<!-- -->
5050
</div>
51-
5251
</div>
53-
54-
<? display_error_block() ?>
55-
5652
<!-- /.l-sort -->
5753
</div>
5854

@@ -84,8 +80,8 @@
8480
?>
8581

8682

87-
<div class="l-unit <? if($status == 'suspended') echo 'l-unit--suspended'; if($_SESSION['favourites']['MAIL'][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>" v_section="mail"
88-
sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>" sort-disk="<?=$data[$key]['U_DISK']?>"
83+
<div class="l-unit <? if($status == 'suspended') echo 'l-unit--suspended'; if($_SESSION['favourites']['MAIL'][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>" v_section="mail"
84+
sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>" sort-disk="<?=$data[$key]['U_DISK']?>"
8985
sort-accounts="<?=$data[$key]['ACCOUNTS']?>" sort-star="<? if($_SESSION['favourites']['MAIL'][$key] == 1) echo '1'; else echo '0'; ?>">
9086
<div class="l-unit-toolbar clearfix">
9187
<div class="l-unit-toolbar__col l-unit-toolbar__col--left">

web/templates/user/list_mail_acc.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,7 @@
4747
</table>
4848
<!-- -->
4949
</div>
50-
5150
</div>
52-
53-
<? display_error_block() ?>
54-
5551
<!-- /.l-sort -->
5652
</div>
5753

@@ -81,8 +77,8 @@
8177
?>
8278

8379

84-
<div class="l-unit <? if($status == 'suspended') echo 'l-unit--suspended'; if($_SESSION['favourites']['MAIL_ACC'][$key."@".$_GET['domain']] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key."@".$_GET['domain']?>" v_section="mail_acc"
85-
sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>" sort-disk="<?$data[$key]['U_DISK']?>"
80+
<div class="l-unit <? if($status == 'suspended') echo 'l-unit--suspended'; if($_SESSION['favourites']['MAIL_ACC'][$key."@".$_GET['domain']] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key."@".$_GET['domain']?>" v_section="mail_acc"
81+
sort-date="<?=strtotime($data[$key]['DATE'].' '.$data[$key]['TIME'])?>" sort-name="<?=$key?>" sort-disk="<?$data[$key]['U_DISK']?>"
8682
sort-star="<? if($_SESSION['favourites']['MAIL_ACC'][$key."@".$_GET['domain']] == 1) echo '1'; else echo '0'; ?>">
8783
<div class="l-unit-toolbar clearfix">
8884
<div class="l-unit-toolbar__col l-unit-toolbar__col--left">

web/templates/user/list_search.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323
</table>
2424
</div>
2525
</div>
26-
27-
<? display_error_block() ?>
28-
2926
<!-- /.l-sort -->
3027
</div>
3128

web/templates/user/list_stats.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,7 @@
3737
</tr>
3838
</table>
3939
</div>
40-
4140
</div>
42-
43-
<? display_error_block(); ?>
44-
4541
<!-- /.l-sort -->
4642
</div>
4743

@@ -268,4 +264,4 @@
268264
</div>
269265
</div>
270266
</div>
271-
</div>
267+
</div>

0 commit comments

Comments
 (0)