mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2026-06-02 14:14:47 -04:00
Merged Upstream master
This commit is contained in:
@@ -88,8 +88,8 @@ class Incident implements JsonSerializable
|
||||
|
||||
$user_id = $_SESSION['user'];
|
||||
$type = $_POST['type'];
|
||||
$title = $_POST['title'];
|
||||
$text = $_POST['text'];
|
||||
$title = strip_tags($_POST['title']);
|
||||
$text = strip_tags($_POST['text'], '<br>');
|
||||
|
||||
if (strlen($title)==0)
|
||||
{
|
||||
@@ -234,4 +234,4 @@ class Incident implements JsonSerializable
|
||||
"username" => $this->username
|
||||
];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -163,7 +163,7 @@ class Service implements JsonSerializable
|
||||
?>
|
||||
<div class="item clearfix">
|
||||
<div class="service"><?php echo $this->name; ?></div>
|
||||
<?php if ($this->status!=-1){?><div class="status <?php echo $classes[$this->status];?>"><?php echo $statuses[$this->status];?></div><?php }?>
|
||||
<?php if ($this->status!=-1){?><div class="status <?php echo $classes[$this->status];?>"><?php echo _($statuses[$this->status]);?></div><?php }?>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user