WBCE CMS – Way Better Content Editing.
Du bist nicht angemeldet.
Mich hat es gestört, dass die Felder bei Textareas in der Infobox nicht umgebrochen werden, obwohl diese im Original mehrzeilig eingegeben werden.
Abhilfe den Code der function.php auf Zeile 1205 wie folgt abändern:
$custom_output1 ='';
if (($usecustom1 <> 0 && $tmp['custom1']<>'' ))
$custom_output1 .= str_replace(array('[CUSTOM_NAME]','[CUSTOM_CONTENT]'), array($custom1, nl2br($tmp['custom1'])),$customtemplate1).$newline;
$custom_output2 ='';
if (($usecustom2 <> 0 && $tmp['custom2']<>'' ))
$custom_output2 .= str_replace(array('[CUSTOM_NAME]','[CUSTOM_CONTENT]'), array($custom2, nl2br($tmp['custom2'])),$customtemplate2).$newline;
$custom_output3 ='';
if (($usecustom3 <> 0 && $tmp['custom3']<>'' ))
$custom_output3 .= str_replace(array('[CUSTOM_NAME]','[CUSTOM_CONTENT]'), array($custom3, nl2br($tmp['custom3'])),$customtemplate3).$newline;
$custom_output4 ='';
if (($usecustom4 <> 0 && $tmp['custom4']<>'' ))
$custom_output4 .= str_replace(array('[CUSTOM_NAME]','[CUSTOM_CONTENT]'), array($custom4, nl2br($tmp['custom4'])),$customtemplate4).$newline;
$custom_output5 ='';
if (($usecustom5 <> 0 && $tmp['custom5']<>'' ))
$custom_output5 .= str_replace(array('[CUSTOM_NAME]','[CUSTOM_CONTENT]'), array($custom5, nl2br($tmp['custom5'])),$customtemplate5).$newline;
$custom_output6 ='';
if (($usecustom6 <> 0 && $tmp['custom6']<>'' ))
$custom_output6 .= str_replace(array('[CUSTOM_NAME]','[CUSTOM_CONTENT]'), array($custom6, nl2br($tmp['custom6'])),$customtemplate6).$newline;
$custom_output7 ='';
if (($usecustom7 <> 0 && $tmp['custom7']<>'' ))
$custom_output7 .= str_replace(array('[CUSTOM_NAME]','[CUSTOM_CONTENT]'), array($custom7, nl2br($tmp['custom7'])),$customtemplate7).$newline;
$custom_output8 ='';
if (($usecustom8 <> 0 && $tmp['custom8']<>'' ))
$custom_output8 .= str_replace(array('[CUSTOM_NAME]','[CUSTOM_CONTENT]'), array($custom8, nl2br($tmp['custom8'])),$customtemplate8).$newline;
$custom_output9 ='';
if (($usecustom9 <> 0 && $tmp['custom9']<>'' ))
$custom_output9 .= str_replace(array('[CUSTOM_NAME]','[CUSTOM_CONTENT]'), array($custom9, nl2br($tmp['custom9'])),$customtemplate9).$newline;
Wie weit das einfacher geht, weiß ich nicht, und ev könnte man das auch in Zukünftigen Versionen berücksichtigen.
Offline
Seiten: 1