Im affraid im not competent enough to modify it on my own, Ive always struggled with coding :o Im fine with HTML and CSS though 🙂
I had a little go, but im not sure if Im way off with it, the module is displaying without any error, but none of the different corner styles (rounded, squared, disabled etc) are showing, so clearly im not doing it correctly.
Here is what I have so far
$corners = array('squared','rounded','fixed','disabled');
$first = array('squared' => false, 'rounded' => false, 'fixed' => false, 'disabled' => false);
$second = array('squared' => false, 'rounded' => false, 'fixed' => false, 'disabled' => false);
$third = array('squared' => false, 'rounded' => false, 'fixed' => false, 'disabled' => false);
$fourth = array('squared' => false, 'rounded' => false, 'fixed' => false, 'disabled' => false);
$this->corners = array($first, $second, $third, $fourth);
$cornerNames = array('firstcorners', 'secondcorners', 'thirdcorners', 'fourthcorners');
$cornersTotal = count($cornerNames);
for ($i = 0; $i < $cornersTotal; ++$i) {
$legitimate_values = $params->get($cornerNames[$i], 1);
if(in_array($legitimate_values,$corners))
$this->$corners[$i][$legitimate_values] = true;
}