php forum
php mysql forum
php mysql smarty
 
Topic Options
#115830 - 06/12/04 08:42 AM Problem with Cat
havoq Offline
Member

Registered: 09/11/01
Posts: 667
Loc: MI


Wheres the problem here, Im a bit confused. Isn't the whole row for General Forum supposed to be that light color? Somewhere the code is messed up for the sub routine CategoryStrip and I can't find it.

Check it out:

Code:
sub CategoryStrip {

	my($colspan, $catarray) = @_;
	my $colspan2 = $colspan - 1;
	my $desc = $catarray->[5] ? qq~<font size="$vars_style{FDTextSize}" face="$vars_style{FontFace}" color="$vars_style{CategoryStripTextColor}">
$catarray->[5]</font>~ : "";

	my $CategoryStrip = qq~
<tbody>
<tr bgcolor="$vars_style{CategoryStripColor}">
<td align="middle">
<a href="javascript:void(0);" onclick="hideit('$cat_number' , 'hidden');"><span id="hidden-$cat_number"><img src="$vars_config{NonCGIURL}/catexpand.gif" alt="[+]" id="imghidden-$cat_number"  border="0"/></span></a>
<a href="javascript:void(0);" onclick="hideit('$cat_number' , 'visible');"><span id="shown-$cat_number"><img src="$vars_config{NonCGIURL}/catminimize.gif" alt="[-]" id="imgshown-$cat_number"  border="0"/></span></a>

<script language="Javascript" type="text/javascript">
<!--
bulbcolor("0000000.0000","$cat_number");
//-->
</script>
</td>
<td bgcolor="$vars_style{CategoryStripColor}">
<a href="$ULTIMATEBB?category=$thisforumcategory">
<font size="$vars_style{TextSize}" face="$vars_style{FontFace}" color="$vars_style{CategoryStripTextColor}"><b>$CategoryName</b></font></a>
</td>
</tr>
</tbody>
_________________________
-Jon
I have a measly [img]http://www.ubbdev.com/ud/?u=chugger93&s=1[/img] points, it's weak, I know wink
Where I continue to hack, even though it's a state of mind

Top
#115831 - 06/12/04 01:33 PM Re: Problem with Cat
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
<td bgcolor="$vars_style{CategoryStripColor}">

should have colspan in it, set to 5

Top
#115832 - 06/13/04 11:38 AM Re: Problem with Cat
havoq Offline
Member

Registered: 09/11/01
Posts: 667
Loc: MI
That did it Ian, thanks bud smile
_________________________
-Jon
I have a measly [img]http://www.ubbdev.com/ud/?u=chugger93&s=1[/img] points, it's weak, I know wink
Where I continue to hack, even though it's a state of mind

Top



Moderator:  Gizmo, tackaberry 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks