diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-03-15 15:52:37 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-03-15 15:52:37 +0000 |
commit | d3642f6b0ed1ee5a7654fe7eff375ca1212c267d (patch) | |
tree | 08efea0013ae4755699594f3b740bcb2a76b7abe | |
parent | 0ea18f81edff9866d8b3d5a0c2394135e4af9560 (diff) | |
download | semanticscuttle-d3642f6b0ed1ee5a7654fe7eff375ca1212c267d.tar.gz semanticscuttle-d3642f6b0ed1ee5a7654fe7eff375ca1212c267d.tar.bz2 |
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
-rw-r--r-- | config.inc.php.example | 3 | ||||
-rw-r--r-- | templates/bookmarks.tpl.php | 2 | ||||
-rw-r--r-- | templates/bottom.inc.php | 1 | ||||
-rw-r--r-- | templates/sidebar.tpl.php | 5 | ||||
-rw-r--r-- | 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'; ?> <a href="?sort=<?php echo $dateSort ?>"><?php echo T_("Date").$dateArrow; ?></a><span> / </span> <a href="?sort=<?php echo $titleSort ?>"><?php echo T_("Title").$titleArrow; ?></a><span> / </span> <?php diff --git a/templates/bottom.inc.php b/templates/bottom.inc.php index 9fb2306..09d95c1 100644 --- a/templates/bottom.inc.php +++ b/templates/bottom.inc.php @@ -1,5 +1,6 @@ <!--following code is generated by templates/bottom.inc.php--> <div id="bottom"> +<?php echo $GLOBALS['footerMessage'].' ';?> <?php echo T_("Propulsed by "); echo "<a href=\"https://sourceforge.net/projects/semanticscuttle/\">SemanticScuttle</a>"; 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 @@ <?php +echo $GLOBALS['sidebarTopMessage'].' '; $size = count($sidebar_blocks); for ($i = 0; $i < $size; $i++) { $this->includeTemplate('sidebar.block.'. $sidebar_blocks[$i]); } + +echo $GLOBALS['sidebarBottomMessage']; ?> -</div>
\ No newline at end of file +</div> 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'. |