# HG changeset patch # User Dan # Date 1215112115 14400 # Node ID 738c61b498a6eda9e8e32cd9e57a412d00464b0d # Parent 4f9bec0d65c1ea8a991a10a2458da57d2c1cdb31 A little more optimization work, client-side this time. I lied, no librijnadel2 here, but it's about to be merged in... diff -r 4f9bec0d65c1 -r 738c61b498a6 includes/clientside/css/enano-shared.css --- a/includes/clientside/css/enano-shared.css Wed Jul 02 22:15:55 2008 -0400 +++ b/includes/clientside/css/enano-shared.css Thu Jul 03 15:08:35 2008 -0400 @@ -2,10 +2,6 @@ * Shared stuff that all Enano themes (should) use */ -/* IE-only stylesheet */ -@import url("./enano-shared-ie.css"); -/* End IE-only stylesheet */ - /* Information, warning, question, error, and wait boxes */ div.error-box { background-image: url(../../../images/error.png); background-position: 8px 8px; background-repeat: no-repeat; background-color: #FFF4F4; border: 1px dashed #406080; padding: 10px 10px 10px 50px; margin: 1em 0 0 0; min-height: 25px; } div.info-box { background-image: url(../../../images/info.png); background-position: 8px 8px; background-repeat: no-repeat; background-color: #F4F4FF; border: 1px dashed #406080; padding: 10px 10px 10px 50px; margin: 1em 0 0 0; min-height: 25px; } diff -r 4f9bec0d65c1 -r 738c61b498a6 includes/clientside/jsres.php --- a/includes/clientside/jsres.php Wed Jul 02 22:15:55 2008 -0400 +++ b/includes/clientside/jsres.php Thu Jul 03 15:08:35 2008 -0400 @@ -120,28 +120,15 @@ // if we only want the tiny version of the API (just enough to get by until the full one is loaded), send that // with a simple ETag and far future expires header + +// note - obfuscated for optimization purposes. The exact same code except properly indented is in enano-lib-basic. if ( isset($_GET['early']) ) { - header('ETag: enanocms-lib-early-r1'); + header('ETag: enanocms-lib-early-r2'); header('Expires: Wed, 1 Jan 2020 00:00:00 GMT'); echo <<tpl_bool = Array( 'auth_admin' => $session->user_level >= USER_LEVEL_ADMIN ? true : false, 'user_logged_in' => $session->user_logged_in, 'opera' => $is_opera, + 'msie' => $is_msie ); if ( $session->sid_super ) diff -r 4f9bec0d65c1 -r 738c61b498a6 index.php --- a/index.php Wed Jul 02 22:15:55 2008 -0400 +++ b/index.php Thu Jul 03 15:08:35 2008 -0400 @@ -19,7 +19,7 @@ define('ENANO_INTERFACE_INDEX', ''); // For the mighty and brave. - // define('ENANO_DEBUG', ''); + define('ENANO_DEBUG', ''); // Set up gzip encoding before any output is sent diff -r 4f9bec0d65c1 -r 738c61b498a6 themes/oxygen/header.tpl --- a/themes/oxygen/header.tpl Wed Jul 02 22:15:55 2008 -0400 +++ b/themes/oxygen/header.tpl Thu Jul 03 15:08:35 2008 -0400 @@ -4,6 +4,9 @@ {PAGE_NAME} • {SITE_NAME} + + + {JS_DYNAMIC_VARS}