You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
REQUEST_TOKEN gibt es nicht mehr in Contao 5.3. Habe ich durch System::getContainer()->get('contao.csrf.token_manager')->getDefaultTokenValue() ersetzt.
specialchars geht auch nicht. Habe ich ersetzt durch htmlspecialchars.
Image kann nicht mehr aus dem globalen Namensraum aufgerufen werden. Habe ich per use Statement importiert.
The text was updated successfully, but these errors were encountered:
Genau, die v2.0, welche auf https://extensions.contao.org/ aktuell unter "Catalog Manager" angezeigt wird. Lese aber gerade, dass die v2.0 deprecated ist und stattdessen die Version 3.0 verwendet werden soll. Damit hat sich die Frage erledigt. Danke!
public function editCatalogForm(DataContainer $dc) { return ($dc->value < 1) ? '' : ' <a href="contao/main.php?do=filterform&table=tl_catalog_form_fields&id=' . $dc->value . '&popup=1&nb=1&rt=' . REQUEST_TOKEN . '" title="' . sprintf(specialchars($GLOBALS['TL_LANG']['tl_content']['editalias'][1]), $dc->value) . '" style="padding-left:3px" onclick="Backend.openModalIframe({\'width\':768,\'title\':\'' . specialchars(str_replace("'", "\\'", sprintf($GLOBALS['TL_LANG']['tl_content']['editalias'][1], $dc->value))) . '\',\'url\':this.href});return false">' . \Image::getHtml('alias.gif', $GLOBALS['TL_LANG']['tl_content']['editalias'][0], 'style="vertical-align:top"') . '</a>'; }
System::getContainer()->get('contao.csrf.token_manager')->getDefaultTokenValue()
ersetzt.The text was updated successfully, but these errors were encountered: