##############################################################
## MOD Title: CBACK SupportTicket Assistant for phpBB Support Sites
## MOD Author: CBACK </b>assign_vars(array(
'USERNAME' => $username,
'SUBJECT' => $subject,
'MESSAGE' => $message,
'HTML_STATUS' => $html_status,
'BBCODE_STATUS' => sprintf($bbcode_status, '<a>', '</a>'),
'SMILIES_STATUS' => $smilies_status,
#
#-----[ BEFORE, ADD ]------------------------------------------
#
$aktuellesforum = $_GET['f'];
$aktuellermodus = $_GET['mode'];
$temp = 0;
$supp = 0;
$supportsystem = 'disabled';
foreach($stforums as $temp)
{
if ($temp == $aktuellesforum)
{
$supp++;
}
}
if (($aktuellermodus == 'newtopic') and ($supp > 0))
{
$template->assign_block_vars('cback_sts', array());
$supportsystem = 'engaged';
}
else
{
$template->assign_block_vars('cback_vorschau', array());
}
#
#-----[ FIND ]------------------------------------------
#
'L_NOTIFY_ON_REPLY' => $lang['Notify'],
'L_DELETE_POST' => $lang['Delete_post'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'CST_MODE' => $supportsystem,
'CST_HEAD' => $lang['cst_head'],
'CST_PHPBBVERSION' => $lang['cst_phpbbversion'],
'CST_PHPBBTYPE' => $lang['cst_phpbbtype'],
'CST_STANDARD' => $lang['cst_standard'],
'CST_PREMOD' => $lang['cst_premod'],
'CST_ANDDIST' => $lang['cst_anddist'],
'CST_MODS' => $lang['cst_mods'],
'CST_YES' => $lang['cst_yes'],
'CST_NO' => $lang['cst_no'],
'CST_KNOWLEDGE' => $lang['cst_knowledge'],
'CST_BEGINNER' => $lang['cst_beginner'],
'CST_BASICKNOW' => $lang['cst_basicknow'],
'CST_EXTENDED' => $lang['cst_extended'],
'CST_PROFI' => $lang['cst_profi'],
'CST_BEFOREERR' => $lang['cst_beforeerr'],
'CST_SELFSOLUTION' => $lang['cst_selfsolution'],
'CST_BOARDLINK' => $lang['cst_boardlink'],
'CST_SQLVER' => $lang['cst_sqlver'],
'CST_PHPVER' => $lang['cst_phpver'],
'CST_HEAD_MSG' => $lang['cst_head_msg'],
'CST_OPTIONAL' => $lang['cst_optional'],
#
#-----[ OPEN ]------------------------------------------
#
includes/functions_post.php
#
#-----[ FIND ]------------------------------------------
#
else if ($mode == 'newtopic' || ($mode == 'editpost' && $post_data['first_post']))
{
$error_msg .= (!empty($error_msg)) ? '<br>' . $lang['Empty_subject'] : $lang['Empty_subject'];
#
#-----[ REPLACE WITH ]------------------------------------------
#
else if ($mode == 'newtopic' || ($mode == 'editpost' && $post_data['first_post']))
{
message_die(GENERAL_MESSAGE, $lang['cst_errmessage']);
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
#
# This MOD was created with: CBACK MIRO ModEditor (
http://www.community.cback.de)
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie