- typo in yacy.init

- removed table-layout (please comment, whether the "new" style of ConfigLanguage_p and ConfigSkins_p is accepatable)

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3136 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
karlchenofhell 18 years ago
parent 89a270757f
commit 61a66f410b

@ -11,81 +11,50 @@
<p>
You can change the language of the YaCy-webinterface with translation files.
</p>
<table border="0" cellpadding="5" cellspacing="1">
<tr>
<td valign="top" class="TableHeader" colspan="2">
&nbsp;
</td>
</tr>
<tr>
<td valign="top" class="TableCellDark">
Current language:
</td>
<td valign="top" class="TableCellLight">
<!-- lang -->default(english)
</td>
</tr>
<tr>
<td valign="top" class="TableCellDark">
Languagefile Author(s) (chronological):
</td>
<td valign="top" class="TableCellLight">
<!-- author -->
</td>
</tr>
<tr>
<td valign="top" class="TableCellDark">
<em>Send additions to maintainer:</em>
</td>
<td valign="top" class="TableCellLight">
<!-- maintainer -->
</td>
</tr>
<tr>
<td valign="top" class="TableCellDark">
Available Languages:
</td>
<td valign="top" class="TableCellLight">
<form action="ConfigLanguage_p.html">
<fieldset>
<select size="10" name="language">
#{langlist}#
<option value="#[file]#">#[name]#</option>
#{/langlist}#
</select>
</fieldset>
<fieldset>
<input type="submit" name="use_button" value="Use" />
<input type="submit" name="delete" value="Delete" />
</fieldset>
</form>
</td>
</tr>
<tr>
<td valign="top" class="TableCellDark">
Install new language from URL:
</td>
<td valign="top" class="TableCellLight">
<form action="ConfigLanguage_p.html">
<fieldset>
<input type="text" name="url" size="30" /><br />
<input type="checkbox" name="use_lang" value="on" checked="checked" />Use this language<br />
<input type="submit" value="Install" />
</fieldset>
</form>
</td>
</tr>
</table>
<p>
<strong>#(status)#
::
Unable to get URL: #[url]#
::
Error saving the language file.
#(/status)#</strong>
</p>
<form action="ConfigLanguage_p.html">
<fieldset>
<dl class="pairs">
<dt><label for="cur_lang">Current language</label>:</dt>
<dd id="cur_lang"><!-- lang -->default(english)&nbsp;</dd>
<dt><label for="lang_file">Author(s) (chronological)</label>:</dt>
<dd id="lang_file"><!-- author -->&nbsp;</dd>
<dt><label for="lang_maintainer"><em>Send additions to maintainer</em></label>:</dt>
<dd id="lang_maintainer"><!-- maintainer -->&nbsp;</dd>
<dt><label for="lang_list">Available Languages</label>:</dt>
<dd>
<select name="language" id="lang_list">#{langlist}#
<option value="#[file]#">#[name]#</option>#{/langlist}#
</select>
</dd>
</dl>
<input type="submit" name="use_button" value="Use" />
<input type="submit" name="delete" value="Delete" />
</fieldset>
</form>
<form action="ConfigLanguage_p.html">
<fieldset>
<dl>
<dt><label for="url_install">Install new language from URL</label>:</dt>
<dd>
<input type="text" name="url" id="url_install" size="30" />
</dd>
<dt><label for="use_lang"> Use this language</label></dt>
<dd>
<input type="checkbox" name="use_lang" id="use_lang" value="on" checked="checked" />
</dd>
</dl>
<input type="submit" value="Install" />
</fieldset>
</form>
#(status)#
::<p><strong>Unable to get URL: #[url]#</strong></p>
::<p><strong>Error saving the language file.</strong></p>
#(/status)#
#%env/templates/footer.template%#
</body>
</html>

@ -11,63 +11,41 @@
<p>
You can change the appearance of YaCy with skins. Select one of the default skins, download new skins, or create your own skin.
</p>
<table border="0" cellpadding="5" cellspacing="1">
<tr>
<td valign="top" class="TableHeader" colspan="2">
&nbsp;
</td>
</tr>
<tr>
<td valign="top" class="TableCellDark">
Current skin:
</td>
<td valign="top" class="TableCellLight">
#[currentskin]#
</td>
</tr>
<tr>
<td valign="top" class="TableCellDark">
Available Skins:
</td>
<td valign="top" class="TableCellLight">
<form action="ConfigSkins_p.html">
<fieldset>
<select size="10" name="skin">
#{skinlist}#
<option value="#[file]#">#[name]#</option>
#{/skinlist}#
</select>
</fieldset>
<fieldset>
<input type="submit" name="use_button" value="Use" />
<input type="submit" name="delete" value="Delete" />
</fieldset>
</form>
</td>
</tr>
<tr>
<td valign="top" class="TableCellDark">
Install new skin from URL:
</td>
<td valign="top" class="TableCellLight">
<form action="ConfigSkins_p.html">
<fieldset>
<input type="text" name="url" size="30" /><br />
<input type="checkbox" name="use_skin" value="on" checked="checked" />Use this skin<br /><br />
<input type="submit" value="install" />
</fieldset>
</form>
<p>
<strong>#(status)#
::
Unable to get URL: #[url]#
::
Error saving the skin.
#(/status)#</strong>
</p>
</td>
</tr>
</table>
<form action="ConfigSkins_p.html">
<fieldset>
<dl class="pairs">
<dt><label for="cur_skin">Current skin</label>:</dt>
<dd id="cur_skin">#[currentskin]#&nbsp;</dd>
<dt><label for="skins">Available Skins</label>:</dt>
<dd>
<select id="skins" size="10" name="skin">#{skinlist}#
<option value="#[file]#">#[name]#</option>#{/skinlist}#
</select>
</dd>
</dl>
<input type="submit" name="use_button" value="Use" />
<input type="submit" name="delete" value="Delete" />
</fieldset>
</form>
<form action="ConfigSkins_p.html">
<fieldset>
<dl>
<dt><label for="url">Install new skin from URL</label>:</dt>
<dd><input type="text" name="url" id="url" size="30" /></dd>
<dt><label for="use_url">Use this skin</label></dt>
<dd><input type="checkbox" name="use_skin" id="use_url" value="on" checked="checked" /></dd>
</dl>
<input type="submit" value="install" />
</fieldset>
</form>
#(status)#
::<p><strong>Unable to get URL: #[url]#</strong></p>
::<p><strong>Error saving the skin.</strong></p>
#(/status)#
#%env/templates/footer.template%#
</body>
</html>

@ -6,7 +6,7 @@
<script type="text/javascript">
<!--
function element_clicked(element){
document.getElementById("key").value=element.id;
document.getElementById("key").value=element.id.substring(1);
document.getElementById("value").value=element.value;
}
-->
@ -27,7 +27,7 @@
</p>
<select name="options" size="25" style="width: 600px">
#{options}#
<option id="#[key]#" value="#[value]#" onclick="element_clicked(this)">#[key]#: #[value]#</option>
<option id="k#[key]#" value="#[value]#" onclick="element_clicked(this)">#[key]#: #[value]#</option>
#{/options}#
</select><br />
<form action="Config_p.html" method="post">

@ -123,7 +123,7 @@ defaultFiles = ConfigBasic.html,index.html,default.html,search.html,console.html
# the htLocaleSelection selects from the given locales, value=one-of-<dir>
htDefaultPath=htroot
htLocalePath=DATA/HTROOT/locale
htLocaleLang=default/English,de/Deutsch,fr/Fran&ccedil;ais,nl/Nederlands,it/Italiano,es/Espa&ntilde;ol,pt/Portug&ecirc;s,fi/Suomi,se/Svenska,dk/Dansk,gr/E&lambda;&lambda;&eta;v&iota;&kappa;&alpha,sk/Slovensky
htLocaleLang=default/English,de/Deutsch,fr/Fran&ccedil;ais,nl/Nederlands,it/Italiano,es/Espa&ntilde;ol,pt/Portug&ecirc;s,fi/Suomi,se/Svenska,dk/Dansk,gr/E&lambda;&lambda;&eta;v&iota;&kappa;&alpha;,sk/Slovensky
htLocaleSelection=default
# virtual host for httpdFileServlet access

Loading…
Cancel
Save