diff options
author | Christian Weiske <cweiske@cweiske.de> | 2011-05-02 18:07:15 +0200 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2011-05-02 18:07:15 +0200 |
commit | 8be81abfe6193e221afcdc35582d34505797a7b8 (patch) | |
tree | 95ae7e30d40596f27875adb2f96a15fc827f9f86 /data/templates/top.inc.php | |
parent | f629d081ddf52e3cb83ffbfc973a97adc691790c (diff) | |
parent | 40b4674e471f8b0fbdc77a26eec86018e2ab03ea (diff) | |
download | semanticscuttle-8be81abfe6193e221afcdc35582d34505797a7b8.tar.gz semanticscuttle-8be81abfe6193e221afcdc35582d34505797a7b8.tar.bz2 |
merge master
Diffstat (limited to 'data/templates/top.inc.php')
-rw-r--r-- | data/templates/top.inc.php | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/data/templates/top.inc.php b/data/templates/top.inc.php index b1ffa14..bdd4b1a 100644 --- a/data/templates/top.inc.php +++ b/data/templates/top.inc.php @@ -1,7 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <title><?php echo filter($GLOBALS['sitename'] .(isset($pagetitle) ? ' ยป ' . $pagetitle : '')); ?></title> <link rel="icon" type="image/png" href="<?php echo ROOT ?>icon.png" /> <link rel="stylesheet" type="text/css" href="<?php echo ROOT ?>scuttle.css" /> @@ -17,17 +18,19 @@ if (isset($rsschannels)) { } ?> - <link rel="stylesheet" type="text/css" - href="http://ajax.googleapis.com/ajax/libs/dojo/1.2/dijit/themes/nihilo/nihilo.css" /> - <?php if (isset($loadjs)) :?> +<?php if (DEBUG_MODE) : ?> + <script type="text/javascript" src="<?php echo ROOT_JS ?>jquery-1.4.2.js"></script> + <script type="text/javascript" src="<?php echo ROOT_JS ?>jquery.jstree.js"></script> +<?php else: ?> + <script type="text/javascript" src="<?php echo ROOT_JS ?>jquery-1.4.2.min.js"></script> + <script type="text/javascript" src="<?php echo ROOT_JS ?>jquery.jstree.min.js"></script> +<?php endif ?> <script type="text/javascript" src="<?php echo ROOT ?>jsScuttle.php"></script> <?php endif ?> </head> - - <body class="nihilo"> -<!-- the class is used by Dojo widgets --> + <body> <?php $headerstyle = ''; |