make class greater
This commit is contained in:
parent
1d881d47ad
commit
21457ab0a1
@ -22,7 +22,7 @@ class ShopItem extends Item
|
||||
*/
|
||||
public function printControls()
|
||||
{
|
||||
$btnPrice = "Купить за {intval($this->cost)} кр.";
|
||||
$btnPrice = "Купить за " . intval($this->cost) . " кр.";
|
||||
$btnLink = "/shop.php?buy={$this->id}&rnd=".mt_rand();
|
||||
echo <<<BTN
|
||||
<p><input type="button" style="background: darkgrey; border: 1px solid grey; border-radius: 2px;" value="{$btnPrice}"
|
||||
|
Loading…
Reference in New Issue
Block a user