Changeset 702 for trunk/forum/docs/hook_system.html
- Timestamp:
- Mar 31, 2010, 6:32:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/forum/docs/hook_system.html
r400 r702 105 105 } 106 106 107 code { 108 color: #006600; 109 font-weight: normal; 110 font-family: 'Courier New', monospace; 111 border-color: #D1D7DC; 112 border-width: 1px; 113 border-style: solid; 114 background-color: #FAFAFA; 107 code { 108 color: #006600; 109 font-weight: normal; 110 font-family: 'Courier New', monospace; 111 border-color: #D1D7DC; 112 border-width: 1px; 113 border-style: solid; 114 background-color: #FAFAFA; 115 115 } 116 116 … … 388 388 PHPBB_ROOT_PATH (overwrite $phpbb_root_path) 389 389 PHPBB_ADMIN_PATH (overwrite $phpbb_admin_path) 390 </pre></div> 390 PHPBB_USE_BOARD_URL_PATH (use generate_board_url() for image paths instead of $phpbb_root_path) 391 </pre></div> 392 393 <p>If the <code>PHPBB_USE_BOARD_URL_PATH</code> constant is set to true, phpBB uses generate_board_url() (this will return the boards url with the script path included) on all instances where web-accessible images are loaded. The exact locations are:</p> 394 395 <ul> 396 <li>/includes/session.php - user::img()</li> 397 <li>/includes/functions_content.php - smiley_text()</li> 398 </ul> 399 400 <p>Path locations for the following template variables are affected by this too:</p> 401 402 <ul> 403 <li>{T_THEME_PATH} - styles/xxx/theme</li> 404 <li>{T_TEMPLATE_PATH} - styles/xxx/template</li> 405 <li>{T_SUPER_TEMPLATE_PATH} - styles/xxx/template</li> 406 <li>{T_IMAGESET_PATH} - styles/xxx/imageset</li> 407 <li>{T_IMAGESET_LANG_PATH} - styles/xxx/imageset/yy</li> 408 <li>{T_IMAGES_PATH} - images/</li> 409 <li>{T_SMILIES_PATH} - $config['smilies_path']/</li> 410 <li>{T_AVATAR_PATH} - $config['avatar_path']/</li> 411 <li>{T_AVATAR_GALLERY_PATH} - $config['avatar_gallery_path']/</li> 412 <li>{T_ICONS_PATH} - $config['icons_path']/</li> 413 <li>{T_RANKS_PATH} - $config['ranks_path']/</li> 414 <li>{T_UPLOAD_PATH} - $config['upload_path']/</li> 415 <li>{T_STYLESHEET_LINK} - styles/xxx/theme/stylesheet.css (or link to style.php if css is parsed dynamically)</li> 416 <li>New template variable {BOARD_URL} for the board url + script path.</li> 417 </ul> 418 391 419 392 420 </div> … … 617 645 <div class="codebox"><pre> 618 646 not hooked 619 hooked 647 hooked 620 648 </pre></div> 621 649 … … 671 699 <div class="codebox"><pre> 672 700 not hooked 673 hooked 701 hooked 674 702 </pre></div> 675 703 … … 848 876 849 877 <div id="page-footer"> 850 <div class="version">$Id : hook_system.html 8479 2008-03-29 00:22:48Z naderman$</div>878 <div class="version">$Id$</div> 851 879 </div> 852 880 </div></div>
Note:
See TracChangeset
for help on using the changeset viewer.