PDA

View Full Version : putting if conditional depending on page in footer?


chickadee
05-01-2007, 10:07 AM
Hi, basically I have the different copyrights for different mods in my footer, but is there a way to place an condition so the respective copyright only shows when that page is being accessed?

Similar to the vBa condition
<if condition="defined('VBA_PORTAL')">

But what would i replace 'vba_portal' with? XXXXX.php?

Any help is much appreciated!

Dismounted
05-01-2007, 10:25 AM
THIS_SCRIPT is defined in every vBulletin script. Look in the PHP and you will find.
<if condition="THIS_SCRIPT == 'index'">