![]() |
Ok, where is all this stuff coming from...
http://www.nrgdrink.com/asdf.jpg
You'll notice the "asdf" and "fff" inserted. here is the code: about 90% of the way down admincp/template.php you'll find : I just added "asdf" and "fff" in there. PHP Code:
Ok. now here is where i say "omfg wtf." The only thing in that code is a foreach() and it's creating a default style, dropdown menu, expander, and list ????? where is all this stuff coming from? |
Well a few lines higher you will find some page initialisation putted out.
'print_style' is a function that is part of 'include/adminfunctions_template.php' that will take care of the rest. |
i did a ctrl+f and searched for "print_style" in 'include/adminfunctions_template.php'
didn't find anything. |
First it should have been 'includes/adminfunctions_template.php', typo from me.
You will find the print_style function around line 1069 in adminfunctions_template.php (3.0.6). What editor are you using? |
ah ok, found the function. i'm using "context" editor.
|
print_style($styleid, $style);
print_style(number, name); basicly, its a function. |
yea thanks guys, learning something new everyday ^_^
|
All times are GMT. The time now is 07:12 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|