Code : Tout sélectionner
// Not able to reply to unapproved posts/topics
// TODO: add more descriptive language key
if ($auth->acl_get('m_approve', $forum_id) && ((($mode == 'reply' || $mode == 'bump') && !$post_data['topic_approved']) || ($mode == 'quote' && !$post_data['post_approved'])))
{
trigger_error(($mode == 'reply' || $mode == 'bump') ? 'TOPIC_UNAPPROVED' : 'POST_UNAPPROVED');
//------------------------------------------------
// Introduciator - Begin
include($phpbb_root_path . 'includes/functions_introduciator.' . $phpEx);
introduciator_verify_posting($user,$mode,$forum_id,$post_id,$post_data);
// Introduciator - End
//------------------------------------------------
}
Code : Tout sélectionner
// Not able to reply to unapproved posts/topics
// TODO: add more descriptive language key
if ($auth->acl_get('m_approve', $forum_id) && ((($mode == 'reply' || $mode == 'bump') && !$post_data['topic_approved']) || ($mode == 'quote' && !$post_data['post_approved'])))
{
trigger_error(($mode == 'reply' || $mode == 'bump') ? 'TOPIC_UNAPPROVED' : 'POST_UNAPPROVED');
}
//------------------------------------------------
// Introduciator - Begin
include($phpbb_root_path . 'includes/functions_introduciator.' . $phpEx);
introduciator_verify_posting($user,$mode,$forum_id,$post_id,$post_data);
// Introduciator - End
//------------------------------------------------