summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-01-11 15:05:21 +0000
committerDries Buytaert <dries@buytaert.net>2004-01-11 15:05:21 +0000
commitee305ae144d074692f2737eed8e38ec32f20e98e (patch)
treee98868c67409639834ee9e6f581280206a4fb678 /includes
parent93dd644541a5d893321e13f45132e4ffb2528763 (diff)
downloadbrdo-ee305ae144d074692f2737eed8e38ec32f20e98e.tar.gz
brdo-ee305ae144d074692f2737eed8e38ec32f20e98e.tar.bz2
Round 3 of aggregator improvements:
- Added support for new tags: + Optinal feed image: <image> tag. + Dublin core dates: <dc:date> <dcterms:created>, <dcterms:issued>, <dcterms:modified>. - Usability improvements: + On the administration page, made the feed/bundle titles link to the feeds/bundles' pages. On the feed/bundle's page, made the 'Last updated' field link to the administration page. + Moved the 'syndication' menu one level down. - Updated some content sensitive help. - Further improved themeability. - Fixed some invalid HTML.
Diffstat (limited to 'includes')
-rw-r--r--includes/theme.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index a89ffa3f4..e5b5ccbed 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -453,6 +453,15 @@ function theme_error($message) {
}
/**
+ * Returns code that emits an XML-icon.
+ *
+ * @return a string containing the @a output.
+ */
+function theme_xml_icon($url) {
+ return "<div class=\"xml-icon\"><a href=\"$url\"><img src=\"misc/xml.gif\" width=\"36\" height=\"14\" alt=\"". t('XML feed') ."\" /></a></div>";
+}
+
+/**
* Execute hook _head which is run at the start of the page, and output should
* be in the head tags.
*