##############################################################
## MOD Title: How To Display Announcement With Stickies
## MOD Author: Aiencran < cranportal@katamail.com > 
## MOD Description: This add-on allow user to display Announcements and Sticky Topic together. 
## MOD Version: 2.0.0
##
## Installation Level: Easy
## Installation Time: 1 Minutes
## Files To Edit: includes/functions_separate.php,
##		  language/lang_english/lang_main.php
## Included Files: (n/a, or list of included/required files)
##############################################################
## 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/
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

# 
#-----[ OPEN ]------------------------------------------ 
# 
includes/functions_separate.php

# 
#-----[ FIND ]------------------------------------------ 
# 
$dividers[$count_topics] = $lang['Announcements'];
$count_topics += $total_by_type[POST_ANNOUNCE];

$dividers[$count_topics] = $lang['Sticky_Topics'];
$count_topics += $total_by_type[POST_STICKY];

# 
#-----[ REPLACE WITH ]------------------------------------
#
$dividers[$count_topics] = $lang['Announcements_and_Sticky'];
$count_topics += $total_by_type[POST_ANNOUNCE] + $total_by_type[POST_STICKY];

# 
#-----[ OPEN ]------------------------------------------ 
# 
language/lang_english/lang_main.php

# 
#-----[ FIND ]------------------------------------------ 
# 
//
// That's all, Folks!
// -------------------------------------------------

# 
#-----[ BEFORE, ADD ]------------------------------------
#
$lang['Announcements_and_Sticky'] = 'Announcements and Sticky Topics';

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM 