1.) If you'd like text only, then leave out the part where you add the <img src> code and instead just put {$this->adopt->getRarity()} and {$usealternates} (if you want variant text to display) or {$adopt->getRarity()} (I think this second one is for levelupview.php, someone wanna verify?)
2.) Yes, basically whatever you're calling your rarities in the database table is what you need to name your images. So if you have a rarity called "Fairy" then name your image "Fairy.png". Not sure if it's case sensitive but usually everything involving PHP is case sensitive. Though you can ignore this altogether if you aren't using images.
|