|
@@ -1,7 +1,6 @@
|
1
|
1
|
<?
|
2
|
2
|
|
3
|
3
|
define('FOOTER_FILE', SERVER_ROOT.'/design/privatefooter.php');
|
4
|
|
-$UseTooltipster = !isset(G::$LoggedUser['Tooltipster']) || G::$LoggedUser['Tooltipster'];
|
5
|
4
|
|
6
|
5
|
?>
|
7
|
6
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
@@ -55,11 +54,8 @@ if (isset(G::$LoggedUser['Notify'])) {
|
55
|
54
|
title="<?=SITE_NAME?> - Other Torrents" />
|
56
|
55
|
<link rel="stylesheet" type="text/css"
|
57
|
56
|
href="<?=STATIC_SERVER?>styles/global.css?v=<?=filemtime(SERVER_ROOT.'/static/styles/global.css')?>" />
|
58
|
|
-<?
|
59
|
|
-if ($UseTooltipster) { ?>
|
60
|
57
|
<link rel="stylesheet" href="<?=STATIC_SERVER?>styles/tooltipster/style.css?v=<?=filemtime(SERVER_ROOT.'/static/styles/tooltipster/style.css')?>" type="text/css" media="screen" />
|
61
|
58
|
<?
|
62
|
|
-}
|
63
|
59
|
if (empty(G::$LoggedUser['StyleURL'])) {
|
64
|
60
|
?>
|
65
|
61
|
<link rel="stylesheet" type="text/css" title="<?=G::$LoggedUser['StyleName']?>" media="screen"
|
|
@@ -95,11 +91,7 @@ foreach ($ExtraCSS as $CSS) {
|
95
|
91
|
</script>
|
96
|
92
|
<?
|
97
|
93
|
|
98
|
|
-$Scripts = array_merge(array('jquery', 'script_start', 'ajax.class', 'global', 'jquery.autocomplete', 'autocomplete'), explode(',', $JSIncludes));
|
99
|
|
-if ($UseTooltipster) {
|
100
|
|
- $Scripts[] = 'tooltipster';
|
101
|
|
- $Scripts[] = 'tooltipster_settings';
|
102
|
|
-}
|
|
94
|
+$Scripts = array_merge(array('jquery', 'script_start', 'ajax.class', 'global', 'jquery.autocomplete', 'autocomplete', 'tooltipster', 'tooltipster_settings'), explode(',', $JSIncludes));
|
103
|
95
|
foreach ($Scripts as $Script) {
|
104
|
96
|
if (trim($Script) == '') {
|
105
|
97
|
continue;
|