From d3642f6b0ed1ee5a7654fe7eff375ca1212c267d Mon Sep 17 00:00:00 2001 From: mensonge Date: Sun, 15 Mar 2009 15:52:37 +0000 Subject: Interface Fix: add possible messages in configuration file for footer or sidebar git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@309 b3834d28-1941-0410-a4f8-b48e95affb8f --- config.inc.php.example | 3 +++ templates/bookmarks.tpl.php | 2 -- templates/bottom.inc.php | 1 + templates/sidebar.tpl.php | 5 ++++- upgrade.txt | 3 +++ 5 files changed, 11 insertions(+), 3 deletions(-) diff --git a/config.inc.php.example b/config.inc.php.example index 20711ac..0b9d658 100644 --- a/config.inc.php.example +++ b/config.inc.php.example @@ -9,6 +9,9 @@ #### System #### $sitename = 'SemanticScuttle'; #The name of this site. $welcomeMessage = 'Welcome to SemanticScuttle! Social bookmarking for small communities.'; # The welcome message of this site +$footerMessage = ''; #HTML message appearing at the bottom of the page (just above SemanticScuttle credits) +$sidebarTopMessage = ''; #HTML message appearing at the top of the sidebar +$sidebarBottomMessage = ''; #HTML message appearing at the bottom of the sidebar $root = NULL; # Set to NULL to autodetect the root url of the website. If your installation is into a subdirectory like "http://www.example.com/semanticscuttle/" then replace NULL by your address (between "" and with final '/'); $locale = 'en_GB'; #locale used in /locales/ {de_DE en_GB fr_FR ...} $usecache = false; # use cache ? {true,false} diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php index 09b1d95..a7cc184 100644 --- a/templates/bookmarks.tpl.php +++ b/templates/bookmarks.tpl.php @@ -115,8 +115,6 @@ switch(getSortOrder()) { $titleSort = 'title_asc'; break; } -//$dateSort = (getSortOrder()=='date_desc')? 'date_asc':'date_desc'; -//$titleSort = (getSortOrder()=='title_asc')? 'title_desc':'title_asc'; ?> / /
+ SemanticScuttle"; diff --git a/templates/sidebar.tpl.php b/templates/sidebar.tpl.php index ad5c74f..e823af5 100644 --- a/templates/sidebar.tpl.php +++ b/templates/sidebar.tpl.php @@ -6,11 +6,14 @@ includeTemplate('sidebar.block.'. $sidebar_blocks[$i]); } + +echo $GLOBALS['sidebarBottomMessage']; ?> -
\ No newline at end of file + diff --git a/upgrade.txt b/upgrade.txt index 107ee2a..e09d5e7 100644 --- a/upgrade.txt +++ b/upgrade.txt @@ -6,6 +6,9 @@ - Upgrade your database by following instructions ONE after ONE (order is important) : #NOTHING TO CHANGE IN DB - Upgrade your current configuration file (config.inc.php) with respect to config.inc.php.example +$footerMessage = ''; #HTML message appearing at the bottom of the page (just above SemanticScuttle credits) +$sidebarTopMessage = ''; #HTML message appearing at the top of the sidebar +$sidebarBottomMessage = ''; #HTML message appearing at the bottom of the sidebar $adminsCanModifyBookmarksFromOtherUsers = true; # 'true' if admin users can edit or delete bookmarks belonging to other users. Else 'false'. $adminsAreAdvisedTagsFromOtherAdmins = false; # 'true' if tags from other admins are proposed to each admin (in add/edit a bookmark page). Else 'false'. -- cgit v1.2.3