Index: typo3/sysext/scheduler/res/tx_scheduler_be.css
===================================================================
--- typo3/sysext/scheduler/res/tx_scheduler_be.css (revision 8160)
+++ typo3/sysext/scheduler/res/tx_scheduler_be.css (working copy)
@@ -13,27 +13,12 @@
text-decoration: none;
}
-.tx_scheduler_mod1 .tx_scheduler_task_list {
- width: 100%;
-}
-
-.tx_scheduler_mod1 td {
- vertical-align: top;
-}
-.tx_scheduler_mod1 td.cell {
- padding: 2px 4px;
-}
.tx_scheduler_mod1 td.right {
text-align: right;
}
.tx_scheduler_mod1 tr.disabled td {
color: #666;
}
-.tx_scheduler_mod1 .bgColor2 td {
- text-align: left;
- font-weight: bold;
- color: #fff;
-}
.tx_scheduler_mod1 .late {
color: #f00;
font-weight: bold;
@@ -42,14 +27,19 @@
display: block;
width: 200px;
}
-.tx_scheduler_mod1 input{}
+.tx_scheduler_mod1 table.typo3-usersettings td {
+ padding: 2px;
+}
+.tx_scheduler_mod1 table.typo3-usersettings td.td-input {
+ width: 400px;
+}
.tx_scheduler_mod1 select {
margin-bottom: 1.2em;
width: 200px;
}
.tx_scheduler_mod1 input.wide,
.tx_scheduler_mod1 select.wide {
- width: 400px;
+ width: 350px;
}
.tx_scheduler_mod1 input.checkboxes {
width: auto;
@@ -67,11 +57,6 @@
font-weight: bold;
}
-.tx_scheduler_mod1 th input,
-.tx_scheduler_mod1 td input {
- margin-bottom: 2px;
-}
-
/* Definition for BE function "Setup check" */
.info-block {
margin: 25px 0px 0px 0px;
Index: typo3/sysext/scheduler/mod1/index.php
===================================================================
--- typo3/sysext/scheduler/mod1/index.php (revision 8160)
+++ typo3/sysext/scheduler/mod1/index.php (working copy)
@@ -471,14 +471,14 @@
} else {
// Initialise table layout
$tableLayout = array (
- 'table' => array ('
'),
+ 'table' => array (''),
'0' => array (
- 'tr' => array('', '
'),
- 'defCol' => array('', ' | ')
+ 'tr' => array(''),
+ 'defCol' => array('', ' | ')
),
'defRow' => array (
- 'tr' => array('', '
'),
- 'defCol' => array('', ' | ')
+ 'tr' => array('', '
'),
+ 'defCol' => array('', ' | ')
)
);
$table = array();
@@ -727,7 +727,7 @@
// Define table layout for add/edit form
$tableLayout = array (
- 'table' => array (''),
+ 'table' => array (''),
);
// Define a style for hiding
@@ -744,23 +744,26 @@
$table = array();
$tr = 0;
- $defaultCell = array('', ' | ');
+ $defaultCell = array('', ' | ');
// Disable checkbox
- $table[$tr][] = t3lib_BEfunc::cshItem($this->cshKey, 'task_disable', $this->backPath, '|', false, 'margin-bottom:0px;');
- $table[$tr][] = '';
+ $cellContent = t3lib_BEfunc::cshItem($this->cshKey, 'task_disable', $this->backPath, '|', false, 'margin-bottom:0px;');
+ $cellContent .= '';
+ $table[$tr][] = $cellContent;
$table[$tr][] =
'
';
$tableLayout[$tr] = array (
'tr' => array('', '
'),
- 'defCol' => $defaultCell
+ 'defCol' => $defaultCell,
+ '0' => array('', ' | ')
);
$tr++;
// Task class selector
- $table[$tr][] = t3lib_BEfunc::cshItem($this->cshKey, 'task_class', $this->backPath, '|', false, 'margin-bottom:0px;');
- $table[$tr][] = '';
+ $cellContent = t3lib_BEfunc::cshItem($this->cshKey, 'task_class', $this->backPath, '|', false, 'margin-bottom:0px;');
+ $cellContent .= '';
+ $table[$tr][] = $cellContent;
// On editing, don't allow changing of the task class, unless it was not valid
if ($this->submittedData['uid'] > 0 && !empty($taskInfo['class'])) {
$cell = $registeredClasses[$taskInfo['class']]['title'] . ' (' . $registeredClasses[$taskInfo['class']]['extension'] . ')';
@@ -778,13 +781,15 @@
// Make sure each row has a unique id, for manipulation with JS
$tableLayout[$tr] = array (
'tr' => array('', '
'),
- 'defCol' => $defaultCell
+ 'defCol' => $defaultCell,
+ '0' => array('', ' | ')
);
$tr++;
// Task type selector
- $table[$tr][] = t3lib_BEfunc::cshItem($this->cshKey, 'task_type', $this->backPath, '|', false, 'margin-bottom:0px;');
- $table[$tr][] = '';
+ $cellContent = t3lib_BEfunc::cshItem($this->cshKey, 'task_type', $this->backPath, '|', false, 'margin-bottom:0px;');
+ $cellContent .= '';
+ $table[$tr][] = $cellContent;
$table[$tr][] =
'';
$tableLayout[$tr] = array (
'tr' => array('', '
'),
- 'defCol' => $defaultCell
+ 'defCol' => $defaultCell,
+ '0' => array('', ' | '),
);
$tr++;
// Start date/time field
// NOTE: datetime fields need a special id naming scheme
- $table[$tr][] = t3lib_BEfunc::cshItem($this->cshKey, 'task_start', $this->backPath, '|', false, 'margin-bottom:0px;');
- $table[$tr][] = '';
+ $cellContent = t3lib_BEfunc::cshItem($this->cshKey, 'task_start', $this->backPath, '|', false, 'margin-bottom:0px;');
+ $cellContent .= '';
+ $table[$tr][] = $cellContent;
$table[$tr][] = '' .
t3lib_iconWorks::getSpriteIcon(
'actions-edit-pick-date',
array(
'style' => 'cursor:pointer;',
'id' => 'picker-tceforms-datetimefield-task_start'
- ));
-
+ )
+ );
$tableLayout[$tr] = array (
- 'tr' => array('', '
'),
- 'defCol' => $defaultCell
- );
+ 'tr' => array('', '
'),
+ 'defCol' => $defaultCell,
+ '0' => array('', ' | ')
+ );
$tr++;
// End date/time field
// NOTE: datetime fields need a special id naming scheme
- $table[$tr][] = t3lib_BEfunc::cshItem($this->cshKey, 'task_end', $this->backPath, '|', false, 'margin-bottom:0px;');
- $table[$tr][] = '';
+ $cellContent = t3lib_BEfunc::cshItem($this->cshKey, 'task_end', $this->backPath, '|', false, 'margin-bottom:0px;');
+ $cellContent .= '';
+ $table[$tr][] = $cellContent;
$table[$tr][] = '' .
t3lib_iconWorks::getSpriteIcon(
'actions-edit-pick-date',
array(
'style' => 'cursor:pointer;',
'id' => 'picker-tceforms-datetimefield-task_end'
- ));
-
+ )
+ );
$tableLayout[$tr] = array (
'tr' => array('', '
'),
- 'defCol' => $defaultCell
+ 'defCol' => $defaultCell,
+ '0' => array('', ' | '),
);
$tr++;
// Frequency input field
- $table[$tr][] = t3lib_BEfunc::cshItem($this->cshKey, 'task_frequency', $this->backPath, '|', false, 'margin-bottom:0px;');
- $table[$tr][] = '';
+ $cellContent = t3lib_BEfunc::cshItem($this->cshKey, 'task_frequency', $this->backPath, '|', false, 'margin-bottom:0px;');
+ $cellContent .= '';
+ $table[$tr][] = $cellContent;
$cell = '';
$table[$tr][] = $cell;
$tableLayout[$tr] = array (
'tr' => array('', '
'),
- 'defCol' => $defaultCell
+ 'defCol' => $defaultCell,
+ '0' => array('', ' | '),
);
$tr++;
// Multiple execution selector
- $table[$tr][] = t3lib_BEfunc::cshItem($this->cshKey, 'task_multiple', $this->backPath, '|', false, 'margin-bottom:0px;');
- $table[$tr][] = '';
+ $cellContent = t3lib_BEfunc::cshItem($this->cshKey, 'task_multiple', $this->backPath, '|', false, 'margin-bottom:0px;');
+ $cellContent .= '';
+ $table[$tr][] = $cellContent;
$table[$tr][] =
'
';
$tableLayout[$tr] = array (
'tr' => array('', '
'),
- 'defCol' => $defaultCell
+ 'defCol' => $defaultCell,
+ '0' => array('', ' | ')
);
$tr++;
@@ -866,12 +880,14 @@
// Add each field to the display, if there are indeed any
if (isset($fields) && is_array($fields)) {
foreach ($fields as $fieldID => $fieldInfo) {
- $table[$tr][] = t3lib_BEfunc::cshItem($fieldInfo['cshKey'], $fieldInfo['cshLabel'], $this->backPath, '|', false, 'margin-bottom:0px;');
- $table[$tr][] = '';
+ $cellContent = t3lib_BEfunc::cshItem($fieldInfo['cshKey'], $fieldInfo['cshLabel'], $this->backPath, '|', false, 'margin-bottom:0px;');
+ $cellContent .= '';
+ $table[$tr][] = $cellContent;
$table[$tr][] = $fieldInfo['code'];
$tableLayout[$tr] = array (
'tr' => array(''),
- 'defCol' => $defaultCell
+ 'defCol' => $defaultCell,
+ '0' => array('', ' | ')
);
$tr++;
}
@@ -879,10 +895,12 @@
}
// Render the add/edit task form
+ $content .= '';
- $content .= ' '
- . '';
+ $content .= ' '
+ . '
';
// Display information about server time usage
$content .= $this->displayServerTime();
@@ -981,32 +999,32 @@
// Initialise table layout
$tableLayout = array(
'table' => array(
- ''
+ ''
),
'0' => array(
- 'tr' => array('', '
'),
- 'defCol' => array('', ' | '),
- '1' => array('', ' | ')
+ 'tr' => array(''),
+ 'defCol' => array('', ' | '),
+ '1' => array('', ' | ')
),
'defRow' => array(
- 'tr' => array('', '
'),
- 'defCol' => array('', ' | '),
- '1' => array('', ' | '),
- '2' => array('', ' | '),
+ 'tr' => array('', '
'),
+ 'defCol' => array('', ' | '),
+ '1' => array('', ' | '),
+ '2' => array('', ' | '),
)
);
$disabledTaskRow = array (
- 'tr' => array('', '
'),
- 'defCol' => array('', ' | '),
- '1' => array('', ' | '),
- '2' => array('', ' | '),
+ 'tr' => array('', '
'),
+ 'defCol' => array('', ' | '),
+ '1' => array('', ' | '),
+ '2' => array('', ' | '),
);
$rowWithSpan = array (
- 'tr' => array('', '
'),
- 'defCol' => array('', ' | '),
- '1' => array('', ' | '),
- '2' => array('', ' | '),
- '3' => array('', ' | '),
+ 'tr' => array('', '
'),
+ 'defCol' => array('', ' | '),
+ '1' => array('', ' | '),
+ '2' => array('', ' | '),
+ '3' => array('', ' | '),
);
$table = array();
$tr = 0;