[FEATURE] Make CSS for sysext form configurable
[Packages/TYPO3.CMS.git] / typo3 / sysext / form / Classes / View / Confirmation / Confirmation.php
index 373b0f8..69df809 100644 (file)
@@ -92,7 +92,6 @@ class tx_form_View_Confirmation extends tx_form_View_Confirmation_Element_Contai
         * @return string XHTML string containing the whole form
         */
        public function get() {
-               $this->setCss();
                $message = $this->getMessage();
 
                $node = $this->render('element', FALSE);
@@ -165,18 +164,5 @@ class tx_form_View_Confirmation extends tx_form_View_Confirmation_Element_Contai
 
                return $confirmationButtons;
        }
-
-       /**
-        * Add the form CSS file as additional header data
-        *
-        * @return void
-        */
-       protected function setCss() {
-               $GLOBALS['TSFE']->additionalHeaderData['tx_form_css'] =
-                       '<link rel="stylesheet" type="text/css" href="' .
-                       t3lib_extMgm::siteRelPath('form') .
-                       'Resources/Public/CSS/Confirmation.css' .
-                       '" media="all" />';
-       }
 }
 ?>
\ No newline at end of file