phpBB

Code Changes

File: includes/functions_posting.php

  Unmodified   Added   Modified   Removed
Line 770Line 770

// Some default template variables
$template->assign_vars(array(


// Some default template variables
$template->assign_vars(array(

		'S_SHOW_ATTACH_BOX'	=> $show_attach_box,
'S_HAS_ATTACHMENTS' => count($attachment_data),
'FILESIZE' => $config['max_filesize'],
'FILE_COMMENT' => (isset($filename_data['filecomment'])) ? $filename_data['filecomment'] : '',


		'S_SHOW_ATTACH_BOX'				=> $show_attach_box,
'S_HAS_ATTACHMENTS' => count($attachment_data),
'FILESIZE' => $config['max_filesize'],
'FILE_COMMENT' => (isset($filename_data['filecomment'])) ? $filename_data['filecomment'] : '',
'MAX_ATTACHMENT_FILESIZE' => $config['max_filesize'] > 0 ? $user->lang('MAX_ATTACHMENT_FILESIZE', get_formatted_filesize($config['max_filesize'])) : '',

	));

if (count($attachment_data))

	));

if (count($attachment_data))

Line 2399Line 2400
					'notification.type.quote',
'notification.type.bookmark',
'notification.type.post',

					'notification.type.quote',
'notification.type.bookmark',
'notification.type.post',

 
					'notification.type.forum',

				), $notification_data);
break;


				), $notification_data);
break;


Line 2417Line 2419
					'notification.type.bookmark',
'notification.type.topic',
'notification.type.post',

					'notification.type.bookmark',
'notification.type.topic',
'notification.type.post',

 
					'notification.type.forum',

				), $notification_data);
break;
}

				), $notification_data);
break;
}