http://www.gohotsprings.us/intime/index.php?module=Poetry&func=display&poem_id=2
Where my problem is .... I need to ADD a line (or two) between "admin" ('authorname') and the "*" (which is the first line of the inputed poem)
I put the "*" and a line feed when I entered the poem to give me the needed spacing.
Here is the area of the pnuser.php file where I cant get the space in ...
I've tried using
Code
$output->Linebreak(2);
Code
$output->TableStart(pnVarCensor($poem['poemtitle']));
$row = array();
$output->SetOutputMode(_PNH_RETURNOUTPUT);
$row[] = $output->Text(pnVarPrepForDisplay(_POETRYBYAUTHOR))
.$output->Text(pnVarPrepForDisplay($poem['authorname']));
$output->Linebreak(2);
$output->SetOutputMode(_PNH_KEEPOUTPUT);
$output->TableAddrow($row);
$row = array();
$output->SetOutputMode(_PNH_RETURNOUTPUT);
$row[] = $output->Text(pnVarPrepHTMLDisplay(nl2br($poem['poemtext'])));
$output->SetOutputMode(_PNH_KEEPOUTPUT);
$output->TableAddrow($row);
$output->TableEnd();
$output->Linebreak(2);
$output->Text(pnModCallHooks('item',
'display',
$poem_id,
pnModURL('Poetry',
'user',
'display',
array('poem_id' => $poem_id))));
return $output->GetOutput();
}
$row = array();
$output->SetOutputMode(_PNH_RETURNOUTPUT);
$row[] = $output->Text(pnVarPrepForDisplay(_POETRYBYAUTHOR))
.$output->Text(pnVarPrepForDisplay($poem['authorname']));
$output->Linebreak(2);
$output->SetOutputMode(_PNH_KEEPOUTPUT);
$output->TableAddrow($row);
$row = array();
$output->SetOutputMode(_PNH_RETURNOUTPUT);
$row[] = $output->Text(pnVarPrepHTMLDisplay(nl2br($poem['poemtext'])));
$output->SetOutputMode(_PNH_KEEPOUTPUT);
$output->TableAddrow($row);
$output->TableEnd();
$output->Linebreak(2);
$output->Text(pnModCallHooks('item',
'display',
$poem_id,
pnModURL('Poetry',
'user',
'display',
array('poem_id' => $poem_id))));
return $output->GetOutput();
}
I've been trying to tweak the code with some success, but I'm stuck here - any idea how to force a line break after authorname ?
http://www.gohotsprings.us/intime/index.php?module=Poetry&func=display&poem_id=2 :?:
--
Spadata
Go Hot Springs
On Time Christian Radio - - In Time Indie Radio
