From ed5b38ddd249c0e50eec7e06e74c9d1c2e864dab Mon Sep 17 00:00:00 2001 From: Florian Eula Date: Fri, 21 Nov 2014 21:31:21 +0100 Subject: Feature: enable/disable permalinks for RSS The option to see the shortlinks or permalinks has been added to the configuration panel. It is a simple checkbox This option is disabled by default (meaning that shortlinks are the default) Updated writeConfig() to save this option Also fixed a slight typo in config.html. Removed useless CSS & fixed a comment Enabled permalinks for the ATOM feed and fixed the isPermaLink attribute for the tag Reverted to default behavior and clarified its meaning EnableRssPermalinks is an oddly behaving option: when enabled, it shows a permalink in the description and a full link in the element title, and swaps it around when disabled. This clarifies the option for end-users Also, moved enable_rss_permalinks to $GLOBALS['config'] because it is a config option. fix indent --- inc/shaarli.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'inc/shaarli.css') diff --git a/inc/shaarli.css b/inc/shaarli.css index 325515ef..f6e580ba 100644 --- a/inc/shaarli.css +++ b/inc/shaarli.css @@ -1039,6 +1039,10 @@ div.dailyNoEntry { } } +#toolsdiv a.button-description { + clear: none; +} + /* Highlight search results */ .highlight { background-color: #FFFF33; -- cgit v1.2.3