|
@@ -1221,7 +1221,7 @@ if ($action == 'create') {
|
|
|
print '<tr><td><span class="fieldrequired">'.$langs->trans("Date").'</span></td><td class="valignmiddle height30 small"><input type="checkbox" id="fullday" name="fullday" '.(GETPOST('fullday') ? ' checked' : '').'><label for="fullday">'.$langs->trans("EventOnFullDay").'</label>';
|
|
|
|
|
|
// Recurring event
|
|
|
- $userepeatevent = ($conf->global->MAIN_FEATURES_LEVEL == 2 ? 1 : 0);
|
|
|
+ $userepeatevent = (getDolGlobalInt('MAIN_FEATURES_LEVEL') >= 1 ? 1 : 0);
|
|
|
if ($userepeatevent) {
|
|
|
// Repeat
|
|
|
//print '<tr><td></td><td colspan="3" class="opacitymedium">';
|
|
@@ -1477,6 +1477,7 @@ if ($action == 'create') {
|
|
|
|
|
|
print '</td></tr>';
|
|
|
|
|
|
+ // Task
|
|
|
print '<tr><td class="titlefieldcreate">'.$langs->trans("Task").'</td><td id="project-task-input-container" >';
|
|
|
print img_picto('', 'projecttask', 'class="paddingrightonly"');
|
|
|
$projectsListId = false;
|
|
@@ -1486,7 +1487,7 @@ if ($action == 'create') {
|
|
|
|
|
|
$tid = GETPOSTISSET("projecttaskid") ? GETPOST("projecttaskid", 'int') : (GETPOSTISSET("taskid") ? GETPOST("taskid", 'int') : '');
|
|
|
|
|
|
- $formproject->selectTasks((!empty($societe->id) ? $societe->id : -1), $tid, 'taskid', 24, 0, '1', 1, 0, 0, 'maxwidth500', $projectsListId);
|
|
|
+ $formproject->selectTasks((!empty($societe->id) ? $societe->id : -1), $tid, 'taskid', 24, 0, '1', 1, 0, 0, 'maxwidth500 widthcentpercentminusxx', $projectsListId);
|
|
|
print '</td></tr>';
|
|
|
}
|
|
|
|