Abuse form intro text

ositoblanco - March 19, 2009 - 18:15
Project:abuse
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work
Description

The abuse form intro text seems not to be implemented yet. I Think adding the following code to the abuse_report_form function in abuse.module should do it:

<?php
  $abuse_form_pre
= variable_get('abuse_form_pre', '');
  if (!empty(
$abuse_form_pre)) {
   
$form['object_oid'] = array(
     
'#value' => $abuse_form_pre,
    ); 
  }
?>

#1

BTMash - October 23, 2009 - 17:52
Status:active» needs work

Hi there,

Not sure if you still use this module, but I'm guessing you are thinking of:

<?php
  $abuse_form_pre
= variable_get('abuse_form_pre', '');
  if (!empty(
$abuse_form_pre)) {
   
$form['object_oid'] = array(
     
'#type' => 'item',
     
'#value' => $abuse_form_pre,
    );
  }
?>

?

Doesn't sound like a bad idea.

#2

ositoblanco - October 26, 2009 - 16:12
 
 

Drupal is a registered trademark of Dries Buytaert.