- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 60 guest(s) and 0 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - is there a $current_theme variable? [ ]
Author
Message
RobbieB
Lieutenant
Joined: Jul 15, 2003
Posts: 195
Location: California
Posted:
Mon Sep 01, 2003 10:24 am
I have some title images that I've made that will be at the top of some modules. They are located in themes/maintheme/images/titles
When I make my pages though, I want those title images to reflect the style of the current theme so I'd make my url like this
<img src=\"themes/".$current_theme."/images/titles/races/".$array['title_img']."\">
So again, the question, is if there is a global variable that I can put in place of my made up variable $current_theme
Thanks
IACOJ
Major
Joined: Jan 15, 2003
Posts: 1269
Location: USA
Posted:
Mon Sep 01, 2003 1:56 pm
Try using $ThemeSel instead of $current_theme
RobbieB
Lieutenant
Joined: Jul 15, 2003
Posts: 195
Location: California
Posted:
Mon Sep 01, 2003 9:15 pm
Thanks, I just didn't know the variable so I was making up current theme[/u]
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum