i18n support

This commit is contained in:
Serghey Rodin 2013-01-22 18:43:07 +02:00
commit 003036434c
34 changed files with 688 additions and 660 deletions

View file

@ -10,7 +10,7 @@
<table class="sub-menu" style="background: white;">
<tr>
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Adding IP Adress');?></b></a>
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b><?php print _('Adding IP address');?></b></a>
<?php
if (!empty($_SESSION['error_msg'])) {
echo "<span class=\"vst-error\"> → ".$_SESSION['error_msg']."</span>";
@ -55,7 +55,7 @@
<table class="data-col2" width="600px">
<tr>
<td class="vst-text" style="padding: 10 0 0 2px;">
IP
<?php print _('IP address') ?>
</td>
</tr>
<tr>
@ -135,9 +135,13 @@
<input type="text" size="20" class="vst-input" name="v_name" <?php if (!empty($v_name)) echo "value=".$v_name; ?>>
</td>
</tr>
</table>
<table class="data-col2">
<tr>
<td style="padding: 24px 0 0 0;">
<td style="padding: 24px 0 0 0;" width="116px">
<input type="submit" name="ok" value="<?php print _('Add');?>" class="button">
</td>
<td style="padding: 24px 0 0 0;">
<input type="button" class="button" value="<?php print _('Back');?>" onclick="<?php echo $back ?>">
</td>
</tr>