mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
yweb- add Multilanguage to Tools Menue, Check settings, Command Shell (ybug 460)
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@424 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{=global-var-set:boxtype={=ini-get:/var/tuxbox/config/nhttpd.conf;Box.type;coolstream=}=}
|
||||
{=global-var-set:boxtype=coolstream=}
|
||||
{=global-var-set:alpha=true=}
|
||||
{=include-block:Y_Blocks.txt;head=}
|
||||
<script type="text/javascript" src="/prototype.js"></script>
|
||||
|
@@ -44,7 +44,7 @@ function goto_settings(){
|
||||
<tr><td colspan="2"><a href="javascript:goto_settings()" class="inlink">{=L:settings=}</a></td></tr>
|
||||
</table>
|
||||
</form>
|
||||
<!--<a href="Y_Settings_yWeb.yhtm" title="WOL Settings">Einstellungen</a>-->
|
||||
<!--<a href="Y_Settings_yWeb.yhtm" title="WOL Settings">{=L:settings=}</a>-->
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
|
@@ -148,7 +148,7 @@ function do_check(){
|
||||
<div class="work_box">
|
||||
<div class="work_box_head">
|
||||
<div class="work_box_head_h2">
|
||||
{=var-set:help_url=Help-Tools-Check_Install=}{=var-set:menu=Check Install=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
|
||||
{=var-set:help_url=Help-Tools-Check_Install=}{=var-set:menu={=L:tools.check_install=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
|
||||
<div class="work_box_body">
|
||||
<br />
|
||||
<div id="statusline"><img border="0" src="/images/wait.gif" width="20" height="20" alt="wait"/>
|
||||
@@ -157,7 +157,7 @@ function do_check(){
|
||||
<table border="0" cellspacing="0" cellpadding="4" width="100%">
|
||||
<thead align="left">
|
||||
<tr>
|
||||
<th class="y_form_header"> </th><th class="y_form_header">Aktion</th><th class="y_form_header">Status</th>
|
||||
<th class="y_form_header"> </th><th class="y_form_header">{=L:action=}</th><th class="y_form_header">{=L:status=}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="slog_list">
|
||||
|
@@ -48,7 +48,7 @@ function doUpload()
|
||||
<body>
|
||||
<div class="work_box">
|
||||
<div class="work_box_head"><div class="work_box_head_h2">
|
||||
{=var-set:help_url=Help-Tools-Command_Shell=}{=var-set:menu=Command Shell=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
|
||||
{=var-set:help_url=Help-Tools-Command_Shell=}{=var-set:menu={=L:tools.command_shell=}=}{=include-block:Y_Blocks.txt;work_menu=}</div></div>
|
||||
<div class="work_box_body">
|
||||
<form name="co" action="">
|
||||
<textarea name="cmds" cols="80" rows="18" title="shell output window" style="display: block;background : white; font : 'Courier New','medium monospace'; color : #436976;"></textarea>
|
||||
@@ -57,17 +57,17 @@ function doUpload()
|
||||
<form name="f" target="tmp" onsubmit="do_submit();return false;" action="">
|
||||
<table>
|
||||
<tr>
|
||||
<td><input type="button" name="clear" value="clear" title="clear output screeb" onclick="do_clear()"/></td>
|
||||
<td><input type="checkbox" name="appendx" value="1" title="append output (only IE)"/> fortlaufende Ausgabe (nur IE - wg. scrollen)
|
||||
<td><input type="button" name="clear" value="{=L:clear=}" onclick="do_clear()"/></td>
|
||||
<td><input type="checkbox" name="appendx" value="1" title="append output (only IE)"/> {=L:tools.cmd_shell.output_desc=}
|
||||
<!--<input type="button" value="Upload" title="upload a file to current directory" onClick="doUpload()">-->
|
||||
</td>
|
||||
</tr><tr>
|
||||
<td>Path: </td>
|
||||
<td><input name="pwd" type="text" size="60" maxlength="255" title="actual path" value="/"/></td>
|
||||
<td>{=L:tools.path=}: </td>
|
||||
<td><input name="pwd" type="text" size="60" maxlength="255" value="/"/></td>
|
||||
</tr><tr>
|
||||
<td>Command:</td>
|
||||
<td><input name="cmd" type="text" size="60" maxlength="255" title="enter command to execute"/>
|
||||
<input type="submit" name="Submit" value="do it" title="execute shell command"/></td>
|
||||
<td>{=L:tools.command=}:</td>
|
||||
<td><input name="cmd" type="text" size="60" maxlength="255" title="{=L:tools.cmd.enter_command=}"/>
|
||||
<input type="submit" name="submit" value="{=L:submit=}" title="{=L:tools.cmd.execute_command=}"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
@@ -35,50 +35,50 @@ function init(){
|
||||
{=var-set:etherwake={=if-equal:{=global-var-get:boxtype=}~coolstream~{=if-file-exists:/bin/ether-wake~/bin/ether-wake~{=if-file-exists:/var/bin/ether-wake~/var/bin/ether-wake~=}=}~{=if-file-exists:/bin/etherwake~/bin/etherwake~{=if-file-exists:/var/bin/etherwake~/var/bin/etherwake~=}=}=}=}
|
||||
<body onload="init()">
|
||||
<div class="y_menu_sec_box">
|
||||
<div class="y_menu_sec_box_head"><h2>Tools</h2></div>
|
||||
<div class="y_menu_sec_box_head"><h2>{=L:tools=}</h2></div>
|
||||
<div class="y_menu_sec_box_body">
|
||||
<div class="y_menu_sec_section">Tools</div>
|
||||
<div class="y_menu_sec_section">{=L:tools=}</div>
|
||||
<div class="y_menu_sec">
|
||||
<ul id="secmenu_tools">
|
||||
{=if-empty:{=var-get:management=}~
|
||||
{=if-not-equal:{=global-var-get:boxtype=}~coolstream~
|
||||
<li class="disabled" title="organize file automounts (automount not installed)">AutoMounts</li>
|
||||
<li class="disabled" title="organize file mounts (restricted by ManagementIP)">Mounts</li>
|
||||
<li class="disabled" title="Wake on LAN (restricted by ManagementIP)">Wake on LAN</li>
|
||||
<li class="disabled" title="{=L:tools.not_installed=}">{=L:tools.automount=}</li>
|
||||
<li class="disabled" title="{=L:restriced_by_management_ip=}">{=L:tools.mounts=}</li>
|
||||
<li class="disabled" title="{=L:restriced_by_management_ip=}">{=L:tools.wake_on_lan=}</li>
|
||||
~=}
|
||||
~
|
||||
{=if-not-equal:{=global-var-get:boxtype=}~coolstream~
|
||||
{=if-empty:{=var-get:automount=}~
|
||||
<li class="disabled" title="organize file automounts (automount not installed)">AutoMounts</li>
|
||||
<li class="disabled" title="{=L:tools.not_installed=}">{=L:tools.automount=}</li>
|
||||
~
|
||||
<li><a target="work" title="organize file automounts" href="Y_Settings_automount_liste.yhtm">AutoMounts</a></li>
|
||||
<li><a target="work" title="{=L:tools.automount_desc=}" href="Y_Settings_automount_liste.yhtm">{=L:tools.automount=}</a></li>
|
||||
=}
|
||||
<li><a target="work" title="organize file mounts" href="Y_Settings_mount_liste.yhtm">Mounts</a></li>
|
||||
<li><a target="work" title="{=L:tools.mounts_desc=}" href="Y_Settings_mount_liste.yhtm">{=L:tools.mounts=}</a></li>
|
||||
~=}
|
||||
{=if-empty:{=var-get:etherwake=}~
|
||||
<li class="disabled" title="Wake on LAN (etherwake not installed)" >Wake on LAN</li>
|
||||
<li class="disabled" title="{=L:tools.not_installed=}" >{=L:tools.wake_on_lan=}</li>
|
||||
~
|
||||
<li><a target="work" title="Wake on LAN" href="Y_Settings_wol.yhtm">Wake on LAN</a></li>
|
||||
<li><a target="work" href="Y_Settings_wol.yhtm">{=L:tools.wake_on_lan=}</a></li>
|
||||
=}
|
||||
=}
|
||||
<li><a target="work" title="check Installation" href="Y_Tools_Check_Install.yhtm">Check Install</a></li>
|
||||
<li><a target="work" href="Y_Tools_Check_Install.yhtm">{=L:tools.check_install=}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="y_menu_sec_section">Expert</div>
|
||||
<div class="y_menu_sec_section">{=L:tools.expert=}</div>
|
||||
<div class="y_menu_sec">
|
||||
<ul id="secmenu_expert">
|
||||
<li><a target="work" title="get box infos" href="Y_Tools_Info_Menue.yhtm">Info</a></li>
|
||||
<li><a target="work" title="get box infos" href="Y_Tools_Info_Menue.yhtm">{=L:info=}</a></li>
|
||||
{=if-empty:{=var-get:management=}~
|
||||
<li class="disabled" title="backup or flash image. (restricted by ManagementIP)">Image</li>
|
||||
<li class="disabled" title="command shell (restricted by ManagementIP)">Command Shell</li>
|
||||
<li class="disabled" title="yInstaller (for files, plugins, ...) (restricted by ManagementIP)">yInstaller</li>
|
||||
<li class="disabled" title="{=L:restriced_by_management_ip=}">{=L:tools.image=}</li>
|
||||
<li class="disabled" title="{=L:restriced_by_management_ip=}">{=L:tools.command_shell=}</li>
|
||||
<li class="disabled" title="{=L:restriced_by_management_ip=}">yInstaller</li>
|
||||
~
|
||||
{=if-not-equal:{=global-var-get:boxtype=}~coolstream~
|
||||
<li><a target="work" title="backup or flash image" href="Y_Tools_Flash_Menue.yhtm">Image</a></li>
|
||||
<li><a target="work" title="{=L:tools.image_desc=}" href="Y_Tools_Flash_Menue.yhtm">{=L:tools.image=}</a></li>
|
||||
~=}
|
||||
<li><a target="work" title="command shell" href="Y_Tools_Cmd.yhtm">Command Shell</a>
|
||||
<li><a target="work" href="Y_Tools_Cmd.yhtm">{=L:tools.command_shell=}</a>
|
||||
<a title="command shell (popup)" href="javascript:cmd_popup()"><img src="/images/popup.png"/></a></li>
|
||||
<li><a target="work" title="yInstaller (for files, plugins, ...)" href="Y_Tools_Installer.yhtm">yInstaller</a></li>
|
||||
<li><a target="work" href="Y_Tools_Installer.yhtm">yInstaller</a></li>
|
||||
=}
|
||||
</ul>
|
||||
</div>
|
||||
|
@@ -134,8 +134,28 @@ tools.info.partitions=Partitions
|
||||
tools.info.mtd=mtd
|
||||
tools.info.stat=Statistik
|
||||
tools.info.version=Version
|
||||
============ Tools
|
||||
tools.automount_desc=Automounts organisieren
|
||||
tools.automount=AutoMounts
|
||||
tools.mounts_desc=File mounts organisieren
|
||||
tools.mounts=Mounts
|
||||
tools.wake_on_lan=Wake on LAN
|
||||
tools.check_install=Installation prüfen
|
||||
tools.expert=Expert
|
||||
tools.image_desc=Image sichern oder flashen
|
||||
tools.image=Image
|
||||
tools.command_shell=Kommandozeile
|
||||
tools.not_installed=nicht installiert
|
||||
tools.cmd_shell.output_desc=fortlaufende Ausgabe (nur IE - wg. scrollen)
|
||||
tools.path=Verzeichnis
|
||||
tools.command=Kommando
|
||||
tools.cmd.enter_command=Auszuführendes Kommando eingeben
|
||||
tools.cmd.execute_command=Kommando ausführen
|
||||
|
||||
=========== GENERAL
|
||||
clear=löschen
|
||||
submit=Ausführen
|
||||
action=Aktion
|
||||
user=Benutzer
|
||||
password=Passwort
|
||||
language=Sprache
|
||||
|
@@ -136,7 +136,27 @@ tools.info.partitions=Partitions
|
||||
tools.info.mtd=mtd
|
||||
tools.info.stat=Statistics
|
||||
tools.info.version=Version
|
||||
============ Tools
|
||||
tools.automount_desc=organize file automounts
|
||||
tools.automount=AutoMounts
|
||||
tools.mounts_desc=organize file mounts
|
||||
tools.mounts=Mounts
|
||||
tools.wake_on_lan=Wake on LAN
|
||||
tools.check_install=Check Install
|
||||
tools.expert=Expert
|
||||
tools.image_desc=backup or flash image
|
||||
tools.image=Image
|
||||
tools.command_shell=Command Shell
|
||||
tools.not_installed=not installed
|
||||
tools.cmd_shell.output_desc=automatic output scrolling (only IE)
|
||||
tools.path=Path
|
||||
tools.command=Command
|
||||
tools.cmd.enter_command=enter command to execute
|
||||
tools.cmd.execute_command=enter command to executeexecute shell command
|
||||
=========== GENERAL
|
||||
clear=clear
|
||||
submit=Submit
|
||||
action=Action
|
||||
user=User
|
||||
password=Password
|
||||
language=Language
|
||||
@@ -162,7 +182,7 @@ cancel=cancel
|
||||
answer=Answer
|
||||
reboot=reboot
|
||||
shutdown=shutdown
|
||||
status=status
|
||||
status=Status
|
||||
restart=restart
|
||||
on=on
|
||||
off=off
|
||||
|
Reference in New Issue
Block a user