aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-14 19:27:21 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-14 19:27:21 +0000
commit331721e134437d4a1675f7e4f355696b8386ceaa (patch)
tree4b5d45e9f7ef73844dab2dd769cdb5ed70c0f49c
parentaae576120297d0182c39dd1900518737180578e5 (diff)
downloadelgg-331721e134437d4a1675f7e4f355696b8386ceaa.tar.gz
elgg-331721e134437d4a1675f7e4f355696b8386ceaa.tar.bz2
Standardized _css/*
git-svn-id: http://code.elgg.org/elgg/trunk@3538 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--_css/css.php80
-rw-r--r--_css/js.php79
2 files changed, 75 insertions, 84 deletions
diff --git a/_css/css.php b/_css/css.php
index 0db16d8a9..c2b2cfbc7 100644
--- a/_css/css.php
+++ b/_css/css.php
@@ -1,44 +1,40 @@
<?php
+/**
+ * Elgg CSS file
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @author Curverider Ltd
+ * @link http://elgg.org/
+ */
- /**
- * Elgg CSS file
- *
- * @package Elgg
- * @subpackage Core
-
- * @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;
- $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
+/*
+
+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');
diff --git a/_css/js.php b/_css/js.php
index 89c748cab..8ffb7945e 100644
--- a/_css/js.php
+++ b/_css/js.php
@@ -1,44 +1,39 @@
<?php
+/**
+ * Elgg CSS file
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @author Curverider Ltd
+ * @link http://elgg.org/
+ */
- /**
- * Elgg CSS file
- *
- * @package Elgg
- * @subpackage Core
-
- * @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
+/*
+
+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