err = curl_error($curl);
else
$this->data = json_decode($response, false);
}
public function ifInstalledLabel($name, $installed = false)
{
if ($installed)
{ ?>
Installed ✅
Installed ✅
data as $p)
{
$installed = Plugins::plugin_exists($p->name) ? true : false;
if (is_string($p))
continue;
// use a default image if there was none
$p->icon = $p->icon ?? get_config("base_url")."img/no-image-available.jpg";
?>
card text-dark bg-light ml-4 mb-3 w-25">
title ?> vversion ?>
description ?>
= 3) // only do three per row. WARNING: untested due to not having more than 2 plugins atm...
{
?>