Move sub-menu UI Translations from public Status to secure Sys Administration

- as UI Translation (TransNews_p.html) is a secured page
- it uses for publishing internal News system but belongs not really to "Community Data"
pull/461/head
reger24 3 years ago
parent 8be55472d9
commit 05d6d0405f

@ -256,7 +256,7 @@ To see a list of all APIs, please visit the <a href="http://www.yacy-websuche.de
::
<img class="bookmarkIcon" src="env/grafics/bookmarkpub.png" alt="public bookmark" title="public bookmark"/>
#(/public)#
<a href="#[link]#" class="bookmarkTitle">#[title]#</a>
<a href="#[link]#" target="_blank" class="bookmarkTitle">#[title]#</a>
</h4>
<p class="bookmarkDescription">#[description]#</p>
#(hasquery)#::<p class="bookmarkDescription">query=#[query]#</p>#(/hasquery)#
@ -266,7 +266,7 @@ To see a list of all APIs, please visit the <a href="http://www.yacy-websuche.de
/
<a href="Bookmarks.html?delete=#[hash]#" class="bookmarkAction" onclick="return confirm('Confirm deletion')">Delete</a>
/
<a href="api/getpageinfo_p.xml?url=#[link]#" class="bookmarkAction">Info</a>
<a href="api/getpageinfo_p.xml?url=#[link]#" target="_blank" class="bookmarkAction">Info</a>
#(hasquery)#::
/
<a href="yacysearch.html?query=#[query]#" class="bookmarkAction">search</a>

@ -6,7 +6,7 @@
</head>
<body>
#%env/templates/header.template%#
#%env/templates/submenuComputation.template%#
#%env/templates/submenuConfig.template%#
<h2 class="yacy">Translation News for Language #[currentlang]#</h2>
<form method="post" enctype="multipart/form-data">

@ -8,7 +8,7 @@
<body id="Translator">
#%env/templates/header.template%#
#%env/templates/submenuDesign.template%#
#%env/templates/submenuConfig.template%#
<h2>Translation Editor</h2>
<p>Translate untranslated text of the user interface (current language). The modified translation file is stored in DATA/LOCALE directory.</p>

@ -8,6 +8,7 @@ import net.yacy.cora.protocol.RequestHeader;
import net.yacy.data.BookmarkHelper;
import net.yacy.data.BookmarksDB;
import net.yacy.document.parser.html.CharacterCoding;
import net.yacy.peers.operation.yacyBuildProperties;
import net.yacy.search.Switchboard;
import net.yacy.server.serverObjects;
import net.yacy.server.serverSwitch;
@ -60,6 +61,7 @@ public class xbel {
R = root.replaceAll("[^/]","").length() - 1;
count = recurseFolders(BookmarkHelper.getFolderList(root, switchboard.bookmarksDB.getTagIterator(isAdmin)),root,0,true,"");
prop.put("xbel", count);
prop.put("yacyversion", yacyBuildProperties.getVersion());
return prop; // return from serverObjects respond()
}

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xbel PUBLIC "+//IDN python.org//DTD XML Bookmark Exchange Language 1.0//EN//XML" "http://pyxml.sourceforge.net/topics/dtds/xbel-1.0.dtd">
#(style)#::<?xml-stylesheet type="text/#[type]#" href="#[href]#" ?>#(/style)#
<!-- created by YaCy v#[yacyversion]#-->
<xbel>
#{xbel}#
#[elements]#

@ -33,7 +33,6 @@
<ul class="SubMenu">
<li><a href="Surftips.html" class="MenuItemLink">Surftips</a></li>
<li><a href="Wiki.html?display=1" class="MenuItemLink">Local Peer Wiki</a></li>
<li><a href="TransNews_p.html" class="MenuItemLink #(authorized)#lock::unlock#(/authorized)#">UI Translations</a></li>
</ul>
</div>
</div>

@ -5,5 +5,6 @@
<li><a href="PerformanceQueues_p.html" class="MenuItemLink #(authorized)#lock::unlock#(/authorized)#">Performance Settings of Busy Queues</a></li>
<li><a href="Tables_p.html" class="MenuItemLink #(authorized)#lock::unlock#(/authorized)#">Viewer and administration for database tables</a></li>
<li><a href="ConfigProperties_p.html" class="MenuItemLink #(authorized)#lock::unlock#(/authorized)#">Advanced Properties</a></li>
<li><a href="TransNews_p.html" class="MenuItemLink #(authorized)#lock::unlock#(/authorized)#">UI Translations</a></li>
</ul>
</div>
Loading…
Cancel
Save