+ &$GLOBALS['TL_LANG']['tl_theme']['templateSelection'],
@@ -38,14 +39,17 @@ $GLOBALS['TL_DCA']['tl_theme']['fields']['templateSelection'] = array
)
)
);
+
?>
-```
+
+
Usage with callback
===================
-```php
-
+ &$GLOBALS['TL_LANG']['tl_table']['anything'],
@@ -57,8 +61,10 @@ $GLOBALS['TL_DCA']['tl_table']['fields']['anything'] = array
'columnsCallback' => array('Class', 'Method')
)
);
+
?>
-```
+
+
More information
================
diff --git a/system/modules/multicolumnwizard/LICENSE.txt b/system/modules/multicolumnwizard/LICENSE.txt
index 6d58784..62323ce 100644
--- a/system/modules/multicolumnwizard/LICENSE.txt
+++ b/system/modules/multicolumnwizard/LICENSE.txt
@@ -18,4 +18,4 @@
* Author Andreas Schempp - | ||
' . $objTemplate->parse() . ' | '; - } - else + protected function getMcWDatePickerString($strId, $strKey, $rgxp) + { + if (version_compare(VERSION, '2.11', '<')) + { + $format = $GLOBALS['TL_CONFIG'][$rgxp . 'Format']; + switch ($rgxp) { - foreach ($arrItem as $itemKey => $itemValue) - { - $arrReturnItems[$itemKey] = '' . $itemValue['entry'] . ' | '; - } - - $return .= implode('', $arrReturnItems); - } - + case 'datim': + $time = ",\n timePicker:true"; + break; + case 'time': + $time = ",\n timePickerOnly:true"; + break; - $return .= 'buttonPos != '') ? ' valign="' . $this->buttonPos . '" ' : '') . '>' . $strHidden; + default: + $time = ''; + break; + } - // Add buttons - foreach ($this->arrButtons as $button => $image) + return ' + '; + } + else + { + $format = Date::formatToJs($GLOBALS['TL_CONFIG'][$rgxp . 'Format']); + switch ($rgxp) { + case 'datim': + $time = ",\n timePicker:true"; + break; - if ($image === false) - { - continue; - } + case 'time': + $time = ",\n pickOnly:\"time\""; + break; - $return .= '' . $this->generateImage($image, $GLOBALS['TL_LANG'][$this->strTable]['wz_' . $button], 'class="tl_listwizard_img"') . ' '; + default: + $time = ''; + break; } - $return .= ' |
+ | |
' . $itemValue['entry'] . ' | '; + } + + // insert buttons at the very end + $return .= 'buttonPos != '') ? ' valign="' . $this->buttonPos . '" ' : '') . '>' . $strHidden; + $return .= $this->generateButtonString($k); + $return .= ' | '; + $return .= '