Fixed bug #14328: Include prototype+scriptaculous using API at the login screen ...
authorSteffen Kamper <info@sk-typo3.de>
Sat, 22 May 2010 11:43:06 +0000 (11:43 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Sat, 22 May 2010 11:43:06 +0000 (11:43 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7656 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/index.php
typo3/sysext/t3skin/templates/login.html

index 6cde43c..b9efdc4 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2010-05-22  Steffen Kamper  <info@sk-typo3.de>
 
+       * Fixed bug #14328: Include prototype+scriptaculous using API at the login screen (thanks to Steffen Gebert)
        * Added Feature #14324: Add spriteGeneratorAPI to support the new sprite-icon-API (thanks to Steffen Ritter)
 
 2010-05-22  Xavier Perseguers  <typo3@perseguers.ch>
index 21aa714..602d3c2 100644 (file)
@@ -185,6 +185,8 @@ class SC_index {
                $TBE_TEMPLATE->moduleTemplate = $TBE_TEMPLATE->getHtmlTemplate('templates/login.html');
 
                $TBE_TEMPLATE->getPageRenderer()->loadExtJS();
+               $TBE_TEMPLATE->getPageRenderer()->loadPrototype();
+               $TBE_TEMPLATE->getPageRenderer()->loadScriptaculous();
 
                        // Set JavaScript for creating a MD5 hash of the password:
                $TBE_TEMPLATE->JScode.= $this->getJScode();
index 22cd661..b3dd8dd 100644 (file)
@@ -34,7 +34,6 @@
                                        }
                                /*]]>*/
                                </script>
-                               <script type="text/javascript" src="contrib/prototype/prototype.js"></script>
                                <script type="text/javascript" src="sysext/t3skin/resources/login.js"></script>
                        </div>
                </div>
                ###VALUE_INTERFACE###
        </div>
        <!-- ###INTERFACE_SELECTOR### end -->
-       <input type="submit" name="commandLI" id="t3-login-submit" value="###VALUE_SUBMIT###" class="t3-login-submit" tabindex="4" />  
+       <input type="submit" name="commandLI" id="t3-login-submit" value="###VALUE_SUBMIT###" class="t3-login-submit" tabindex="4" />
        <div class="t3-login-form-footer">
                <div id="t3-login-form-footer-default">
                        <a id="t3-login-switchToOpenId" class="switchToOpenId">###LABEL_SWITCHOPENID###</a>