PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Bug Tracker

Reply
 
Thread Tools
Old 06-08-2004, 02:06 AM   #1
manfred
Orange Mole
 
Join Date: Nov 2003
Posts: 42
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
manfred is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Highlight password-protected content with padlock? mr_ruskin How-to Forum 1 12-15-2004 04:59 AM
Small Highlight Patch Charter Mod Submissions 0 11-26-2003 07:28 PM
phpdig highlight class only for first search word manute Bug Tracker 6 11-26-2003 10:10 AM
Version 1.6.3 Highlight Bug & Fix Charter Bug Tracker 2 11-17-2003 01:16 AM
highlight search results on page? rediray How-to Forum 2 10-03-2003 04:40 AM


All times are GMT -8. The time now is 04:44 PM.


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