Project

General

Profile

Bug #4468 ยป patch-scheduler.patch

Georg Ringer, 2009-09-07 08:36

View differences:

mod1/index.php (working copy)
$table[$tr][] = '<label for="task_disable">' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_common.xml:disable') . '</lang>';
$table[$tr][] =
'<input type="hidden" name="tx_scheduler[disable]" value="0" />
<input type="checkbox" name="tx_scheduler[disable]" value="1"' . ($taskInfo['disable'] == 1 ? ' checked="checked"' : '') . ' />';
<input type="checkbox" id="task_disable" name="tx_scheduler[disable]" value="1"' . ($taskInfo['disable'] == 1 ? ' checked="checked"' : '') . ' />';
$tableLayout[$tr] = array (
'tr' => array('<tr id="task_disable_row">', '</tr>'),
'defCol' => $defaultCell
......
$table[$tr][] = '<label for="task_multiple">' . $GLOBALS['LANG']->getLL('label.parallel.long') . '</lang>';
$table[$tr][] =
'<input type="hidden" name="tx_scheduler[multiple]" value="0" />
<input type="checkbox" name="tx_scheduler[multiple]" value="1"' . ($taskInfo['multiple'] == 1 ? ' checked="checked"' : '') . ' />';
<input type="checkbox" id="task_multiple" name="tx_scheduler[multiple]" value="1"' . ($taskInfo['multiple'] == 1 ? ' checked="checked"' : '') . ' />';
$tableLayout[$tr] = array (
'tr' => array('<tr id="task_multiple_row"' . $style . '>', '</tr>'),
'defCol' => $defaultCell
    (1-1/1)