##############################################################
## MOD Title: EasyMODs List
## MOD Author: markus_petrux < nospam@phpmix.com > (Markus) http://www.phpmix.com
## MOD Description: This MOD adds a new page to your forums with a list of all MODs installed using EasyMOD.
## MOD Version: 0.2.0 Beta
##
## Installation Level: (Easy)
## Installation Time: 5 Minutes
## Files To Edit: 4
##    includes/mod_page_id.php
##    includes/page_header.php
##    templates/subSilver/overall_header.tpl
##    language/lang_english/lang_main.php
## Included Files: 3
##    easymods_list.php
##    templates/subSilver/easymods_list_body.tpl
##    templates/subSilver/images/icon_mini_easymods.gif
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes: This MOD is EasyMOD friendly. Tested with phpBB 2.0.10
##
## Acknowledgements:
## - easymods_list.php code is based on EasyMOD history (by Nuttzy99) and memberlist.php.
## - The mini_icon provided with this MOD is based on the one provided by ModsDB MOD by Stefan2k1.
##############################################################
## MOD History:
##
## 2004/08/04 - Beta 0.2.0
## - Simplify MOD Script by using PageID Extension MOD by Graham.
##   http://www.phpbb.com/phpBB/viewtopic.php?t=154273
## - Added more information to the list for admin's eyes only.
## - General Code Cleanup.
##
## 2004/07/29 - Beta 0.1.0
## - Initial release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ COPY ]------------------------------------------
#
copy easymods_list.php to easymods_list.php
copy easymods_list_body.tpl to templates/subSilver/easymods_list_body.tpl
copy icon_mini_easymods.gif to templates/subSilver/images/icon_mini_easymods.gif

#
#-----[ OPEN ]------------------------------------------
#
includes/mod_page_id.php
#
#-----[ FIND ]------------------------------------------
#
$page_id[] = array(
#
#-----[ BEFORE, ADD ]------------------------------------------
#
$page_id[] = array(
	'CONSTANT_VALUE' => -1105,	// PageID - http://www.phpbb.com/kb/article.php?article_id=149
	'CONSTANT_NAME' => 'PAGE_EASYMODS_LIST',
	'PAGE_URL' => "easymods_list.$phpEx",
	'LANG_STRING' => 'Viewing_EasyMODs_list');
#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------
#
# NOTE --- The whole line to look for is:
#	'L_WHOSONLINE_MOD' => sprintf($lang['Mod_online_color'], '<span style="color:#' . $theme['fontcolor2'] . '">', '</span>'),
#
	'L_WHOSONLINE_MOD' =>
#
#-----[ AFTER, ADD ]------------------------------------------
#
	'L_EASYMODS_LIST' => $lang['EasyMODs'],
#
#-----[ FIND ]------------------------------------------
#
# NOTE --- The whole line to look for is:
#	'U_GROUP_CP' => append_sid('groupcp.'.$phpEx),
#
	'U_GROUP_CP' =>
#
#-----[ AFTER, ADD ]------------------------------------------
#
	'U_EASYMODS_LIST' => append_sid('easymods_list.'.$phpEx),
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]------------------------------------------
#
# NOTE --- The whole line to look for begins like this:
#						<td align="center" valign="top" nowrap="nowrap"><span class="mainmenu">&nbsp;<a href="{U_FAQ}"
#
{U_FAQ}
#
#-----[ IN-LINE FIND ]------------------------------------------
#
<span class="mainmenu">
#
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------
#
<span class="mainmenu">&nbsp;<a href="{U_EASYMODS_LIST}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_easymods.gif" width="12" height="13" border="0" alt="{L_EASYMODS_LIST}" hspace="3" />{L_EASYMODS_LIST}</a></span> &nbsp;
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Added by EasyMODs List MOD (begin)
$lang['EasyMODs'] = "EasyMODs";
$lang['EasyMODs_list'] = "EasyMODs List";
$lang['Viewing_EasyMODs_list'] = "Viewing EasyMODs List";
$lang['Mod_title'] = "Title";
// Added by EasyMODs List MOD (end)
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM