function attachref_showform() { global $vars; $qm = get_qm(); $vars['page'] = $vars['refer']; $body = ini_get('file_uploads') ? attachref_form($vars['page']) : 'file_uploads disabled.'; return array('msg' => $qm->m['plg_attach']['upload'], 'body' => $body); }
function attachref_showform() { global $vars; global $_attachref_messages; $vars['page'] = $vars['refer']; $body = ini_get('file_uploads') ? attachref_form($vars['page']) : _('file_uploads disabled.'); return array('msg' => $_attachref_messages['msg_upload'], 'body' => $body); }