From f71fec8cdcb5d7d24b7dfa30dfaf24c5115e51c1 Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Mon, 14 May 2012 17:57:43 +0200 Subject: Combine and minimize core and default app css files --- core/minimizer.php | 5 +++++ core/templates/layout.guest.php | 3 +++ core/templates/layout.user.php | 3 +++ 3 files changed, 11 insertions(+) create mode 100644 core/minimizer.php (limited to 'core') diff --git a/core/minimizer.php b/core/minimizer.php new file mode 100644 index 00000000000..e4e6ff50e66 --- /dev/null +++ b/core/minimizer.php @@ -0,0 +1,5 @@ +findFiles(OC_Util::$core_styles); +$minimizer->output($files); diff --git a/core/templates/layout.guest.php b/core/templates/layout.guest.php index 86f46d9c7eb..37a74f46968 100644 --- a/core/templates/layout.guest.php +++ b/core/templates/layout.guest.php @@ -4,6 +4,9 @@ ownCloud + + + diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index b832ac2636f..e6fa910ce04 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -4,6 +4,9 @@ <?php echo isset($_['application']) && !empty($_['application'])?$_['application'].' | ':'' ?>ownCloud <?php echo OC_User::getUser()?' ('.OC_User::getUser().') ':'' ?> + + + -- cgit v1.2.3