aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.inc.php.example3
-rw-r--r--templates/bookmarks.tpl.php2
-rw-r--r--templates/bottom.inc.php1
-rw-r--r--templates/sidebar.tpl.php5
-rw-r--r--upgrade.txt3
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'.