Resolve merge conflicts
This commit is contained in:
commit
2a09d4821b
@ -764,18 +764,18 @@ if ($action == 'create' && $user->rights->projet->creer && (empty($object->third
|
||||
print '<tr><td class="tdtop">'.$langs->trans("Description").'</td>';
|
||||
print '<td>';
|
||||
|
||||
if (empty($conf->global->FCKEDITOR_ENABLE_SOCIETE)) {
|
||||
print '<textarea name="description" class="quatrevingtpercent" rows="'.ROWS_4.'">'.$description.'</textarea>';
|
||||
} else {
|
||||
// WYSIWYG editor
|
||||
include_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php';
|
||||
$cked_enabled = (!empty($conf->global->FCKEDITOR_ENABLE_DETAILS) ? $conf->global->FCKEDITOR_ENABLE_DETAILS : 0);
|
||||
if (!empty($conf->global->MAIN_INPUT_DESC_HEIGHT)) {
|
||||
$nbrows = $conf->global->MAIN_INPUT_DESC_HEIGHT;
|
||||
}
|
||||
$doleditor = new DolEditor('description', $object->description, '', 80, 'dolibarr_details', '', false, true, $cked_enabled, $nbrows);
|
||||
print $doleditor->Create();
|
||||
}
|
||||
if (empty($conf->global->FCKEDITOR_ENABLE_SOCIETE)) {
|
||||
print '<textarea name="description" class="quatrevingtpercent" rows="'.ROWS_4.'">'.$description.'</textarea>';
|
||||
} else {
|
||||
// WYSIWYG editor
|
||||
include_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php';
|
||||
$cked_enabled = (!empty($conf->global->FCKEDITOR_ENABLE_DETAILS) ? $conf->global->FCKEDITOR_ENABLE_DETAILS : 0);
|
||||
if (!empty($conf->global->MAIN_INPUT_DESC_HEIGHT)) {
|
||||
$nbrows = $conf->global->MAIN_INPUT_DESC_HEIGHT;
|
||||
}
|
||||
$doleditor = new DolEditor('description', $object->description, '', 80, 'dolibarr_details', '', false, true, $cked_enabled, $nbrows);
|
||||
print $doleditor->Create();
|
||||
}
|
||||
|
||||
print '</td></tr>';
|
||||
|
||||
|
||||
@ -549,7 +549,7 @@ if ($id > 0 || !empty($ref)) {
|
||||
|
||||
// Description
|
||||
print '<td class="tdtop">'.$langs->trans("Description").'</td><td colspan="3">';
|
||||
print dol_htmlentitiesbr($object->description);
|
||||
print dol_htmlentitiesbr($object->description);
|
||||
print '</td></tr>';
|
||||
|
||||
print '</table>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user