Jump to content

Status in Roster


Stealthbird97

Recommended Posts

In my pilots_list.tpl, I add:

<?php
		    if($pilot->retired == '1')
		    {echo '<img src="'.SITE_URL.'/lib/skins/yourskinname/images/no.png" alt="warning" /> - Retired';}
		    else
		    {echo '<img src="'.SITE_URL.'/lib/skins/yourskinname/images/yes.png" alt="warning" /> - Active';}
	    ?>

Obviously, change "yourskinname" to whatever you are using ie. crystal And add an icon to indicate active or retired in the above example. You can add whatever else you like. There IS a post about this on this site about this somewhere. That is where I got the info from.

  • Like 1
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...