Title: Forum Display Icon Legend v1.0

Author: John Briggs

Description: This modification will improve the icon legend that appears at the bottom of every forum display page.

Copyright:  2009 John Briggs. All rights reserved.

Compatability: XMB 1.9.8 SP3

Updated for 1.9.8 By: WormHole @ XMB Garage

Install Note: Before adding this modification to your forum you should back up all files related to this modification.

License Note: This modification is released under the GPL License. A copy is provided with this software package.

Author Note:
You downloaded this modification from XMBGarage.com, the #1 source for XMB related downloads.
Please visit http://www.xmbgarage.com/ for support.

=======================================================================================================================================
=======
Step 1:
=======
=======================
Edit File: lang/English.lang.php
=======================
============================
Add Code To End Of File Above ?>
============================

// Forum Display Icon Legend Mod Begin
$lang['fclosedtopic'] = "Closed Topic";
$lang['fopentopicnonewposts'] = "Open Topic [no new posts]";
$lang['fopentopicnewposts'] = "Open Topic [new posts]";
$lang['fhottopicnonewposts'] = "Hot Topic [no new posts]";
$lang['fhottopicnewposts'] = "Hot Topic [new posts]";
$lang['fopendottopicnonewposts'] = "Open Topic You Posted In [no new posts]";
$lang['fopendottopicnewposts'] = "Open Topic You Posted In [new posts]";
$lang['fhotdottopicnonewposts'] = "Hot Topic You Posted In [no new posts]";
$lang['fhotdottopicnewposts'] = "Hot Topic You Posted In [new posts]";
// Forum Display Icon Legend Mod End

=======================================================================================================================================
=======
Step 2:
=======
=====================
Edit File: forumdisplay.php
=====================
==========
Find Code:
==========

loadtemplates(

================
Replace Code With:
================

loadtemplates(
'forumdisplay_dotfolders',

==========
Find Code:
==========

$mpurl = 'forumdisplay.php?fid='.$fid;

===============
Add Code Above:
===============

// Forum Display Icon Legend Mod Begin
$dotlegend = '';
if ($SETTINGS['dotfolders'] == 'on' && X_MEMBER) {
    eval('$dotlegend = "'.template('forumdisplay_dotfolders').'";');
}
// Forum Display Icon Legend Mod End

=======================================================================================================================================
=======
Step 3:
=======
================================
Go To Administration Panel --> Templates
================================
=====================
Edit Template: forumdisplay
=====================
==========
Find Code:
==========

<table width="$tablewidth" align="center"><tr>
<td class="tablerow"><img src="$imgdir/red_folder.gif" alt="$lang[altredfolder]" />&nbsp;$lang[opennew] (&nbsp;
<img src="$imgdir/hot_red_folder.gif" alt="$lang[althotredfolder]" />&nbsp;$lang[hottopic]&nbsp;)<br />
<img src="./images/pixel.gif" width="1" height="4" alt="*" /><br/>
<img src="$imgdir/folder.gif" alt="$lang[altfolder]" />&nbsp;$lang[opentopic] (&nbsp;
<img src="$imgdir/hot_folder.gif" alt="$lang[althotfolder]" />&nbsp;$lang[hottopic]&nbsp;)<br />
<img src="./images/pixel.gif" width="1" height="4" alt="*" /><br/>
<img src="$imgdir/lock_folder.gif" alt="$lang[altclosedtopic]" />&nbsp;$lang[locktopic]</td>
</tr>
</table>

================
Replace Code With:
================

<table cellspacing="0" cellpadding="$THEME[tablespace]" border="0" width="$THEME[tablewidth]" align="center">
<tr>
<td class="ctrtablerow"><img src="$THEME[imgdir]/red_folder.gif" border="0" alt="$lang[fopentopicnewposts]" title"$lang[fopentopicnewposts]" align="middle"></td>
<td class="tablerow">$lang[fopentopicnewposts]</td>
<td class="ctrtablerow"><img src="$THEME[imgdir]/folder.gif" border="0" alt="$lang[fopentopicnonewposts]" title"$lang[fopentopicnonewposts]" align="middle"></td>
<td class="tablerow">$lang[fopentopicnonewposts]</td>
</tr>
<tr>
<td class="ctrtablerow"><img src="$THEME[imgdir]/hot_red_folder.gif" border="0" alt="$lang[fhottopicnewposts]" title"$lang[fhottopicnewposts]" align="middle"></td>
<td class="tablerow">$lang[fhottopicnewposts]</td>
<td class="ctrtablerow"><img src="$THEME[imgdir]/hot_folder.gif" border="0" alt="$lang[fhottopicnonewposts]" title"$lang[fhottopicnonewposts]" align="middle"></td>
<td class="tablerow">$lang[fhottopicnonewposts]</td>
</tr>
$dotlegend
<tr>
<td class="ctrtablerow"><img src="$THEME[imgdir]/lock_folder.gif" border="0" alt="$lang[fclosedtopic]" title"$lang[fclosedtopic]" align="middle"></td>
<td class="tablerow">$lang[fclosedtopic]</td>
</tr>
</table>

=======================================================================================================================================
=======
Step 4:
=======
================================
Go To Administration Panel --> Templates
================================
==========================
Edit Template: forumdisplay_admin
==========================
==========
Find Code:
==========

<table width="$tablewidth" align="center"><tr>
<td class="tablerow"><img src="$imgdir/red_folder.gif" alt="$lang[altredfolder]" />&nbsp;$lang[opennew] (&nbsp;
<img src="$imgdir/hot_red_folder.gif" alt="$lang[althotredfolder]" />&nbsp;$lang[hottopic]&nbsp;)<br />
<img src="./images/pixel.gif" width="1" height="4" alt="*" /><br/>
<img src="$imgdir/folder.gif" alt="$lang[altfolder]" />&nbsp;$lang[opentopic] (&nbsp;
<img src="$imgdir/hot_folder.gif" alt="$lang[althotfolder]" />&nbsp;$lang[hottopic]&nbsp;)<br />
<img src="./images/pixel.gif" width="1" height="4" alt="*" /><br/>
<img src="$imgdir/lock_folder.gif" alt="$lang[altclosedtopic]" />&nbsp;$lang[locktopic]</td>
</tr>
</table>

================
Replace Code With:
================

<table cellspacing="0" cellpadding="$THEME[tablespace]" border="0" width="$THEME[tablewidth]" align="center">
<tr>
<td class="ctrtablerow"><img src="$THEME[imgdir]/red_folder.gif" border="0" alt="$lang[fopentopicnewposts]" title"$lang[fopentopicnewposts]" align="middle"></td>
<td class="tablerow">$lang[fopentopicnewposts]</td>
<td class="ctrtablerow"><img src="$THEME[imgdir]/folder.gif" border="0" alt="$lang[fopentopicnonewposts]" title"$lang[fopentopicnonewposts]" align="middle"></td>
<td class="tablerow">$lang[fopentopicnonewposts]</td>
</tr>
<tr>
<td class="ctrtablerow"><img src="$THEME[imgdir]/hot_red_folder.gif" border="0" alt="$lang[fhottopicnewposts]" title"$lang[fhottopicnewposts]" align="middle"></td>
<td class="tablerow">$lang[fhottopicnewposts]</td>
<td class="ctrtablerow"><img src="$THEME[imgdir]/hot_folder.gif" border="0" alt="$lang[fhottopicnonewposts]" title"$lang[fhottopicnonewposts]" align="middle"></td>
<td class="tablerow">$lang[fhottopicnonewposts]</td>
</tr>
$dotlegend
<tr>
<td class="ctrtablerow"><img src="$THEME[imgdir]/lock_folder.gif" border="0" alt="$lang[fclosedtopic]" title"$lang[fclosedtopic]" align="middle"></td>
<td class="tablerow">$lang[fclosedtopic]</td>
</tr>
</table>

=======================================================================================================================================
=======
Step 5:
=======
================================
Go To Administration Panel --> Templates
================================
===================================
Create New Template: forumdisplay_dotfolders
===================================
==========
Add Code:
==========

<tr>
<td class="ctrtablerow"><img src="$THEME[imgdir]/dot_red_folder.gif" border="0" alt="$lang[fopendottopicnewposts]" title="$lang[fopendottopicnewposts]" align="middle"></td>
<td class="tablerow">$lang[fopendottopicnewposts]</td>
<td class="ctrtablerow"><img src="$THEME[imgdir]/dot_folder.gif" border="0" alt="$lang[fopendottopicnonewposts]" title="$lang[fopendottopicnonewposts]" align="middle"></td>
<td class="tablerow">$lang[fopendottopicnonewposts]</td>
</tr>
<tr>
<td class="ctrtablerow"><img src="$THEME[imgdir]/dot_hot_red_folder.gif" border="0" alt="$lang[fhotdottopicnewposts]" title="$lang[fhotdottopicnewposts]" align="middle"></td>
<td class="tablerow">$lang[fhotdottopicnewposts]</td>
<td class="ctrtablerow"><img src="$THEME[imgdir]/dot_hot_folder.gif" border="0" alt="$lang[fhotdottopicnonewposts]" title="$lang[fhotdottopicnonewposts]" align="middle"></td>
<td class="tablerow">$lang[fhotdottopicnonewposts]</td>
</tr>

=======================================================================================================================================
Enjoy!