]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
Interface Fix: add possible messages in configuration file for footer or sidebar
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>
Sun, 15 Mar 2009 15:52:37 +0000 (15:52 +0000)
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>
Sun, 15 Mar 2009 15:52:37 +0000 (15:52 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@309 b3834d28-1941-0410-a4f8-b48e95affb8f

config.inc.php.example
templates/bookmarks.tpl.php
templates/bottom.inc.php
templates/sidebar.tpl.php
upgrade.txt

index 20711acfe4e85a285dbbc6a707de81cd4195fa2d..0b9d658856678440a2cfcff97c600916c710c052 100644 (file)
@@ -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}
index 09b1d95d04741f87159a2857017fa6aaaa651328..a7cc18464292dc119f723732780bcae21bed06b0 100644 (file)
@@ -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
index 9fb2306545aeb6b3cc72a679e960a053d9ee0759..09d95c1365f6c058bb38a0536b5dc64c5de57b35 100644 (file)
@@ -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>";
index ad5c74fc71d389706e8867d9205e3173b6756d01..e823af508543531f02ba256794a221f25f406912 100644 (file)
@@ -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>
index 107ee2adc7c52fffaf83e3e691614d742011902f..e09d5e75bcfcde0c1091c762c94ce9029627fc0a 100644 (file)
@@ -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'.