The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Question on PHP Syntax used in AdminCP/Index.php
Hi! I have a quick question... In vBulletin 3.03's AdminCP/Index.php, you'll find the following code for the Navigation Bar:
PHP Code:
Here's my question... Some of those lines end in '|', while others end in '<br />'. Looking at the code, I can't figure out why a line would require one as opposed to the other. So far, people on vBulletin.com are stumped. Can anyone help enlighten me on this? Thanks! |
#2
|
|||
|
|||
it does nothing from what I can see and it even looks like a bug.
the function for "construct_nav_option" looks like Code:
function construct_nav_option($title, $url, $extra = '') but doesn't do anything atm |
#3
|
|||
|
|||
So far, people on vBulletin.com are stumped.
Now, that's not fair. http://www.vbulletin.com/forum/showpost.php?p=709784 This is not a PHP question, syntax or otherwise. It's an issue of function definition and usage. Functions are passed parameters when they are called. Whether the parameters are used by the function itself, is the question here. |
#4
|
||||
|
||||
Quote:
At the time I made this post, I still had not gotten a definitive answer as to why the statements were ending differently. By now, of course, you and Slappy have gone into further detail, and Modin has corroborated your statements - and, at the very least, I am less worried about how to properly format my added code. Thank you - all of you - for helping me with this. Your time and efforts are greatly appreciated. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|