PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Bug Tracker (http://www.phpdig.net/forum/forumdisplay.php?f=27)
-   -   Highlight for all templates (http://www.phpdig.net/forum/showthread.php?t=983)

manfred 06-08-2004 01:06 AM

Highlight for all templates
 
Highlight and background colors cannot be used without these corrections.

In function_phpdig_form.php variables must be assigned:
PHP Code:

$result['highlight'] = HIGHLIGHT_COLOR;
$result['background'] = HIGHLIGHT_BACKGROUND
if (
$mode == 'classic'

and in search_function.php take variables into use:
PHP Code:

if ($template == 'array' || is_file($template)) {
    
$phpdig_version PHPDIG_VERSION;
    
$t_mstrings compact('powered_by_link','title_message','phpdig_version','result_message','nav_bar','ignore_message','ignore_commess','pages_bar','previous_link','next_link','templates_links','highlight','background'); 

This will also help to manage admin mod because these files can be left out from it!

M


All times are GMT -8. The time now is 10:59 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.