Skip to content

Commit

Permalink
Hotfix add title at pagePicker and filePicker modal window
Browse files Browse the repository at this point in the history
  • Loading branch information
zonky2 committed Oct 9, 2017
1 parent cca48dc commit a6e11de
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion system/modules/multicolumnwizard/MultiColumnWizard.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* @copyright Andreas Schempp 2011
* @copyright certo web & design GmbH 2011
* @copyright MEN AT WORK 2013
* @author Ingolf Steinhardt <info@e-spin.de>
* @author Ingolf Steinhardt <info@e-spin.de> 2017
* @package MultiColumnWizard
*/
class MultiColumnWizard extends Widget implements uploadable
Expand Down Expand Up @@ -886,6 +886,9 @@ protected function initializeWidget(&$arrField, $intRow, $strKey, $varValue)
$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>';

$arrField['strField'] = $this->strField . '__' . $strKey;

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

// Add the table import wizard
Expand Down

0 comments on commit a6e11de

Please sign in to comment.