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
This commit is contained in:
parent
0ea18f81ed
commit
d3642f6b0e
5 changed files with 11 additions and 3 deletions
|
@ -9,6 +9,9 @@
|
||||||
#### System ####
|
#### System ####
|
||||||
$sitename = 'SemanticScuttle'; #The name of this site.
|
$sitename = 'SemanticScuttle'; #The name of this site.
|
||||||
$welcomeMessage = 'Welcome to SemanticScuttle! Social bookmarking for small communities.'; # The welcome message 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 '/');
|
$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 ...}
|
$locale = 'en_GB'; #locale used in /locales/ {de_DE en_GB fr_FR ...}
|
||||||
$usecache = false; # use cache ? {true,false}
|
$usecache = false; # use cache ? {true,false}
|
||||||
|
|
|
@ -115,8 +115,6 @@ switch(getSortOrder()) {
|
||||||
$titleSort = 'title_asc';
|
$titleSort = 'title_asc';
|
||||||
break;
|
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>
|
?> <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> <a href="?sort=<?php echo $titleSort ?>"><?php echo T_("Title").$titleArrow; ?></a><span>
|
||||||
/ </span> <?php
|
/ </span> <?php
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<!--following code is generated by templates/bottom.inc.php-->
|
<!--following code is generated by templates/bottom.inc.php-->
|
||||||
<div id="bottom">
|
<div id="bottom">
|
||||||
|
<?php echo $GLOBALS['footerMessage'].' ';?>
|
||||||
<?php
|
<?php
|
||||||
echo T_("Propulsed by ");
|
echo T_("Propulsed by ");
|
||||||
echo "<a href=\"https://sourceforge.net/projects/semanticscuttle/\">SemanticScuttle</a>";
|
echo "<a href=\"https://sourceforge.net/projects/semanticscuttle/\">SemanticScuttle</a>";
|
||||||
|
|
|
@ -6,11 +6,14 @@
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
echo $GLOBALS['sidebarTopMessage'].' ';
|
||||||
|
|
||||||
$size = count($sidebar_blocks);
|
$size = count($sidebar_blocks);
|
||||||
for ($i = 0; $i < $size; $i++) {
|
for ($i = 0; $i < $size; $i++) {
|
||||||
$this->includeTemplate('sidebar.block.'. $sidebar_blocks[$i]);
|
$this->includeTemplate('sidebar.block.'. $sidebar_blocks[$i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
echo $GLOBALS['sidebarBottomMessage'];
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,6 +6,9 @@
|
||||||
- Upgrade your database by following instructions ONE after ONE (order is important) :
|
- Upgrade your database by following instructions ONE after ONE (order is important) :
|
||||||
#NOTHING TO CHANGE IN DB
|
#NOTHING TO CHANGE IN DB
|
||||||
- Upgrade your current configuration file (config.inc.php) with respect to config.inc.php.example
|
- 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'.
|
$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'.
|
$adminsAreAdvisedTagsFromOtherAdmins = false; # 'true' if tags from other admins are proposed to each admin (in add/edit a bookmark page). Else 'false'.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue