Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Panel Categories
ithcy
New
Panel Categories
0
Comments
@ithcy: which one would you rather I did?
@ithcy: I could send you the patch via email if you wanted to include it in the next release.
41,43d40
< $list = array();
< $desc = array();
< $curr = "";
61,72c58,63
< $list[$Row['Name']] = $thisURL;
< $desc[$Row['Name']] = nicetrim($Row['Description'], $MaxDescriptionLength);
< if ($CurrentCategory == $Row['CategoryID'])
< {
< $curr = $Row['Name'];
< }
< //$PanelCatNameVar = ($CurrentCategory == $Row['CategoryID'])? "PanelCatNameCurrent" : "PanelCatName";
< //$PanelCategoryList .= "\t\t\t{$Row['Name']}\n";
< //if ($ShowCatDescriptions)
< //{
< // $PanelCategoryList .= "\t\t\t" . nicetrim($Row['Description'], $MaxDescriptionLength) . "\n";
< //}
---
> $PanelCatNameVar = ($CurrentCategory == $Row['CategoryID'])? "PanelCatNameCurrent" : "PanelCatName";
> $PanelCategoryList .= "\t\t\t{$Row['Name']}\n";
> if ($ShowCatDescriptions)
> {
> $PanelCategoryList .= "\t\t\t" . nicetrim($Row['Description'], $MaxDescriptionLength) . "\n";
> }
75,85d65
< ksort($list);
< foreach ($list as $key => $value)
< {
< $PanelCatNameVar = ($key == $curr)? "PanelCatNameCurrent" : "PanelCatName";
< $PanelCategoryList .= "\t\t\t{$key}\n";
< if ($ShowCatDescriptions)
< {
< $PanelCategoryList .= "\t\t\t" . $desc[$key] . "\n";
< }
< }
<