PDA

View Full Version : Use of $stylevar[center]


PitchouneN64ngc
11 Jun 2005, 14:05
This hack allows you to use the $stylevar[center] variable in your templates.

Very useful for modify the 'header' template for center your logo or for anything.

Tell me if there is any errors after installation :)

Logikos
11 Jun 2005, 15:04
No need to hack, you can just use align="center". Thats what the Devs at vBulletin.com are using in the templates.

afusion
11 Jun 2005, 16:06
Indeed, I believe that $stylevar[left] and $stylevar[right] are there just for the right-to-left languages.

Allan
12 Jun 2005, 00:24
yep Pit, very nice man ;)

a french lover :D

Zachery
12 Jun 2005, 20:12
unessary and mostly in the end a waste.

If you don't rehack every time, your $stylevar[center] becomes blank. and as said above the stylevar[left] and stylevar[right] were done for other languages, center is always center