New Legend
Posted: 26 Jul 2011, 21:27
New Legend
Written by Stoker
Lets spice up the legend display on forum index.
This little change makes it look like on the screenshots.
Open index.php
Find:
Replace with:
Find:
Replace with:
Find:
Replace with:
Open styles/prosilver/template/index_body.html
Find:
Replace with:
Written by Stoker
Lets spice up the legend display on forum index.
This little change makes it look like on the screenshots.
Open index.php
Find:
Code: Select all
$legend[] = '<span' . $colour_text . '>' . $group_name . '</span>';
Code: Select all
$legend[] = '<span' . $colour_text . '>[' . $group_name . ']</span>';
Code: Select all
$legend[] = '<a' . $colour_text . ' href="' . append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=group&g=' . $row['group_id']) . '">' . $group_name . '</a>';
Code: Select all
$legend[] = '<a' . $colour_text . ' href="' . append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=group&g=' . $row['group_id']) . '">[' . $group_name . ']</a>';
Code: Select all
$legend = implode(', ', $legend);
Code: Select all
$legend = implode(' || ', $legend);
Find:
Code: Select all
<!-- IF LEGEND --><br /><em>{L_LEGEND}: {LEGEND}</em><!-- ENDIF --></p>
Code: Select all
<!-- IF LEGEND --><br />{L_LEGEND}: {LEGEND}<!-- ENDIF --></p>