From 24e344f7879a932cc9a5a3491d460a05651c08a3 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Fri, 1 Oct 2010 21:37:53 +0200 Subject: remove dojo css --- data/templates/top.inc.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'data/templates/top.inc.php') diff --git a/data/templates/top.inc.php b/data/templates/top.inc.php index b1ffa14..8be978f 100644 --- a/data/templates/top.inc.php +++ b/data/templates/top.inc.php @@ -17,17 +17,12 @@ if (isset($rsschannels)) { } ?> - - - - - + - +]]> \ No newline at end of file diff --git a/data/templates/top.inc.php b/data/templates/top.inc.php index 8be978f..c3cbc5d 100644 --- a/data/templates/top.inc.php +++ b/data/templates/top.inc.php @@ -1,7 +1,8 @@ + - + <?php echo filter($GLOBALS['sitename'] .(isset($pagetitle) ? ' ยป ' . $pagetitle : '')); ?> diff --git a/src/SemanticScuttle/header.php b/src/SemanticScuttle/header.php index d1a5c29..3caeb35 100644 --- a/src/SemanticScuttle/header.php +++ b/src/SemanticScuttle/header.php @@ -120,7 +120,10 @@ $tplVars['userservice'] = $userservice; if (!defined('UNIT_TEST_MODE')) { //API files define that, so we need a way to support both of them if (!isset($httpContentType)) { - $httpContentType = 'text/html'; + //$httpContentType = 'text/html'; + //using that mime type makes all javascript nice in Chromium + // it also serves as test base if the pages really validate + $httpContentType = 'application/xhtml+xml'; } if ($httpContentType !== false) { header('Content-Type: ' . $httpContentType . '; charset=utf-8'); -- cgit v1.2.3-54-g00ecf From ea3beb1690a397afd9e29afb63c1bd8b3a536390 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Sat, 9 Oct 2010 16:58:20 +0200 Subject: put jquery+jstree into top template since we need it most times --- data/templates/sidebar.block.linked.php | 2 -- data/templates/sidebar.block.menu2.php | 2 -- data/templates/top.inc.php | 2 ++ 3 files changed, 2 insertions(+), 4 deletions(-) (limited to 'data/templates/top.inc.php') diff --git a/data/templates/sidebar.block.linked.php b/data/templates/sidebar.block.linked.php index ac864dc..517705e 100644 --- a/data/templates/sidebar.block.linked.php +++ b/data/templates/sidebar.block.linked.php @@ -31,8 +31,6 @@ if ($editingMode) { } ?>