Skip to content

Hotfix add title at pagePicker and filePicker modal window #234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 <[email protected]>
* @author Ingolf Steinhardt <[email protected]> 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