summaryrefslogtreecommitdiff
path: root/data/templates/default/bottom.inc.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-05-25 19:43:36 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-05-25 19:43:36 +0200
commit5ba53394fcda4ae9cfa9af52b37fb67517deeb5a (patch)
tree4416be7903a2b339382e9f933284f50797edc239 /data/templates/default/bottom.inc.php
parent63b0a4b8cb38a8a7c41410900b9dfcc84e6a33a9 (diff)
downloadsemanticscuttle-5ba53394fcda4ae9cfa9af52b37fb67517deeb5a.tar.gz
semanticscuttle-5ba53394fcda4ae9cfa9af52b37fb67517deeb5a.tar.bz2
implement request #1989987: theme support. merge themes branch with --squash
Diffstat (limited to 'data/templates/default/bottom.inc.php')
-rw-r--r--data/templates/default/bottom.inc.php34
1 files changed, 34 insertions, 0 deletions
diff --git a/data/templates/default/bottom.inc.php b/data/templates/default/bottom.inc.php
new file mode 100644
index 0000000..0c966a2
--- /dev/null
+++ b/data/templates/default/bottom.inc.php
@@ -0,0 +1,34 @@
+<!--following code is generated by templates/bottom.inc.php-->
+<div id="bottom">
+<?php echo $GLOBALS['footerMessage'].' ';?>
+<?php
+echo '<a href="'.createURL('about').'">'.T_('About').'</a>';
+echo ' - ';
+echo T_("Propulsed by ");
+echo " <a href=\"https://sourceforge.net/projects/semanticscuttle/\">SemanticScuttle</a>";
+
+if($GLOBALS['enableWebsiteThumbnails']) {
+ // Licence to the thumbnails provider (OBLIGATORY IF YOU USE ARTVIPER SERVICE)
+ echo ' (Thumbnails by <script type="text/ecmascript" src="http://www.artviper.net/link.js"></script>)';
+}
+?>
+
+</div>
+
+
+<?php if(isset($GLOBALS['googleAnalyticsCode']) && $GLOBALS['googleAnalyticsCode']!= ''):?>
+
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("<?php echo $GLOBALS['googleAnalyticsCode']?>");
+pageTracker._trackPageview();
+} catch(err) {}</script>
+
+<?php endif;?>
+
+</body>
+</html>