diff --git a/module/bug/view/batchcreate.html.php b/module/bug/view/batchcreate.html.php index d75b37194f..a7be6c79d5 100644 --- a/module/bug/view/batchcreate.html.php +++ b/module/bug/view/batchcreate.html.php @@ -27,10 +27,10 @@
@@ -38,17 +38,17 @@ foreach(explode(',', $showFields) as $field) idAB;?> - '> bug->module;?> - '>bug->project;?> + '> bug->module;?> + '>bug->project;?> bug->openedBuild;?> bug->title;?> - '> bug->steps;?> - '> typeAB;?> - '> bug->pri;?> - '>bug->severity;?> - '> bug->os;?> - '>bug->browser;?> - '> bug->keywords;?> + '> bug->steps;?> + '> typeAB;?> + '> bug->pri;?> + '>bug->severity;?> + '> bug->os;?> + '>bug->browser;?> + '> bug->keywords;?> @@ -78,17 +78,17 @@ foreach(explode(',', $showFields) as $field) ?> - ' style='overflow:visible'> - ' style='overflow:visible'> + ' style='overflow:visible'> + ' style='overflow:visible'> - '> - '> bug->typeList, $type, "class='form-control'");?> - '> bug->priList, $pri, "class='form-control'");?> - '>bug->severityList, '', "class='form-control'");?> - '> bug->osList, $os, "class='form-control'");?> - '> bug->browserList, $browser, "class='form-control'");?> - '> + '> + '> bug->typeList, $type, "class='form-control'");?> + '> bug->priList, $pri, "class='form-control'");?> + '>bug->severityList, '', "class='form-control'");?> + '> bug->osList, $os, "class='form-control'");?> + '> bug->browserList, $browser, "class='form-control'");?> + '> @@ -105,22 +105,22 @@ foreach(explode(',', $showFields) as $field) ?> - ' style='overflow:visible'> - ' style='overflow:visible'> + ' style='overflow:visible'> + ' style='overflow:visible'> - '> - '> bug->typeList, $type, "class='form-control'");?> - '> bug->priList, $pri, "class='form-control'");?> - '>bug->severityList, '', "class='form-control'");?> - '> bug->osList, $os, "class='form-control'");?> - '> bug->browserList, $browser, "class='form-control'");?> - '> + '> + '> bug->typeList, $type, "class='form-control'");?> + '> bug->priList, $pri, "class='form-control'");?> + '>bug->severityList, '', "class='form-control'");?> + '> bug->osList, $os, "class='form-control'");?> + '> bug->browserList, $browser, "class='form-control'");?> + '> - +
@@ -128,17 +128,17 @@ foreach(explode(',', $showFields) as $field) %s - ' style='overflow:visible'> - ' style='overflow:visible'> + ' style='overflow:visible'> + ' style='overflow:visible'> - '> - '> bug->typeList, '', "class='form-control'");?> - '> bug->priList, '', "class='form-control'");?> - '>bug->severityList, '', "class='form-control'");?> - '> bug->osList, '', "class='form-control'");?> - '> bug->browserList, '', "class='form-control'");?> - '> + '> + '> bug->typeList, '', "class='form-control'");?> + '> bug->priList, '', "class='form-control'");?> + '>bug->severityList, '', "class='form-control'");?> + '> bug->osList, '', "class='form-control'");?> + '> bug->browserList, '', "class='form-control'");?> + '> diff --git a/module/bug/view/batchedit.html.php b/module/bug/view/batchedit.html.php index fbd81e8ae2..f5ffab4336 100644 --- a/module/bug/view/batchedit.html.php +++ b/module/bug/view/batchedit.html.php @@ -22,30 +22,30 @@
"> - - - - - - - - - - - - + + + + + + + + + + + + @@ -66,18 +66,18 @@ $columns = count($hasFields) + 2; ?> - - - + + + - - - - - - - - + + + + + + + - - + + - - - - - - - + + + + + + + @@ -59,16 +59,16 @@ foreach(explode(',', $showFields) as $field) - - + + - - - - - - - + + + + + + + @@ -82,35 +82,35 @@ foreach(explode(',', $showFields) as $field) - - + + - - - - - - - + + + + + + + - +
idAB;?>'>bug->type;?>'>bug->severityAB;?>'>bug->pri;?>= 10) echo "class='w-150px'"?>>bug->title;?> '>bug->productplan;?>'>bug->assignedTo;?>'>bug->status;?>'>bug->os;?>'>bug->browser;?>'>bug->keywords;?>'>bug->resolvedByAB;?>'>bug->resolutionAB;?>'>bug->type;?>'>bug->severityAB;?>'>bug->pri;?>= 10) echo "class='w-150px'"?>>bug->title;?> '>bug->productplan;?>'>bug->assignedTo;?>'>bug->status;?>'>bug->os;?>'>bug->browser;?>'>bug->keywords;?>'>bug->resolvedByAB;?>'>bug->resolutionAB;?>
>type, 'class=form-control');?>>severity, 'class=form-control');?>>pri, 'class=form-control');?>>type, 'class=form-control');?>>severity, 'class=form-control');?>>pri, 'class=form-control');?> title, 'class=form-control');?>' style='overflow:visible'>plan, "class='form-control chosen'");?>' style='overflow:visible'>assignedTo, "class='form-control chosen'");?>>bug->statusList, $bugs[$bugID]->status, 'class=form-control');?>>bug->osList, $bugs[$bugID]->os, 'class=form-control');?>>bug->browserList, $bugs[$bugID]->browser, 'class=form-control');?>>keywords, 'class=form-control');?>' style='overflow:visible'>resolvedBy, "class='form-control chosen'");?>> + ' style='overflow:visible'>plan, "class='form-control chosen'");?>' style='overflow:visible'>assignedTo, "class='form-control chosen'");?>>bug->statusList, $bugs[$bugID]->status, 'class=form-control');?>>bug->osList, $bugs[$bugID]->os, 'class=form-control');?>>bug->browserList, $bugs[$bugID]->browser, 'class=form-control');?>>keywords, 'class=form-control');?>' style='overflow:visible'>resolvedBy, "class='form-control chosen'");?>> - - - - - - + + + + + + @@ -47,16 +47,16 @@ foreach(explode(',', $showFields) as $field) - - - - - - + + + + + + - +
diff --git a/module/product/view/batchedit.html.php b/module/product/view/batchedit.html.php index 820d51f7e7..b84ce126de 100755 --- a/module/product/view/batchedit.html.php +++ b/module/product/view/batchedit.html.php @@ -20,10 +20,10 @@ '> @@ -33,12 +33,12 @@ foreach(explode(',', $showFields) as $field) idAB;?> product->name;?> product->code;?> '>product->PO;?>'>product->QD;?>'>product->RD;?>'>product->type;?>'>product->status;?>'>product->desc;?>'>product->PO;?>'>product->QD;?>'>product->RD;?>'>product->type;?>'>product->status;?>'>product->desc;?> product->order;?>
name, "class='form-control'");?> code, "class='form-control'");?>' style='overflow:visible'>PO, "class='form-control chosen'");?>' style='overflow:visible'>QD, "class='form-control chosen'");?>' style='overflow:visible'>RD, "class='form-control chosen'");?>'>product->typeList, $products[$productID]->type, "class='form-control'");?>'>product->statusList, $products[$productID]->status, "class='form-control'");?>'>desc), "rows='1' class='form-control autosize'");?>' style='overflow:visible'>PO, "class='form-control chosen'");?>' style='overflow:visible'>QD, "class='form-control chosen'");?>' style='overflow:visible'>RD, "class='form-control chosen'");?>'>product->typeList, $products[$productID]->type, "class='form-control'");?>'>product->statusList, $products[$productID]->status, "class='form-control'");?>'>desc), "rows='1' class='form-control autosize'");?> order, "class='form-control'");?>
createLink('custom', 'ajaxSaveCustom', 'module=product§ion=custom&key=batchEditFields')?> diff --git a/module/project/view/batchedit.html.php b/module/project/view/batchedit.html.php index ada21ae14c..696b489ef8 100755 --- a/module/project/view/batchedit.html.php +++ b/module/project/view/batchedit.html.php @@ -21,12 +21,12 @@ 5) ? 'w-150px' : ''; +$minWidth = (count($visibleFields) > 5) ? 'w-150px' : ''; ?>
'> @@ -35,17 +35,17 @@ $minWidth = (count($hasFields) > 5) ? 'w-150px' : ''; - - - - - - + + + + + + - - - + + + @@ -54,17 +54,17 @@ $minWidth = (count($hasFields) > 5) ? 'w-150px' : ''; - - - - - - + + + + + + - - - + + - +
idAB;?> project->name;?> project->code;?> '>project->PM;?>'>project->PO;?>'>project->QD;?>'>project->RD;?>'>project->type;?>'>project->status;?>'>project->PM;?>'>project->PO;?>'>project->QD;?>'>project->RD;?>'>project->type;?>'>project->status;?> project->begin;?> project->end;?> '> project->desc;?>'>project->teamname;?>'>project->days;?>'> project->desc;?>'>project->teamname;?>'>project->days;?> project->order;?>
name, "class='form-control'");?> code, "class='form-control'");?>' style='overflow:visible'>PM, "class='form-control chosen'");?>' style='overflow:visible'>PO, "class='form-control chosen'");?>' style='overflow:visible'>QD, "class='form-control chosen'");?>' style='overflow:visible'>RD, "class='form-control chosen'");?>'>project->typeList, $projects[$projectID]->type, 'class=form-control');?>'>project->statusList, $projects[$projectID]->status, 'class=form-control');?>' style='overflow:visible'>PM, "class='form-control chosen'");?>' style='overflow:visible'>PO, "class='form-control chosen'");?>' style='overflow:visible'>QD, "class='form-control chosen'");?>' style='overflow:visible'>RD, "class='form-control chosen'");?>'>project->typeList, $projects[$projectID]->type, 'class=form-control');?>'>project->statusList, $projects[$projectID]->status, 'class=form-control');?> begin, "class='form-control form-date' onchange='computeWorkDays(this.id)'");?> end, "class='form-control form-date' onchange='computeWorkDays(this.id)'");?>'> desc), "rows='1' class='form-control autosize'");?>'>team, "class='form-control'");?>'> + '> desc), "rows='1' class='form-control autosize'");?>'>team, "class='form-control'");?>'>
days, "class='form-control' autocomplete='off'");?> project->day;?> @@ -73,7 +73,7 @@ $minWidth = (count($hasFields) > 5) ? 'w-150px' : '';
order, "class='form-control' autocomplete='off'")?>
createLink('custom', 'ajaxSaveCustom', 'module=project§ion=custom&key=batchEditFields')?> diff --git a/module/story/view/batchcreate.html.php b/module/story/view/batchcreate.html.php index 08884d6da1..d955c01809 100644 --- a/module/story/view/batchcreate.html.php +++ b/module/story/view/batchcreate.html.php @@ -27,10 +27,10 @@
@@ -38,16 +38,16 @@ foreach(explode(',', $showFields) as $field)
idAB;?>'>story->module;?>'>story->plan;?>'>story->module;?>'>story->plan;?> story->title;?> '>story->source;?>'>story->spec;?>'>story->verify;?>'>story->pri;?>'>story->estimate;?>'>story->review;?>'>story->keywords;?>'>story->source;?>'>story->spec;?>'>story->verify;?>'>story->pri;?>'>story->estimate;?>'>story->review;?>'>story->keywords;?>
' style='overflow:visible'>' style='overflow:visible'>' style='overflow:visible'>' style='overflow:visible'> '>'>'>' style='overflow:visible'>'>'>story->reviewList, $needReview, "class='form-control'");?>'>'>'>'>' style='overflow:visible'>'>'>story->reviewList, $needReview, "class='form-control'");?>'>
' style='overflow:visible'>' style='overflow:visible'>' style='overflow:visible'>' style='overflow:visible'> '>'>'>' style='overflow:visible'>'>'>story->reviewList, 0, "class='form-control'");?>'>'>'>'>' style='overflow:visible'>'>'>story->reviewList, 0, "class='form-control'");?>'>
- - + + - - - - - - - + + + + + + +
%s' style='overflow:visible'>' style='overflow:visible'>' style='overflow:visible'>' style='overflow:visible'> '>'>'>' style='overflow:visible'>'>'>story->reviewList, 0, "class='form-control'");?>'>'>'>'>' style='overflow:visible'>'>'>story->reviewList, 0, "class='form-control'");?>'>
diff --git a/module/story/view/batchedit.html.php b/module/story/view/batchedit.html.php index 6d72963fb7..696ec05a1a 100644 --- a/module/story/view/batchedit.html.php +++ b/module/story/view/batchedit.html.php @@ -25,10 +25,10 @@
"> @@ -36,18 +36,18 @@ foreach(explode(',', $showFields) as $field) idAB;?> - '>story->module;?> - '>story->planAB;?> + '>story->module;?> + '>story->planAB;?> story->title;?> - '> story->estimateAB;?> - '> priAB;?> - '> story->assignedTo;?> - '> story->source;?> + '> story->estimateAB;?> + '> priAB;?> + '> story->assignedTo;?> + '> story->source;?> story->status;?> - '> story->stageAB;?> - '>story->closedBy;?> - >story->closedReason;?> - '>story->keywords;?> + '> story->stageAB;?> + '>story->closedBy;?> + >story->closedReason;?> + '>story->keywords;?> @@ -66,19 +66,19 @@ foreach(explode(',', $showFields) as $field) ?> - ' style='overflow:visible'> module, "class='form-control chosen'");?> - ' style='overflow:visible'> plan, "class='form-control chosen'");?> + ' style='overflow:visible'> module, "class='form-control chosen'");?> + ' style='overflow:visible'> plan, "class='form-control chosen'");?> title, 'class=form-control'); ?> - >estimate, "class='form-control' autocomplete='off'"); ?> - >pri, 'class=form-control');?> - ' style='overflow:visible'>assignedTo, "class='form-control chosen'");?> - >source, 'class=form-control');?> + >estimate, "class='form-control' autocomplete='off'"); ?> + >pri, 'class=form-control');?> + ' style='overflow:visible'>assignedTo, "class='form-control chosen'");?> + >source, 'class=form-control');?> story->statusList[$stories[$storyID]->status];?> - >stage, 'class="form-control"' . ($stories[$storyID]->status == 'draft' ? ' disabled="disabled"' : ''));?> - ' style='overflow:visible'>closedBy, "class='form-control" . ($stories[$storyID]->status == 'closed' ? " chosen'" : "' disabled='disabled'"));?> + >stage, 'class="form-control"' . ($stories[$storyID]->status == 'draft' ? ' disabled="disabled"' : ''));?> + ' style='overflow:visible'>closedBy, "class='form-control" . ($stories[$storyID]->status == 'closed' ? " chosen'" : "' disabled='disabled'"));?> status == 'closed'):?> - > + >
@@ -94,17 +94,17 @@ foreach(explode(',', $showFields) as $field)
- >closedReason, 'class="form-control" disabled="disabled"');?> + >closedReason, 'class="form-control" disabled="disabled"');?> - >keywords, 'class="form-control"');?> + >keywords, 'class="form-control"');?> -
+
- + diff --git a/module/task/view/batchcreate.html.php b/module/task/view/batchcreate.html.php index 585ff732ee..d282f7ee19 100644 --- a/module/task/view/batchcreate.html.php +++ b/module/task/view/batchcreate.html.php @@ -23,10 +23,10 @@
@@ -34,16 +34,16 @@ foreach(explode(',', $showFields) as $field) idAB;?> - '>task->module?> - '>task->story;?> + '>task->module?> + '>task->story;?> task->name;?> typeAB;?> - '>task->assignedTo;?> - '>task->estimateAB;?> - '>task->estStarted;?> - '>task->deadline;?> - '>task->desc;?> - '>task->pri;?> + '>task->assignedTo;?> + '>task->estimateAB;?> + '>task->estStarted;?> + '>task->deadline;?> + '>task->desc;?> + '>task->pri;?> @@ -70,8 +70,8 @@ foreach(explode(',', $showFields) as $field) - style='overflow:visible'>id, $i)'")?> - style='overflow: visible'> + style='overflow:visible'>id, $i)'")?> + style='overflow: visible'>
@@ -81,23 +81,23 @@ foreach(explode(',', $showFields) as $field) task->typeList, $type, 'class=form-control');?> - style='overflow:visible'> - > - > - > - > - >task->priList, $pri, 'class=form-control');?> + style='overflow:visible'> + > + > + > + > + >task->priList, $pri, 'class=form-control');?> - + - - + - - - - - - + + + + + +
%s style='overflow:visible'>id, \"%s\")'")?> style='overflow: visible'> + style='overflow:visible'>id, \"%s\")'")?> style='overflow: visible'>
@@ -107,12 +107,12 @@ foreach(explode(',', $showFields) as $field)
task->typeList, $type, 'class=form-control');?> style='overflow:visible'>>>>task->priList, $pri, 'class=form-control');?>>> style='overflow:visible'>>>>task->priList, $pri, 'class=form-control');?>>>
diff --git a/module/task/view/batchedit.html.php b/module/task/view/batchedit.html.php index 2d3d303d4e..d0a2a89537 100755 --- a/module/task/view/batchedit.html.php +++ b/module/task/view/batchedit.html.php @@ -23,10 +23,10 @@
"> @@ -34,21 +34,21 @@ foreach(explode(',', $showFields) as $field) idAB;?> - 10) echo "class='w-150px'"?>> task->name?> - '>task->module?> - '>task->assignedTo;?> + 10) echo "class='w-150px'"?>> task->name?> + '>task->module?> + '>task->assignedTo;?> typeAB;?> - '>task->status;?> - '>task->pri;?> - '>task->estimateAB;?> - '>task->consumedThisTime?> - '>task->leftAB?> - '>task->estStarted?> - '>task->deadline?> - '>task->finishedBy;?> - '>task->canceledBy;?> - '>task->closedBy;?> - '>task->closedReason;?> + '>task->status;?> + '>task->pri;?> + '>task->estimateAB;?> + '>task->consumedThisTime?> + '>task->leftAB?> + '>task->estStarted?> + '>task->deadline?> + '>task->finishedBy;?> + '>task->canceledBy;?> + '>task->closedBy;?> + '>task->closedReason;?> @@ -68,24 +68,24 @@ foreach(explode(',', $showFields) as $field) name, 'class=form-control');?> - ' style='overflow:visible'>module, "class='form-control chosen'")?> - ' style='overflow:visible'>assignedTo, "class='form-control chosen'");?> + ' style='overflow:visible'>module, "class='form-control chosen'")?> + ' style='overflow:visible'>assignedTo, "class='form-control chosen'");?> type, 'class=form-control');?> - >status, 'class=form-control');?> - >pri, 'class=form-control');?> - >estimate, "class='form-control text-center' autocomplete='off'");?> - > - >left, "class='form-control text-center' autocomplete='off'");?> - >estStarted, "class='form-control text-center form-date'");?> - >deadline, "class='form-control text-center form-date'");?> - ' style='overflow:visible'>finishedBy, "class='form-control chosen'");?> - ' style='overflow:visible'>canceledBy, "class='form-control chosen'");?> - ' style='overflow:visible'>closedBy, "class='form-control chosen'");?> - >task->reasonList, $tasks[$taskID]->closedReason, 'class=form-control');?> + >status, 'class=form-control');?> + >pri, 'class=form-control');?> + >estimate, "class='form-control text-center' autocomplete='off'");?> + > + >left, "class='form-control text-center' autocomplete='off'");?> + >estStarted, "class='form-control text-center form-date'");?> + >deadline, "class='form-control text-center form-date'");?> + ' style='overflow:visible'>finishedBy, "class='form-control chosen'");?> + ' style='overflow:visible'>canceledBy, "class='form-control chosen'");?> + ' style='overflow:visible'>closedBy, "class='form-control chosen'");?> + >task->reasonList, $tasks[$taskID]->closedReason, 'class=form-control');?> - +
diff --git a/module/testcase/view/batchcreate.html.php b/module/testcase/view/batchcreate.html.php index 84646d30ca..d8d18b55f6 100644 --- a/module/testcase/view/batchcreate.html.php +++ b/module/testcase/view/batchcreate.html.php @@ -32,10 +32,10 @@ @@ -43,14 +43,14 @@ foreach(explode(',', $showFields) as $field) idAB;?> - '>testcase->module;?> - '> testcase->story;?> + '>testcase->module;?> + '> testcase->story;?> testcase->title;?> testcase->type;?> - '> testcase->pri;?> - '>testcase->precondition;?> - '> testcase->keywords;?> - '> testcase->stage;?> + '> testcase->pri;?> + '>testcase->precondition;?> + '> testcase->keywords;?> + '> testcase->stage;?> @@ -65,18 +65,18 @@ foreach(explode(',', $showFields) as $field) ?> - ' style='overflow:visible'> - ' style='overflow:visible'> id : '', 'class="form-control chosen"');?> + ' style='overflow:visible'> + ' style='overflow:visible'> id : '', 'class="form-control chosen"');?> testcase->typeList, $type, "class=form-control");?> - '> testcase->priList, $pri, "class=form-control");?> - '> - '> - ' style='overflow:visible'>testcase->stageList, '', "class='form-control chosen' multiple");?> + '> testcase->priList, $pri, "class=form-control");?> + '> + '> + ' style='overflow:visible'>testcase->stageList, '', "class='form-control chosen' multiple");?> - +
@@ -84,14 +84,14 @@ foreach(explode(',', $showFields) as $field) %s - ' style='overflow:visible'> - ' style='overflow:visible'> + ' style='overflow:visible'> + ' style='overflow:visible'> testcase->typeList, $type, "class=form-control");?> - '> testcase->priList, $pri, "class=form-control");?> - '> - '> - ' style='overflow:visible'>testcase->stageList, '', "class='form-control' multiple");?> + '> testcase->priList, $pri, "class=form-control");?> + '> + '> + ' style='overflow:visible'>testcase->stageList, '', "class='form-control' multiple");?> diff --git a/module/testcase/view/batchedit.html.php b/module/testcase/view/batchedit.html.php index 0905829114..f33b1b9349 100644 --- a/module/testcase/view/batchedit.html.php +++ b/module/testcase/view/batchedit.html.php @@ -22,10 +22,10 @@
@@ -33,14 +33,14 @@ foreach(explode(',', $showFields) as $field) idAB;?> - '> priAB;?> - '>statusAB;?> - '>testcase->module;?> + '> priAB;?> + '>statusAB;?> + '>testcase->module;?> testcase->title;?> testcase->type;?> - '> testcase->precondition;?> - '>testcase->keywords;?> - '> testcase->stage;?> + '> testcase->precondition;?> + '>testcase->keywords;?> + '> testcase->stage;?> @@ -56,22 +56,22 @@ foreach(explode(',', $showFields) as $field) ?> - '> pri, 'class=form-control');?> - '>testcase->statusList, $cases[$caseID]->status, 'class=form-control');?> - ' style='overflow:visible'>module, "class='form-control chosen'");?> + '> pri, 'class=form-control');?> + '>testcase->statusList, $cases[$caseID]->status, 'class=form-control');?> + ' style='overflow:visible'>module, "class='form-control chosen'");?> title, 'class=form-control'); echo "*";?> type, 'class=form-control');?> - '>precondition, "rows='1' class='form-control autosize'")?> - '> keywords, "class='form-control'");?> - ' style='overflow:visible'>testcase->stageList, $cases[$caseID]->stage, "class='form-control chosen' multiple data-placeholder='{$lang->testcase->stage}'");?> + '>precondition, "rows='1' class='form-control autosize'")?> + '> keywords, "class='form-control'");?> + ' style='overflow:visible'>testcase->stageList, $cases[$caseID]->stage, "class='form-control chosen' multiple data-placeholder='{$lang->testcase->stage}'");?> -
+
- +
diff --git a/module/todo/config.php b/module/todo/config.php index 48f0048d01..9f9fad9670 100644 --- a/module/todo/config.php +++ b/module/todo/config.php @@ -18,8 +18,8 @@ $config->todo->editor->create = array('id' => 'desc', 'tools' => 'simpleTools'); $config->todo->editor->edit = array('id' => 'desc', 'tools' => 'simpleTools'); $config->todo->list = new stdclass(); -$config->todo->list->exportFields = 'id, account, date, begin, end, type, idvalue, pri, name, desc, status, private'; -$config->todo->list->batchCreateFields = 'type,pri,desc,beginAndEnd'; +$config->todo->list->exportFields = 'id, account, date, begin, end, type, idvalue, pri, name, desc, status, private'; +$config->todo->list->customBatchCreateFields = 'type,pri,desc,beginAndEnd'; $config->todo->custom = new stdclass(); -$config->todo->custom->batchcreate = 'type,pri,desc,beginAndEnd'; +$config->todo->custom->batchCreateFields = 'type,pri,desc,beginAndEnd'; diff --git a/module/todo/control.php b/module/todo/control.php index 26404f78a1..a223cee816 100644 --- a/module/todo/control.php +++ b/module/todo/control.php @@ -94,9 +94,9 @@ class todo extends control } /* Set Custom*/ - foreach(explode(',', $this->config->todo->list->batchCreateFields) as $field) $customFields[$field] = $this->lang->todo->$field; + foreach(explode(',', $this->config->todo->list->customBatchCreateFields) as $field) $customFields[$field] = $this->lang->todo->$field; $this->view->customFields = $customFields; - $this->view->showFields = $this->config->todo->custom->batchcreate; + $this->view->showFields = $this->config->todo->custom->batchCreateFields; $this->view->title = $this->lang->todo->common . $this->lang->colon . $this->lang->todo->batchCreate; $this->view->position[] = $this->lang->todo->common; diff --git a/module/todo/view/batchcreate.html.php b/module/todo/view/batchcreate.html.php index bef695fefb..81ddfa07dd 100755 --- a/module/todo/view/batchcreate.html.php +++ b/module/todo/view/batchcreate.html.php @@ -28,22 +28,22 @@ - - + + - - + + @@ -51,18 +51,18 @@ todo->batchCreate; $i++):?> - - + + - - +
idAB;?>'>todo->type;?>'>todo->pri;?>'>todo->type;?>'>todo->pri;?> todo->name;?>>todo->desc;?>'>todo->beginAndEnd;?>>todo->desc;?>'>todo->beginAndEnd;?>
>todo->typeList, '', "onchange='loadList(this.value, " . ($i + 1) . ")' class='form-control'");?>>todo->priList, $pri, 'class=form-control');?>>todo->typeList, '', "onchange='loadList(this.value, " . ($i + 1) . ")' class='form-control'");?>>todo->priList, $pri, 'class=form-control');?>
>> + >>
todo->periods['future'];?>
@@ -74,7 +74,7 @@
-createLink('custom', 'ajaxSaveCustom', 'module=todo§ion=custom&key=batchcreate')?> +createLink('custom', 'ajaxSaveCustom', 'module=todo§ion=custom&key=batchCreateFields')?>