* plugins titles via macro, with icon

* new network plugin gui
This commit is contained in:
age 2007-01-27 01:12:18 +00:00
parent 7c7de72f29
commit 2911fcea64
15 changed files with 66 additions and 55 deletions

View file

@ -1,9 +1,11 @@
<?cs # $Id$ ?> <?cs # $Id$ ?>
<h1><?cs var:html_escape(Lang.Plugins.date.Title.ConfigDate) ?></h1> <?cs call:show_plugin_title() ?>
<?cs call:handle_messages() ?> <?cs call:handle_messages() ?>
<fieldset>
<legend><?cs var:html_escape(Lang.Plugins.date.Title) ?></legend>
<?cs call:show_help(Lang.Plugins.date.Help.ChangeDate) ?> <?cs call:show_help(Lang.Plugins.date.Help.ChangeDate) ?>
<?cs call:print_form_header("set_date", "date") ?> <?cs call:print_form_header("set_date", "date") ?>
@ -43,4 +45,5 @@
<button type="submit" tabindex="6"><?cs var:html_escape(Lang.Plugins.date.Button.ConfigDate) ?></button></p> <button type="submit" tabindex="6"><?cs var:html_escape(Lang.Plugins.date.Button.ConfigDate) ?></button></p>
</form> </form>
</fieldset>

View file

@ -1,7 +1,7 @@
Name = Change date and time Name = Change date and time
Link = Date Link = Date
Title.ConfigDate = Date and time setting Title = Date and time setting
Button.ConfigDate = Set date and time Button.ConfigDate = Set date and time

View file

@ -1,7 +1,7 @@
Name = Choose interface language Name = Choose interface language
Link = Languages Link = Languages
Title.Language = Choose an interface language Title = Choose an interface language
Help.Select = Choose your preferred interface language. This setting will be kept for your browsing session. Help.Select = Choose your preferred interface language. This setting will be kept for your browsing session.

View file

@ -1,7 +1,6 @@
<?cs # $Id$ ?> <?cs # $Id$ ?>
<h1><?cs var:html_escape(Lang.Plugins.language_selection.Title.Language) ?></h1> <?cs call:show_plugin_title() ?>
<?cs call:handle_messages() ?> <?cs call:handle_messages() ?>
<?cs call:show_help(Lang.Plugins.language_selection.Help.Select) ?> <?cs call:show_help(Lang.Plugins.language_selection.Help.Select) ?>

View file

@ -1,7 +1,7 @@
Name = Event log Name = Event log
Link = Event log Link = Event log
Title.Log = Event log Title = Event log
Text { Text {
ShowAll = Show all messages ShowAll = Show all messages

View file

@ -1,7 +1,6 @@
<?cs # $Id$ ?> <?cs # $Id$ ?>
<h1><?cs var:html_escape(Lang.Plugins.logs.Title.Log) ?></h1> <?cs call:show_plugin_title() ?>
<?cs call:handle_messages() ?> <?cs call:handle_messages() ?>
<?cs call:show_help(Lang.Plugins.logs.Help.EventLog) ?> <?cs call:show_help(Lang.Plugins.logs.Help.EventLog) ?>

View file

@ -1,16 +1,16 @@
<?cs # $Id$ ?> <?cs # $Id$ ?>
<h1><?cs var:html_escape(Lang.Plugins.network.Title.Network) ?></h1> <?cs call:show_plugin_title() ?>
<?cs call:handle_messages() ?> <?cs call:handle_messages() ?>
<?cs call:show_help(Lang.Plugins.network.Help.Network) ?>
<fieldset> <fieldset>
<legend><?cs var:html_escape(Lang.Plugins.network.Text.IP) ?></legend> <legend><?cs var:html_escape(Lang.Plugins.network.Title.IP) ?></legend>
<?cs call:print_form_header("change_ip", "network") ?> <?cs call:print_form_header("static", "network") ?>
<p> <?cs call:show_help(Lang.Plugins.network.Help.Network) ?>
<table>
<tr><td>
<?cs var:html_escape(Lang.Plugins.network.Text.IP) ?>:
</td><td>
<input class="ipnum" type="text" tabindex="1" name="ip1" size="3" id="ip" <input class="ipnum" type="text" tabindex="1" name="ip1" size="3" id="ip"
value="<?cs var:Data.Plugins.network.ip.oc1 value="<?cs var:Data.Plugins.network.ip.oc1
?>" />.<input class="ipnum" type="text" tabindex="2" name="ip2" size="3" ?>" />.<input class="ipnum" type="text" tabindex="2" name="ip2" size="3"
@ -19,17 +19,21 @@
value="<?cs var:Data.Plugins.network.ip.oc3 value="<?cs var:Data.Plugins.network.ip.oc3
?>" />.<input class="ipnum" type="text" tabindex="4" name="ip4" size="3" ?>" />.<input class="ipnum" type="text" tabindex="4" name="ip4" size="3"
value="<?cs var:Data.Plugins.network.ip.oc4 ?>" /> value="<?cs var:Data.Plugins.network.ip.oc4 ?>" />
</td></tr>
<input type="hidden" tabindex="5" name="store" value="set_ip" /> <tr><td>
<button type="submit"><?cs var:html_escape(Lang.Plugins.network.Button.NetworkIP) ?></button> <?cs var:html_escape(Lang.Plugins.network.Text.NM) ?>:
</p> </td><td>
</form> <input class="ipnum" type="text" tabindex="1" name="nm1" size="3" id="nm"
</fieldset> value="<?cs var:Data.Plugins.network.nm.oc1
?>" />.<input class="ipnum" type="text" tabindex="2" name="nm2" size="3"
<fieldset> value="<?cs var:Data.Plugins.network.nm.oc2
<legend><?cs var:html_escape(Lang.Plugins.network.Text.GW) ?></legend> ?>" />.<input class="ipnum" type="text" tabindex="3" name="nm3" size="3"
<?cs call:print_form_header("change_gw", "network") ?> value="<?cs var:Data.Plugins.network.nm.oc3
<p> ?>" />.<input class="ipnum" type="text" tabindex="4" name="nm4" size="3"
value="<?cs var:Data.Plugins.network.nm.oc4 ?>" />
</td></tr><tr><td>
<?cs var:html_escape(Lang.Plugins.network.Text.GW) ?>:
</td><td>
<input class="ipnum" type="text" tabindex="1" name="gw1" size="3" id="gw" <input class="ipnum" type="text" tabindex="1" name="gw1" size="3" id="gw"
value="<?cs var:Data.Plugins.network.gw.oc1 value="<?cs var:Data.Plugins.network.gw.oc1
?>" />.<input class="ipnum" type="text" tabindex="2" name="gw2" size="3" ?>" />.<input class="ipnum" type="text" tabindex="2" name="gw2" size="3"
@ -38,10 +42,19 @@
value="<?cs var:Data.Plugins.network.gw.oc3 value="<?cs var:Data.Plugins.network.gw.oc3
?>" />.<input class="ipnum" type="text" tabindex="4" name="gw4" size="3" ?>" />.<input class="ipnum" type="text" tabindex="4" name="gw4" size="3"
value="<?cs var:Data.Plugins.network.gw.oc4 ?>" /> value="<?cs var:Data.Plugins.network.gw.oc4 ?>" />
</td></tr>
<input type="hidden" tabindex="5" name="store" value="set_gw" /> </table>
<button type="submit"><?cs var:html_escape(Lang.Plugins.network.Button.NetworkGW) ?></button> <p>
<?cs call:show_help(Lang.Plugins.network.Help.DHCP) ?>
<input type="checkbox" name="dhcp" value="1" id="dhcp" /><label for="dhcp"><?cs var:html_escape(Lang.Plugins.network.Text.DHCP) ?></label>
</p><p>
<input type="hidden" name="store" value="set_network" />
<button type="submit"><?cs var:html_escape(Lang.Plugins.network.Button.Network) ?></button>
</p> </p>
</form> </form>
</fieldset> </fieldset>
</fieldset>

View file

@ -1,18 +1,21 @@
Name = Configure network Name = Configure network
Link = Network Link = Network
Title.Network = Network settings Title = Network settings
Title.IP = CryptoBox server
Text.IP = CryptoBox server address Text {
IP = IP address
NM = Network mask
GW = Default gateway
DHCP = Automatic configuration (Caution!)
}
Button.NetworkIP = Change server address Button.Network = Change network settings
Text.GW = Default gateway address Help {
Network = Insert the network address of the CryptoBox server, the network mask and the default gateway. Be aware that you may lose your connection to the server under some circumstances. The actual values are visible in the form fields.
Button.NetworkGW = Change default gateway DHCP = If you enable automatic network configuration make sure you have a well configured DHCP server running. All values will be overridden by the settings from the DHCP server. If you don't know what DHCP means leave this box unchecked.
Help.Network = Change the network address of the CryptoBox server and the default gateway. Be aware that you may lose your connection to the server under some circumstances.
WarningMessage { WarningMessage {
InvalidIP { InvalidIP {

View file

@ -1,7 +1,7 @@
Name = Partition manager Name = Partition manager
Link = Partitions Link = Partitions
Title.Partition = Manage partitions Title = Manage partitions
Button { Button {
SelectDevice = Partition manually SelectDevice = Partition manually

View file

@ -1,7 +1,6 @@
<?cs # $Id$ ?> <?cs # $Id$ ?>
<h1><?cs var:html_escape(Lang.Plugins.partition.Title.Partition) ?></h1> <?cs call:show_plugin_title() ?>
<?cs call:handle_messages() ?> <?cs call:handle_messages() ?>
<?cs call:show_help(Lang.Plugins.partition.Help.Partitioning) ?> <?cs call:show_help(Lang.Plugins.partition.Help.Partitioning) ?>

View file

@ -1,13 +1,11 @@
<?cs # $Id$ ?> <?cs # $Id$ ?>
<?cs call:show_plugin_title() ?>
<?cs call:handle_messages() ?>
<?cs # show nothing if the harddisk is not partitionable (e.g. still active) ?> <?cs # show nothing if the harddisk is not partitionable (e.g. still active) ?>
<?cs if:(Data.Plugins.partition.availSize > 0) || (subcount(Data.Plugins.partition.Parts) > 0) ?> <?cs if:(Data.Plugins.partition.availSize > 0) || (subcount(Data.Plugins.partition.Parts) > 0) ?>
<h1><?cs var:html_escape(Lang.Plugins.partition.Title.Partition) ?></h1>
<?cs call:handle_messages() ?>
<fieldset> <fieldset>
<legend><?cs var:html_escape(Lang.Plugins.partition.Text.SpecifyPartitions) ?></legend> <legend><?cs var:html_escape(Lang.Plugins.partition.Text.SpecifyPartitions) ?></legend>

View file

@ -1,8 +1,8 @@
Name = Plugin manager Name = Plugin manager
Link = Plugins Link = Plugins
Title = Plugin Manager
Title { Title {
PluginManager = Plugin Manager
VolumePlugins = Volume plugins VolumePlugins = Volume plugins
SystemPlugins = System plugins SystemPlugins = System plugins
} }

View file

@ -1,7 +1,6 @@
<?cs # $Id$ ?> <?cs # $Id$ ?>
<h1><?cs var:html_escape(Lang.Plugins.plugin_manager.Title.PluginManager) ?></h1> <?cs call:show_plugin_title() ?>
<?cs call:handle_messages() ?> <?cs call:handle_messages() ?>
<?cs call:show_help(Lang.Plugins.plugin_manager.Help.PluginManager) ?> <?cs call:show_help(Lang.Plugins.plugin_manager.Help.PluginManager) ?>

View file

@ -1,8 +1,8 @@
Name = User manager Name = User manager
Link = Users Link = Users
Title = User Manager
Title { Title {
UserManager = Manage users
AddUser = Add new user AddUser = Add new user
DelUser = Remove user DelUser = Remove user
ChangePassword = Change password ChangePassword = Change password

View file

@ -1,9 +1,7 @@
<?cs # $Id$ ?> <?cs # $Id$ ?>
<h1><?cs var:html_escape(Lang.Plugins.user_manager.Title.UserManager) ?></h1> <?cs call:show_plugin_title() ?>
<?cs call:handle_messages() ?> <?cs call:handle_messages() ?>
<?cs call:show_help(Lang.Plugins.user_manager.Help.UserManagement) ?> <?cs call:show_help(Lang.Plugins.user_manager.Help.UserManagement) ?>
<fieldset> <fieldset>