mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
#12460 fixed deprecated
This commit is contained in:
parent
17056e4ac3
commit
7f604f0c8d
@ -301,6 +301,13 @@ function gd_progress_bubble($width, $height, $progress, $title, $font, $out_of_l
|
|||||||
|
|
||||||
function ImageRectangleWithRoundedCorners(&$im, $x1, $y1, $x2, $y2, $radius, $color)
|
function ImageRectangleWithRoundedCorners(&$im, $x1, $y1, $x2, $y2, $radius, $color)
|
||||||
{
|
{
|
||||||
|
$x1 = (int) $x1;
|
||||||
|
$y1 = (int) $y1;
|
||||||
|
$x2 = (int) $x2;
|
||||||
|
$y2 = (int) $y2;
|
||||||
|
$radius = (int) $radius;
|
||||||
|
$color = (int) $color;
|
||||||
|
|
||||||
// Draw rectangle without corners
|
// Draw rectangle without corners
|
||||||
imagefilledrectangle($im, ($x1 + $radius), $y1, ($x2 - $radius), $y2, $color);
|
imagefilledrectangle($im, ($x1 + $radius), $y1, ($x2 - $radius), $y2, $color);
|
||||||
imagefilledrectangle($im, $x1, ($y1 + $radius), $x2, ($y2 - $radius), $color);
|
imagefilledrectangle($im, $x1, ($y1 + $radius), $x2, ($y2 - $radius), $color);
|
||||||
|
@ -113,6 +113,13 @@ class ClusterWizard extends \HTML
|
|||||||
*/
|
*/
|
||||||
private $agent;
|
private $agent;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Id of clusters.
|
||||||
|
*
|
||||||
|
* @var integer
|
||||||
|
*/
|
||||||
|
public $id;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Builds a Cluster Wizard.
|
* Builds a Cluster Wizard.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user