diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-08-31 19:05:21 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-08-31 19:05:21 +0000 |
commit | c5cc2821311012a8a4385a304a043c4b41f2afbb (patch) | |
tree | 3703351e4b5d56905eb52547d6129ffa14cb2a32 /_css | |
parent | 775a5f08c501acc565c69659022bc31052677485 (diff) | |
download | elgg-c5cc2821311012a8a4385a304a043c4b41f2afbb.tar.gz elgg-c5cc2821311012a8a4385a304a043c4b41f2afbb.tar.bz2 |
All line endings are now Unix-style.
git-svn-id: https://code.elgg.org/elgg/trunk@3451 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to '_css')
-rw-r--r-- | _css/css.php | 68 | ||||
-rw-r--r-- | _css/js.php | 82 |
2 files changed, 75 insertions, 75 deletions
diff --git a/_css/css.php b/_css/css.php index 1cc3eb038..0db16d8a9 100644 --- a/_css/css.php +++ b/_css/css.php @@ -1,44 +1,44 @@ -<?php
-
- /**
- * Elgg CSS file
- *
- * @package Elgg
- * @subpackage Core
+<?php - * @author Curverider Ltd
+ /** + * Elgg CSS file + * + * @package Elgg + * @subpackage Core + + * @author Curverider Ltd + + * @link http://elgg.org/ + */ + + /* - * @link http://elgg.org/
- */
-
- /*
-
require_once(dirname(dirname(__FILE__)) . "/engine/start.php"); $default_css = elgg_view("css"); -
+ header("Content-type: text/css", true); header('Expires: ' . date('r',time() + 864000), true); header("Pragma: public", true); header("Cache-Control: public", true); - header("Content-Length: " . strlen($default_css));
-
- echo $default_css;
- */
-
- define('externalpage',true);
-
- global $viewinput, $override;
- $viewinput['view'] = 'css';
- $viewinput['viewtype'] = $_GET['viewtype'];
-
- //$override = true;
-
- header("Content-type: text/css", true);
- header('Expires: ' . date('r',time() + 86400000), true);
- header("Pragma: public", true);
- header("Cache-Control: public", true);
- // header("Content-Length: " . strlen($default_css));
- require_once(dirname(dirname(__FILE__)) . '/simplecache/view.php');
-
+ header("Content-Length: " . strlen($default_css)); + + echo $default_css; + */ + + define('externalpage',true); + + global $viewinput, $override; + $viewinput['view'] = 'css'; + $viewinput['viewtype'] = $_GET['viewtype']; + + //$override = true; + + header("Content-type: text/css", true); + header('Expires: ' . date('r',time() + 86400000), true); + header("Pragma: public", true); + header("Cache-Control: public", true); + // header("Content-Length: " . strlen($default_css)); + require_once(dirname(dirname(__FILE__)) . '/simplecache/view.php'); + ?>
\ No newline at end of file diff --git a/_css/js.php b/_css/js.php index 3839b76e4..89c748cab 100644 --- a/_css/js.php +++ b/_css/js.php @@ -1,44 +1,44 @@ -<?php
-
- /**
- * Elgg CSS file
- *
- * @package Elgg
- * @subpackage Core
+<?php - * @author Curverider Ltd
+ /** + * Elgg CSS file + * + * @package Elgg + * @subpackage Core - * @link http://elgg.org/
- */
-
- /*
-
- require_once(dirname(dirname(__FILE__)) . "/engine/start.php");
-
- $default_css = elgg_view("css");
-
- header("Content-type: text/css", true);
- header('Expires: ' . date('r',time() + 864000), true);
- header("Pragma: public", true);
- header("Cache-Control: public", true);
- header("Content-Length: " . strlen($default_css));
-
- echo $default_css;
- */
-
- define('externalpage',true);
-
- global $viewinput, $override;
- //$override = true;
- $viewinput['view'] = 'js/' . $_GET['js'];
- $viewinput['viewtype'] = $_GET['viewtype'];
-
- header('Content-type: text/javascript');
- header('Expires: ' . date('r',time() + 864000000));
- header("Pragma: public");
- header("Cache-Control: public");
- // header("Content-Length: " . strlen($return));
-
- require_once(dirname(dirname(__FILE__)) . '/simplecache/view.php');
-
+ * @author Curverider Ltd + + * @link http://elgg.org/ + */ + + /* + + require_once(dirname(dirname(__FILE__)) . "/engine/start.php"); + + $default_css = elgg_view("css"); + + header("Content-type: text/css", true); + header('Expires: ' . date('r',time() + 864000), true); + header("Pragma: public", true); + header("Cache-Control: public", true); + header("Content-Length: " . strlen($default_css)); + + echo $default_css; + */ + + define('externalpage',true); + + global $viewinput, $override; + //$override = true; + $viewinput['view'] = 'js/' . $_GET['js']; + $viewinput['viewtype'] = $_GET['viewtype']; + + header('Content-type: text/javascript'); + header('Expires: ' . date('r',time() + 864000000)); + header("Pragma: public"); + header("Cache-Control: public"); + // header("Content-Length: " . strlen($return)); + + require_once(dirname(dirname(__FILE__)) . '/simplecache/view.php'); + ?>
\ No newline at end of file |