Skip to content

Commit 4a7cabd

Browse files
authored
Merge pull request #234 from zonky2/Hotfix_add_title_at_pagePicker_and_filePicker_modal_window
Hotfix add title at pagePicker and filePicker modal window
2 parents 41665d1 + a6e11de commit 4a7cabd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

system/modules/multicolumnwizard/MultiColumnWizard.php

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* @copyright Andreas Schempp 2011
1818
* @copyright certo web & design GmbH 2011
1919
* @copyright MEN AT WORK 2013
20-
* @author Ingolf Steinhardt <[email protected]>
20+
* @author Ingolf Steinhardt <[email protected]> 2017
2121
* @package MultiColumnWizard
2222
*/
2323
class MultiColumnWizard extends Widget implements uploadable
@@ -886,6 +886,9 @@ protected function initializeWidget(&$arrField, $intRow, $strKey, $varValue)
886886
$xlabel .= ' <a href="' . $strContaoPrefix . 'files.php' . $path . '" title="' . specialchars($GLOBALS['TL_LANG']['MSC']['fileManager']) . '" data-lightbox="files 765 80%">' . $this->generateImage('filemanager.gif', $GLOBALS['TL_LANG']['MSC']['fileManager'], 'style="vertical-align:text-bottom;"') . '</a>';
887887

888888
$arrField['strField'] = $this->strField . '__' . $strKey;
889+
890+
// Add title at modal window.
891+
$GLOBALS['TL_DCA'][$this->strTable]['fields'][$arrField['strField']]['label'][0] = (is_array($arrField['label']) && $arrField['label'][0] != '') ? $arrField['label'][0] : $strKey;
889892
}
890893

891894
// Add the table import wizard

0 commit comments

Comments
 (0)