Jump to content

Country Flags


flyalaska

Recommended Posts

I have a issue in my pilot list in the admin section. I can't seem to find where to edit the country flags. I found the template pilot list.tpl in the admin, no img to edit the size. I uploaded a larger country flag, so I can have bigger flag in the profiles. Any idea where to look?

admin.png

Link to comment
Share on other sites

Line 359 of admin/modules/PilotAdmin/PilotAdmin.php has the following:

$location = '<img src="'.Countries::getCountryImage($row->location).'" alt="'.$row->location.'" />';

So the flags are being pulled from the database, meaning you'd have to update each row in the database for the countries, or a simpler method would be to make a backup of the original flags and overwrite them with the newer ones, possibly adding a width and height to the above line if it breaks the table using the new ones.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...