vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   phrase variable (https://vborg.vbsupport.ru/showthread.php?t=70441)

culthero 10-11-2004 01:54 PM

phrase variable
 
i have a little problem there...

at the top of the forums, the links "search this forum" and "forum tools" have little arrows right of them, which in opera are shown in the line below. i'm trying to display that correctly.

i've removed the following lines from vbulletin_menu.js, which seem to cause that line break in opera.
Code:

if (!nowrite) 

        document.write('<img src="' + IMGDIR_MISC + '/menu_open.gif" alt="" border="0" />'); 
}

now i just want to add that arrow in the template by editing the phrase

Code:

<td class="vbmenu_control" id="forumsearch.subforums"><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]"><phrase 1="$stylevar[imgdir_misc]">$vbphrase[search_this_forum]</phrase></a> <script type="text/javascript"> vbmenu_register("forumsearch.subforums"); </script></td>
the phrase itself
Code:

Search this Forum <img src="{1}/menu_open.gif" alt="" border="0" />
works fine whereever else in the template i put it, but not in the table where it should be displayed - there the result is

Code:

Search this Forum <img src="%1$s/menu_open.gif" alt="" border="0" />
so for whatever reason the phrase isn't parsed correctly when it's placed in this table - what can i do about that? i need the variable in the phrase 'cause that image is different in different styles.

Dean C 10-11-2004 03:29 PM

I've moved this to General vBulletin Questions for you :)


All times are GMT. The time now is 08:16 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
  • Page Generation 0.01010 seconds
  • Memory Usage 1,709KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete