MERGE-FIX: updated requirements

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42157 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2007-09-16 17:41:36 +00:00
parent 6205cff4f1
commit ddb0136c62

View File

@ -192,11 +192,13 @@ class Security extends Controller {
* @return string Returns the "login" page as HTML code.
*/
public function login() {
Requirements::javascript("jsparty/behaviour.js");
Requirements::javascript("jsparty/loader.js");
Requirements::javascript("jsparty/prototype.js");
Requirements::javascript("jsparty/behaviour.js");
Requirements::javascript("jsparty/prototype_improvements.js");
Requirements::javascript("jsparty/tabstrip/tabstrip.js");
Requirements::javascript("jsparty/scriptaculous/effects.js");
Requirements::css("jsparty/tabstrip/tabstrip.css");
$customCSS = project() . '/css/tabs.css';
if(Director::fileExists($customCSS)) {