Log in

View Full Version : template variable display


mikesz
04-19-2008, 01:09 PM
I am sure I saw how to do this somewhere but finding is now is a mystery.

I know that vbulletin has a global definition for $copyrightyear in functions.php. vbulletin uses that in their copyright statement in vbphrases but references it as {2}. I would like to reference it in my own copyright statement which is in the vboptions but {2} in my statement displays as {2}. Also copyrightyear does not appear in the phrase manager. So, the question is how do I display that variable in my copyright?

<br><br><div style="color: #FF00FF; text-align: center; "><b>Copyright &copy; 1996 - 2008 , My Company Name - All rights reserved. </b></div>

Above is what is in my copyright text in vboptions.

TIA, mikesz

Opserty
04-19-2008, 01:16 PM
Not sure but this may help: Using Phrases in Templates (http://www.vbulletin.com/docs/html/language_phrase_templates)