mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 08:34:39 +00:00
firewall: fix PHP warnings
This commit is contained in:
parent
65b21d8de0
commit
cf4f97dd20
@ -475,7 +475,7 @@ $( document ).ready(function() {
|
||||
</td>
|
||||
|
||||
<td>
|
||||
<span title="<?=htmlspecialchars(get_alias_description($natent['target']));?>" data-toggle="tooltip" data-html="true">
|
||||
<span title="<?= html_safe(get_alias_description($natent['target'])) ?>" data-toggle="tooltip" data-html="true">
|
||||
<?=$natent['target'];?>
|
||||
</span>
|
||||
|
||||
|
||||
@ -1103,7 +1103,7 @@ $( document ).ready(function() {
|
||||
<tr>
|
||||
<td><?=gettext("Created");?></td>
|
||||
<td>
|
||||
<?= date(gettext('n/j/y H:i:s'), $pconfig['created']['time']) ?> (<?= $pconfig['created']['username'] ?>)
|
||||
<?= date(gettext('n/j/y H:i:s'), (int)$pconfig['created']['time']) ?> (<?= $pconfig['created']['username'] ?>)
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif;
|
||||
@ -1112,7 +1112,7 @@ $( document ).ready(function() {
|
||||
<tr>
|
||||
<td><?=gettext("Updated");?></td>
|
||||
<td>
|
||||
<?= date(gettext('n/j/y H:i:s'), $pconfig['updated']['time']) ?> (<?= $pconfig['updated']['username'] ?>)
|
||||
<?= date(gettext('n/j/y H:i:s'), (int)$pconfig['updated']['time']) ?> (<?= $pconfig['updated']['username'] ?>)
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif;
|
||||
|
||||
@ -852,7 +852,7 @@ include("head.inc");
|
||||
<tr>
|
||||
<td><?=gettext("Created");?></td>
|
||||
<td>
|
||||
<?= date(gettext('n/j/y H:i:s'), $a_out[$id]['created']['time']) ?> (<?= $a_out[$id]['created']['username'] ?>)
|
||||
<?= date(gettext('n/j/y H:i:s'), (int)$a_out[$id]['created']['time']) ?> (<?= $a_out[$id]['created']['username'] ?>)
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
@ -862,7 +862,7 @@ include("head.inc");
|
||||
<tr>
|
||||
<td><?=gettext("Updated");?></td>
|
||||
<td>
|
||||
<?= date(gettext('n/j/y H:i:s'), $a_out[$id]['updated']['time']) ?> (<?= $a_out[$id]['updated']['username'] ?>)
|
||||
<?= date(gettext('n/j/y H:i:s'), (int)$a_out[$id]['updated']['time']) ?> (<?= $a_out[$id]['updated']['username'] ?>)
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
@ -1729,7 +1729,7 @@ endforeach;?>
|
||||
<tr>
|
||||
<td><?=gettext("Created");?></td>
|
||||
<td>
|
||||
<?= date(gettext('n/j/y H:i:s'), $a_filter[$id]['created']['time']) ?> (<?= $a_filter[$id]['created']['username'] ?>)
|
||||
<?= date(gettext('n/j/y H:i:s'), (int)$a_filter[$id]['created']['time']) ?> (<?= $a_filter[$id]['created']['username'] ?>)
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
@ -1738,7 +1738,7 @@ endforeach;?>
|
||||
<tr>
|
||||
<td><?=gettext("Updated");?></td>
|
||||
<td>
|
||||
<?= date(gettext('n/j/y H:i:s'), $a_filter[$id]['updated']['time']) ?> (<?= $a_filter[$id]['updated']['username'] ?>)
|
||||
<?= date(gettext('n/j/y H:i:s'), (int)$a_filter[$id]['updated']['time']) ?> (<?= $a_filter[$id]['updated']['username'] ?>)
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
@ -380,7 +380,7 @@ $( document ).ready(function() {
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<?=$scrubEntry['descr'];?>
|
||||
<?= $scrubEntry['descr'] ?? '' ?>
|
||||
</td>
|
||||
<td>
|
||||
<a data-id="<?=$i;?>" name="move_<?=$i;?>_x" data-toggle="tooltip" title="<?= html_safe(gettext("Move selected rules before this rule")) ?>" class="act_move btn btn-default btn-xs">
|
||||
|
||||
@ -639,7 +639,7 @@ include("head.inc");
|
||||
<tr>
|
||||
<td style="width:22%"><?=gettext("Created");?></td>
|
||||
<td style="width:78%">
|
||||
<?= date(gettext('n/j/y H:i:s'), $a_scrub[$id]['created']['time']) ?> (<?= $a_scrub[$id]['created']['username'] ?>)
|
||||
<?= date(gettext('n/j/y H:i:s'), (int)$a_scrub[$id]['created']['time']) ?> (<?= $a_scrub[$id]['created']['username'] ?>)
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
@ -648,7 +648,7 @@ include("head.inc");
|
||||
<tr>
|
||||
<td><?=gettext("Updated");?></td>
|
||||
<td>
|
||||
<?= date(gettext('n/j/y H:i:s'), $a_scrub[$id]['updated']['time']) ?> (<?= $a_scrub[$id]['updated']['username'] ?>)
|
||||
<?= date(gettext('n/j/y H:i:s'), (int)$a_scrub[$id]['updated']['time']) ?> (<?= $a_scrub[$id]['updated']['username'] ?>)
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user