mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
small pi link on index page to administration pages
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7804 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
9ebc75db4b
commit
fdc84d8319
|
@ -893,6 +893,11 @@ publicSearchpage = true
|
|||
# to /Status.html to get the main memu bar back
|
||||
publicTopmenu = true
|
||||
|
||||
# flag if a small link to the administration sites on the right bottom of the index
|
||||
# page should be shown to all users.
|
||||
# you might want to enabled this, if publicTopmenu is disabled
|
||||
publicAdministratorPi = false
|
||||
|
||||
# Wiki access rights
|
||||
# the built-in wiki system allows by default only that the administrator is allowed to make changes
|
||||
# this can be changed. There are three options:
|
||||
|
|
|
@ -40,6 +40,10 @@
|
|||
#%env/templates/simpleheader.template%#
|
||||
#(/topmenu)#
|
||||
|
||||
#(pi)#::
|
||||
<div style="position:fixed; bottom: 0; right: 1px;"><a href="/Status.html">π</a></div>
|
||||
#(/pi)#
|
||||
|
||||
<h2 class="yacy">
|
||||
<a href="#[promoteSearchPageGreeting.homepage]#" class="yacylogo"><img src="#[promoteSearchPageGreeting.largeImage]#" alt="yacy" style="margin: auto;"/></a><br /><br />
|
||||
#[promoteSearchPageGreeting]#
|
||||
|
|
|
@ -117,6 +117,7 @@ public class index {
|
|||
prop.put("type", type);
|
||||
prop.put("depth", "0");
|
||||
prop.put("topmenu", sb.getConfigBool("publicTopmenu", true) ? 1 : 0);
|
||||
prop.put("pi", sb.getConfigBool("publicAdministratorPi", false) ? 1 : 0);
|
||||
prop.putHTML("constraint", constraint);
|
||||
prop.put("searchdomswitches", sb.getConfigBool("search.text", true) || sb.getConfigBool("search.audio", true) || sb.getConfigBool("search.video", true) || sb.getConfigBool("search.image", true) || sb.getConfigBool("search.app", true) ? 1 : 0);
|
||||
prop.put("searchdomswitches_searchtext", sb.getConfigBool("search.text", true) ? 1 : 0);
|
||||
|
|
Loading…
Reference in New Issue
Block a user