|
@@ -48,16 +48,13 @@ $theme = new themes;
|
48
|
48
|
}
|
49
|
49
|
}
|
50
|
50
|
|
51
|
|
- $gelato_includes = "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>\n";
|
52
|
|
- $gelato_includes .= "\t<meta name=\"generator\" content=\"gelato ".codeName()." (".version().")\" />\n";
|
53
|
|
- $gelato_includes .= "\t<link rel=\"shortcut icon\" href=\"".$conf->urlGelato."/images/favicon.ico\" />\n";
|
54
|
|
- $gelato_includes .= "\t<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS\" href=\"".$conf->urlGelato.($conf->urlFriendly?"/rss/":"/rss.php")."\"/>\n";
|
55
|
|
- $gelato_includes .= "\t<link rel=\"stylesheet\" type=\"text/css\" href=\"".$conf->urlGelato."/themes/".$conf->template."/style.css\"/>\n";
|
56
|
|
- $gelato_includes .= "\t<link rel=\"stylesheet\" type=\"text/css\" href=\"".$conf->urlGelato."/admin/css/lightbox.css\" />\n";
|
57
|
|
- $gelato_includes .= "\t<script language=\"javascript\" type=\"text/javascript\" src=\"".$conf->urlGelato."/admin/scripts/jquery.js\"></script>\n";
|
58
|
|
- $gelato_includes .= "\t<script language=\"javascript\" type=\"text/javascript\" src=\"".$conf->urlGelato."/admin/scripts/lightbox.js\"></script>";
|
59
|
|
-
|
60
|
|
-
|
|
51
|
+ $feed_url = $conf->urlGelato.($conf->urlFriendly?"/rss/":"/rss.php");
|
|
52
|
+ $trigger->call('feed_url');
|
|
53
|
+ $theme->set('rssFeed',"\t<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS\" href=\"".$feed_url."\"/>\n");
|
|
54
|
+
|
|
55
|
+ $gelato_includes = "<meta name=\"generator\" content=\"gelato ".codeName()." (".version().")\" />\n";
|
|
56
|
+ $gelato_includes .= "\t<link rel=\"shortcut icon\" href=\"".$conf->urlGelato."/images/favicon.ico\" />";
|
|
57
|
+
|
61
|
58
|
$page_title = $conf->title;
|
62
|
59
|
$page_title_divisor = " » "; // it should be set in configuration
|
63
|
60
|
$page_title_len = 50; // it should be set in configuration
|
|
@@ -76,7 +73,7 @@ $theme = new themes;
|
76
|
73
|
$page_title .= $page_title_divisor.stripslashes($page_title_data);
|
77
|
74
|
}
|
78
|
75
|
}
|
79
|
|
-
|
|
76
|
+
|
80
|
77
|
$trigger->call('gelato_includes');
|
81
|
78
|
$theme->set('Gelato_includes',$gelato_includes);
|
82
|
79
|
$theme->set('Title',$conf->title);
|