MyBB Support

years of service support

Submitted by Tutti Frutti, , Thread ID: 46643

Thread Closed

RE: years of service support

#2
Maybe set an if statement to ignore if your variable is 0, else print the following div?

PHP Code:
<if {$GLOBALS['tplvars']['years']} !== "0" then>
<
div class="years-tags yearly-tags-{$GLOBALS['tplvars']['years']}">{$GLOBALS['tplvars']['years']} Years of Service</div>
</if> 

Users browsing this thread: 1 Guest(s)